Fix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9
[glibc.git] / ChangeLog
blob1f673d32264c93abe13c717ab17b4bad735cb165
1 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3         * malloc/hooks.c (memalign_check): Add alignment rounding.
4         * malloc/malloc.c (_mid_memalign): New function.
5         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6         Implement by calling _mid_memalign.
7         * manual/probes.texi (Memory Allocation Probes): Remove
8         memory_valloc_retry and memory_pvalloc_retry.
10 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12         * locale/programs/locarchive.c (open_archive): Add const
13         qualifier to ARCHIVEFNAME and copy default fname to
14         DEFAULT_FNAME.
16         [BZ #15601]
17         * libio/tst-widetext.input: Rename Oriya to Odia.
18         * locale/iso-639.def: Likewise.
20         * manual/probes.texi (Mathematical Function Probes): Add
21         documentation for sin, cos, asin and acos probes.
22         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23         (__sin32): Add slowasin probe.
24         (__cos32): Add slowacos probe.
25         (__mpsin): Add slowsin probe.
26         (__mpcos): Add slowcos probe.
28 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
30         [BZ #15483]
31         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
32         thread-local __sim_exceptions_thread and global
33         __sim_exceptions_global.
34         (__sim_disabled_exceptions): Change to thread-local
35         __sim_disabled_exceptions_thread and global
36         __sim_disabled_exceptions_global.
37         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38         and global __sim_round_mode_global.
39         (__simulate_exceptions): Use thread-local floating-point state and
40         set global state from it as needed.
41         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43         __sim_round_mode_thread.
44         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46         and global __sim_exceptions_global.
47         (__sim_disabled_exceptions): Change to thread-local
48         __sim_disabled_exceptions_thread and global
49         __sim_disabled_exceptions_global.
50         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51         and global __sim_round_mode_global.
52         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53         (SIM_SET_GLOBAL): Likewise.
54         * sysdeps/powerpc/soft-fp/sfp-machine.h
55         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
56         __sim_round_mode_thread.
57         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
58         __sim_disabled_exceptions_thread.
59         (__sim_exceptions): Change to __sim_exceptions_thread.
60         (__sim_disabled_exceptions): Change to
61         __sim_disabled_exceptions_thread.
62         (__sim_round_mode): Change to __sim_round_mode_thread.
63         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
64         thread-local floating-point state and set global state from it as
65         needed.
66         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
67         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
68         (__sim_disabled_exceptions): Remove extern declaration.
69         (feenableexcept): Use thread-local floating-point state and set
70         global state from it as needed.
71         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
72         extern declaration.
73         (__sim_disabled_exceptions): Likewise.
74         (__sim_round_mode): Likewise.
75         (__fegetenv): Use thread-local floating-point state.
76         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
77         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
78         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
79         floating-point state and set global state from it as needed.
80         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
81         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
82         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
83         Likewise.
84         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
85         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
86         Likewise.
87         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
88         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
89         Use __sim_round_mode_thread.
90         * math/test-fenv-tls.c: New file.
91         * math/Makefile (tests): Add test-fenv-tls.
92         ($(objpfx)test-fenv-tls): Depend on
93         $(common-objpfx)nptl/libpthread.so.
95 2013-11-19  Andreas Schwab  <schwab@suse.de>
97         * locale/programs/locale.c (show_info): Decode wordarray elements.
98         * locale/categories.def (LC_MONETARY): Add element for
99         _NL_MONETARY_CRNCYSTR.
100         * locale/C-monetary.c (conversion_rate): New variable.
101         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
102         element.
104 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
106         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
107         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
109 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
111         * elf/Makefile (tst-auxv): New test.
112         * elf/tst-auxv.c: New
113         * elf/rtld.c (dl_main): Adjust AT_EXECFN
115 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
117         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
118         (hidden_proto): Caller changed.
119         (hidden_tls_proto): New macro.
120         (libc_hidden_tls_proto): Likewise.
121         (rtld_hidden_tls_proto): Likewise.
122         (libm_hidden_tls_proto): Likewise.
123         (libresolv_hidden_tls_proto): Likewise.
124         (librt_hidden_tls_proto): Likewise.
125         (libdl_hidden_tls_proto): Likewise.
126         (libnss_files_hidden_tls_proto): Likewise.
127         (libnsl_hidden_tls_proto): Likewise.
128         (libnss_nisplus_hidden_tls_proto): Likewise.
129         (libutil_hidden_tls_proto): Likewise.
131 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
133         [BZ #10253]
134         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
135         (decompose_rpath): Defer expansion to fillin_rpath.
136         (_dl_init_paths): Pass linkmap to fillin_rpath.
138 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
140         * benchtests/Makefile: Add strsep.
141         * benchtests/bench-strsep.c: New file: strsep benchtest.
142         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
144 2013-11-18  Andreas Schwab  <schwab@suse.de>
146         * locale/programs/locale.c (show_info) [case byte]: Check for
147         '\377' instead of '\177'.
148         * locale/C-monetary.c (not_available): Always use "\377".
149         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
150         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
151         detect unavailable sign_posn locale elements.
152         * locale/localeconv.c (__localeconv): For grouping and
153         mon_grouping handle "\177" and "\377" like no grouping.
154         (INT_ELEM): New macro.  Use it to set all numeric members.
155         * locale/programs/ld-monetary.c (monetary_read)
156         <tok_mon_grouping>: Normalize single -1 to the empty string.
157         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
158         Likewise.
160 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
162         [BZ #16055]
163         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
164         when we match (nil).
165         * stdio-common/tst-sscanf.c (struct test): Add testcase.
167 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
169         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
170         (NO_TEST_INLINE): Update value.
171         (ERRNO_UNCHANGED): Likewise.
172         (ERRNO_EDOM): Likewise.
173         (ERRNO_ERANGE): Likewise.
174         (IGNORE_RESULT): Likewise.
175         (check_float_internal): Check signs of NaN results if
176         TEST_NAN_SIGN used.
177         (check_complex): Pass TEST_NAN_SIGN flag through to second
178         check_float_internal call.
179         (copysign_test_data): Add tests with quiet NaNs as second
180         argument.  Use TEST_NAN_SIGN.
181         (fabs_test_data): Add test of negative quiet NaN argument.  Use
182         TEST_NAN_SIGN.
183         (signbit_test_data): Add tests of quiet NaN argument.
184         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
186         * math/gen-libm-test.pl (show_exceptions): Take extra argument
187         $ignore_result.
188         (parse_args): Handle function results specified as IGNORE.
189         * math/libm-test.inc (IGNORE_RESULT): New macro.
190         (check_float_internal): Do not check numerical result if flag
191         IGNORE_RESULT set.
192         (check_complex): Pass through IGNORE_RESULT to second
193         check_float_internal call.
194         (check_int): Do not check numerical result if flag IGNORE_RESULT
195         set.
196         (check_long): Likewise.
197         (check_bool): Likewise.
198         (check_longlong): Likewise.
199         (lrint_test_data): Add tests of infinite and NaN arguments.
200         (lrint_tonearest_test_data): Likewise.
201         (lrint_towardzero_test_data): Likewise.
202         (lrint_downward_test_data): Likewise.
203         (lrint_upward_test_data): Likewise.
204         (llrint_test_data): Likewise.
205         (llrint_tonearest_test_data): Likewise.
206         (llrint_towardzero_test_data): Likewise.
207         (llrint_downward_test_data): Likewise.
208         (llrint_upward_test_data): Likewise.
209         (lround_test_data): Likewise.
210         (llround_test_data): Likewise.
212         * math/libm-test.inc (NO_TEST_INLINE): New macro.
213         (ERRNO_UNCHANGED): Update value.
214         (ERRNO_EDOM): Likewise.
215         (ERRNO_ERANGE): Likewise.
216         (NO_TEST_INLINE_FLOAT): New macro.
217         (NO_TEST_INLINE_DOUBLE): Likewise.
218         (enable_test): New function.
219         (RUN_TEST_f_f): Check enable_test before running test.
220         (RUN_TEST_2_f): Likewise.
221         (RUN_TEST_fff_f): Likewise.
222         (RUN_TEST_c_f): Likewise.
223         (RUN_TEST_f_f1): Likewise.
224         (RUN_TEST_fF_f1): Likewise.
225         (RUN_TEST_fI_f1): Likewise.
226         (RUN_TEST_ffI_f1): Likewise.
227         (RUN_TEST_c_c): Likewise.
228         (RUN_TEST_cc_c): Likewise.
229         (RUN_TEST_f_i): Likewise.
230         (RUN_TEST_f_i_tg): Likewise.
231         (RUN_TEST_ff_i_tg): Likewise.
232         (RUN_TEST_f_b): Likewise.
233         (RUN_TEST_f_b_tg): Likewise.
234         (RUN_TEST_f_l): Likewise.
235         (RUN_TEST_f_L): Likewise.
236         (RUN_TEST_fFF_11): Likewise.
237         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
238         conditionals.
239         (cosh_test_data): Likewise.
240         (exp_test_data): Likewise.
241         (expm1_test_data): Likewise.
242         (hypot_test_data): Likewise.
243         (pow_test_data): Likewise.
244         (sinh_test_data): Likewise.
245         (tanh_test_data): Likewise.
246         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
247         flags argument.
249         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
250         tests with quiet NaN input and output.
251         (acosh_test_data): Likewise.
252         (asin_test_data): Likewise.
253         (asinh_test_data): Likewise.
254         (atan_test_data): Likewise.
255         (atanh_test_data): Likewise.
256         (atan2_test_data): Likewise.
257         (cbrt_test_data): Likewise.
258         (cos_test_data): Likewise.
259         (cosh_test_data): Likewise.
260         (erf_test_data): Likewise.
261         (erfc_test_data): Likewise.
262         (exp_test_data): Likewise.
263         (exp10_test_data): Likewise.
264         (exp2_test_data): Likewise.
265         (expm1_test_data): Likewise.
266         (hypot_test_data): Likewise.
267         (j0_test_data): Likewise.
268         (j1_test_data): Likewise.
269         (jn_test_data): Likewise.
270         (lgamma_test_data): Likewise.
271         (log_test_data): Likewise.
272         (log10_test_data): Likewise.
273         (log1p_test_data): Likewise.
274         (log2_test_data): Likewise.
275         (pow_test_data): Likewise.
276         (scalb_test_data): Likewise.
277         (sin_test_data): Likewise.
278         (sincos_test_data): Likewise.
279         (sinh_test_data): Likewise.
280         (tan_test_data): Likewise.
281         (tanh_test_data): Likewise.
282         (tgamma_test_data): Likewise.
283         (y0_test_data): Likewise.
284         (y1_test_data): Likewise.
285         (yn_test_data): Likewise.
287         [BZ #16167]
288         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
289         argument being NaN and avoid computations with second argument in
290         that case.
291         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
292         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
293         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
295 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
297         * locale/iso-639.def: Add Chitwani Tharu (the).
299 2013-11-14  Andreas Schwab  <schwab@suse.de>
301         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
302         word instead of empty string.
304 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
307         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
309         (__fe_nomask_env): Likewise.
311 2013-11-13  Steve Ellcey  <sellcey@mips.com>
313         * benchtests/bench-timing.h: Include time.h.
315 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
317         [BZ #15997]
318         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
319         to 3.4.0 for x32.
320         * sysdeps/unix/sysv/linux/configure: Regenerated.
322 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
324         [BZ #16151]
325         * stdlib/strtod_l.c (round_and_return): Do not consider
326         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
327         exponent one less than half the least subnormal exponent.
328         * stdlib/test-strtod-round-data: Add more tests.
329         * stdlib/tst-strtod-round.c (tests): Regenerated.
331 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
333         [BZ #14143]
334         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
335         (__fe_mask_env): Likewise.
336         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
337         libm_hidden_proto and add function prototype.
338         (__fe_mask_env): Add function prototype.
339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
340         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
342         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
344         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
346 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
348         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
349         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
351 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
353         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
354         of htab_find_slot().
356 2013-11-11  David S. Miller  <davem@davemloft.net>
358         [BZ #16150]
359         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
360         symbol in the non-vis3 case in static builds.
361         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
362         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
363         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
364         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
366 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
368         [BZ #387]
369         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
370         it is empty.
372 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
374         * benchtests/Makefile: Add bench-strtod.
375         * benchtests/bench-strtod.c: New file: strtod benchtest
377 2013-11-11  Andreas Schwab  <schwab@suse.de>
379         [BZ #16153]
380         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
381         terminating NUL in key length.
383 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
385         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
386         Add artificial ODP entry for vDSO symbol for PPC64.
387         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
388         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
390 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
392         [BZ #15374]
393         * nss/getent.c (services_keys): Recognize services starting with digit.
395 2013-11-06  David S. Miller  <davem@davemloft.net>
397         [BZ #15985]
398         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
399         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
401 2013-11-06  Will Newton  <will.newton@linaro.org>
403         * manual/memory.texi (Malloc Examples): Remove register
404         keyword from examples.
406 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
408         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
410 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
412         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
413         depending on [__GCC_IEC_559 > 0].
414         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
415         depending on [__GCC_IEC_559_COMPLEX > 0].
417 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
419         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
420         to iso-639.def.
422 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
424         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
426 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
428         [BZ #16112]
429         * malloc/malloc (malloc_info): Do not handle first bin as
430         special case.
432 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
434         * locale/iso-639.def: Add Central Nahuatl (nhn).
436 2013-11-01  Bruno Haible  <bruno@clisp.org>
438         [BZ #7003]
439         * manual/math.texi (BSD Random): Specify range upper bound as
440         in POSIX.
442 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
444         * locale/iso-639.def: Add Meadow Mari (mhr).
446 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
448         [BZ #14752], [BZ #15763]
449         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
450         Validate name.
451         * rt/tst_shm.c: Add test for escaping directory.
453 2013-10-31  Andreas Schwab  <schwab@suse.de>
455         [BZ #15917]
456         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
457         followed by 'x' as part of digit sequence.
458         * stdio-common/tst-sscanf.c (double_tests2): New tests.
460 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
462         [BZ #16037]
463         * configure.ac: allow GNU Make 4.0 and greater.
464         * configure: Regenerated.
466 2013-10-30  Will Newton  <will.newton@linaro.org>
468         [BZ #16038]
469         * malloc/hooks.c (memalign_check): Limit alignment to the
470         maximum representable power of two.
471         * malloc/malloc.c (__libc_memalign): Likewise.
472         * malloc/tst-memalign.c (do_test): Add test for very
473         large alignment values.
474         * malloc/tst-posix_memalign.c (do_test): Likewise.
476 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
478         [BZ #11087]
479         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
480         (munmap_chunk): Likewise.
481         (mremap_chunk): Likewise.
483 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
485         [BZ #15799]
486         * stdlib/div.c (div): Remove obsolete code.
487         * stdlib/ldiv.c (ldiv): Likewise.
488         * stdlib/lldiv.c (lldiv): Likewise.
490 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
492         [BZ #16071]
493         * nss/nss_files/files-XXX.c (get_contents_ret): New
494         enumerator.
495         (get_contents): New function.
496         (internal_getent): Use it.  Expand size of LINEBUFLEN.
498 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
500         * configure.in: Moved to ...
501         * configure.ac: ... here. Change reference to configure.in
502         to configure.ac.
503         * sysdeps/arm/preconfigure.ac: ... here.
504         configure.in to configure.ac.
505         * sysdeps/gnu/configure.in: Moved to ...
506         * sysdeps/gnu/configure.ac: ... here.
507         * sysdeps/i386/configure.in: Moved to ...
508         * sysdeps/i386/configure.ac: ... here.
509         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
510         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
511         * sysdeps/mach/configure.in: Moved to ...
512         * sysdeps/mach/configure.ac: ... here.
513         * sysdeps/mach/hurd/configure.in: Moved to ...
514         * sysdeps/mach/hurd/configure.ac: ... here.
515         * sysdeps/powerpc/configure.in: Moved to ...
516         * sysdeps/powerpc/configure.ac: ... here.
517         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
518         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
519         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
520         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
521         * sysdeps/s390/s390-32/configure.in: Moved to ...
522         * sysdeps/s390/s390-32/configure.ac: ... here.
523         * sysdeps/s390/s390-64/configure.in: Moved to ...
524         * sysdeps/s390/s390-64/configure.ac: ... here.
525         * sysdeps/sh/configure.in: Moved to ...
526         * sysdeps/sh/configure.ac: ... here.
527         * sysdeps/sparc/configure.in: Moved to ...
528         * sysdeps/sparc/configure.ac: ... here.
529         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
530         * sysdeps/unix/sysv/linux/configure.ac: ... here.
531         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
532         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
533         * sysdeps/x86_64/configure.in: Moved to ...
534         * sysdeps/x86_64/configure.ac: ... here.
535         * sysdeps/x86_64/preconfigure.in: Moved to ...
536         * sysdeps/x86_64/preconfigure.ac: ... here.
537         * aclocal.m4: Change reference to configure.in to configure.ac.
538         * config.h.in: Likewise.
539         * manual/install.texi: Likewise.
540         * manual/maint.texi: Likewise.
541         * Makefile: Likewise.
542         * malloc/Makefile: Likewise.
543         * nscd/Makefile: Likewise.
544         * Makeconfig: Change reference to configure.in and
545         preconfigure.in to configure.ac and preconfigure.ac
546         respectively.
547         * INSTALL: Regenerated.
548         * configure: Likewise.
549         * sysdeps/gnu/configure: Likewise.
550         * sysdeps/i386/configure: Likewise.
551         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
552         * sysdeps/mach/configure: Likewise.
553         * sysdeps/mach/hurd/configure: Likewise.
554         * sysdeps/powerpc/configure: Likewise.
555         * sysdeps/powerpc/powerpc32/configure: Likewise.
556         * sysdeps/powerpc/powerpc64/configure: Likewise.
557         * sysdeps/s390/s390-32/configure: Likewise.
558         * sysdeps/s390/s390-64/configure: Likewise.
559         * sysdeps/sh/configure: Likewise.
560         * sysdeps/sparc/configure: Likewise.
561         * sysdeps/unix/sysv/linux/configure: Likewise.
562         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
563         * sysdeps/x86_64/configure: Likewise.
564         * sysdeps/x86_64/preconfigure: Likewise.
566 2013-10-29  Andreas Schwab  <schwab@suse.de>
568         * stdio-common/Makefile (tst-swscanf-ENV): Define.
570 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
572         * benchtests/pow-inputs: Add new inputs.
574         * benchtests/exp-inputs: Add new inputs.
576         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
577         conditional check for return value.
578         (__cos32): Likewise.
580 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
582         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
583         to provide a boost for large inputs with word alignment.
584         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
585         implementation based on optimized PPC64 strcpy.
586         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
587         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
588         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
589         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
591 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
593         [BZ #2801]
594         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
596 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
598         [BZ #14876]
599         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
600         * time/tst-strptime.c (day_tests): Add testcase.
602 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
604         [BZ #14029]
605         * manual/pattern.texi: Acknowledge that fnmatch can fail.
607 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
609         [BZ #16074]
610         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
611         MAP_FAILED on error.
613 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
615         [BZ #16072]
616         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
617         heap for large requests.
619 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
621         [BZ #9954]
622         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
623         result if the result has no associated interface.
624         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
625         interface for all 127.X.Y.Z addresses.
627 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
629         * locale/iso-639.def: Add Ligurian (lij)
631 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
633         [BZ #15825]
634         * sunrpc/rpc_main.c: Document rpcgen -5.
636 2013-10-19  Michael Stahl  <mstahl@redhat.com>
638         * elf/rtld.c (do_preload): Print the reason why preloading failed.
640 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
642         [BZ #10278]
643         * posix/glob.c: Match only directories when trailing slash is present.
644         * posix/tst-gnuglob.c (my_opendir): Do not open files.
645         (main): Add testcase.
647 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
649         [BZ #15670]
650         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
652 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
654         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
655         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
656         AUTH_DES and cindex for FIPS 140-2.
657         (DES Encryption): Add cindex FIPS 46-3.
659         * locale/locarchive.h (struct locarhandle): Add fname.
660         * locale/programs/localedef.c (main): Pass ARGV[remaining]
661         if an optional argument was specified to --list-archive,
662         otherwise NULL.
663         * locale/programs/locarchive.c (show_archive_content): Take new
664         argument fname and pass it via ah.fname to open_archive.
665         * locale/programs/localedef.h: Update decl.
666         (open_archive): If AH->fname is non-null, open that file
667         rather than the default file name, and don't ignore ENOENT.
668         (create_archive): Set AH.fname to NULL.
669         (delete_locales_from_archive): Likewise.
670         (add_locales_to_archive): Likewise.
671         * locale/programs/locfile.c (write_all_categories): Likewise.
673 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
674             Aldy Hernandez  <aldyh@redhat.com>
676         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
677         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
678         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
679         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
680         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
681         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
682         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
683         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
684         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
685         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
686         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
687         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
688         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
689         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
690         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
691         Likewise.
692         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
693         Likewise.
694         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
695         Likewise.
696         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
697         Likewise.
698         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
699         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
700         Likewise.
701         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
702         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
703         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
704         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
705         Likewise.
706         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
707         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
708         * sysdeps/powerpc/preconfigure: Likewise.
709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
710         Likewise.
711         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
712         Replace contents of file by #include of <fenv_libc.h>.
713         * sysdeps/powerpc/soft-fp/sfp-machine.h
714         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
715         and <sys/prctl.h>.
716         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
717         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
718         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
719         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
720         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
721         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
722         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
723         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
724         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
725         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
726         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
727         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
729         Allow copysignl PLT reference to be missing.
731 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
732             Joseph Myers  <joseph@codesourcery.com
734         [BZ #15948]
735         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
736         single character.
737         (add_to_tablewc): Assert sequence of wide characters is nonempty.
739 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
741         * elf/tst-tls-dlinfo.c: Don't include tls.h.
742         * elf/tst-tls1.c: Likewise.
743         * elf/tst-tls10.h: Likewise.
744         * elf/tst-tls14.c: Likewise.
745         * elf/tst-tls2.c: Likewise.
746         * elf/tst-tls3.c: Likewise.
747         * elf/tst-tls4.c: Likewise.
748         * elf/tst-tls5.c: Likewise.
749         * elf/tst-tls6.c: Likewise.
750         * elf/tst-tls7.c: Likewise.
751         * elf/tst-tls8.c: Likewise.
752         * elf/tst-tls9.c: Likewise.
753         * elf/tst-tlsmod1.c: Likewise.
754         * elf/tst-tlsmod13.c: Likewise.
755         * elf/tst-tlsmod13a.c: Likewise.
756         * elf/tst-tlsmod14a.c: Likewise.
757         * elf/tst-tlsmod16a.c: Likewise.
758         * elf/tst-tlsmod16b.c: Likewise.
759         * elf/tst-tlsmod2.c: Likewise.
760         * elf/tst-tlsmod3.c: Likewise.
761         * elf/tst-tlsmod4.c: Likewise.
762         * elf/tst-tlsmod5.c: Likewise.
763         * elf/tst-tlsmod6.c: Likewise.
765 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
767         [BZ #12486]
768         * malloc/malloc.c: remove checks for statistics.
770 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
772         [BZ #15277]
773         * inet/inet_net.c (inet_network): Detect additional invalid strings.
774         * inet/tst-network.c: Add testcase.
776 2013-10-17  Andreas Schwab  <schwab@suse.de>
778         [BZ #15218]
779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
780         to determine canonical name.
782 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
784         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
785         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
786         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
787         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
788         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
789         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
790         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
791         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
792         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
793         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
794         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
795         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
796         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
797         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
798         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
799         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
800         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
801         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
802         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
803         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
804         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
805         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
806         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
807         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
808         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
809         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
810         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
811         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
812         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
813         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
814         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
815         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
816         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
817         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
818         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
819         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
820         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
821         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
822         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
823         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
824         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
825         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
826         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
827         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
828         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
829         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
830         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
831         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
832         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
833         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
834         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
835         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
836         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
837         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
838         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
839         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
840         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
841         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
843 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
845         [BZ #16041]
846         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
847         make result into a quiet NaN.
849 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
851         * soft-fp/adddf3.c: Fix horizontal whitespace.
852         * soft-fp/addsf3.c: Likewise.
853         * soft-fp/addtf3.c: Likewise.
854         * soft-fp/divdf3.c: Likewise.
855         * soft-fp/divsf3.c: Likewise.
856         * soft-fp/divtf3.c: Likewise.
857         * soft-fp/double.h: Likewise.
858         * soft-fp/eqdf2.c: Likewise.
859         * soft-fp/eqsf2.c: Likewise.
860         * soft-fp/eqtf2.c: Likewise.
861         * soft-fp/extenddftf2.c: Likewise.
862         * soft-fp/extended.h: Likewise.
863         * soft-fp/extendsfdf2.c: Likewise.
864         * soft-fp/extendsftf2.c: Likewise.
865         * soft-fp/extendxftf2.c: Likewise.
866         * soft-fp/fixdfdi.c: Likewise.
867         * soft-fp/fixdfsi.c: Likewise.
868         * soft-fp/fixdfti.c: Likewise.
869         * soft-fp/fixsfdi.c: Likewise.
870         * soft-fp/fixsfsi.c: Likewise.
871         * soft-fp/fixsfti.c: Likewise.
872         * soft-fp/fixtfdi.c: Likewise.
873         * soft-fp/fixtfsi.c: Likewise.
874         * soft-fp/fixtfti.c: Likewise.
875         * soft-fp/fixunsdfdi.c: Likewise.
876         * soft-fp/fixunsdfsi.c: Likewise.
877         * soft-fp/fixunsdfti.c: Likewise.
878         * soft-fp/fixunssfdi.c: Likewise.
879         * soft-fp/fixunssfsi.c: Likewise.
880         * soft-fp/fixunssfti.c: Likewise.
881         * soft-fp/fixunstfdi.c: Likewise.
882         * soft-fp/fixunstfsi.c: Likewise.
883         * soft-fp/fixunstfti.c: Likewise.
884         * soft-fp/floatdidf.c: Likewise.
885         * soft-fp/floatdisf.c: Likewise.
886         * soft-fp/floatditf.c: Likewise.
887         * soft-fp/floatsidf.c: Likewise.
888         * soft-fp/floatsisf.c: Likewise.
889         * soft-fp/floatsitf.c: Likewise.
890         * soft-fp/floattidf.c: Likewise.
891         * soft-fp/floattisf.c: Likewise.
892         * soft-fp/floattitf.c: Likewise.
893         * soft-fp/floatundidf.c: Likewise.
894         * soft-fp/floatundisf.c: Likewise.
895         * soft-fp/floatunditf.c: Likewise.
896         * soft-fp/floatunsidf.c: Likewise.
897         * soft-fp/floatunsisf.c: Likewise.
898         * soft-fp/floatunsitf.c: Likewise.
899         * soft-fp/floatuntidf.c: Likewise.
900         * soft-fp/floatuntisf.c: Likewise.
901         * soft-fp/floatuntitf.c: Likewise.
902         * soft-fp/fmadf4.c: Likewise.
903         * soft-fp/fmasf4.c: Likewise.
904         * soft-fp/fmatf4.c: Likewise.
905         * soft-fp/gedf2.c: Likewise.
906         * soft-fp/gesf2.c: Likewise.
907         * soft-fp/getf2.c: Likewise.
908         * soft-fp/ledf2.c: Likewise.
909         * soft-fp/lesf2.c: Likewise.
910         * soft-fp/letf2.c: Likewise.
911         * soft-fp/muldf3.c: Likewise.
912         * soft-fp/mulsf3.c: Likewise.
913         * soft-fp/multf3.c: Likewise.
914         * soft-fp/negdf2.c: Likewise.
915         * soft-fp/negsf2.c: Likewise.
916         * soft-fp/negtf2.c: Likewise.
917         * soft-fp/op-1.h: Likewise.
918         * soft-fp/op-2.h: Likewise.
919         * soft-fp/op-4.h: Likewise.
920         * soft-fp/op-8.h: Likewise.
921         * soft-fp/op-common.h: Likewise.
922         * soft-fp/quad.h: Likewise.
923         * soft-fp/single.h: Likewise.
924         * soft-fp/soft-fp.h: Likewise.
925         * soft-fp/sqrtdf2.c: Likewise.
926         * soft-fp/sqrtsf2.c: Likewise.
927         * soft-fp/sqrttf2.c: Likewise.
928         * soft-fp/subdf3.c: Likewise.
929         * soft-fp/subsf3.c: Likewise.
930         * soft-fp/subtf3.c: Likewise.
931         * soft-fp/truncdfsf2.c: Likewise.
932         * soft-fp/trunctfdf2.c: Likewise.
933         * soft-fp/trunctfsf2.c: Likewise.
934         * soft-fp/trunctfxf2.c: Likewise.
935         * soft-fp/unorddf2.c: Likewise.
936         * soft-fp/unordsf2.c: Likewise.
937         * soft-fp/unordtf2.c: Likewise.
939 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
941         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
942         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
944 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
946         * elf/dl-libc.c: Clear initfini list after freeing.
948 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
950         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
951         * soft-fp/addsf3.c: Likewise.
952         * soft-fp/addtf3.c: Likewise.
953         * soft-fp/divdf3.c: Likewise.
954         * soft-fp/divsf3.c: Likewise.
955         * soft-fp/divtf3.c: Likewise.
956         * soft-fp/double.h: Likewise.
957         * soft-fp/eqdf2.c: Likewise.
958         * soft-fp/eqsf2.c: Likewise.
959         * soft-fp/eqtf2.c: Likewise.
960         * soft-fp/extenddftf2.c: Likewise.
961         * soft-fp/extended.h: Likewise.
962         * soft-fp/extendsfdf2.c: Likewise.
963         * soft-fp/extendsftf2.c: Likewise.
964         * soft-fp/extendxftf2.c: Likewise.
965         * soft-fp/fixdfdi.c: Likewise.
966         * soft-fp/fixdfsi.c: Likewise.
967         * soft-fp/fixdfti.c: Likewise.
968         * soft-fp/fixsfdi.c: Likewise.
969         * soft-fp/fixsfsi.c: Likewise.
970         * soft-fp/fixsfti.c: Likewise.
971         * soft-fp/fixtfdi.c: Likewise.
972         * soft-fp/fixtfsi.c: Likewise.
973         * soft-fp/fixtfti.c: Likewise.
974         * soft-fp/fixunsdfdi.c: Likewise.
975         * soft-fp/fixunsdfsi.c: Likewise.
976         * soft-fp/fixunsdfti.c: Likewise.
977         * soft-fp/fixunssfdi.c: Likewise.
978         * soft-fp/fixunssfsi.c: Likewise.
979         * soft-fp/fixunssfti.c: Likewise.
980         * soft-fp/fixunstfdi.c: Likewise.
981         * soft-fp/fixunstfsi.c: Likewise.
982         * soft-fp/fixunstfti.c: Likewise.
983         * soft-fp/floatdidf.c: Likewise.
984         * soft-fp/floatdisf.c: Likewise.
985         * soft-fp/floatditf.c: Likewise.
986         * soft-fp/floatsidf.c: Likewise.
987         * soft-fp/floatsisf.c: Likewise.
988         * soft-fp/floatsitf.c: Likewise.
989         * soft-fp/floattidf.c: Likewise.
990         * soft-fp/floattisf.c: Likewise.
991         * soft-fp/floattitf.c: Likewise.
992         * soft-fp/floatundidf.c: Likewise.
993         * soft-fp/floatundisf.c: Likewise.
994         * soft-fp/floatunsidf.c: Likewise.
995         * soft-fp/floatunsisf.c: Likewise.
996         * soft-fp/floatuntidf.c: Likewise.
997         * soft-fp/floatuntisf.c: Likewise.
998         * soft-fp/floatuntitf.c: Likewise.
999         * soft-fp/fmadf4.c: Likewise.
1000         * soft-fp/fmasf4.c: Likewise.
1001         * soft-fp/fmatf4.c: Likewise.
1002         * soft-fp/gedf2.c: Likewise.
1003         * soft-fp/gesf2.c: Likewise.
1004         * soft-fp/getf2.c: Likewise.
1005         * soft-fp/ledf2.c: Likewise.
1006         * soft-fp/lesf2.c: Likewise.
1007         * soft-fp/letf2.c: Likewise.
1008         * soft-fp/muldf3.c: Likewise.
1009         * soft-fp/mulsf3.c: Likewise.
1010         * soft-fp/multf3.c: Likewise.
1011         * soft-fp/negdf2.c: Likewise.
1012         * soft-fp/negsf2.c: Likewise.
1013         * soft-fp/negtf2.c: Likewise.
1014         * soft-fp/op-1.h: Likewise.
1015         * soft-fp/op-2.h: Likewise.
1016         * soft-fp/op-4.h: Likewise.
1017         * soft-fp/op-8.h: Likewise.
1018         * soft-fp/op-common.h: Likewise.
1019         * soft-fp/quad.h: Likewise.
1020         * soft-fp/single.h: Likewise.
1021         * soft-fp/soft-fp.h: Likewise.
1022         * soft-fp/sqrtdf2.c: Likewise.
1023         * soft-fp/sqrtsf2.c: Likewise.
1024         * soft-fp/sqrttf2.c: Likewise.
1025         * soft-fp/subdf3.c: Likewise.
1026         * soft-fp/subsf3.c: Likewise.
1027         * soft-fp/subtf3.c: Likewise.
1028         * soft-fp/truncdfsf2.c: Likewise.
1029         * soft-fp/trunctfdf2.c: Likewise.
1030         * soft-fp/trunctfsf2.c: Likewise.
1031         * soft-fp/trunctfxf2.c: Likewise.
1032         * soft-fp/unorddf2.c: Likewise.
1033         * soft-fp/unordsf2.c: Likewise.
1034         * soft-fp/unordtf2.c: Likewise.
1036 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1038         [BZ #15672]
1039         * misc/error.c (error_tail): Fix possible buffer overflow.
1041 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1043         [BZ #13028]
1044         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1045         address.
1047 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1049         [BZ #832]
1050         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1051         testing pipefail option.
1053 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1055         * soft-fp/double.h: Indent preprocessor directives inside #if.
1056         * soft-fp/extended.h: Likewise.
1057         * soft-fp/op-2.h: Likewise.
1058         * soft-fp/op-4.h: Likewise.
1059         * soft-fp/op-common.h: Likewise.
1060         * soft-fp/quad.h: Likewise.
1061         * soft-fp/single.h: Likewise.
1062         * soft-fp/soft-fp.h: Likewise.
1064 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1066         * iconv/iconv_prog.c: Fix typos.
1067         * stdio-common/psiginfo-data.h: Likewise.
1069 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1071         [BZ #15764]
1072         * locale/setlocale.c: Fix typo.
1074 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1076         [BZ #16036]
1077         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1078         signaling NaN arguments.
1079         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1080         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1082         [BZ #14910]
1083         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1084         unordered operands.
1085         * soft-fp/gesf2.c (__gesf2): Likewise.
1086         * soft-fp/getf2.c (__getf2): Likewise.
1087         * soft-fp/ledf2.c (__ledf2): Likewise.
1088         * soft-fp/lesf2.c (__lesf2): Likewise.
1089         * soft-fp/letf2.c (__letf2): Likewise.
1091         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1092         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1093         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1094         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1095         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1096         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1097         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1098         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1099         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1100         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1101         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1102         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1103         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1104         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1105         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1106         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1107         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1108         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1109         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1110         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1111         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1112         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1113         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1114         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1115         * soft-fp/floattidf.c (__floattidf): Likewise.
1116         * soft-fp/floattisf.c (__floattisf): Likewise.
1117         * soft-fp/floattitf.c (__floattitf): Likewise.
1118         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1119         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1120         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1121         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1122         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1123         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1124         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1125         * soft-fp/gesf2.c (__gesf2): Likewise.
1126         * soft-fp/getf2.c (__getf2): Likewise.
1127         * soft-fp/ledf2.c (__ledf2): Likewise.
1128         * soft-fp/lesf2.c (__lesf2): Likewise.
1129         * soft-fp/letf2.c (__letf2): Likewise.
1131         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1132         Undefine and redefine.
1133         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1134         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1135         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1136         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1137         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1138         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1139         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1140         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1141         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1142         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1143         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1144         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1145         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1146         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1147         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1149         [BZ #16032]
1150         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1151         without decrementing exponent if mantissa >= that for the
1152         denominator, not >.
1153         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1154         denominator, not >.  Decrement exponent in < case instead of
1155         incrementing in >= case.
1156         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1157         without decrementing exponent if mantissa >= that for the
1158         denominator, not >.
1160         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1161         computing saturated result for unsigned overflow.
1163 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1164             Jeff Law  <law@redhat.com>
1166         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1167         (atan2Mp): Add systemtap probe marker.
1168         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1169         (__ieee754_log): Add systemtap probe marker.
1170         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1171         (atanMp): Add systemtap probe marker.
1172         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1173         (tanMp): Add systemtap probe marker.
1174         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1175         (__slowexp): Add systemtap probe marker.
1176         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1177         (__slowpow): Add systemtap probe marker.
1178         * manual/probes.texi: Document probes.
1180 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1182         [BZ #15362]
1183         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1184         written.
1185         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1186         written.
1187         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1188         written to buffer but not flushed.
1189         * libio/iofwrite_u.c:  Likewise.
1190         * libio/iopadn.c:  Return bytes returned even if EOF was
1191         encountered.
1192         * libio/iowpadn.c:  Likewise.
1193         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1194         if _IO_padn does not write the whole buffer.
1195         [!COMPILE_WPRINTF] (PAD): Likewise.
1197 2013-10-10  David S. Miller  <davem@davemloft.net>
1199         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1200         directory block.
1202 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1204         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1205         instead of FSF address.
1206         * soft-fp/fixdfti.c: Likewise.
1207         * soft-fp/fixsfti.c: Likewise.
1208         * soft-fp/fixtfti.c: Likewise.
1209         * soft-fp/fixunsdfti.c: Likewise.
1210         * soft-fp/fixunssfti.c: Likewise.
1211         * soft-fp/fixunstfti.c: Likewise.
1212         * soft-fp/floattidf.c: Likewise.
1213         * soft-fp/floattisf.c: Likewise.
1214         * soft-fp/floattitf.c: Likewise.
1215         * soft-fp/floatuntidf.c: Likewise.
1216         * soft-fp/floatuntisf.c: Likewise.
1217         * soft-fp/floatuntitf.c: Likewise.
1218         * soft-fp/trunctfxf2.c: Likewise.
1220         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1221         * soft-fp/fixdfti.c: Likewise.
1222         * soft-fp/fixsfti.c: Likewise.
1223         * soft-fp/fixtfti.c: Likewise.
1224         * soft-fp/fixunsdfti.c: Likewise.
1225         * soft-fp/fixunssfti.c: Likewise.
1226         * soft-fp/fixunstfti.c: Likewise.
1227         * soft-fp/floattidf.c: Likewise.
1228         * soft-fp/floattisf.c: Likewise.
1229         * soft-fp/floattitf.c: Likewise.
1230         * soft-fp/floatuntidf.c: Likewise.
1231         * soft-fp/floatuntisf.c: Likewise.
1232         * soft-fp/floatuntitf.c: Likewise.
1233         * soft-fp/trunctfxf2.c: Likewise.
1235 2013-10-10  David S. Miller  <davem@davemloft.net>
1237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1239 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
1241         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1242         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1243         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1244         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1245         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1246         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1247         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1249         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1250         for NaNs before doing comparisons on argument.
1251         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1252         Likewise.
1254 2013-10-10  Will Newton  <will.newton@linaro.org>
1256         * malloc/hooks.c (memalign_check): Ensure the value of bytes
1257         passed to _int_memalign does not overflow.
1259 2013-10-10  Torvald Riegel  <triegel@redhat.com>
1261         * scripts/bench.pl: Add include-sources directive.
1262         * benchtests/README: Update documentation.
1264 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1266         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1267         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1268         instead of FP_INIT_ROUNDMODE.
1269         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1270         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1272         [BZ #16034]
1273         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
1274         copy class of input value.
1275         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
1276         not handle exceptions.
1277         * soft-fp/negsf2.c (__negsf2): Likewise.
1278         * soft-fp/negtf2.c (__negtf2): Likewise.
1279         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1281 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
1283         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1284         semicolon.  From Linux kernel.
1286 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
1288         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1290 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
1292         [BZ #156]
1293         * manual/socket.texi: Added statement about buffer
1294         for gethostbyname2_r.
1296 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
1298         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1299         Use .p2align directive instead, throughout.
1300         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1301         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1302         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1303         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1304         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1305         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1306         * sysdeps/x86_64/strchr.S: Likewise.
1307         * sysdeps/x86_64/strrchr.S: Likewise.
1309 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1311         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1313         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1315         * sysdeps/generic/math_private.h (__mpsin1): Remove
1316         declaration.
1317         (__mpcos1): Likewise.
1318         (__mpsin): New argument __range_reduce.
1319         (__mpcos): Likewise.
1320         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1321         (slow): Use __mpsin and __mpcos.
1322         (slow1): Likewise.
1323         (slow2): Likewise.
1324         (sloww): Likewise.
1325         (sloww1): Likewise.
1326         (sloww2): Likewise.
1327         (bsloww): Likewise.
1328         (bsloww1): Likewise.
1329         (bsloww2): Likewise.
1330         (cslow2): Likewise.
1331         (csloww): Likewise.
1332         (csloww1): Likewise.
1333         (csloww2): Likewise.
1334         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1335         range_reduce.  Merge in __mpsin1.
1336         (__mpcos): Likewise.
1337         (__mpsin1): Remove.
1338         (__mpcos1): Likewise.
1340 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1342         * locale/loadlocale.c (_nl_intern_locale_data): Use
1343         LOCFILE_ALIGNED_P.
1344         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1345         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1346         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1347         obstack data is appropriately aligned.
1348         (obstack_int32_grow_fast): Likewise.
1349         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1350         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1351         (add_locale_uint32_array): Likewise.
1353 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1355         * benchtests/Makefile: Remove ARGLIST and RET variables.
1356         ($(objpfx)bench-%.c): Pass only function name to the script.
1357         * benchtests/README: Update documentation.
1358         * benchtests/acos-inputs: Add new directives.
1359         * benchtests/acosh-inputs: Likewise.
1360         * benchtests/asin-inputs: Likewise.
1361         * benchtests/asinh-inputs: Likewise.
1362         * benchtests/atan-inputs: Likewise.
1363         * benchtests/atanh-inputs: Likewise.
1364         * benchtests/cos-inputs: Likewise.
1365         * benchtests/cosh-inputs: Likewise.
1366         * benchtests/exp-inputs: Likewise.
1367         * benchtests/log-inputs: Likewise.
1368         * benchtests/pow-inputs: Likewise.
1369         * benchtests/rint-inputs: Likewise.
1370         * benchtests/sin-inputs: Likewise.
1371         * benchtests/sinh-inputs: Likewise.
1372         * benchtests/tan-inputs: Likewise.
1373         * benchtests/tanh-inputs: Likewise.
1374         * scripts/bench.pl: Add support for new directives.
1376 2013-10-07  Alan Modra  <amodra@gmail.com>
1378         * README: Fix careless merge.
1380 2013-10-05  Alan Modra  <amodra@gmail.com>
1382         * NEWS: Mention powerpc64le support and bugs fixed.
1383         * README: Both big-endian and little-endian powerpc64 supported.
1385 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1387         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1388         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1389         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1390         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1392 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1394         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1395         match prototype.
1397 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1399         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1400         Move -mhard-float appending from
1401         ports/sysdeps/powerpc/powerpc32/Makefile.
1402         [$(with-fp) = yes] (ASFLAGS): Likewise.
1403         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1404         * sysdeps/powerpc/nofpu: Move directory from
1405         ports/sysdeps/powerpc/nofpu.
1406         * sysdeps/powerpc/soft-fp: Move directory from
1407         ports/sysdeps/powerpc/soft-fp.
1408         * sysdeps/powerpc/powerpc32/405: Move directory from
1409         ports/sysdeps/powerpc/powerpc32/405.
1410         * sysdeps/powerpc/powerpc32/440: Move directory from
1411         ports/sysdeps/powerpc/powerpc32/440.
1412         * sysdeps/powerpc/powerpc32/464: Move directory from
1413         ports/sysdeps/powerpc/powerpc32/464.
1414         * sysdeps/powerpc/powerpc32/476: Move directory from
1415         ports/sysdeps/powerpc/powerpc32/476.
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1417         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1419         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1421         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1423         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1425         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1426         * README: Update for powerpc-*-linux-gnu software floating point
1427         support in libc.
1429         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1430         case to powerpc/powerpc32*.
1431         * sysdeps/unix/sysv/linux/configure: Regenerated.
1433         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1434         (_FPU_MASK_OM): Define as 0x04.
1435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1437         0x00c10080.
1438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1439         0x0000003c.
1440         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1443         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1444         getcontext_e500.
1445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1446         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1447         setcontext_e500.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1449         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1450         and setcontext_e500.
1452 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1454         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1456 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1458         * manual/threads.texi (Default Thread Attributes): Fix typo.
1460 2013-10-04  Will Newton  <will.newton@linaro.org>
1462         * malloc/Makefile: Add tst-memalign.
1463         * malloc/tst-memalign.c: New file.
1465         * malloc/tst-posix_memalign.c: Add comments.
1466         (do_test): Add comments and call free on all potentially
1467         allocated pointers. Add space after cast.
1469         * malloc/tst-pvalloc.c: Add comments.
1470         (do_test): Add comments and call free on all potentially
1471         allocated pointers. Remove duplicate check for NULL pointer.
1472         Add space after cast.
1474         * malloc/tst-valloc.c: Add comments.
1475         (do_test): Add comments and call free on all potentially
1476         allocated pointers. Remove duplicate check for NULL pointer.
1477         Add space after cast.
1479 2013-10-04  Alan Modra  <amodra@gmail.com>
1481         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1482         Use stdint types in rather than __attribute__((mode())).
1483         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1485 2013-10-04  Alan Modra  <amodra@gmail.com>
1487         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1488         Correct handling of unaligned relocs for little-endian.
1489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1491 2013-10-04  Alan Modra  <amodra@gmail.com>
1493         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1494         * configure: Regenerate.
1495         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1496         * shlib-versions: Likewise.
1498 2013-10-04  Alan Modra  <amodra@gmail.com>
1500         * string/tester.c (test_memrchr): Increment reported test cycle.
1502 2013-10-04  Alan Modra  <amodra@gmail.com>
1504         * string/test-memcpy.c (do_one_test): When reporting errors, print
1505         string address and don't overrun end of string.
1507 2013-10-04  Alan Modra  <amodra@gmail.com>
1509         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1510         insrdi.  Make better use of reg selection to speed exit slightly.
1511         Schedule entry path a little better.  Remove useless "are we done"
1512         checks on entry to main loop.  Handle wrapping around zero address.
1513         Correct main loop count.  Handle single left-over word from main
1514         loop inline rather than by using loop_small.  Remove extra word
1515         case in loop_small caused by wrong loop count.  Add little-endian
1516         support.
1517         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1518         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1519         cache hint.
1520         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1521         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1522         support.  Avoid rlwimi.
1523         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1525 2013-10-04  Alan Modra  <amodra@gmail.com>
1527         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1528         insrdi.  Formatting.
1529         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1530         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1531         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1532         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1533         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1534         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1536 2013-10-04  Alan Modra  <amodra@gmail.com>
1538         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1539         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1540         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1541         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1542         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1543         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1544         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1545         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1546         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1547         use of regs.  Use power7 mtocrf.  Tidy function tails.
1549 2013-10-04  Alan Modra  <amodra@gmail.com>
1551         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1552         Formatting.  Consistently use rXXX register defines or rN defines.
1553         Use early exit labels that avoid restoring unused non-volatile regs.
1554         Make cr field use more consistent with rWORDn compares.  Rename
1555         regs used as shift registers for unaligned loop, using rN defines
1556         for short lifetime/multiple use regs.
1557         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1558         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1559         addi 1,1,64 to pop stack frame.  Simplify return value code.
1560         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1562 2013-10-04  Alan Modra  <amodra@gmail.com>
1564         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1565         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1566         rather than rlwimi.
1567         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1568         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1569         little-endian support.  Correct typos.
1570         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1571         rather than rlwimi.
1572         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1573         in loop and entry code to keep "and." results.
1574         (strchr): Add little-endian support.  Comment.  Move cntlzd
1575         earlier in tail.
1576         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1578 2013-10-04  Alan Modra  <amodra@gmail.com>
1580         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1581         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1582         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1583         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1585 2013-10-04  Alan Modra  <amodra@gmail.com>
1587         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1588         (rTMP): Define as r11.
1589         (strcmp): Add little-endian support.  Optimise tail.
1590         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1591         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1592         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1593         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1594         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1595         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1596         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1598 2013-10-04  Alan Modra  <amodra@gmail.com>
1600         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1601         little-endian support.  Remove unnecessary "are we done" tests.
1602         Handle "s" wrapping around zero and extremely large "size".
1603         Correct main loop count.  Handle single left-over word from main
1604         loop inline rather than by using small_loop.  Correct comments.
1605         Delete "zero" tail, use "end_max" instead.
1606         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1608 2013-10-04  Alan Modra  <amodra@gmail.com>
1610         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1611         support.  Don't branch over align.
1612         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1613         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1614         support.  Rearrange tmp reg use to suit.  Comment.
1615         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1617 2013-10-04  Alan Modra  <amodra@gmail.com>
1619         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1621 2013-10-04  Alan Modra  <amodra@gmail.com>
1623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1624         conditional form of branch and link when obtaining pc.
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1627 2013-10-04  Alan Modra  <amodra@gmail.com>
1629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1630         HIWORD/LOWORD.
1631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1634 2013-10-04  Alan Modra  <amodra@gmail.com>
1636         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1637         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1638         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1639         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1640         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1641         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1642         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1643         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1644         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1645         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1647 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1648             Alistair Popple <alistair@ozlabs.au.ibm.com>
1649             Alan Modra <amodra@gmail.com>
1651         [BZ #15723]
1652         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1653         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1654         _dl_hwcap access for little-endian.
1655         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1656         destroy vmx regs when saving unaligned.
1657         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1658         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1659         destroy vmx regs when saving unaligned.
1661 2013-10-04  Alan Modra  <amodra@gmail.com>
1663         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1664         Don't use a union to pack hi/low value.
1666 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1668         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1669         for little-endian.
1670         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1671         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1672         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1673         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1674         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1676 2013-10-04  Alan Modra  <amodra@gmail.com>
1678         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1679         constants to usual value for .cst8 section, and remove redundant
1680         high address load.
1681         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1682         constant for 0x1p52.  Load little-endian words of double from
1683         correct stack offsets.
1685 2013-10-04  Alan Modra  <amodra@gmail.com>
1687         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1688         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1689         words of double from correct stack offsets.
1690         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1691         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1692         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1693         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1694         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1695         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1696         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1697         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1698         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1699         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1700         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1701         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1702         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1703         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1704         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1705         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1706         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1708 2013-10-04  Alan Modra  <amodra@gmail.com>
1710         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1711         64-bit int/double union.
1712         (_FPU_SETCW): Likewise.
1713         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1714         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1716 2013-10-04  Alan Modra  <amodra@gmail.com>
1718         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1719         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1721 2013-10-04  Alan Modra  <amodra@gmail.com>
1723         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1724         use vector int constants.
1725         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1727 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1729         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1730         array with long long.
1731         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1732         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1733         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1734         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1735         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1736         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1737         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1738         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1739         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1740         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1741         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1742         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1743         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1745 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1747         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1748         (__signbit): Likewise.  Correct for little-endian.
1749         (__signbitl): Call __signbit.
1750         (lrint): Correct for little-endian.
1751         (lrintf): Call lrint.
1753 2013-10-04  Alan Modra  <amodra@gmail.com>
1755         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1756         union 32-bit int array member with 64-bit int array.
1757         (t515, tm256): Double rather than long double.
1758         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1760 2013-10-04  Alan Modra  <amodra@gmail.com>
1762         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1763         Delete.
1764         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1765         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1766         version of math_ldbl.h.
1768 2013-10-04  Alan Modra  <amodra@gmail.com>
1770         [BZ #15734], [BZ #15735]
1771         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1772         all uses of ieee875 long double macros and unions.  Simplify test
1773         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1774         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1775         normalize after ldbl_extract_mantissa, and don't add hidden bit
1776         already handled.  Don't treat low word of ieee854 mantissa like
1777         low word of IBM long double and mask off bit when testing for
1778         zero.
1779         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1780         all uses of ieee875 long double macros and unions.  Simplify tests
1781         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1782         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1783         two1022, instead use their values.  Recognise that tests for large
1784         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1785         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1786         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1787         test for 0.0L and nan.  Correct negation.
1788         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1789         ieee875 long double macros and unions.  Correct output for large
1790         magnitude x.  Correct absolute value calculation.
1791         (__erfcl): Likewise.
1792         * math/libm-test.inc: Add tests for errors discovered in IBM long
1793         double versions of fmodl, remainderl, erfl and erfcl.
1795 2013-10-04  Alan Modra  <amodra@gmail.com>
1797         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1798         all uses of ieee854 long double macros and unions.  Simplify tests
1799         for long doubles that are fully specified by the high double.
1800         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1801         Likewise.
1802         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1803         Remove dead code too.
1804         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1805         (__ieee754_ynl): Likewise.
1806         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1807         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1808         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1809         Remove dead code too.
1810         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1811         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1812         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1813         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1814         Simplify.
1815         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1816         Simplify.
1817         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1818         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1819         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1820         Comment on variable precision.
1821         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1822         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1823         Likewise.
1824         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1825         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1826         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1827         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1828         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1830 2013-10-04  Alan Modra  <amodra@gmail.com>
1832         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1833         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1834         all uses of ieee854 long double macros and unions.
1835         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1836         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1837         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1838         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1839         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1840         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1841         Likewise.
1842         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1843         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1844         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1845         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1846         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1847         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1848         Simplify sign and nan test too.
1849         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1850         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1851         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1852         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1853         Likewise.
1854         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1855         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1856         Likewise.
1857         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1858         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1859         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1860         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1861         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1862         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1864 2013-10-04  Alan Modra  <amodra@gmail.com>
1866         * stdio-common/printf_size.c (__printf_size): Don't use
1867         union ieee854_long_double in fpnum union.
1868         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1869         signbit macro to retrieve sign from long double.
1870         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1871         retrieve sign from long double.
1872         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1873         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1874         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1875         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1876         * math/test-misc.c (main): Don't use union ieee854_long_double.
1878 2013-10-04  Alan Modra  <amodra@gmail.com>
1880         [BZ #15680]
1881         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1882         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1883         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1884         calculation.  Remove unnecessary test for denormal exponent.
1885         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1886         Correct handling of denormals.  Avoid undefined shift behaviour.
1887         Correct normalisation of low mantissa when low double is denormal.
1888         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1889         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1890         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1891         Correct normalisation of low mantissa.  Test for overflow of high
1892         mantissa and normalise.
1893         (ldbl_nearbyint): Use more readable constant for two52.
1894         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1895         (__mpn_construct_long_double): Fix test for overflow of high
1896         mantissa and correct normalisation.  Avoid undefined shift.
1898 2013-10-04  Alan Modra  <amodra@gmail.com>
1900         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1901         (union ibm_extended_long_double): Define as an array of ieee754_double.
1902         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1903         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1904         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1905         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1906         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1907         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1908         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1909         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1910         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1911         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1912         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1914 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1916         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1917         page size instead of calling getpagesize.
1919         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1920         (LOCFILE_ALIGN_MASK): Likewise.
1921         (LOCFILE_ALIGN_UP): Likewise.
1922         (LOCFILE_ALIGNED_P): Likewise.
1923         * locale/programs/ld-collate.c (collate_output): Use the new
1924         macros instead of __alignof__ (int32_t).
1925         * locale/weight.h (findidx): Likewise.
1927 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1929         [BZ #431]
1930         * manual/string.texi: Fix strncat and wcsncat.
1932 2013-10-03  Brooks Moses  <bmoses@google.com>
1934         [BZ #15915]
1935         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1936         * Makerules: ...here, and adjust associated comments.
1938 2013-10-02  Will Newton  <will.newton@linaro.org>
1940         * malloc/Makefile: Add tst-pvalloc.
1941         * malloc/tst-pvalloc.c: New file.
1943 2013-10-02  Will Newton  <will.newton@linaro.org>
1945         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1946         improve test coverage.
1948 2013-10-02  Will Newton  <will.newton@linaro.org>
1950         * malloc/Makefile: Add tst-posix_memalign.
1951         * malloc/tst-posix_memalign.c: New file.
1953 2013-10-01  Eric Blake  <eblake@redhat.com>
1955         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1956         Use __THROWNL rather than __THROW on static functions.
1958 2013-09-30  Petr Machata  <pmachata@redhat.com>
1960         * elf/elf.h (R_AARCH64_ABS16): New macro.
1961         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1962         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1963         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1964         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1965         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1966         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1967         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1968         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1969         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1970         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1971         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1972         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1973         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1974         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1975         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1976         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1977         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1978         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1979         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1980         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1981         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1982         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1983         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1984         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1985         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1986         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1987         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1988         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1989         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1990         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1991         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1992         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1993         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1994         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1995         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1996         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1997         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1998         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1999         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2000         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2001         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2002         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2003         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2004         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2005         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2006         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2007         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2008         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2009         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2010         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2011         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2012         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2013         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2014         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2015         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2016         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2017         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2018         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2019         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2020         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2021         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2022         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2023         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2024         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2025         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2026         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2027         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2028         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2029         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2030         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2031         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2032         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2033         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2034         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2035         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2036         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2037         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2038         (R_AARCH64_TLSDESC_LDR): Likewise.
2039         (R_AARCH64_TLSDESC_ADD): Likewise.
2040         (R_AARCH64_TLSDESC_CALL): Likewise.
2042 2013-09-30  Andreas Schwab  <schwab@suse.de>
2044         [BZ #15048]
2045         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2046         the nss database lookup.
2047         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2048         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2050 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2052         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2054 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2056         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2057         ${Bash-specific parameter/pattern/string} parameter expansion.
2058         * sysdeps/unix/make-syscalls.sh: Likewise.
2060 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2062         * sysdeps/sh/stackguard-macros.h: New file.
2064 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2067         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2068         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2069         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2070         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2071         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2073 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2075         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2076         Fix thread ID register.
2078 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2080         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2081         [POSIX || UNIX98]: Require rather than permitting all symbols from
2082         <time.h>.
2083         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2084         element of struct sched_param.
2085         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2086         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2087         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2088         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2089         constant.
2091 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2093         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2094         argument calculation.
2096 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2098         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2099         Expect macro.
2100         [POSIX] (pthread_attr_t): Do not require type.
2101         [POSIX] (pthread_cond_t): Likewise.
2102         [POSIX] (pthread_condattr_t): Likewise.
2103         [POSIX] (pthread_key_t): Likewise.
2104         [POSIX] (pthread_mutex_t): Likewise.
2105         [POSIX] (pthread_mutexattr_t): Likewise.
2106         [POSIX] (pthread_once_t): Likewise.
2107         [POSIX] (pthread_t): Likewise.
2108         [POSIX-based standards] (pthread_atfork): Expect function.
2110 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2111             Richard Sandiford  <richard@codesourcery.com>
2113         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2114         (swap_endianness_p): New extern variable.
2115         (set_big_endian): New inline function.
2116         (maybe_swap_uint32): Likewise.
2117         (maybe_swap_uint32_array): Likewise.
2118         (maybe_swap_uint32_obstack): Likewise.
2119         * locale/programs/locfile.c: Include <stdbool.h>.
2120         (swap_endianness_p): New variable.
2121         (add_locale_uint32): Call maybe_swap_uint32.
2122         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2123         (write_locale_data): Call maybe_swap_uint32_array.
2124         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2125         maybe_swap_uint32.
2126         (obstack_int32_grow_fast): Likewise.
2127         (output_weightwc): Call maybe_swap_uint32_obstack.
2128         (collate_output): Likewise.
2129         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2130         (OPT_LITTLE_ENDIAN): Likewise.
2131         (options): Add --little-endian and --big-endian options.
2132         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2133         * locale/programs/locarchive.c: Include "locfile.h".
2134         (GET): New macro.
2135         (SET): Likewise.
2136         (INC): Likewise.
2137         (create_archive): Use the new macros to access fields of
2138         structures directly mapped from or written to locale archives.
2139         (oldlocrecentcmp): Likewise.
2140         (enlarge_archive): Likewise.
2141         (insert_name): Likewise.
2142         (add_alias): Likewise.
2143         (add_locale): Likewise.
2144         (delete_locales_from_archive): Likewise.
2145         (show_archive_content): Likewise.
2146         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2147         locale data.
2149 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2151         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2152         http://www.gnu.org/doc/freemanuals.texi.
2153         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2155 2013-09-24  Will Newton  <will.newton@linaro.org>
2157         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2158         macro.
2160 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2162         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2163         unsigned char.
2165 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2167         * manual/threads.texi (POSIX Threads): Fix a typo.
2169 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2171         [BZ #14547]
2172         * string/tst-strcoll-overflow.c: New test case.
2173         * string/Makefile (xtests): Add tst-strcoll-overflow.
2174         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2175         cache if string sizes may cause integer overflow.
2177         [BZ #14547]
2178         * string/strcoll_l.c (coll_seq): New members rule, idx,
2179         save_idx and back_us.
2180         (get_next_seq_nocache): New function.
2181         (do_compare_nocache): New function.
2182         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2183         when malloc fails.
2185 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2187         [BZ #15754]
2188         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2189         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2190         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2192         [BZ #15754]
2193         * elf/Makefile (tests): Add tst-ptrguard1.
2194         (tests-static): Add tst-ptrguard1-static.
2195         (tst-ptrguard1-ARGS): Define.
2196         (tst-ptrguard1-static-ARGS): Define.
2197         * elf/tst-ptrguard1.c: New file.
2198         * elf/tst-ptrguard1-static.c: New file.
2199         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2200         * sysdeps/i386/stackguard-macros.h: Likewise.
2201         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2202         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2203         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2204         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2205         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2206         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2208 2013-09-23  Hector Marco  <hecmargi@upv.es>
2209             Ismael Ripoll  <iripoll@disca.upv.es>
2210             Carlos O'Donell  <carlos@redhat.com>
2212         [BZ #15754]
2213         * sysdeps/generic/stackguard-macros.h: Define
2214         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2215         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2216         Define __pointer_chk_guard_local.
2217         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2218         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2220 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
2222         [BZ #15859]
2223         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2225 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
2227         * include/string.h (__ffs): Declare as hidden.
2228         * string/ffs.c (__ffs): Define as hidden.
2229         * sysdeps/i386/ffs.c (__ffs): Likewise.
2230         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2231         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2232         * sysdeps/s390/ffs.c (__ffs): Likewise.
2233         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2235 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
2237         * NEWS: Mention malloc probes.
2239         * malloc/arena.c (new_heap): New memory_heap_new probe.
2240         (grow_heap): New memory_heap_more probe.
2241         (shrink_heap): New memory_heap_less probe.
2242         (heap_trim): New memory_heap_free probe.
2243         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2244         (systrim): New memory_sbrk_less probe.
2245         * manual/probes.texi: Document them.
2247         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2248         * manual/probes.texi: Document it.
2250         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2251         (__libc_realloc): Add memory_realloc_retry probe.
2252         (__libc_memalign): Add memory_memalign_retry probe.
2253         (__libc_valloc): Add memory_valloc_retry probe.
2254         (__libc_pvalloc): Add memory_pvalloc_retry probe.
2255         (__libc_calloc): Add memory_calloc_retry probe.
2256         * manual/probes.texi: Document them.
2258         * malloc/arena.c (get_free_list): Add probe
2259         memory_arena_reuse_free_list.
2260         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2261         and memory_arena_reuse.
2262         (arena_get2) [!PER_THREAD]: Likewise.
2263         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2264         memory_arena_reuse_realloc.
2265         * manual/probes.texi: Document them.
2267         * malloc/malloc.c (__libc_free): Add
2268         memory_mallopt_free_dyn_thresholds probe.
2269         (__libc_mallopt): Add multiple memory_mallopt probes.
2270         * manual/probes.texi: Document them.
2272         * malloc/malloc.c: Include stap-probe.h.
2273         (__libc_mallopt): Add memory_mallopt probe.
2274         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2275         * manual/probes.texi: New.
2276         * manual/Makefile (chapters): Add probes.
2277         * manual/threads.texi: Set next node.
2279 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
2281         [BZ #15963, #13985]
2282         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2283         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2284         Add `Chinese' to `nan' entry name.
2286 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2288         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2289         (POLYNOMIAL): Likewise.
2290         (TAYLOR_SINCOS): Likewise.
2291         (TAYLOR_SLOW): Likewise.
2292         (__sin): Use TAYLOR_SINCOS.
2293         (__cos): Likewise.
2294         (slow): Use TAYLOR_SLOW.
2295         (sloww): Likewise.
2296         (bsloww): Likewise.
2297         (csloww): Likewise.
2299 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2301         * stdlib/strtod_l.c: Fix buffer overrun.
2303 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2305         * benchtests/Makefile (bench): Add sincos.
2306         * benchtests/bench-sincos.c: New file.
2308         * math/libm-test.inc (cos_test_data): New test inputs.
2309         (sin_test_data): Likewise.
2311         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2312         macro.
2313         (__sin): Use it.
2314         (__cos): Likewise.
2315         (slow1): Likewise.
2316         (slow2): Likewise.
2317         (sloww1): Likewise.
2318         (sloww2): Likewise.
2319         (bsloww1): Likewise.
2320         (bsloww2): Likewise.
2321         (cslow2): Likewise.
2322         (csloww1): Likewise.
2323         (csloww2): Likewise.
2325         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2326         function.
2327         (__sin): Use it.
2328         (__cos): Likewise.
2330         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2331         gotos.
2332         (__cos): Likewise.
2334 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2336         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2337         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2338         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2339         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2340         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2341         * elf/cache.c (print_entry): Handle the new cache flags.
2343 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2344             Aldy Hernandez  <aldyh@redhat.com>
2346         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2347         Change condition to [_SOFT_FLOAT].
2348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2349         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2351         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2352         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2353         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2354         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2357         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2360         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2363         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2364         declaration.
2366 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2368         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2369         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2370         (__longjmp): Use LOAD_GP to load saved GPRs.
2371         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2372         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2373         (__sigsetjmp): Use SAVE_GP to save GPRs.
2375         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2376         Do not append -msoft-float.
2377         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2379 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2381         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2383 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2385         [BZ #15966]
2386         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2387         (_FPU_GETCW): Use initial "__" on variable and field names but not
2388         on macro parameter name.
2389         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2390         parentheses around reference to macro parameter.
2392 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2394         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2395         prototype.
2396         (ctype_startup): Use uint32_t in cast and sizeof for
2397         ctype->charnames.
2399 2013-09-11  Jia Liu  <proljc@gmail.com>
2401         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2402         __daddr_t_defined.
2403         [__FreeBSD__]: Likewise.
2405 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2408         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2409         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2410         (strchr): Remove __strchr_sse42 ifunc selection.
2411         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2412         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2414 2013-09-11  Will Newton  <will.newton@linaro.org>
2416         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2417         parameter to RES. Remove hardcoded 1000 value.
2418         * benchtests/bench-skeleton.c (main): Pass RES parameter
2419         to TIMING_INIT and multiply result by 1000.
2421 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2425 2013-09-11  Andreas Schwab  <schwab@suse.de>
2427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2428         if not defined.
2429         (O_TMPFILE) [__USE_GNU]: Define.
2430         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2431         Define.
2433 2013-09-11  Will Newton  <will.newton@linaro.org>
2435         [BZ #15857]
2436         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2437         does not overflow.
2439 2013-09-11  Will Newton  <will.newton@linaro.org>
2441         [BZ #15856]
2442         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2443         does not overflow.
2445 2013-09-11  Will Newton  <will.newton@linaro.org>
2447         [BZ #15855]
2448         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2449         does not overflow.
2451 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2453         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2454         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2455         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2456         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2457         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2459 2013-09-10  Allan McRae  <allan@archlinux.org>
2461         [BZ #15748]
2462         * manual/arith.texi (Parsing of Floats): Clarify
2463         cross-reference.
2465         [BZ #15849]
2466         * manual/install.texi (Running make install): Mention
2467         --enable-pt-chown.
2468         * INSTALL: Regenerated.
2470 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2472         * csu/init-first.c (_init): Remove the !SHARED condition around
2473         FPU control word initialization.
2474         * elf/dl-support.c (_dl_fpu_control): New variable.
2475         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2476         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2477         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2478         * math/test-fpucw-static.c: New file.
2479         * math/test-fpucw-ieee.c: New file.
2480         * math/test-fpucw-ieee-static.c: New file.
2481         * math/Makefile (tests): Add `test-fpucw-ieee' and
2482         `$(tests-static)'.
2483         (tests-static): New variable.
2484         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2485         dependency to...
2486         [($(build-shared),yes)]
2487         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2488         ... this.
2489         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2490         New dependency.
2492 2013-09-09  Allan McRae  <allan@archlinux.org>
2494         [BZ #15939]
2495         * manual/string.texi (Collation Functions): Fix typo in
2496         strcoll example.
2497         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2499         [BZ #15893]
2500         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2502         [BZ #15892]
2503         * libio/memstream.c (open_memstream): Fix memory leak.
2504         * libio/wmemstream.c (open_wmemstream): Likewise.
2506         [BZ #15895]
2507         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2509 2013-09-09  Will Newton  <will.newton@linaro.org>
2511         * malloc/Makefile: Add tst-realloc to tests.
2512         * malloc/tst-realloc.c: New file.
2514 2013-09-09  Allan McRae  <allan@archlinux.org>
2516         [BZ #15844]
2517         * COPYING: Update from GNU website to fix FSF address.
2518         * COPYING.LIB: Likewise.
2520 2013-09-06  David S. Miller  <davem@davemloft.net>
2522         * po/zh_TW.po: Update Chinese (traditional) translation from
2523         translation project.
2525 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2526             Joseph Myers  <joseph@codesourcery.com>
2528         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2529         "localeinfo.h".
2530         (obstack_chunk_alloc): New macro.
2531         (obstack_chunk_free): Likewise.
2532         (record_offset): New function.
2533         (init_locale_data): Likewise.
2534         (align_locale_data): Likewise.
2535         (add_locale_empty): Likewise.
2536         (add_locale_raw_data): Likewise.
2537         (add_locale_raw_obstack): Likewise.
2538         (add_locale_string): Likewise.
2539         (add_locale_wstring): Likewise.
2540         (add_locale_uint32): Likewise.
2541         (add_locale_uint32_array): Likewise.
2542         (add_locale_char): Likewise.
2543         (start_locale_structure): Likewise.
2544         (end_locale_structure): Likewise.
2545         (start_locale_prelude): Likewise.
2546         (end_locale_prelude): Likewise.
2547         (write_locale_data): Take locale_file structure rather than an
2548         iovec.
2549         * locale/programs/locfile.h: Include "obstack.h".
2550         (struct locale_file): Change to store locale file contents instead
2551         of header.
2552         (init_locale_data): New prototype.
2553         (align_locale_data): Likewise.
2554         (add_locale_empty): Likewise.
2555         (add_locale_raw_data): Likewise.
2556         (add_locale_raw_obstack): Likewise.
2557         (add_locale_string): Likewise.
2558         (add_locale_wstring): Likewise.
2559         (add_locale_uint32): Likewise.
2560         (add_locale_uint32_array): Likewise.
2561         (add_locale_char): Likewise.
2562         (start_locale_structure): Likewise.
2563         (end_locale_structure): Likewise.
2564         (start_locale_prelude): Likewise.
2565         (end_locale_prelude): Likewise.
2566         (write_locale_data): Update prototype.
2567         * locale/programs/3level.h (struct TABLE): Remove result field.
2568         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2569         Use new locale_file interface.
2570         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2571         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2572         * locale/programs/ld-address.c (address_output): Use new
2573         locale_file interface.
2574         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2575         NO_ADD_LOCALE.
2576         (collate_finish): Don't call collseq_table_finalize.
2577         (collate_output): Use new locale_file interface.
2578         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2579         in file.
2580         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2581         (TABLE): Move defines earlier in file.
2582         (ELEMENT): Likewise.
2583         (DEFAULT): Likewise.
2584         (wctrans_table_add): Move macro and inline function earlier in
2585         file.
2586         (struct wctype_table): Move type earlier in file.
2587         (add_locale_wctype_table): New static prototype.
2588         (struct locale_ctype_t): Use logical types instead of struct iovec
2589         pointers for members.
2590         (ctype_output): Use new locale_file interface.
2591         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2592         new locale_file interface.
2593         (allocate_arrays): Update for use of new locale_file interface.
2594         * locale/programs/ld-identification.c (identification_output): Use
2595         new locale_file interface.
2596         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2597         * locale/programs/ld-messages.c (messages_output): Likewise.
2598         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2599         * locale/programs/ld-name.c (name_output): Likewise.
2600         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2601         * locale/programs/ld-paper.c (paper_output): Likewise.
2602         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2603         * locale/programs/ld-time.c (time_output): Likewise.
2605 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2607         * benchtests/Makefile: Add memrchr benchmark.
2608         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2609         benchmark as memrchr.
2610         * benchtests/bench-memrchr-ifunc.c: New file.
2611         * benchtests/bench-memrchr.c: New file.
2613 2013-09-06   Will Newton  <will.newton@linaro.org>
2615         * benchtests/Makefile (string-bench): Add memcpy.
2617 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2618             Cong Wang  <amwang@redhat.com>
2620         * sysdeps/unix/sysv/linux/bits/in.h
2621         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2622         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2623         before __USE_KERNEL_IPV6_DEFS uses.
2624         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2625         IPPROTO_BEETPH.
2626         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2627         sockaddr_in6, or ipv6_mreq.
2629 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2631         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2632         memory access for final bytes in some large inputs.
2633         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2635 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2637         * string/test-memrchr.c: New file.
2638         * string/test-memrchr-ifunc.c: New file.
2639         * string/Makefile: Add new memrchr testcase.
2641 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2643         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2644         fanotify_init returns EPERM.
2646 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2648         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2649         errors.
2650         (top level): Treat second token from macro or constant entries for
2651         allowed headers as allowed.
2652         * include/complex.h: Condition internal declarations on
2653         [!_ISOMAC].
2654         * include/fenv.h: Condition include of <stdbool.h> and internal
2655         declarations on [!_ISOMAC].
2657 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2659         [BZ #15923]
2660         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2662 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2664         * configure.in (--enable-versioning): Remove configure option.
2665         (libc_cv_asm_symver_directive): Remove configure test.
2666         (libc_cv_ld_version_script_option): Likewise.
2667         (VERSIONING): Remove variable and AC_SUBST.
2668         (DO_VERSIONING): Remove AC_DEFINE.
2669         * configure: Regenerated.
2670         * config.h.in (DO_VERSIONING): Remove macro.
2671         * Makerules [$(versioning) = yes]: Change conditionals to
2672         [$(build-shared) = yes].
2673         * config.make.in (versioning): Remove variable.
2674         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2675         [$(build-shared) = yes].
2676         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2677         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2678         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2679         [$(build-shared) = yes].
2680         * extra-lib.mk [$(versioning) = yes]: Likewise.
2681         * hurd/Makefile [$(versioning) = yes]: Likewise.
2682         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2683         [SHARED].
2684         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2685         [SHARED].
2686         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2687         [SHARED && !NO_HIDDEN].
2688         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2689         [SHARED].
2690         [SHARED && DO_VERSIONING]: Likewise..
2691         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2692         [$(build-shared) = yes].
2693         * manual/install.texi (--disable-versioning): Remove
2694         documentation.
2695         * INSTALL: Regenerated.
2696         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2697         to [SHARED].
2698         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2699         [$(build-shared) = yes].
2700         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2701         * sysdeps/i386/i686/multiarch/strstr-c.c
2702         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2703         [SHARED && !NO_HIDDEN].
2704         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2705         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2706         * sysdeps/powerpc/powerpc32/dl-machine.c
2707         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2708         * sysdeps/powerpc/powerpc32/sysdep.h
2709         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2710         to [SHARED && PIC && !NO_HIDDEN].
2711         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2712         conditional to [SHARED].
2714 2013-09-04   Will Newton  <will.newton@linaro.org>
2716         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2717         * benchtests/bench-string.h: Include bench-timing.h instead
2718         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2719         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2720         call to HP_TIMING_DIFF_INIT.
2721         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2722         instead of hp-timing.h macros.
2723         * benchtests/bench-memchr.c: Likewise.
2724         * benchtests/bench-memcmp.c: Likewise.
2725         * benchtests/bench-memcpy.c: Likewise.
2726         * benchtests/bench-memmem.c: Likewise.
2727         * benchtests/bench-memmove.c: Likewise.
2728         * benchtests/bench-memset.c: Likewise.
2729         * benchtests/bench-rawmemchr.c: Likewise.
2730         * benchtests/bench-strcasecmp.c: Likewise.
2731         * benchtests/bench-strcasestr.c: Likewise.
2732         * benchtests/bench-strcat.c: Likewise.
2733         * benchtests/bench-strchr.c: Likewise.
2734         * benchtests/bench-strcmp.c: Likewise.
2735         * benchtests/bench-strcpy.c: Likewise.
2736         * benchtests/bench-strcpy_chk.c: Likewise.
2737         * benchtests/bench-strlen.c: Likewise.
2738         * benchtests/bench-strncasecmp.c: Likewise.
2739         * benchtests/bench-strncat.c: Likewise.
2740         * benchtests/bench-strncmp.c: Likewise.
2741         * benchtests/bench-strncpy.c: Likewise.
2742         * benchtests/bench-strnlen.c: Likewise.
2743         * benchtests/bench-strpbrk.c: Likewise.
2744         * benchtests/bench-strrchr.c: Likewise.
2745         * benchtests/bench-strspn.c: Likewise.
2746         * benchtests/bench-strstr.c: Likewise.
2748 2013-09-04  Will Newton  <will.newton@linaro.org>
2750         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2752 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2754         [BZ #15427]
2755         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2756         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2757         * math/libm-test.inc (lgamma_test_data): Add more tests.
2758         * sysdeps/i386/fpu/libm-test-ulps: Update.
2759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2761 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2763         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2765         Add ifunc.
2766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2767         Add strcmp-sse2-unaligned
2768         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2770 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2772         * Versions.def (libc): Add GLIBC_2.19.
2774 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2776         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2777         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2779 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2781         [BZ #14155]
2782         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2783         intermediate calculations in recurrence.
2784         (__ieee754_ynf): Likewise.
2785         * math/libm-test.inc (jn_test_data): Do not allow spurious
2786         underflow exception.  Add more tests.
2787         (yn_test_data): Add more tests.
2788         * sysdeps/i386/fpu/libm-test-ulps: Update.
2789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2791 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2793         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2795 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2797         * csu/init-first.c: Fix then/than typos.
2798         * locale/programs/ld-collate.c: Likewise.
2799         * locale/programs/linereader.h: Likewise.
2800         * manual/charset.texi: Likewise.
2801         * manual/filesys.texi: Likewise.
2802         * manual/stdio.texi: Likewise.
2803         * manual/string.texi: Likewise.
2804         * stdlib/fmtmsg.c: Likewise.
2805         * sysdeps/i386/stpncpy.S: Likewise.
2806         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2807         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2808         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2809         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2811 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2813         * elf/dl-open.c: Fix typos.
2814         * iconvdata/gbbig5.c: Likewise.
2815         * iconvdata/iso-2022-jp.c: Likewise.
2816         * iconv/gconv_int.h: Likewise.
2817         * iconv/loop.c: Likewise.
2818         * nis/rpcsvc/nis.h: Likewise.
2819         * resolv/ns_name.c: Likewise.
2820         * stdio-common/vfscanf.c: Likewise.
2821         * streams/stropts.h: Likewise.
2822         * sunrpc/rpc_thread.c: Likewise.
2823         * sysdeps/i386/strpbrk.S: Likewise.
2824         * sysdeps/ieee754/k_standard.c: Likewise.
2825         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2826         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2827         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2828         * sysdeps/mach/hurd/profil.c: Likewise.
2829         * sysdeps/s390/dl-procinfo.h: Likewise.
2830         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2831         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2832         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2833         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2834         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2836 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2838         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2841 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2843         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2844         aix specific files.
2845         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2846         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2847         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2848         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2849         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2850         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2851         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2852         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2854 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2855             Roland McGrath  <roland@hack.frob.com>
2857         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2858         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2860 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2862         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2863         __executable_start symbol instead of _start.
2865 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2867         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2868         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2869         Move macros to...
2870         * sysdeps/gnu/ldsodefs.h: ... this new file.
2872         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2873         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2874         instead of ELFOSABI_LINUX.
2876         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2877         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2878         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2879         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2880         Likewise.
2881         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2882         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2883         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2884         Likewise.
2885         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2886         (ibm_extended_long_double): Add ieee_nan member.
2887         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2888         (do_test): New function.
2890         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2891         TEST_TRUNC.
2892         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2893         functions, renamed from truncdfsf_test, trunctfsf_test,
2894         trunctfdf_test.
2895         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2896         functions.
2897         (do_test): Run all these.
2899 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2901         * argp/argp-help.c: Fix typos.
2902         * argp/argp-parse.c: Likewise.
2903         * debug/backtracesyms.c: Likewise.
2904         * elf/elf.h: Likewise.
2905         * malloc/malloc.c: Likewise.
2906         * nis/nis_print.c: Likewise.
2907         * resolv/res_comp.c: Likewise.
2908         * stdlib/stdlib.h: Likewise.
2909         * sunrpc/clnt_tcp.c: Likewise.
2910         * sunrpc/clnt_udp.c: Likewise.
2911         * sunrpc/clnt_unix.c: Likewise.
2912         * sysdeps/unix/bsd/ptsname.c: Likewise.
2913         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2914         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2916         Likewise.
2917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2918         Likewise.
2919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2920         Likewise.
2921         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2923 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2925         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2928 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2930         [BZ #15897]
2931         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2932         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2933         ($(objpfx)bug-dl-leaf): New rule.
2934         ($(objpfx)bug-dl-leaf.so): Likewise.
2935         ($(objpfx)bug-dl-leaf.out): Likewise.
2936         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2937         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2938         * dlfcn/bug-dl-leaf.c: New test.
2939         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2940         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2941         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2942         (dlclose): Likewise.
2943         (dlmopen): Likewise.
2945 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2947         * include/netdb.h [!_ISOMAC]:
2948         Don't include <tls.h>.
2949         (h_errno, __libc_h_errno): Move declaration and macros out of
2950         [_LIBC_REENTRANT].
2952         * include/resolv.h [_RESOLV_H_]:
2953         Don't include <tls.h>.
2954         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2955         * resolv/res_libc.c: Don't include <tls.h>.
2956         (_res): Use __attribute__ ((nocommon)) in place of
2957         __attribute__ ((section (".bss"))).
2959         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2960         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2962         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2964         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2965         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2967         * resolv/res_mkquery.c: Include <sys/time.h>.
2969         * inet/ifreq.c: Moved to ...
2970         * sysdeps/unix/ifreq.c: ... here.
2971         * inet/ifreq.c: New file, true stub version.
2973         * socket/sa_len.c: New file.
2974         * socket/Makefile (aux): Add it.
2975         * sysdeps/unix/sysv/linux/Makefile
2976         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2977         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2978         and #include <socket/sa_len.c>.
2979         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2980         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2982         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2983         * bits/socket.h: ... here.
2985         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2986         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2987         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2989 2013-08-27  Andreas Schwab  <schwab@suse.de>
2991         [BZ #15736]
2992         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2993         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2994         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2995         * string/test-strcasecmp.c (test_main): Run tests in several
2996         locales.
2997         * string/test-strncasecmp.c (test_main): Likewise.
2999         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3000         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3001         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3002         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3003         (__strncasecmp_ssse3) [PIC]: Likewise.
3005 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3007         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3009         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3010         instead of explicitly declaring xdecrypt.
3011         * nis/nss_nis/nis-publickey.c: Likewise.
3013 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3015         [BZ #15890]
3016         * nscd/aicache.c: Include res_hconf.h.
3017         (addhstaiX): Initialize res_hconf.
3019 2013-08-26  Andreas Schwab  <schwab@suse.de>
3021         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3022         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3024 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3026         * nscd/aicache.c (addhstaiX): Fix indentation.
3028 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3030         * configure.ac: Quote $build_pt_chown test.
3031         * configure: Regenerated.
3033 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3035         [BZ #15532]
3036         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3037         * math/s_cexpf.c (__cexpf): Likewise.
3038         * math/s_cexpl.c (__cexpl): Likewise.
3039         * math/libm-test.inc (cexp_test_data): Correct expected return
3040         value for NaN + i0.  Add another test.
3042 2013-08-22  David S. Miller  <davem@davemloft.net>
3044         * po/ca.po: Update Catalan translation from translation project.
3045         * po/uk.po: Add Ukrainian translations from translation project.
3047 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3049         [BZ #15797]
3050         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3051         is infinite, not alongside NaN test.
3052         * math/s_fdimf.c (__fdimf): Likewise.
3053         * math/s_fdiml.c (__fdiml): Likewise.
3054         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3055         errno is unchanged.
3057 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3059         * argp/argp-help.c: Fix typos.
3060         * crypt/speeds.c: Likewise.
3061         * csu/check_fds.c: Likewise.
3062         * elf/dl-load.c: Likewise.
3063         * elf/dl-open.c: Likewise.
3064         * elf/reldep3.c: Likewise.
3065         * elf/reldep.c: Likewise.
3066         * elf/sprof.c: Likewise.
3067         * iconv/iconv_charmap.c: Likewise.
3068         * iconv/skeleton.c: Likewise.
3069         * iconv/strtab.c: Likewise.
3070         * io/lockf64.c: Likewise.
3071         * libio/libioP.h: Likewise.
3072         * resolv/gai_notify.c: Likewise.
3073         * resolv/ns_name.c: Likewise.
3074         * resolv/ns_samedomain.c: Likewise.
3075         * resolv/res_send.c: Likewise.
3076         * stdlib/random.c: Likewise.
3077         * sunrpc/rpc/xdr.h: Likewise.
3078         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3079         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3080         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3081         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3082         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3083         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3085         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3086         * sysdeps/mach/hurd/check_fds.c: Likewise.
3087         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3088         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3089         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3090         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3091         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3092         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3093         * sysdeps/pthread/aio_notify.c: Likewise.
3094         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3095         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3096         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3097         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3098         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3100 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3102         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3103         version if bit_Slow_SSE4_2 is set.
3104         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3105         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3107 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3109         [BZ #15867]
3110         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3111         trampoline stack frame information.
3112         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3113         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3114         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3115         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3116         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3117         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3118         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3119         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3120         sa_flags value.
3121         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3122         interrupting a syscall and set with option SA_SIGINFO.
3124 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3126         [BZ #15531]
3127         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3128         argument is infinite.
3129         * math/s_cprojf.c (__cprojf): Likewise.
3130         * math/s_cprojl.c (__cprojl): Likewise.
3131         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3132         * math/libm-test.inc (cproj_test_data): Add more tests.
3134         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3136         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3137         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3138         size.  Use __ffs to determine corresponding shift.
3140 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3141             Roland McGrath  <roland@hack.frob.com>
3143         * Makefile (INSTALL): Remove trailing blank lines from output of
3144         makeinfo.
3146 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3148         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3149         Align 32 bit compat elf_greg to 8 bytes.
3151 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3153         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3155 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3157         * string/strcoll_l.c (coll_seq): New structure.
3158         (get_next_seq_cached): New function.
3159         (get_next_seq): New function.
3160         (do_compare): New function.
3161         (STRCOLL): Use GNU style definition.  Simplify implementation
3162         by using get_next_seq, get_next_seq_cached and do_compare.
3164 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3166         [BZ #14699]
3167         CVE-2013-4237
3168         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3169         member.
3170         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3171         member.
3172         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3173         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3174         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3175         conditional.
3176         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3177         GETDENTS_64BIT_ALIGNED.
3178         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3179         * manual/filesys.texi (Reading/Closing Directory): Document
3180         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3181         strongly.
3182         * manual/conf.texi (Limits for Files): Add portability note to
3183         NAME_MAX, PATH_MAX.
3184         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3186 2013-08-13  Andreas Schwab  <schwab@suse.de>
3188         [BZ #15749]
3189         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3190         of fabs.
3191         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3192         LDBL_MAX_EXP >= 16384]: Add tests for it.
3194 2013-08-12  David S. Miller  <davem@davemloft.net>
3196         * version.h (RELEASE): Set to "development".
3197         (VERSION): Set to "2.18.90".
3198         * NEWS: Add 2.19 section.
3200 2013-08-03  David S. Miller  <davem@davemloft.net>
3202         * po/ko.po: Update Korean translation from translation project.
3204 2013-08-01  David S. Miller  <davem@davemloft.net>
3206         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3207         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3208         Bilka.
3210 2013-07-30  David S. Miller  <davem@davemloft.net>
3212         * po/fr.po: Update French translation from translation project.
3214 2013-07-28  David S. Miller  <davem@davemloft.net>
3216         * po/cs.po: Update Czech translation from translation project.
3218         * po/sv.po: Update Swedish translation from translation project.
3220 2013-07-27  David S. Miller  <davem@davemloft.net>
3222         * po/eo.po: Update Esperanto translation from translation project.
3224         * po/vi.po: Update Vietnamese translation from translation project.
3226         * po/de.po: Update German translation from translation project.
3228 2013-07-26  David S. Miller  <davem@davemloft.net>
3230         * po/bg.po: Update Bulgarian translation from translation project.
3232         * po/nl.po: Update Dutch translation from translation project.
3233         * po/pl.po: Update Polish translation from translation project.
3234         * po/ru.po: Update Russian translation from translation project.
3236 2013-07-24  David S. Miller  <davem@davemloft.net>
3238         * po/libc.pot: Update.
3240 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3242         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3243         variable page size.
3244         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3245         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3246         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3248 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3250         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3252 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3253             Andreas Schwab  <schwab@suse.de>
3254             Roland McGrath  <roland@hack.frob.com>
3255             Joseph Myers  <joseph@codesourcery.com>
3256             Carlos O'Donell  <carlos@redhat.com>
3258         [BZ #15755]
3259         * config.h.in: Define HAVE_PT_CHOWN.
3260         * config.make.in (build-pt-chown): New variable.
3261         * configure.in (--enable-pt_chown): New configure option.
3262         * configure: Regenerate.
3263         * login/Makefile: Include Makeconfig.  Build pt_chown only if
3264         build-pt-chown is enabled.
3265         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3266         pt_chown to fix pty ownership.
3267         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3268         CLOSE_ALL_FDS.
3269         * manual/install.texi (Configuring and compiling): Mention
3270         --enable-pt_chown. Add @findex for grantpt.
3271         * INSTALL: Regenerate.
3273 2013-07-20  David S. Miller  <davem@davemloft.net>
3275         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3276         difference between 32-bit and 64-bit.
3278 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
3280         [BZ #15711]
3281         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3282         Avoid system header dependency with -ffreestanding.
3283         ($(objpfx)bits/syscall%d): Likewise.
3285 2013-07-13  David S. Miller  <davem@davemloft.net>
3287         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3288         underflows from atanl/atan2l due to bug 15319.
3289         (casinh_test_data): Likewise.
3291 2013-07-07  David S. Miller  <davem@davemloft.net>
3293         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3295 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3297         * sysdeps/i386/fpu/libm-test-ulps: Update.
3298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3300 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3302         * configure.in (--enable-lock-elision): Fix message text.
3303         * INSTALL: Regenerate.
3304         * configure: Regenerate.
3306 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3310 2013-07-03  Andreas Jaeger  <aj@suse.de>
3312         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3313         define.
3314         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3315         (ptrace_peeksiginfo_args): Add.
3316         (__ptrace_peeksiginfo_flags): Add.
3317         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3318         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3319         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3321 2013-07-03  Allan McRae  <allan@archlinux.org>
3323         * sysdeps/i386/fpu/libm-test-ulps: Update.
3325 2013-07-02  David S. Miller  <davem@davemloft.net>
3327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3329 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3333 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3335         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3338 2013-07-02  Andi Kleen <ak@linux.intel.com>
3340         * config.h.in (ENABLE_LOCK_ELISION): Add.
3341         * configure.in (--enable-lock-elision): Add option.
3342         * manual/install.texi: Document --enable lock elision.
3343         * configure: Regenerate
3344         * INSTALL: Regenerate.
3346 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3348         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3349         SSE4.2 strcasecmp for libc.a.
3350         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3352 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3354         [BZ #13304]
3355         * soft-fp/op-common.h (_FP_FMA): New macro.
3356         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3357         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3358         (_FP_MUL_MEAT_1_imm): ... here.
3359         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3360         (_FP_MUL_MEAT_1_wide): ... here.
3361         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3362         (_FP_MUL_MEAT_1_hard): ... here.
3363         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3364         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3365         (_FP_MUL_MEAT_2_wide): ... here.
3366         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3367         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3368         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3369         (_FP_MUL_MEAT_2_gmp): ... here.
3370         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3371         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3372         (_FP_MUL_MEAT_4_wide): ... here.
3373         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3374         (_FP_MUL_MEAT_4_gmp): ... here.
3375         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3376         (_FP_WFRACBITS_DW_S): Likewise.
3377         (_FP_WFRACXBITS_DW_S): Likewise.
3378         (_FP_HIGHBIT_DW_S): Likewise.
3379         (FP_FMA_S): Likewise.
3380         (_FP_FRAC_HIGH_DW_S): Likewise.
3381         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3382         (_FP_WFRACBITS_DW_D): Likewise.
3383         (_FP_WFRACXBITS_DW_D): Likewise.
3384         (_FP_HIGHBIT_DW_D): Likewise.
3385         (FP_FMA_D): Likewise.
3386         (_FP_FRAC_HIGH_DW_D): Likewise.
3387         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3388         (_FP_WFRACBITS_DW_E): Likewise.
3389         (_FP_WFRACXBITS_DW_E): Likewise.
3390         (_FP_HIGHBIT_DW_E): Likewise.
3391         (FP_FMA_E): Likewise.
3392         (_FP_FRAC_HIGH_DW_E): Likewise.
3393         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3394         (_FP_WFRACBITS_DW_Q): Likewise.
3395         (_FP_WFRACXBITS_DW_Q): Likewise.
3396         (_FP_HIGHBIT_DW_Q): Likewise.
3397         (FP_FMA_Q): Likewise.
3398         (_FP_FRAC_HIGH_DW_Q): Likewise.
3399         * soft-fp/fmasf4.c: New file.
3400         * soft-fp/fmadf4.c: Likewise.
3401         * soft-fp/fmatf4.c: Likewise.
3403 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3406         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3407         Silvermont.
3408         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3409         macro.
3410         (index_Slow_SSE4_2): Likewise.
3411         (index_Prefer_PMINUB_for_stringop): Likewise.
3412         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3413         bit_Slow_SSE4_2 is set.
3414         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3415         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3417 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3419         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3420         rtld_global._dl_hwcap2.
3421         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3422         POWER8.
3423         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3424         POWER8 feature descriptions defined in _dl_hwcap2.
3425         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3426         string handling for POWER8 feature bits.
3427         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3428         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3429         _dl_powerpc_cap_flags.
3430         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3431         * sysdeps/powerpc/rtld-global-offsets.sym
3432         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3433         _dl_hwcap2 in the rtld_global_ro structure.
3435 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3437         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3438         hardware capabilities in support of AT_HWCAP2.
3439         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3440         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3441         GLRO(dl_hwcap2).
3442         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3443         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3444         explicitly the unknown a_type display mechanism is used.
3445         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3446         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3447         struct member.
3448         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3449         to macro prototype for AT_HWCAP2 support.
3450         * sysdeps/i386/dl-procinfo.h: Likewise.
3451         * sysdeps/s390/dl-procinfo.h: Likewise.
3452         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3453         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3454         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3455         return -1 for unknown a_type display fallback.
3456         * sysdeps/sparc/dl-procinfo.h: Likewise.
3457         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3458         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3460 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3462         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3463         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3465 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3467         [BZ #12492]
3468         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3469         mprotect making __stack_prot writable.
3471 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3472             Joseph Myers  <joseph@codesourcery.com>
3474         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3475         as being properly aligned.
3477 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3479         * dlfcn/modstatic5.c: New file.
3480         * dlfcn/tststatic5.c: New file.
3481         * dlfcn/Makefile (tests): Add tststatic5.
3482         (tests-static): Likewise.
3483         (modules-names): Add modstatic5.
3484         (tststatic5-ENV): New variable.
3485         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3487         [BZ #15022]
3488         * elf/dl-support.c (_dl_main_map): New variable.
3489         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3490         (_dl_nns, _dl_load_adds): Set to 1.
3491         (_dl_initial_searchlist): Refer to _dl_main_map.
3492         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3493         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3494         call to _dl_get_origin.
3495         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3496         around call_map.
3497         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3498         * dlfcn/modstatic3.c: New file.
3499         * dlfcn/tststatic3.c: New file.
3500         * dlfcn/tststatic4.c: New file.
3501         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3502         (tests-static): Likewise.
3503         (modules-names): Add modstatic3.
3504         (tststatic3-ENV, tststatic4-ENV): New variables.
3505         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3506         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3508 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3510         * configure.in (CC): Require GCC version 4.4 or later.
3511         * configure: Regenerated.
3512         * manual/install.texi (Tools for Compilation): Update GCC version
3513         requirement.
3514         * INSTALL: Regenerated.
3516 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3518         [BZ #15674]
3519         * string/test-memcmp.c (check2): New.
3520         (main): Call check2.
3522         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3524 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3526         [BZ #15022]
3527         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3528         over to...
3529         (dl_open_worker) [!SHARED]: ... here.
3531 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3533         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3535 2013-06-25  Richard Henderson  <rth@redhat.com>
3537         * locale/programs/locarchive.c: Include <libc-internal.h>
3539 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3541         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3542         trailing whitespace removed.
3544 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3546         [BZ #10283]
3547         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3548         * locale/programs/locarchive.c: Include libc-mmap.h.
3549         (prepare_address_space): Take two new outputs (the mmap base and len).
3550         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3551         values.
3552         (create_archive): Declare new mmap base and len values for
3553         prepare_address_space, and store the result in ah.
3554         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3555         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3556         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3557         Declare new mmap base and len values for
3558         prepare_address_space, and store the result in new_ah.
3559         (open_archive): Declare new mmap base and len values for
3560         prepare_address_space, and store the result in ah.
3561         (close_archive): If ah->mmap_base is not NULL, use that and
3562         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3563         * sysdeps/generic/libc-mmap.h: New file.
3565 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3567         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3568         (ALIGN_UP): Likewise.
3569         (PTR_ALIGN_DOWN): Likewise.
3570         (PTR_ALIGN_UP): Likewise.
3572 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3574         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3575         entry mapped to PPC_PLATFORM_POWER8.
3576         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3577         POWER8.
3578         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3579         (_dl_string_platform): Add case for exporting platform position for
3580         POWER8.
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3582         search path to sysdeps/powerpc/powerpc32/power8 directory.
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3584         search path to sysdeps/powerpc/powerpc64/power8 directory.
3585         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3586         power7 directories.
3587         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3588         power7 directories.
3590 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3592         * INSTALL: Regenerate.
3594         * nscd/connections.c (nscd_init): Fix comment.
3596 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3598         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3600         [BZ #15667]
3601         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3602         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3604 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3606         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3607         DL_DST_REQ_STATIC.
3608         (DL_DST_REQ_STATIC): Remove macro.
3610 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3612         [BZ #7006]
3613         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3614         with a shift of 0 bits.
3616 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3618         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3619         $(tststatic-ENV).
3621 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3623         [BZ #15655]
3624         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3626 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3628         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3629         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3630         accepts -fno-tree-loop-distribute-patterns.
3631         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3632         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3633         recursive call.
3634         * string/memset.c (memset): Likewise.
3635         * string/test-memmove.c (simple_memmove): Disable loop transformation
3636         to library calls.
3637         * string/test-memset.c (simple_memset): Likewise.
3638         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3639         * benchtests/bench-memset.c (simple_memset): Likewise.
3640         * configure: Regenerated.
3642 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3644         * math/test-misc.c (main): Ignore fesetround failure when failures
3645         of subsequent rounding tests would be ignored.
3647         [BZ #15654]
3648         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3649         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3650         * math/fegetenv.c (__fegetenv): Return 0.
3651         * math/fegetexcept.c (fegetexcept): Return 0.
3652         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3653         FE_TONEAREST.
3654         * math/feholdexcpt.c (feholdexcept): Return 0.
3655         * math/fesetenv.c (__fesetenv): Return 0.
3656         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3657         argument FE_TONEAREST.
3658         * math/feupdateenv.c (__feupdateenv): Return 0.
3659         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3661 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3663         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3664         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3665         ($(objpfx)rtld-%.os rules): Use them.
3667 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3669         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3670         fields.
3672 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3674         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3675         length of target pattern, then descending length of dependency pattern.
3676         * configure.in (AWK): Require gawk 3.1.2 or newer.
3677         * manual/install.texi (Tools for Compilation): Say that we do.
3678         * configure: Regenerated.
3680         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3681         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3682         * scripts/sysd-rules.awk: ... this new script.
3683         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3684         than a glob-style pattern.
3686 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3688         * math/test-misc.c (main): Do not treat incorrectly rounded
3689         conversions as failure unless ROUNDING_TESTS passes.
3691 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3693         [BZ #15631]
3694         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3695         restore exception state around main square root computation, then
3696         check for inexactness explicitly.
3698         * math/libm-test.inc (fma_test_data): Add another test.
3700 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3702         * manual/threads.texi (Non-POSIX Extensions): New document
3703         node.  Document pthread_getattr_default_np and
3704         pthread_setattr_default_np.
3706         * Versions.def (libpthread): Add GLIBC_2.18.
3707         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3709         Likewise.
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3711         Likewise.
3712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3713         Likewise.
3714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3715         Likewise.
3716         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3717         Likewise.
3718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3719         Likewise.
3720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3721         Likewise.
3722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3723         Likewise.
3724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3725         Likewise.
3727 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3730         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3732 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3733             H.J. Lu  <hjl.tools@gmail.com>
3735         [BZ #15627]
3736         * sysdeps/x86_64/rtld-memset.c: Remove file.
3737         * sysdeps/x86_64/rtld-memset.S: New file.
3739 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3741         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3742         (test_in_one_mode): Take arguments for whether the rounding mode
3743         is supported for each floating-point type.
3744         (do_test): Pass new arguments to test_in_one_mode using
3745         ROUNDING_TESTS.
3747 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3749         * posix/tst-waitid.c (do_test): Distinguish different instances of
3750         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3751         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3752         before entering the kernel for waitpid.
3754 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3756         * NEWS: Fix note on clock function precision.  Text by Roland
3757         McGrath.
3759 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3761         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3762         it into place only when and if the sanity check passes.
3764 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3766         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3767         output for whether conversion result is exact.  Take argument
3768         indicating whether type is IBM long double.
3769         (round_for_all): Change need_exact field to ibm_ld.
3770         * stdlib/tst-strtod-round.c (struct exactness): New type.
3771         (struct test): Change bool ld_ok field to struct exactness exact.
3772         (TEST): Update all definitions for change to field.
3773         (tests): Regenerate array contents.
3774         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3775         field value.  Check for IBM long double here.
3776         (do_test): Update calls to test_in_one_mode.
3778 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3780         [BZ #12515]
3781         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3782         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3784 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3786         [BZ #15605]
3787         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3788         generated by the compiler on loop optimizations.
3789         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3790         general definitions.
3792 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3794         * math/bug-nextafter.c: Include <math-tests.h>.
3795         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3796         the relevant type.
3797         * math/bug-nexttoward.c: Include <math-tests.h>.
3798         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3799         the relevant type.
3800         * math/test-misc.c: Include <math-tests.h>.
3801         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3802         the relevant type.
3804 2013-06-12  Andreas Jaeger  <aj@suse.de>
3806         * po/ia.po: Update Interlingua translation from translation
3807         project.
3809 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3811         * include/fenv.h: Include stdbool.h.
3812         (struct rm_ctx): New structure.
3813         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3814         Define macro.
3815         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3816         (SET_RESTORE_ROUNDF): Likewise.
3817         (SET_RESTORE_ROUNDL): Likewise.
3818         (SET_RESTORE_ROUND_NOEX): Likewise.
3819         (SET_RESTORE_ROUND_NOEXF): Likewise.
3820         (SET_RESTORE_ROUND_NOEXL): Likewise.
3821         (SET_RESTORE_ROUND_53BIT): Likewise.
3822         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3823         (libc_feresetround_noexf_ctx): Likewise.
3824         (libc_feresetround_noexl_ctx): Likewise.
3825         (libc_feholdsetround_53bit_ctx): Likewise.
3826         (libc_feresetround_53bit_ctx): Likewise.
3827         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3828         (libc_feholdexcept_setround_sse_ctx): New function.
3829         (libc_fesetenv_sse_ctx): Likewise.
3830         (libc_feupdateenv_sse_ctx): Likewise.
3831         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3832         (libc_feholdexcept_setround_387_ctx): Likewise.
3833         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3834         (libc_feholdsetround_387_prec_ctx): Likewise.
3835         (libc_feholdsetround_387_ctx): Likewise.
3836         (libc_feholdsetround_387_53bit_ctx): Likewise.
3837         (libc_feholdsetround_sse_ctx): Likewise.
3838         (libc_feresetround_sse_ctx): Likewise.
3839         (libc_feresetround_387_ctx): Likewise.
3840         (libc_feupdateenv_387_ctx): Likewise.
3841         (libc_feholdexcept_setroundf_ctx): Define macro.
3842         (libc_fesetenvf_ctx): Likewise.
3843         (libc_feupdateenvf_ctx): Likewise.
3844         (libc_feholdsetroundf_ctx): Likewise.
3845         (libc_feresetroundf_ctx): Likewise.
3846         (libc_feholdexcept_setround_ctx): Likewise.
3847         (libc_fesetenv_ctx): Likewise.
3848         (libc_feupdateenv_ctx): Likewise.
3849         (libc_feholdsetround_ctx): Likewise.
3850         (libc_feresetround_ctx): Likewise.
3851         (libc_feholdexcept_setroundl_ctx): Likewise.
3852         (libc_feupdateenvl_ctx): Likewise.
3853         (libc_feholdsetroundl_ctx): Likewise.
3854         (libc_feresetroundl_ctx): Likewise.
3855         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3856         (libc_feresetround_53bit_ctx): Likewise.
3858 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3860         * locale/iso-639.def: Convert to UTF-8.
3862 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3864         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3865         (EXCEPTION_TESTS_double): Likewise.
3866         (EXCEPTION_TESTS_long_double): Likewise.
3867         (EXCEPTION_TESTS): Likewise.
3868         * math/libm-test.inc (test_exceptions): Only test exceptions if
3869         EXCEPTION_TESTS (FLOAT).
3871 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3873         * benchtests/Makefile (string-bench): Add strcpy_chk and
3874         stpcpy_chk.
3875         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3876         * benchtests/bench-stpcpy_chk.c: New file.
3877         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3878         * benchtests/bench-strcpy_chk.c: New file.
3879         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3880         code.
3881         (do_test): Likewise.
3883 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3885         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3886         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3887         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3888         with tabs where appropriate.
3889         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3890         dl-procinfo.h.
3891         [PPC_PLATFORM_PPC440]: Likewise.
3892         [PPC_PLATFORM_PPC464]: Likewise.
3893         [PPC_PLATFORM_PPC476]: Likewise.
3894         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3895         ppc464, and ppc476 platform strings merging from ports/
3896         dl-procinfo.h.
3898 2013-06-11  Andreas Schwab  <schwab@suse.de>
3900         [BZ #14991]
3901         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3902         (from_ucs4_idx): Regenerate.
3903         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3904         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3905         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3906         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3907         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3908         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3909         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3910         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3911         from FROM_LOOP and TO_LOOP specific macros.
3912         (BODY): Handle combining characters.
3913         * iconvdata/BIG5HKSCS.irreversible: Update.
3914         * iconvdata/BIG5HKSCS.precomposed: New file.
3915         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3916         characters.
3917         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3919 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3921         * include/sys/time.h: Fix indentation and add copyright header.
3923         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3924         (do_test): Likewise.
3925         * string/test-memchr.c (do_one_test): Likewise.
3926         (do_test): Likewise.
3927         * string/test-memcmp.c (do_one_test): Likewise.
3928         (do_test): Likewise.
3929         * string/test-memcpy.c (do_one_test): Likewise.
3930         (do_test): Likewise.
3931         * string/test-memmem.c (do_one_test): Likewise.
3932         (do_test): Likewise.
3933         (do_random_tests): Likewise.
3934         * string/test-memmove.c (do_one_test): Likewise.
3935         (do_test): Likewise.
3936         * string/test-memset.c (do_one_test): Likewise.
3937         (do_test): Likewise.
3938         * string/test-rawmemchr.c (do_one_test): Likewise.
3939         (do_test): Likewise.
3940         * string/test-strcasecmp.c (do_one_test): Likewise.
3941         (do_test): Likewise.
3942         * string/test-strcasestr.c (do_one_test): Likewise.
3943         (do_test): Likewise.
3944         * string/test-strcat.c (do_one_test): Likewise.
3945         (do_test): Likewise.
3946         * string/test-strchr.c (do_one_test): Likewise.
3947         (do_test): Likewise.
3948         * string/test-strcmp.c (do_one_test): Likewise.
3949         (do_test): Likewise.
3950         * string/test-strcpy.c (do_one_test): Likewise.
3951         (do_test): Likewise.
3952         * string/test-string.h: Likewise.
3953         (test_init): Likewise.
3954         * string/test-strlen.c (do_one_test): Likewise.
3955         (do_test): Likewise.
3956         * string/test-strncasecmp.c (do_one_test): Likewise.
3957         (do_test): Likewise.
3958         * string/test-strncat.c (do_one_test): Likewise.
3959         (do_test): Likewise.
3960         * string/test-strncmp.c (do_one_test): Likewise.
3961         (do_test_limit): Likewise.
3962         (do_test): Likewise.
3963         * string/test-strncpy.c (do_one_test): Likewise.
3964         (do_test): Likewise.
3965         * string/test-strnlen.c (do_one_test): Likewise.
3966         (do_test): Likewise.
3967         * string/test-strpbrk.c (do_one_test): Likewise.
3968         (do_test): Likewise.
3969         * string/test-strrchr.c (do_one_test): Likewise.
3970         (do_test): Likewise.
3971         * string/test-strspn.c (do_one_test): Likewise.
3972         (do_test): Likewise.
3973         * string/test-strstr.c (do_one_test): Likewise.
3974         (do_test): Likewise.
3976         * benchtests/Makefile (string-bench): Add string benchmarks.
3977         * benchtests/bench-bcopy-ifunc.c: New file.
3978         * benchtests/bench-bcopy.c: New file.
3979         * benchtests/bench-bzero-ifunc.c: New file.
3980         * benchtests/bench-bzero.c: New file.
3981         * benchtests/bench-memccpy-ifunc.c: New file.
3982         * benchtests/bench-memccpy.c: New file.
3983         * benchtests/bench-memchr-ifunc.c: New file.
3984         * benchtests/bench-memchr.c: New file.
3985         * benchtests/bench-memcmp-ifunc.c: New file.
3986         * benchtests/bench-memcmp.c: New file.
3987         * benchtests/bench-memmem-ifunc.c: New file.
3988         * benchtests/bench-memmem.c: New file.
3989         * benchtests/bench-memmove-ifunc.c: New file.
3990         * benchtests/bench-memmove.c: New file.
3991         * benchtests/bench-mempcpy-ifunc.c: New file.
3992         * benchtests/bench-mempcpy.c: New file.
3993         * benchtests/bench-memset-ifunc.c: New file.
3994         * benchtests/bench-memset.c: New file.
3995         * benchtests/bench-rawmemchr-ifunc.c: New file.
3996         * benchtests/bench-rawmemchr.c: New file.
3997         * benchtests/bench-stpcpy-ifunc.c: New file.
3998         * benchtests/bench-stpcpy.c: New file.
3999         * benchtests/bench-stpncpy-ifunc.c: New file.
4000         * benchtests/bench-stpncpy.c: New file.
4001         * benchtests/bench-strcasecmp-ifunc.c: New file.
4002         * benchtests/bench-strcasecmp.c: New file.
4003         * benchtests/bench-strcasestr-ifunc.c: New file.
4004         * benchtests/bench-strcasestr.c: New file.
4005         * benchtests/bench-strcat-ifunc.c: New file.
4006         * benchtests/bench-strcat.c: New file.
4007         * benchtests/bench-strchr-ifunc.c: New file.
4008         * benchtests/bench-strchr.c: New file.
4009         * benchtests/bench-strchrnul-ifunc.c: New file.
4010         * benchtests/bench-strchrnul.c: New file.
4011         * benchtests/bench-strcmp-ifunc.c: New file.
4012         * benchtests/bench-strcmp.c: New file.
4013         * benchtests/bench-strcpy-ifunc.c: New file.
4014         * benchtests/bench-strcpy.c: New file.
4015         * benchtests/bench-strcspn-ifunc.c: New file.
4016         * benchtests/bench-strcspn.c: New file.
4017         * benchtests/bench-strlen-ifunc.c: New file.
4018         * benchtests/bench-strlen.c: New file.
4019         * benchtests/bench-strncasecmp-ifunc.c: New file.
4020         * benchtests/bench-strncasecmp.c: New file.
4021         * benchtests/bench-strncat-ifunc.c: New file.
4022         * benchtests/bench-strncat.c: New file.
4023         * benchtests/bench-strncmp-ifunc.c: New file.
4024         * benchtests/bench-strncmp.c: New file.
4025         * benchtests/bench-strncpy-ifunc.c: New file.
4026         * benchtests/bench-strncpy.c: New file.
4027         * benchtests/bench-strnlen-ifunc.c: New file.
4028         * benchtests/bench-strnlen.c: New file.
4029         * benchtests/bench-strpbrk-ifunc.c: New file.
4030         * benchtests/bench-strpbrk.c: New file.
4031         * benchtests/bench-strrchr-ifunc.c: New file.
4032         * benchtests/bench-strrchr.c: New file.
4033         * benchtests/bench-strspn-ifunc.c: New file.
4034         * benchtests/bench-strspn.c: New file.
4035         * benchtests/bench-strstr-ifunc.c: New file.
4036         * benchtests/bench-strstr.c: New file.
4038         * benchtests/Makefile: Disable parallel execution of targets.
4039         (string-bench): Add memcpy.
4040         (benchset): New variable to store a list of benchmark sets.
4041         (bench-func): Renamed from bench.
4042         (bench-set): New target.
4043         (bench): Depend on bench-func and bench-set.
4044         * benchtests/README: Add section on benchmark sets.
4045         * benchtests/bench-memcpy-ifunc.c: New file.
4046         * benchtests/bench-memcpy.c: New file.
4047         * benchtests/bench-string.h: New file.
4049 2013-06-11  Andreas Schwab  <schwab@suse.de>
4051         [BZ #15577]
4052         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4053         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4054         values in the triple.
4055         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4056         terminator in the group key.
4058 2013-06-11  Andreas Jaeger  <aj@suse.de>
4060         * po/zh_TW.po: Update Chinese (traditional) translation from
4061         translation project.
4063 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4065         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4066         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4067         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4068         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4069         (clock_getcpuclockid): Likewise.
4070         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4071         Add weak_alias and libc_hidden_def.
4072         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4073         * rt/clock_gettime.c (clock_gettime): Rename to
4074         __clock_gettime.  Add weak_alias and libc_hidden_def.
4075         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4076         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4077         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4078         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4079         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4080         Likewise.
4081         * rt/clock_settime.c (clock_settime): Rename to
4082         __clock_settime.  Add weak_alias and libc_hidden_def.
4083         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4085 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4087         * mach/err_boot.sub: Remove trailing whitespace.
4088         * mach/err_ipc.sub: Likewise.
4089         * mach/err_mach.sub: Likewise.
4091         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4092         (ROUNDING_TESTS_double): Likewise.
4093         (ROUNDING_TESTS_long_double): Likewise.
4094         (ROUNDING_TESTS): Likewise.
4095         * math/libm-test.inc: Include <math-tests.h>.
4096         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4097         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4098         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4099         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4101 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4103         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4104         of assigning.
4106 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4108         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4109         otherwise empty TRANS lines.
4110         * sysdeps/gnu/errlist.c: Regenerated.
4112         * catgets/gencat.c (error_print): Use (void) in function
4113         definition.
4114         * crypt/crypt_util.c (__init_des): Likewise.
4115         * crypt/speeds.c (Stop): Likewise.
4116         (main): Likewise.
4117         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4118         * inet/ruserpass.c (token): Likewise.
4119         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4120         * intl/localealias.c (extend_alias_table): Likewise.
4121         * intl/plural-exp.c (init_germanic_plural): Likewise.
4122         * libio/fcloseall.c (__fcloseall): Likewise.
4123         * libio/genops.c (_IO_flush_all): Likewise.
4124         (_IO_flush_all_linebuffered): Likewise.
4125         (_IO_cleanup): Likewise.
4126         (_IO_iter_begin): Likewise.
4127         (_IO_iter_end): Likewise.
4128         (_IO_list_lock): Likewise.
4129         (_IO_list_unlock): Likewise.
4130         (_IO_list_resetlock): Likewise.
4131         * libio/getchar.c (getchar): Likewise.
4132         * libio/getchar_u.c (getchar_unlocked): Likewise.
4133         * libio/getwchar.c (getwchar): Likewise.
4134         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4135         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4136         * login/getpt.c (__getpt): Likewise.
4137         * login/tst-utmp.c (main): Likewise.
4138         * malloc/hooks.c (__malloc_check_init): Likewise.
4139         * malloc/malloc.c (__malloc_stats): Likewise.
4140         * malloc/mtrace.c (tr_break): Likewise.
4141         (mtrace): Likewise.
4142         (muntrace): Likewise.
4143         * misc/fstab.c (endfsent): Likewise.
4144         * misc/getclktck.c (__getclktck): Likewise.
4145         * misc/getdtsz.c (__getdtablesize): Likewise.
4146         * misc/gethostid.c (gethostid): Likewise.
4147         * misc/getpagesize.c (__getpagesize): Likewise.
4148         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4149         (__get_nprocs): Likewise.
4150         (__get_phys_pages): Likewise.
4151         (__get_avphys_pages): Likewise.
4152         * misc/getttyent.c (getttyent): Likewise.
4153         (setttyent): Likewise.
4154         (endttyent): Likewise.
4155         * misc/getusershell.c (getusershell): Likewise.
4156         (endusershell): Likewise.
4157         (setusershell): Likewise.
4158         (initshells): Likewise.
4159         * misc/hsearch.c (__hdestroy): Likewise.
4160         * misc/sync.c (sync): Likewise.
4161         * misc/syslog.c (closelog_internal): Likewise.
4162         (closelog): Likewise.
4163         * misc/ttyslot.c (ttyslot): Likewise.
4164         * misc/vhangup.c (vhangup): Likewise.
4165         * posix/fork.c (__fork): Likewise.
4166         * posix/getegid.c (__getegid): Likewise.
4167         * posix/geteuid.c (__geteuid): Likewise.
4168         * posix/getgid.c (__getgid): Likewise.
4169         * posix/getpid.c (__getpid): Likewise.
4170         * posix/getppid.c (__getppid): Likewise.
4171         * posix/getuid.c (__getuid): Likewise.
4172         * posix/pause.c (pause): Likewise.
4173         * posix/setpgrp.c (setpgrp): Likewise.
4174         * posix/setsid.c (__setsid): Likewise.
4175         * posix/test-vfork.c (noop): Likewise.
4176         * resolv/gethnamaddr.c (_endhtent): Likewise.
4177         (_gethtent): Likewise.
4178         (ht_endhostent): Likewise.
4179         (gethostent): Likewise.
4180         (dns_service): Likewise.
4181         * stdlib/drand48.c (drand48): Likewise.
4182         * stdlib/lrand48.c (lrand48): Likewise.
4183         * stdlib/mrand48.c (mrand48): Likewise.
4184         * stdlib/rand.c (rand): Likewise.
4185         * stdlib/random.c (__random): Likewise.
4186         * stdlib/setenv.c (clearenv): Likewise.
4187         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4188         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4189         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4190         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4191         (__get_nprocs): Likewise.
4192         (__get_phys_pages): Likewise.
4193         (__get_avphys_pages): Likewise.
4194         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4195         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4196         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4197         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4198         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4199         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4200         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4201         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4202         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4203         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4204         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4205         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4206         * sysdeps/posix/clock.c (clock): Likewise.
4207         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4208         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4209         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4210         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4211         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4212         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4213         (__get_nprocs_conf): Likewise.
4214         (__get_phys_pages): Likewise.
4215         (__get_avphys_pages): Likewise.
4216         * time/clock.c (clock): Likewise.
4217         * time/tzset.c (__tzname_max): Likewise.
4219 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4221         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4222         (__bswap_32): Do not use "register".
4223         * crypt/crypt.c (_ufc_doit_r): Likewise.
4224         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4225         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4226         * gmon/gmon.c (__monstartup): Likewise.
4227         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4228         * hurd/hurdmalloc.c (more_memory): Likewise.
4229         (malloc): Likewise.
4230         (free): Likewise.
4231         (realloc): Likewise.
4232         (malloc_fork_prepare): Likewise.
4233         (malloc_fork_parent): Likewise.
4234         (malloc_fork_child): Likewise.
4235         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4236         (_svcauth_des): Likewise.
4237         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4238         * inet/inet_net.c (inet_network): Likewise.
4239         * inet/inet_netof.c (inet_netof): Likewise.
4240         * inet/rcmd.c (__validuser2_sa): Likewise.
4241         * io/fts.c (fts_open): Likewise.
4242         (fts_load): Likewise.
4243         (fts_close): Likewise.
4244         (fts_read): Likewise.
4245         (fts_children): Likewise.
4246         (fts_build): Likewise.
4247         (fts_stat): Likewise.
4248         (fts_sort): Likewise.
4249         (fts_alloc): Likewise.
4250         (fts_lfree): Likewise.
4251         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4252         (_IO_file_xsgetn): Likewise.
4253         (_IO_file_xsgetn_mmap): Likewise.
4254         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4255         (_IO_cookie_write): Likewise.
4256         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4257         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4258         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4259         * malloc/obstack.c (_obstack_begin): Likewise.
4260         (_obstack_begin_1): Likewise.
4261         (_obstack_newchunk): Likewise.
4262         (_obstack_allocated_p): Likewise.
4263         (obstack_free): Likewise.
4264         (_obstack_memory_used): Likewise.
4265         * misc/getttyent.c (getttynam): Likewise.
4266         (getttyent): Likewise.
4267         (skip): Likewise.
4268         (value): Likewise.
4269         * misc/getusershell.c (initshells): Likewise.
4270         * misc/syslog.c (__vsyslog_chk): Likewise.
4271         * misc/ttyslot.c (ttyslot): Likewise.
4272         * nis/nis_hash.c (__nis_hash): Likewise.
4273         * posix/fnmatch_loop.c (FCT): Likewise.
4274         * posix/getconf.c (print_all): Likewise.
4275         (main): Likewise.
4276         * posix/getopt.c (exchange): Likewise.
4277         * posix/glob.c (globfree): Likewise.
4278         (prefix_array): Likewise.
4279         (__glob_pattern_type): Likewise.
4280         * resolv/arpa/nameser.h (NS_GET16): Likewise.
4281         (NS_GET32): Likewise.
4282         (NS_PUT16): Likewise.
4283         (NS_PUT32): Likewise.
4284         * resolv/gethnamaddr.c (getanswer): Likewise.
4285         (gethostbyname2): Likewise.
4286         (gethostbyaddr): Likewise.
4287         (_gethtent): Likewise.
4288         (_gethtbyname2): Likewise.
4289         (_gethtbyaddr): Likewise.
4290         * resolv/ns_print.c (dst_s_get_int16): Likewise.
4291         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4292         * resolv/res_init.c (__res_vinit): Likewise.
4293         (net_mask): Likewise.
4294         * resolv/res_mkquery.c (outchar): Likewise.
4295         (PRINT): Likewise.
4296         * stdio-common/printf_fp.c (outchar): Likewise.
4297         (PRINT): Likewise.
4298         * stdio-common/printf_fphex.c (outchar): Likewise.
4299         (PRINT): Likewise.
4300         * stdio-common/printf_size.c (outchar): Likewise.
4301         (PRINT): Likewise.
4302         * stdio-common/test_rdwr.c (main): Likewise.
4303         * stdio-common/tfformat.c (matches): Likewise.
4304         * stdio-common/vfprintf.c (outchar): Likewise.
4305         (printf_unknown): Likewise.
4306         (buffered_vfprintf): Likewise.
4307         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4308         * stdio-common/xbug.c (AppendToBuffer): Likewise.
4309         (ReadFile): Likewise.
4310         * stdlib/qsort.c (SWAP): Likewise.
4311         (_quicksort): Likewise.
4312         * stdlib/setenv.c (__add_to_environ): Likewise.
4313         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4314         * stdlib/strtol_l.c (__strtol_l): Likewise.
4315         * stdlib/tst-strtod.c (main): Likewise.
4316         * stdlib/tst-strtol.c (main): Likewise.
4317         * stdlib/tst-strtoll.c (main): Likewise.
4318         * string/bits/string2.h (__strcmp_cc): Likewise.
4319         (__strcmp_cg): Likewise.
4320         (__strcspn_c1): Likewise.
4321         (__strcspn_c2): Likewise.
4322         (__strcspn_c3): Likewise.
4323         (__strspn_c1): Likewise.
4324         (__strspn_c2): Likewise.
4325         (__strspn_c3): Likewise.
4326         (__strsep_1c): Likewise.
4327         (__strsep_2c): Likewise.
4328         (__strsep_3c): Likewise.
4329         * string/memccpy.c (__memccpy): Likewise.
4330         * string/stpcpy.c (__stpcpy): Likewise.
4331         * string/strcmp.c (strcmp): Likewise.
4332         * string/strrchr.c (strrchr): Likewise.
4333         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4334         Likewise.
4335         * sysdeps/mach/hurd/getcwd.c
4336         (_hurd_canonicalize_directory_name_internal): Likewise.
4337         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4338         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4339         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4340         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4341         Likewise, in both definitions.
4342         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4343         definitions.
4344         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4345         64] (__bswap_64): Likewise.
4346         * time/test_time.c (main): Likewise.
4347         * time/tzfile.c (__tzfile_read): Likewise.
4348         (__tzfile_compute): Likewise.
4349         * time/tzset.c (__tzset_parse_tz): Likewise.
4350         (tzset_internal): Likewise.
4351         (compute_change): Likewise.
4352         * wcsmbs/wcscat.c (__wcscat): Likewise.
4353         * wcsmbs/wcschr.c (wcschr): Likewise.
4354         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4355         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4356         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4357         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4358         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4359         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4360         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4361         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4362         * wcsmbs/wmemset.c (wmemset): Likewise.
4364 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4366         * scripts/config.guess: Update to version 2013-05-16.
4367         * scripts/config.sub: Update to version 2013-04-24.
4368         * scripts/install-sh: Update to version 2011-11-20.07.
4369         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4370         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4372 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4374         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4375         * elf/sln.c: Likewise.
4376         * hurd/hurd/ioctl.h: Likewise.
4377         * hurd/hurdmalloc.c: Likewise.
4378         * hurd/xattr.c: Likewise.
4379         * include/shlib-compat.h: Likewise.
4380         * inet/ruserpass.c: Likewise.
4381         * libio/iofgets_u.c: Likewise.
4382         * libio/iofgetws_u.c: Likewise.
4383         * locale/programs/ld-identification.c: Likewise.
4384         * locale/programs/ld-time.c: Likewise.
4385         * mach/msg-destroy.c: Likewise.
4386         * nss/nss_files/files-netgrp.c: Likewise.
4387         * resolv/res_data.c: Likewise.
4388         * soft-fp/op-1.h: Likewise.
4389         * soft-fp/op-2.h: Likewise.
4390         * soft-fp/op-4.h: Likewise.
4391         * soft-fp/op-common.h: Likewise.
4392         * stdio-common/printf_fphex.c: Likewise.
4393         * stdlib/strtod_l.c: Likewise.
4394         * sunrpc/rpc/clnt.h: Likewise.
4395         * sysdeps/generic/framestate.c: Likewise.
4396         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4397         * sysdeps/i386/bsd-setjmp.S: Likewise.
4398         * sysdeps/i386/__longjmp.S: Likewise.
4399         * sysdeps/i386/setjmp.S: Likewise.
4400         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4401         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4402         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4403         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4404         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4405         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4407         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4408         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4409         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4410         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4413         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4414         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4415         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4416         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4417         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4418         * sysdeps/ieee754/support.c: Likewise.
4419         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4420         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4421         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4422         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4423         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4424         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4425         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4426         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4427         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4428         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4429         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4430         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4431         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4432         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4433         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4434         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4435         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4438 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4440         * posix/transbug.c: Remove executable mode.
4442 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4444         * crypt/speeds.c: Remove trailing whitespace.
4445         * dlfcn/default.c: Likewise.
4446         * elf/ifuncdep2.c: Likewise.
4447         * elf/ifuncmain1.c: Likewise.
4448         * elf/ifuncmain1vis.c: Likewise.
4449         * elf/testobj.h: Likewise.
4450         * elf/tst-stackguard1.c: Likewise.
4451         * gmon/sys/gmon.h: Likewise.
4452         * hurd/hurdmsg.c: Likewise.
4453         * hurd/new-fd.c: Likewise.
4454         * hurd/ports-get.c: Likewise.
4455         * iconvdata/ibm1008_420.c: Likewise.
4456         * inet/tst-getni1.c: Likewise.
4457         * inet/tst-getni2.c: Likewise.
4458         * libio/ioungetc.c: Likewise.
4459         * libio/wfiledoalloc.c: Likewise.
4460         * manual/libm-err-tab.pl: Likewise.
4461         * math/w_dremf.c: Likewise.
4462         * misc/ftruncate.c: Likewise.
4463         * posix/bug-glob2.c: Likewise.
4464         * posix/tst-pcre.c: Likewise.
4465         * posix/wait4.c: Likewise.
4466         * resolv/README: Likewise.
4467         * resolv/res_debug.h: Likewise.
4468         * resolv/tst-inet_ntop.c: Likewise.
4469         * setjmp/bug269-setjmp.c: Likewise.
4470         * soft-fp/extended.h: Likewise.
4471         * soft-fp/op-1.h: Likewise.
4472         * soft-fp/op-2.h: Likewise.
4473         * soft-fp/op-4.h: Likewise.
4474         * soft-fp/op-8.h: Likewise.
4475         * soft-fp/testit.c: Likewise.
4476         * stdio-common/bug16.c: Likewise.
4477         * stdlib/random.c: Likewise.
4478         * sunrpc/rpcsvc/rquota.x: Likewise.
4479         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4480         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4481         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4482         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4483         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4484         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4485         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4486         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4487         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4488         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4489         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4490         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4491         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4492         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4493         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4494         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4495         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4496         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4497         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4498         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4499         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4500         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4501         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4502         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4503         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4504         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4505         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4506         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4507         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4508         * sysdeps/ieee754/s_lib_version.c: Likewise.
4509         * sysdeps/mach/hurd/check_fds.c: Likewise.
4510         * sysdeps/mach/hurd/getsockname.c: Likewise.
4511         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4512         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4513         * sysdeps/powerpc/bits/link.h: Likewise.
4514         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4515         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4516         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4517         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4518         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4519         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4520         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4521         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4522         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4523         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4524         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4525         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4526         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4527         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4528         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4529         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4530         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4531         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4532         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4533         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4534         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4535         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4536         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4537         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4538         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4539         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4540         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4541         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4542         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4543         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4544         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4545         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4546         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4547         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4548         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4549         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4550         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4551         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4552         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4553         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4554         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4555         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4556         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4557         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4558         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4559         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4560         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4561         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4562         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4563         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4564         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4565         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4566         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4567         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4568         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4569         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4570         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4571         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4572         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4573         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4574         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4575         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4576         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4577         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4578         * sysdeps/powerpc/sysdep.h: Likewise.
4579         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4580         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4581         * sysdeps/sh/dl-trampoline.S: Likewise.
4582         * sysdeps/sh/memset.S: Likewise.
4583         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4584         * sysdeps/sh/strlen.S: Likewise.
4585         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4586         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4587         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4588         * sysdeps/sparc/sparc32/rem.S: Likewise.
4589         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4590         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4591         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4592         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4593         * sysdeps/sparc/sparc32/urem.S: Likewise.
4594         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4595         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4596         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4597         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4598         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4599         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4600         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4601         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4602         * sysdeps/unix/bsd/times.c: Likewise.
4603         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4604         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4608         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4609         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4610         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4611         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4612         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4613         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4614         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4615         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4616         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4617         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4618         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4619         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4620         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4621         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4622         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4623         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4624         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4625         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4626         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4627         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4628         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4629         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4630         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4631         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4632         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4633         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4634         * sysdeps/x86_64/strcspn.S: Likewise.
4636 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4638         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4639         generated file.  Regenerate properly from gen-translit.pl.
4640         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4641         locale/C-translit.h.
4643 2013-06-05  Andreas Schwab  <schwab@suse.de>
4645         [BZ #15100]
4646         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4647         week as 6 instead of -1.
4648         * time/tst-strptime.c (day_tests): Add test case.
4650 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4652         * sysdeps/generic/math_private.h
4653         (libc_feholdexcept_setround_53bit): Replace with
4654         libc_feholdsetround_53bit.
4655         (libc_feupdateenv_53bit): Replace with
4656         libc_feresetround_53bit.
4657         (SET_RESTORE_ROUND_53BIT): Adjust.
4659 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4661         * string/test-strchrnul.c: Add copyright header.
4663         * posix/tst-getaddrinfo4.c: Increase test timeout.
4665 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4667         [BZ #15536]
4668         * math/libm-test.inc (MAX_EXP): Remove
4669         (MIN_EXP): Define.
4670         (ulp): Use MIN_EXP - MANT_DIG.
4671         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4673 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4675         * po/be.po: Revert last change.
4676         * po/zh_CN.po: Likewise.
4677         * po/header.pot: Likewise.
4679 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4681         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4682         link-libc-deps to empty as target-specific variable.
4683         * Makerules (link-libc-args): New variable.
4684         (libc-for-link): Likewise.
4685         (link-libc-deps): Likewise.
4686         (lib%.so): Depend on $(link-libc-deps).  Link with
4687         $(link-libc-args).
4688         (build-module): Link with $(link-libc-args).
4689         (build-module-asneeded): Likewise.
4690         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4691         list of objects.
4692         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4693         target-specific variable.
4694         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4695         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4696         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4697         libc.
4698         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4699         libc and ld.so.
4700         ($(objpfx)libpcprofile.so): Likewise.
4701         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4702         libc_nonshared.a.
4703         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4704         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4705         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4706         $(link-libc-deps).
4707         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4708         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4709         * login/Makefile ($(objpfx)libutil.so): Likewise.
4710         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4711         * math/Makefile ($(objpfx)libm.so): Likewise.
4712         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4713         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4714         variable instead of depending directly on libc.
4715         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4716         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4717         $(link-libc-deps).
4718         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4719         libc.
4720         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4721         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4722         ($(objpfx)libanl.so): Likewise.
4723         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4724         ld.so.
4725         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4726         $(link-libc-deps).
4727         * sysdeps/i386/fpu/Makefile: Remove file.
4728         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4729         ($(objpfx)libm.so): Remove dependency on ld.so.
4731 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4733         [BZ # 15553]
4734         * nis/yp_xdr.c (XDRMAXNAME): Define.
4735         (XDRMAXRECORD): Define.
4736         (xdr_domainname): Use XDRMAXNAME.
4737         (xdr_mapname): Likewise.
4738         (xdr_peername): Likewise.
4739         (xdr_keydat): Use XDRMAXRECORD.
4740         (xdr_valdat): Likewise.
4742 2013-05-30  Jeff Law  <law@redhat.com>
4744         [BZ #14256]
4745         * manual/errno.texi (ESTALE): Update to account for more than
4746         just NFS file systems.
4747         * sysdeps/gnu/errlist.c: Regenerated.
4749 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4751         [BZ #15465]
4752         * elf/Makefile (tests): Add tst-null-argv.
4753         (modules-names):  Add tst-null-argv-lib.
4754         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4755         (tst-null-argv-ENV): Set environment for tst-null-argv.
4756         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4757         (RTLD_PROGNAME): New macro.
4758         * elf/tst-null-argv.c: New test case.
4759         * elf/tst-null-argv-lib.c: Library for test case.
4760         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4761         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4762         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4763         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4764         * elf/dl-init.c (call_init): Likewise.
4765         (_dl_init): Likewise.
4766         * elf/dl-load.c (print_search_path): Likewise.
4767         (_dl_map_object): Likewise.
4768         * elf/dl-lookup.c (do_lookup_x): Likewise.
4769         (add_dependency): Likewise.
4770         (_dl_lookup_symbol_x): Likewise.
4771         (_dl_debug_bindings): Likewise.
4772         * elf/dl-open.c (_dl_show_scope): Likewise.
4773         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4774         * elf/dl-version.c (match_symbol): Likewise.
4775         (_dl_check_map_versions): Likewise.
4776         * elf/rtld.c (dl_main): Likewise.
4777         (print_unresolved): Use RTLD_PROGNAME.
4778         (print_missing_version): Likewise.
4779         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4780         (elf_machine_rela): Likewise.
4781         * sysdeps/powerpc/powerpc32/dl-machine.c
4782         (__process_machine_rela): Likewise.
4783         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4784         Likewise.
4785         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4786         Likewise.
4787         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4788         Likewise.
4789         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4790         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4791         Likewise.
4792         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4793         Likewise.
4794         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4796 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4798         * po/be.po: Add descriptive title.
4799         * po/zh_CN.po: Likewise.
4800         * po/header.pot: Likewise.
4802 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4804         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4805         error message.
4806         (enlarge_archive): Likewise.
4808 2013-05-28  Ben North  <ben@redfrontdoor.org>
4810         * manual/arith.texi (frexp): It is the magnitude of the return
4811         value which lies in [0.5, 1), not the return value itself.
4813 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4817 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4819         * stdio-common/bug26.c (main): Correct fscanf template.
4821         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4822         declare _dl_skip_args.
4824         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4825         Don't declare.
4827         * manual/platform.texi: Add missing @end deftypefun.
4829 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4831         [BZ #15529]
4832         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4833         bit of mantissa of 2^16382.
4834         * math/libm-test.inc (hypot_test_data): Add more tests.
4836         * math/libm-test.inc: Add drem and pow10 to list of tested
4837         functions.
4838         (pow10_test): New function.
4839         (drem_test): Likewise.
4840         (drem_test_tonearest): Likewise.
4841         (drem_test_towardzero): Likewise.
4842         (drem_test_downward): Likewise.
4843         (drem_test_upward): Likewise.
4844         (main): Call the new functions.
4846         * math/libm-test.inc (finite_test_data): Remove.
4847         (finite_test): Run tests from isfinite_test_data.
4848         (gamma_test_data): Remove.
4849         (gamma_test): Run tests from lgamma_test_data.
4850         * sysdeps/i386/fpu/libm-test-ulps: Update.
4851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4853 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4855         * manual/platform.texi: Add PowerPC PPR function set documentation.
4856         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4857         implementation.
4859 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4861         * math/libm-test.inc (MAX_EXP): Define.
4862         (ULPDIFF): Define.
4863         (ulp): New function.
4864         (check_float_internal): Use ULPDIFF.
4865         (cpow_test): Disable failing test.
4866         (check_ulp): Test ulp() implemetnation.
4867         (main): Call check_ulp before starting tests.
4869 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4871         * math/gen-libm-test.pl (generate_testfile): Do not handle
4872         START_DATA and END_DATA.
4873         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4874         END_DATA.
4875         (acos_tonearest_test_data): Likewise.
4876         (acos_towardzero_test_data): Likewise.
4877         (acos_downward_test_data): Likewise.
4878         (acos_upward_test_data): Likewise.
4879         (acosh_test_data): Likewise.
4880         (asin_test_data): Likewise.
4881         (asin_tonearest_test_data): Likewise.
4882         (asin_towardzero_test_data): Likewise.
4883         (asin_downward_test_data): Likewise.
4884         (asin_upward_test_data): Likewise.
4885         (asinh_test_data): Likewise.
4886         (atan_test_data): Likewise.
4887         (atanh_test_data): Likewise.
4888         (atan2_test_data): Likewise.
4889         (cabs_test_data): Likewise.
4890         (cacos_test_data): Likewise.
4891         (cacosh_test_data): Likewise.
4892         (carg_test_data): Likewise.
4893         (casin_test_data): Likewise.
4894         (casinh_test_data): Likewise.
4895         (catan_test_data): Likewise.
4896         (catanh_test_data): Likewise.
4897         (cbrt_test_data): Likewise.
4898         (ccos_test_data): Likewise.
4899         (ccosh_test_data): Likewise.
4900         (ceil_test_data): Likewise.
4901         (cexp_test_data): Likewise.
4902         (cimag_test_data): Likewise.
4903         (clog_test_data): Likewise.
4904         (clog10_test_data): Likewise.
4905         (conj_test_data): Likewise.
4906         (copysign_test_data): Likewise.
4907         (cos_test_data): Likewise.
4908         (cos_tonearest_test_data): Likewise.
4909         (cos_towardzero_test_data): Likewise.
4910         (cos_downward_test_data): Likewise.
4911         (cos_upward_test_data): Likewise.
4912         (cosh_test_data): Likewise.
4913         (cosh_tonearest_test_data): Likewise.
4914         (cosh_towardzero_test_data): Likewise.
4915         (cosh_downward_test_data): Likewise.
4916         (cosh_upward_test_data): Likewise.
4917         (cpow_test_data): Likewise.
4918         (cproj_test_data): Likewise.
4919         (creal_test_data): Likewise.
4920         (csin_test_data): Likewise.
4921         (csinh_test_data): Likewise.
4922         (csqrt_test_data): Likewise.
4923         (ctan_test_data): Likewise.
4924         (ctan_tonearest_test_data): Likewise.
4925         (ctan_towardzero_test_data): Likewise.
4926         (ctan_downward_test_data): Likewise.
4927         (ctan_upward_test_data): Likewise.
4928         (ctanh_test_data): Likewise.
4929         (ctanh_tonearest_test_data): Likewise.
4930         (ctanh_towardzero_test_data): Likewise.
4931         (ctanh_downward_test_data): Likewise.
4932         (ctanh_upward_test_data): Likewise.
4933         (erf_test_data): Likewise.
4934         (erfc_test_data): Likewise.
4935         (exp_test_data): Likewise.
4936         (exp_tonearest_test_data): Likewise.
4937         (exp_towardzero_test_data): Likewise.
4938         (exp_downward_test_data): Likewise.
4939         (exp_upward_test_data): Likewise.
4940         (exp10_test_data): Likewise.
4941         (exp2_test_data): Likewise.
4942         (expm1_test_data): Likewise.
4943         (fabs_test_data): Likewise.
4944         (fdim_test_data): Likewise.
4945         (finite_test_data): Likewise.
4946         (floor_test_data): Likewise.
4947         (fma_test_data): Likewise.
4948         (fma_towardzero_test_data): Likewise.
4949         (fma_downward_test_data): Likewise.
4950         (fma_upward_test_data): Likewise.
4951         (fmax_test_data): Likewise.
4952         (fmin_test_data): Likewise.
4953         (fmod_test_data): Likewise.
4954         (fpclassify_test_data): Likewise.
4955         (frexp_test_data): Likewise.
4956         (gamma_test_data): Likewise.
4957         (hypot_test_data): Likewise.
4958         (ilogb_test_data): Likewise.
4959         (isfinite_test_data): Likewise.
4960         (isgreater_test_data): Likewise.
4961         (isgreaterequal_test_data): Likewise.
4962         (isinf_test_data): Likewise.
4963         (isless_test_data): Likewise.
4964         (islessequal_test_data): Likewise.
4965         (islessgreater_test_data): Likewise.
4966         (isnan_test_data): Likewise.
4967         (isnormal_test_data): Likewise.
4968         (issignaling_test_data): Likewise.
4969         (isunordered_test_data): Likewise.
4970         (j0_test_data): Likewise.
4971         (j1_test_data): Likewise.
4972         (jn_test_data): Likewise.
4973         (ldexp_test_data): Likewise.
4974         (lgamma_test_data): Likewise.
4975         (lrint_test_data): Likewise.
4976         (lrint_tonearest_test_data): Likewise.
4977         (lrint_towardzero_test_data): Likewise.
4978         (lrint_downward_test_data): Likewise.
4979         (lrint_upward_test_data): Likewise.
4980         (llrint_test_data): Likewise.
4981         (llrint_tonearest_test_data): Likewise.
4982         (llrint_towardzero_test_data): Likewise.
4983         (llrint_downward_test_data): Likewise.
4984         (llrint_upward_test_data): Likewise.
4985         (log_test_data): Likewise.
4986         (log10_test_data): Likewise.
4987         (log1p_test_data): Likewise.
4988         (log2_test_data): Likewise.
4989         (logb_test_data): Likewise.
4990         (logb_downward_test_data): Likewise.
4991         (lround_test_data): Likewise.
4992         (llround_test_data): Likewise.
4993         (modf_test_data): Likewise.
4994         (nearbyint_test_data): Likewise.
4995         (nextafter_test_data): Likewise.
4996         (nexttoward_test_data): Likewise.
4997         (pow_test_data): Likewise.
4998         (pow_tonearest_test_data): Likewise.
4999         (pow_towardzero_test_data): Likewise.
5000         (pow_downward_test_data): Likewise.
5001         (pow_upward_test_data): Likewise.
5002         (remainder_test_data): Likewise.
5003         (remainder_tonearest_test_data): Likewise.
5004         (remainder_towardzero_test_data): Likewise.
5005         (remainder_downward_test_data): Likewise.
5006         (remainder_upward_test_data): Likewise.
5007         (remquo_test_data): Likewise.
5008         (rint_test_data): Likewise.
5009         (rint_tonearest_test_data): Likewise.
5010         (rint_towardzero_test_data): Likewise.
5011         (rint_downward_test_data): Likewise.
5012         (rint_upward_test_data): Likewise.
5013         (round_test_data): Likewise.
5014         (scalb_test_data): Likewise.
5015         (scalbn_test_data): Likewise.
5016         (scalbln_test_data): Likewise.
5017         (signbit_test_data): Likewise.
5018         (sin_test_data): Likewise.
5019         (sin_tonearest_test_data): Likewise.
5020         (sin_towardzero_test_data): Likewise.
5021         (sin_downward_test_data): Likewise.
5022         (sin_upward_test_data): Likewise.
5023         (sincos_test_data): Likewise.
5024         (sinh_test_data): Likewise.
5025         (sinh_tonearest_test_data): Likewise.
5026         (sinh_towardzero_test_data): Likewise.
5027         (sinh_downward_test_data): Likewise.
5028         (sinh_upward_test_data): Likewise.
5029         (sqrt_test_data): Likewise.
5030         (tan_test_data): Likewise.
5031         (tan_tonearest_test_data): Likewise.
5032         (tan_towardzero_test_data): Likewise.
5033         (tan_downward_test_data): Likewise.
5034         (tan_upward_test_data): Likewise.
5035         (tanh_test_data): Likewise.
5036         (tgamma_test_data): Likewise.
5037         (trunc_test_data): Likewise.
5038         (y0_test_data): Likewise.
5039         (y1_test_data): Likewise.
5040         (yn_test_data): Likewise.
5041         (significand_test_data): Likewise.
5043         * math/gen-libm-test.pl (@functions): Remove variable.
5044         (generate_testfile): Don't handle START and END lines.
5045         * math/libm-test.inc (START): New macro.
5046         (END): Likewise.
5047         (END_COMPLEX): Likewise.
5048         (acos_test): Use END macro without arguments.
5049         (acos_test_tonearest): Likewise.
5050         (acos_test_towardzero): Likewise.
5051         (acos_test_downward): Likewise.
5052         (acos_test_upward): Likewise.
5053         (acosh_test): Likewise.
5054         (asin_test): Likewise.
5055         (asin_test_tonearest): Likewise.
5056         (asin_test_towardzero): Likewise.
5057         (asin_test_downward): Likewise.
5058         (asin_test_upward): Likewise.
5059         (asinh_test): Likewise.
5060         (atan_test): Likewise.
5061         (atanh_test): Likewise.
5062         (atan2_test): Likewise.
5063         (cabs_test): Likewise.
5064         (cacos_test): Use END_COMPLEX macro without arguments.
5065         (cacosh_test): Likewise.
5066         (carg_test): Use END macro without arguments.
5067         (casin_test): Use END_COMPLEX macro without arguments.
5068         (casinh_test): Likewise.
5069         (catan_test): Likewise.
5070         (catanh_test): Likewise.
5071         (cbrt_test): Use END macro without arguments.
5072         (ccos_test): Use END_COMPLEX macro without arguments.
5073         (ccosh_test): Likewise.
5074         (ceil_test): Use END macro without arguments.
5075         (cexp_test): Use END_COMPLEX macro without arguments.
5076         (cimag_test): Use END macro without arguments.
5077         (clog_test): Use END_COMPLEX macro without arguments.
5078         (clog10_test): Likewise.
5079         (conj_test): Likewise.
5080         (copysign_test): Use END macro without arguments.
5081         (cos_test): Likewise.
5082         (cos_test_tonearest): Likewise.
5083         (cos_test_towardzero): Likewise.
5084         (cos_test_downward): Likewise.
5085         (cos_test_upward): Likewise.
5086         (cosh_test): Likewise.
5087         (cosh_test_tonearest): Likewise.
5088         (cosh_test_towardzero): Likewise.
5089         (cosh_test_downward): Likewise.
5090         (cosh_test_upward): Likewise.
5091         (cpow_test): Use END_COMPLEX macro without arguments.
5092         (cproj_test): Likewise.
5093         (creal_test): Use END macro without arguments.
5094         (csin_test): Use END_COMPLEX macro without arguments.
5095         (csinh_test): Likewise.
5096         (csqrt_test): Likewise.
5097         (ctan_test): Likewise.
5098         (ctan_test_tonearest): Likewise.
5099         (ctan_test_towardzero): Likewise.
5100         (ctan_test_downward): Likewise.
5101         (ctan_test_upward): Likewise.
5102         (ctanh_test): Likewise.
5103         (ctanh_test_tonearest): Likewise.
5104         (ctanh_test_towardzero): Likewise.
5105         (ctanh_test_downward): Likewise.
5106         (ctanh_test_upward): Likewise.
5107         (erf_test): Use END macro without arguments.
5108         (erfc_test): Likewise.
5109         (exp_test): Likewise.
5110         (exp_test_tonearest): Likewise.
5111         (exp_test_towardzero): Likewise.
5112         (exp_test_downward): Likewise.
5113         (exp_test_upward): Likewise.
5114         (exp10_test): Likewise.
5115         (exp2_test): Likewise.
5116         (expm1_test): Likewise.
5117         (fabs_test): Likewise.
5118         (fdim_test): Likewise.
5119         (finite_test): Likewise.
5120         (floor_test): Likewise.
5121         (fma_test): Likewise.
5122         (fma_test_towardzero): Likewise.
5123         (fma_test_downward): Likewise.
5124         (fma_test_upward): Likewise.
5125         (fmax_test): Likewise.
5126         (fmin_test): Likewise.
5127         (fmod_test): Likewise.
5128         (fpclassify_test): Likewise.
5129         (frexp_test): Likewise.
5130         (gamma_test): Likewise.
5131         (hypot_test): Likewise.
5132         (ilogb_test): Likewise.
5133         (isfinite_test): Likewise.
5134         (isgreater_test): Likewise.
5135         (isgreaterequal_test): Likewise.
5136         (isinf_test): Likewise.
5137         (isless_test): Likewise.
5138         (islessequal_test): Likewise.
5139         (islessgreater_test): Likewise.
5140         (isnan_test): Likewise.
5141         (isnormal_test): Likewise.
5142         (issignaling_test): Likewise.
5143         (isunordered_test): Likewise.
5144         (j0_test): Likewise.
5145         (j1_test): Likewise.
5146         (jn_test): Likewise.
5147         (ldexp_test): Likewise.
5148         (lgamma_test): Likewise.
5149         (lrint_test): Likewise.
5150         (lrint_test_tonearest): Likewise.
5151         (lrint_test_towardzero): Likewise.
5152         (lrint_test_downward): Likewise.
5153         (lrint_test_upward): Likewise.
5154         (llrint_test): Likewise.
5155         (llrint_test_tonearest): Likewise.
5156         (llrint_test_towardzero): Likewise.
5157         (llrint_test_downward): Likewise.
5158         (llrint_test_upward): Likewise.
5159         (log_test): Likewise.
5160         (log10_test): Likewise.
5161         (log1p_test): Likewise.
5162         (log2_test): Likewise.
5163         (logb_test): Likewise.
5164         (logb_test_downward): Likewise.
5165         (lround_test): Likewise.
5166         (llround_test): Likewise.
5167         (modf_test): Likewise.
5168         (nearbyint_test): Likewise.
5169         (nextafter_test): Likewise.
5170         (nexttoward_test): Likewise.
5171         (pow_test): Likewise.
5172         (pow_test_tonearest): Likewise.
5173         (pow_test_towardzero): Likewise.
5174         (pow_test_downward): Likewise.
5175         (pow_test_upward): Likewise.
5176         (remainder_test): Likewise.
5177         (remainder_test_tonearest): Likewise.
5178         (remainder_test_towardzero): Likewise.
5179         (remainder_test_downward): Likewise.
5180         (remainder_test_upward): Likewise.
5181         (remquo_test): Likewise.
5182         (rint_test): Likewise.
5183         (rint_test_tonearest): Likewise.
5184         (rint_test_towardzero): Likewise.
5185         (rint_test_downward): Likewise.
5186         (rint_test_upward): Likewise.
5187         (round_test): Likewise.
5188         (scalb_test): Likewise.
5189         (scalbn_test): Likewise.
5190         (scalbln_test): Likewise.
5191         (signbit_test): Likewise.
5192         (sin_test): Likewise.
5193         (sin_test_tonearest): Likewise.
5194         (sin_test_towardzero): Likewise.
5195         (sin_test_downward): Likewise.
5196         (sin_test_upward): Likewise.
5197         (sincos_test): Likewise.
5198         (sinh_test): Likewise.
5199         (sinh_test_tonearest): Likewise.
5200         (sinh_test_towardzero): Likewise.
5201         (sinh_test_downward): Likewise.
5202         (sinh_test_upward): Likewise.
5203         (sqrt_test): Likewise.
5204         (tan_test): Likewise.
5205         (tan_test_tonearest): Likewise.
5206         (tan_test_towardzero): Likewise.
5207         (tan_test_downward): Likewise.
5208         (tan_test_upward): Likewise.
5209         (tanh_test): Likewise.
5210         (tgamma_test): Likewise.
5211         (trunc_test): Likewise.
5212         (y0_test): Likewise.
5213         (y1_test): Likewise.
5214         (yn_test): Likewise.
5215         (significand_test): Likewise.
5217 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5219         [BZ #15381]
5220         * libio/genops.c (_IO_no_init): Initialize wide struct info.
5222 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5224         [BZ #14894]
5225         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5226         __ppc_mdoio and __ppc_mdoom.
5227         * manual/platform.texi: Document new functions __ppc_yield,
5228         __ppc_mdoio and __ppc_mdoom.
5230 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
5232         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5233         (main): Mention "tls" pseudo-hwcap is legacy.
5234         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5236 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5238         * math/gen-libm-test.pl (parse_args): Output only string of
5239         arguments as text for test name, not full call or descriptions of
5240         tests for extra outputs.
5241         (generate_testfile): Do not pass function name to parse_args.
5242         Generate this_func variable from START.
5243         * math/libm-test.inc (struct test_f_f_data): Rename test_name
5244         field to arg_str.
5245         (struct test_ff_f_data): Likewise.
5246         (test_ff_f_data_nexttoward): Likewise.
5247         (struct test_fi_f_data): Likewise.
5248         (struct test_fl_f_data): Likewise.
5249         (struct test_if_f_data): Likewise.
5250         (struct test_fff_f_data): Likewise.
5251         (struct test_c_f_data): Likewise.
5252         (struct test_f_f1_data): Likewise.  Remove field extra_name.
5253         (struct test_fF_f1_data): Likewise.
5254         (struct test_ffI_f1_data): Likewise.
5255         (struct test_c_c_data): Rename test_name field to arg_str.
5256         (struct test_cc_c_data): Likewise.
5257         (struct test_f_i_data): Likewise.
5258         (struct test_ff_i_data): Likewise.
5259         (struct test_f_l_data): Likewise.
5260         (struct test_f_L_data): Likewise.
5261         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
5262         and extra2_name.
5263         (COMMON_TEST_SETUP): New macro.
5264         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5265         (COMMON_TEST_CLEANUP): Likewise.
5266         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5267         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
5268         macros.
5269         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5270         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
5271         macros.
5272         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5273         (RUN_TEST_fff_f): Take argument string.  Call new setup and
5274         cleanup macros.
5275         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5276         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
5277         macros.
5278         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5279         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
5280         macros.
5281         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5282         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
5283         cleanup macros.
5284         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5285         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
5286         cleanup macros.
5287         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5288         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
5289         cleanup macros.
5290         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5291         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
5292         macros.
5293         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5294         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
5295         macros.
5296         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5297         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
5298         macros.
5299         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5300         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
5301         cleanup macros.
5302         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5303         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
5304         cleanup macros.
5305         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5306         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
5307         macros.
5308         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5309         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
5310         cleanup macros.
5311         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5312         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
5313         macros.
5314         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5315         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5316         macros.
5317         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5318         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5319         cleanup macros.
5320         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5322 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5324         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5325         to _sifields.sigfault.
5326         (si_addr_lsb): Define new macro.
5327         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5328         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5329         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5331 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5333         [BZ #15441]
5334         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5335         returns -1.
5336         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5337         null return -1.
5338         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5339         loading the domain.
5341 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5343         * math/gen-libm-test.pl (parse_args): Do not include expected
5344         result in test name.
5345         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5346         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5347         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5348         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5349         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5352 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5354         * benchtests/Makefile: Sort function entries.
5356         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5357         tanh, asinh, acosh, atanh.
5358         * benchtests/acos-inputs: New file.
5359         * benchtests/acosh-inputs: New file.
5360         * benchtests/asin-inputs: New file.
5361         * benchtests/asinh-inputs: New file.
5362         * benchtests/atanh-inputs: New file.
5363         * benchtests/cosh-inputs: New file.
5364         * benchtests/log-inputs: New file.
5365         * benchtests/sinh-inputs: New file.
5366         * benchtests/tanh-inputs: New file.
5368 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5370         [BZ #15339]
5371         * posix/tst-getaddrinfo4.c: New test.
5372         * posix/Makefile (tests): Add it.
5374 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5376         [BZ #15339]
5377         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5378         when no services were used.
5379         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5380         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5382 2013-05-21  Andreas Schwab  <schwab@suse.de>
5384         [BZ #15014]
5385         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5386         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5387         successful.
5388         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5389         redundant variable declarations and reallocation of buffer when
5390         parsing as IPv6 address.  Always set NSS status when called from
5391         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5392         buffer too small.  Correct computation of needed size.
5393         * nss/Makefile (tests): Add test-digits-dots.
5394         * nss/test-digits-dots.c: New test.
5396 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5398         * benchtests/Makefile: Remove instructions for adding
5399         benchmark tests.
5400         * benchtests/README: New file to explain how to execute and
5401         enhance the benchmark tests.
5403 2013-05-21  Andreas Schwab  <schwab@suse.de>
5405         [BZ #15493]
5406         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5407         * setjmp/tst-sigsetjmp.c: New test.
5409 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5411         * sysdeps/x86_64/memset.S (memset): New implementation.
5412         (__bzero): Likewise.
5413         (__memset_tail): New function.
5415 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5417         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5418         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5419         __memcpy_sse2_unaligned ifunc selection.
5420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5421         Add memcpy-sse2-unaligned.S.
5422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5423         Add: __memcpy_sse2_unaligned.
5425 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5427         [BZ #15490]
5428         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5429         math_force_eval before restoring floating-point envrionment.
5430         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5431         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5432         Likewise.
5433         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5434         <math_private.h>.
5435         (__nearbyintl): Use math_force_eval before restoring
5436         floating-point environment.
5437         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5439         * math/gen-libm-test.pl (special_functions): Remove.
5440         (parse_args): Don't handle TEST_extra.  Handle functions with no
5441         return value.
5442         * math/libm-test.inc (struct test_sincos_data): Replace with
5443         struct test_fFF_11_data.
5444         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5445         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5446         (sincos_test_data): Change element type to struct
5447         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5448         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5449         RUN_TEST_LOOP_sincos.
5450         * math/README.libm-test: Don't mention special handling of
5451         individual functions.
5452         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5453         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5454         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5455         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5456         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5459         * math/gen-libm-test.pl (get_variable): Remove function.
5460         (parse_args): Don't show pointer parameters to call in test
5461         names.  Use "extra output N" in test names for extra outputs
5462         rather than naming variables.
5464 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5466         [BZ #15488]
5467         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5468         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5469         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5470         double tests.
5471         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5472         disable.
5473         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5474         check_long_double.
5476         * math/gen-libm-test.pl (@tests): Remove variable.
5477         ($count): Likewise.
5478         (new_test): Remove function.
5479         (show_exceptions): New function.
5480         (special_functions): Use show_exceptions instead of new_test.
5481         (parse_args): Likewise.
5482         (generate_testfile): Pass only function name in generated call to
5483         print_max_error or print_complex_max_error.
5484         (get_ulps): Do not handle complex tests specially.
5485         (output_test): Rename to ...
5486         (get_all_ulps_for_test): ... this.  Return a string rather than
5487         printing to a file.  Require ulps to be present.
5488         (output_ulps): Generate arrays rather than #defines.
5489         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5490         (struct ulp_data): New type.
5491         (BUILD_COMPLEX_ULP): Remove macro.
5492         (compare_ulp_data): New function.
5493         (find_ulps): Likewise.
5494         (find_test_ulps): Likewise.
5495         (find_function_ulps): Likewise.
5496         (find_complex_function_ulps): Likewise.
5497         (print_max_error): Determine allowed ulps using
5498         find_function_ulps.
5499         (print_complex_max_error): Determine allowed ulps using
5500         find_complex_function_ulps.
5501         (check_float_internal): Determine max ulps using find_test_ulps.
5502         (check_float): Do not take max_ulp parameter.  Update call to
5503         check_float_internal.
5504         (check_complex): Likewise.
5505         (check_int): Do not take max_ulp parameter.
5506         (check_long): Likewise.
5507         (check_bool): Likewise.
5508         (check_longlong): Likewise.
5509         (struct test_f_f_data): Remove max_ulp field.
5510         (struct test_ff_f_data): Likewise.
5511         (struct test_ff_f_data_nexttoward): Likewise.
5512         (struct test_fi_f_data): Likewise.
5513         (struct test_fl_f_data): Likewise.
5514         (struct test_if_f_data): Likewise.
5515         (struct test_fff_f_data): Likewise.
5516         (struct test_c_f_data): Likewise.
5517         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5518         (struct test_fF_f1_data): Likewise.
5519         (struct test_ffI_f1_data): Likewise.
5520         (struct test_c_c_data): Remove max_ulp field.
5521         (struct test_cc_c_data): Likewise.
5522         (struct test_f_i_data): Likewise.
5523         (struct test_ff_i_data): Likewise.
5524         (struct test_f_l_data): Likewise.
5525         (struct test_f_L_data): Likewise.
5526         (struct test_sincos_data): Likewise.
5527         (RUN_TEST_f_f): Do not handle ulps.
5528         (RUN_TEST_LOOP_f_f): Likewise.
5529         (RUN_TEST_2_f): Likewise.
5530         (RUN_TEST_LOOP_2_f): Likewise.
5531         (RUN_TEST_fff_f): Likewise.
5532         (RUN_TEST_LOOP_fff_f): Likewise.
5533         (RUN_TEST_c_f): Likewise.
5534         (RUN_TEST_LOOP_c_f): Likewise.
5535         (RUN_TEST_f_f1): Likewise.
5536         (RUN_TEST_LOOP_f_f1): Likewise.
5537         (RUN_TEST_fF_f1): Likewise.
5538         (RUN_TEST_LOOP_fF_f1): Likewise.
5539         (RUN_TEST_fI_f1): Likewise.
5540         (RUN_TEST_LOOP_fI_f1): Likewise.
5541         (RUN_TEST_ffI_f1): Likewise.
5542         (RUN_TEST_LOOP_ffI_f1): Likewise.
5543         (RUN_TEST_c_c): Likewise.
5544         (RUN_TEST_LOOP_c_c): Likewise.
5545         (RUN_TEST_cc_c): Likewise.
5546         (RUN_TEST_LOOP_cc_c): Likewise.
5547         (RUN_TEST_f_i): Likewise.
5548         (RUN_TEST_LOOP_f_i): Likewise.
5549         (RUN_TEST_f_i_tg): Likewise.
5550         (RUN_TEST_LOOP_f_i_tg): Likewise.
5551         (RUN_TEST_ff_i_tg): Likewise.
5552         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5553         (RUN_TEST_f_b): Likewise.
5554         (RUN_TEST_LOOP_f_b): Likewise.
5555         (RUN_TEST_f_b_tg): Likewise.
5556         (RUN_TEST_LOOP_f_b_tg): Likewise.
5557         (RUN_TEST_f_l): Likewise.
5558         (RUN_TEST_LOOP_f_l): Likewise.
5559         (RUN_TEST_f_L): Likewise.
5560         (RUN_TEST_LOOP_f_L): Likewise.
5561         (RUN_TEST_sincos): Likewise.
5562         (RUN_TEST_LOOP_sincos): Likewise.
5564 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5566         [BZ #15480]
5567         [BZ #15485]
5568         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5569         main case of finite arguments, set rounding mode to FE_TONEAREST
5570         and discard exceptions.
5571         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5572         exceptions.
5573         (remainder_tonearest_test_data): New variable.
5574         (remainder_test_tonearest): New function.
5575         (remainder_towardzero_test_data): New variable.
5576         (remainder_test_towardzero): New function.
5577         (remainder_downward_test_data): New variable.
5578         (remainder_test_downward): New function.
5579         (remainder_upward_test_data): New variable.
5580         (remainder_test_upward): New function.
5581         (main): Call the new test functions.
5583         * math/libm-test.inc (struct test_f_f1_data): Remove field
5584         extra_init.
5585         (struct test_fF_f1_data): Likewise.
5586         (struct test_ffI_f1_data): Likewise.
5587         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5588         based on value of EXTRA_EXPECTED.
5589         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5590         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5591         EXTRA_VAR based on value of EXTRA_EXPECTED.
5592         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5593         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5594         EXTRA_VAR based on value of EXTRA_EXPECTED.
5595         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5596         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5597         EXTRA_VAR based on value of EXTRA_EXPECTED.
5598         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5599         * math/gen-libm-test.pl (parse_args): Don't output initializers
5600         for extra output values.
5602         * math/libm-test.inc (check_int): Expect result to be exactly
5603         equal to expected value and do not handle ulps.
5604         (check_long): Likewise.
5605         (check_longlong): Likewise.
5607         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5608         exceptions.
5609         (cimag_test_data): Likewise.
5610         (conj_test_data): Likewise.
5611         (copysign_test_data): Likewise.
5612         (cproj_test_data): Likewise.
5613         (creal_test_data): Likewise.
5614         (fabs_test_data): Likewise.
5615         (fdim_test_data): Likewise.
5616         (finite_test_data): Likewise.
5617         (floor_test_data): Likewise.
5618         (fmax_test_data): Likewise.
5619         (fmin_test_data): Likewise.
5620         (fmod_test_data): Likewise.
5621         (fpclassify_test_data): Likewise.
5622         (frexp_test_data): Likewise.
5623         (ilogb_test_data): Likewise.
5624         (isfinite_test_data): Likewise.
5625         (isgreater_test_data): Likewise.
5626         (isgreaterequal_test_data): Likewise.
5627         (isinf_test_data): Likewise.
5628         (isless_test_data): Likewise.
5629         (islessequal_test_data): Likewise.
5630         (islessgreater_test_data): Likewise.
5631         (isnan_test_data): Likewise.
5632         (isnormal_test_data): Likewise.
5633         (issignaling_test_data): Likewise.
5634         (isunordered_test_data): Likewise.
5635         (ldexp_test_data): Likewise.
5636         (lrint_test_data): Likewise.
5637         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5638         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5639         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5640         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5641         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5642         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5643         test input.
5644         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5645         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5646         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5647         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5648         that test input.
5649         (lrint_downward_test_data): Test for "inexact" exceptions.
5650         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5651         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5652         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5653         test input.
5654         (lrint_upward_test_data): Test for "inexact" exceptions.
5655         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5656         test input.
5657         (llrint_test_data): Test for "inexact" exceptions.
5658         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5659         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5660         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5661         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5662         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5663         (llrint_downward_test_data): Test for "inexact" exceptions.
5664         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5665         (llrint_upward_test_data): Test for "inexact" exceptions.
5666         (logb_test_data): Likewise.
5667         (logb_downward_test_data): Likewise.
5668         (nextafter_test_data): Likewise.
5669         (nexttoward_test_data): Likewise.
5670         (remainder_test_data): Likewise.
5671         (remquo_test_data): Likewise.
5672         (scalbn_test_data): Likewise.
5673         (scalbln_test_data): Likewise.
5674         (signbit_test_data): Likewise.
5675         (sqrt_test_data): Likewise.
5676         (significand_test_data): Likewise.
5678 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5680         [BZ #15424]
5681         * benchtests/bench-modf.c (struct args): Mark arg0 as
5682         volatile.
5683         * scripts/bench.pl: Mark members of struct args as volatile.
5685 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5687         [BZ # 15497]
5688         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5689         negative infinity on POWER6 or lower.
5690         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5692 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5694         [BZ #15442]
5695         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5696         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5697         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5698         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5699         (_FP_SETQNAN): New macro.
5700         (_FP_SETQNAN_SEMIRAW): Likewise.
5701         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5702         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5703         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5704         (FP_EXTEND): Use _FP_FRAC_SNANP.
5705         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5706         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5707         into account.
5708         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5709         New macro.
5710         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5711         Likewise.
5713 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5715         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5716         with DIVIDE_BY_ZERO_EXCEPTION.
5717         (gamma_test_data): Likewise.
5718         (lgamma_test_data): Likewise.
5719         (log_test_data): Likewise.
5720         (log10_test_data): Likewise.
5721         (log2_test_data): Likewise.
5722         (tgamma_test_data): Likewise.
5724         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5725         (acos_test_tonearest): Likewise.
5726         (acos_test_towardzero): Likewise.
5727         (acos_test_downward): Likewise.
5728         (acos_test_upward): Likewise.
5729         (acosh_test): Likewise.
5730         (asin_test): Likewise.
5731         (asin_test_tonearest): Likewise.
5732         (asin_test_towardzero): Likewise.
5733         (asin_test_downward): Likewise.
5734         (asin_test_upward): Likewise.
5735         (asinh_test): Likewise.
5736         (atan_test): Likewise.
5737         (atanh_test): Likewise.
5738         (atan2_test): Likewise.
5739         (cabs_test): Likewise.
5740         (cacos_test): Likewise.
5741         (cacosh_test): Likewise.
5742         (casin_test): Likewise.
5743         (casinh_test): Likewise.
5744         (catan_test): Likewise.
5745         (catanh_test): Likewise.
5746         (cbrt_test): Likewise.
5747         (ccos_test): Likewise.
5748         (ccosh_test): Likewise.
5749         (cexp_test): Likewise.
5750         (clog_test): Likewise.
5751         (clog10_test): Likewise.
5752         (cos_test): Likewise.
5753         (cos_test_tonearest): Likewise.
5754         (cos_test_towardzero): Likewise.
5755         (cos_test_downward): Likewise.
5756         (cos_test_upward): Likewise.
5757         (cosh_test): Likewise.
5758         (cosh_test_tonearest): Likewise.
5759         (cosh_test_towardzero): Likewise.
5760         (cosh_test_downward): Likewise.
5761         (cosh_test_upward): Likewise.
5762         (cpow_test): Likewise.
5763         (csin_test): Likewise.
5764         (csinh_test): Likewise.
5765         (csqrt_test): Likewise.
5766         (ctan_test): Likewise.
5767         (ctan_test_tonearest): Likewise.
5768         (ctan_test_towardzero): Likewise.
5769         (ctan_test_downward): Likewise.
5770         (ctan_test_upward): Likewise.
5771         (ctanh_test): Likewise.
5772         (ctanh_test_tonearest): Likewise.
5773         (ctanh_test_towardzero): Likewise.
5774         (ctanh_test_downward): Likewise.
5775         (ctanh_test_upward): Likewise.
5776         (erf_test): Likewise.
5777         (erfc_test): Likewise.
5778         (exp_test): Likewise.
5779         (exp_test_tonearest): Likewise.
5780         (exp_test_towardzero): Likewise.
5781         (exp_test_downward): Likewise.
5782         (exp_test_upward): Likewise.
5783         (exp10_test): Likewise.
5784         (exp2_test): Likewise.
5785         (expm1_test): Likewise.
5786         (fmod_test): Likewise.
5787         (gamma_test): Likewise.
5788         (hypot_test): Likewise.
5789         (j0_test): Likewise.
5790         (j1_test): Likewise.
5791         (jn_test): Likewise.
5792         (lgamma_test): Likewise.
5793         (log_test): Likewise.
5794         (log10_test): Likewise.
5795         (log1p_test): Likewise.
5796         (log2_test): Likewise.
5797         (logb_test_downward): Likewise.
5798         (pow_test): Likewise.
5799         (pow_test_tonearest): Likewise.
5800         (pow_test_towardzero): Likewise.
5801         (pow_test_downward): Likewise.
5802         (pow_test_upward): Likewise.
5803         (remainder_test): Likewise.
5804         (remquo_test): Likewise.
5805         (sin_test): Likewise.
5806         (sin_test_tonearest): Likewise.
5807         (sin_test_towardzero): Likewise.
5808         (sin_test_downward): Likewise.
5809         (sin_test_upward): Likewise.
5810         (sincos_test): Likewise.
5811         (sinh_test): Likewise.
5812         (sinh_test_tonearest): Likewise.
5813         (sinh_test_towardzero): Likewise.
5814         (sinh_test_downward): Likewise.
5815         (sinh_test_upward): Likewise.
5816         (sqrt_test): Likewise.
5817         (tan_test): Likewise.
5818         (tan_test_tonearest): Likewise.
5819         (tan_test_towardzero): Likewise.
5820         (tan_test_downward): Likewise.
5821         (tan_test_upward): Likewise.
5822         (tanh_test): Likewise.
5823         (tgamma_test): Likewise.
5824         (y0_test): Likewise.
5825         (y1_test): Likewise.
5826         (yn_test): Likewise.
5828         * math/gen-libm-test.pl (adjust_arg): Remove function.
5829         (special_function): Remove argument $in_func.  Only handle
5830         generating output for tables of tests, not inside functions.
5831         (parse_args): Likewise.
5832         (generate_testfile): Remove variable $in_func.  Update call to
5833         parse_args.
5834         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5835         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5836         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5837         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5838         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5839         (MAX_VALUE_INIT): Rename macro to max_value.
5840         (MIN_VALUE_INIT): Rename macro to min_value.
5841         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5842         (plus_zero): Remove variable.
5843         (minus_zero): Likewise.
5844         (plus_infty): Likewise.
5845         (minus_infty): Likewise.
5846         (qnan_value): Likewise.
5847         (max_value): Likewise.
5848         (min_value): Likewise.
5849         (min_subnorm_value): Likewise.
5851 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5853         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5854         uint64_t or uint32_t usage.
5855         * crypt/sha256-block.c: Likewise.
5856         * crypt/sha256-crypt.c: Likewise.
5857         * crypt/sha256.c: Likewise.
5858         * crypt/sha512-block.c: Likewise.
5859         * crypt/sha512-crypt.c: Likewise.
5860         * crypt/sha512.c: Likewise.
5861         * debug/backtrace-tst.c: Likewise.
5862         * debug/pcprofiledump.c: Likewise.
5863         * elf/cache.c: Likewise.
5864         * elf/dl-cache.c: Likewise.
5865         * elf/dl-misc.c: Likewise.
5866         * elf/dl-profile.c: Likewise.
5867         * elf/dl-support.c: Likewise.
5868         * elf/ldconfig.c: Likewise.
5869         * elf/sprof.c: Likewise.
5870         * iconv/dummy-repertoire.c: Likewise.
5871         * iconv/iconv_charmap.c: Likewise.
5872         * iconv/skeleton.c: Likewise.
5873         * iconvdata/8bit-generic.c: Likewise.
5874         * iconvdata/cp737.h: Likewise.
5875         * iconvdata/cp775.h: Likewise.
5876         * iconvdata/ibm1008.h: Likewise.
5877         * iconvdata/ibm1025.h: Likewise.
5878         * iconvdata/ibm1046.h: Likewise.
5879         * iconvdata/ibm1097.h: Likewise.
5880         * iconvdata/ibm1112.h: Likewise.
5881         * iconvdata/ibm1122.h: Likewise.
5882         * iconvdata/ibm1123.h: Likewise.
5883         * iconvdata/ibm1124.h: Likewise.
5884         * iconvdata/ibm1129.h: Likewise.
5885         * iconvdata/ibm1130.h: Likewise.
5886         * iconvdata/ibm1132.h: Likewise.
5887         * iconvdata/ibm1133.h: Likewise.
5888         * iconvdata/ibm1137.h: Likewise.
5889         * iconvdata/ibm1140.h: Likewise.
5890         * iconvdata/ibm1141.h: Likewise.
5891         * iconvdata/ibm1142.h: Likewise.
5892         * iconvdata/ibm1143.h: Likewise.
5893         * iconvdata/ibm1144.h: Likewise.
5894         * iconvdata/ibm1145.h: Likewise.
5895         * iconvdata/ibm1146.h: Likewise.
5896         * iconvdata/ibm1147.h: Likewise.
5897         * iconvdata/ibm1148.h: Likewise.
5898         * iconvdata/ibm1149.h: Likewise.
5899         * iconvdata/ibm1153.h: Likewise.
5900         * iconvdata/ibm1154.h: Likewise.
5901         * iconvdata/ibm1155.h: Likewise.
5902         * iconvdata/ibm1156.h: Likewise.
5903         * iconvdata/ibm1157.h: Likewise.
5904         * iconvdata/ibm1158.h: Likewise.
5905         * iconvdata/ibm1160.h: Likewise.
5906         * iconvdata/ibm1161.h: Likewise.
5907         * iconvdata/ibm1162.h: Likewise.
5908         * iconvdata/ibm1163.h: Likewise.
5909         * iconvdata/ibm1164.h: Likewise.
5910         * iconvdata/ibm1166.h: Likewise.
5911         * iconvdata/ibm1167.h: Likewise.
5912         * iconvdata/ibm12712.h: Likewise.
5913         * iconvdata/ibm1390.h: Likewise.
5914         * iconvdata/ibm1399.h: Likewise.
5915         * iconvdata/ibm16804.h: Likewise.
5916         * iconvdata/ibm4517.h: Likewise.
5917         * iconvdata/ibm4899.h: Likewise.
5918         * iconvdata/ibm4909.h: Likewise.
5919         * iconvdata/ibm4971.h: Likewise.
5920         * iconvdata/ibm5347.h: Likewise.
5921         * iconvdata/ibm803.h: Likewise.
5922         * iconvdata/ibm856.h: Likewise.
5923         * iconvdata/ibm901.h: Likewise.
5924         * iconvdata/ibm902.h: Likewise.
5925         * iconvdata/ibm9030.h: Likewise.
5926         * iconvdata/ibm9066.h: Likewise.
5927         * iconvdata/ibm921.h: Likewise.
5928         * iconvdata/ibm922.h: Likewise.
5929         * iconvdata/ibm9448.h: Likewise.
5930         * iconvdata/isiri-3342.h: Likewise.
5931         * iconvdata/jis0201.h: Likewise.
5932         * include/link.h: Likewise.
5933         * include/netdb.h: Likewise.
5934         * inet/check_native.c: Likewise.
5935         * inet/check_pf.c: Likewise.
5936         * inet/getipv4sourcefilter.c: Likewise.
5937         * inet/getnameinfo.c: Likewise.
5938         * inet/getsourcefilter.c: Likewise.
5939         * inet/htonl.c: Likewise.
5940         * inet/setipv4sourcefilter.c: Likewise.
5941         * inet/setsourcefilter.c: Likewise.
5942         * inet/test-inet6_opt.c: Likewise.
5943         * inet/tst-network.c: Likewise.
5944         * locale/C-collate.c: Likewise.
5945         * locale/C-ctype.c: Likewise.
5946         * locale/C-time.c: Likewise.
5947         * locale/C-translit.h: Likewise.
5948         * locale/loadarchive.c: Likewise.
5949         * locale/programs/3level.h: Likewise.
5950         * locale/programs/charmap.c: Likewise.
5951         * locale/programs/charmap.h: Likewise.
5952         * locale/programs/ld-address.c: Likewise.
5953         * locale/programs/ld-collate.c: Likewise.
5954         * locale/programs/ld-ctype.c: Likewise.
5955         * locale/programs/ld-identification.c: Likewise.
5956         * locale/programs/ld-measurement.c: Likewise.
5957         * locale/programs/ld-messages.c: Likewise.
5958         * locale/programs/ld-monetary.c: Likewise.
5959         * locale/programs/ld-name.c: Likewise.
5960         * locale/programs/ld-numeric.c: Likewise.
5961         * locale/programs/ld-paper.c: Likewise.
5962         * locale/programs/ld-telephone.c: Likewise.
5963         * locale/programs/ld-time.c: Likewise.
5964         * locale/programs/linereader.c: Likewise.
5965         * locale/programs/locale.c: Likewise.
5966         * locale/programs/locarchive.c: Likewise.
5967         * locale/programs/locfile.h: Likewise.
5968         * locale/programs/repertoire.c: Likewise.
5969         * locale/programs/simple-hash.c: Likewise.
5970         * locale/programs/simple-hash.h: Likewise.
5971         * malloc/memusage.c: Likewise.
5972         * malloc/memusagestat.c: Likewise.
5973         * nis/nis_defaults.c: Likewise.
5974         * nis/nis_hash.c: Likewise.
5975         * nis/nis_print.c: Likewise.
5976         * nis/nis_xdr.c: Likewise.
5977         * nscd/connections.c: Likewise.
5978         * nscd/hstcache.c: Likewise.
5979         * nscd/nscd_gethst_r.c: Likewise.
5980         * nscd/nscd_getserv_r.c: Likewise.
5981         * nscd/nscd_helper.c: Likewise.
5982         * nscd/servicescache.c: Likewise.
5983         * nss/makedb.c: Likewise.
5984         * nss/nss_db/db-XXX.c: Likewise.
5985         * nss/nss_db/db-initgroups.c: Likewise.
5986         * nss/nss_db/db-netgrp.c: Likewise.
5987         * nss/nss_files/files-network.c: Likewise.
5988         * nss/nss_files/files-parse.c: Likewise.
5989         * posix/bug-regex5.c: Likewise.
5990         * posix/fnmatch_loop.c: Likewise.
5991         * posix/regcomp.c: Likewise.
5992         * posix/regexec.c: Likewise.
5993         * posix/tst-rfc3484-2.c: Likewise.
5994         * posix/tst-rfc3484-3.c: Likewise.
5995         * posix/tst-rfc3484.c: Likewise.
5996         * resolv/nss_dns/dns-canon.c: Likewise.
5997         * resolv/nss_dns/dns-network.c: Likewise.
5998         * resolv/res_init.c: Likewise.
5999         * resolv/res_mkquery.c: Likewise.
6000         * resolv/tst-aton.c: Likewise.
6001         * stdlib/cxa_atexit.c: Likewise.
6002         * stdlib/cxa_finalize.c: Likewise.
6003         * stdlib/gen-fpioconst.c: Likewise.
6004         * stdlib/strtol_l.c: Likewise.
6005         * string/tst-endian.c: Likewise.
6006         * sunrpc/auth_des.c: Likewise.
6007         * sunrpc/clnt_udp.c: Likewise.
6008         * sunrpc/rtime.c: Likewise.
6009         * sunrpc/svcauth_des.c: Likewise.
6010         * sunrpc/xdr.c: Likewise.
6011         * sunrpc/xdr_intXX_t.c: Likewise.
6012         * sunrpc/xdr_rec.c: Likewise.
6013         * sysdeps/generic/ldconfig.h: Likewise.
6014         * sysdeps/generic/ldsodefs.h: Likewise.
6015         * sysdeps/generic/memusage.h: Likewise.
6016         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6017         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6018         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6019         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6020         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6021         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6022         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6023         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6024         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6025         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6026         * sysdeps/posix/getaddrinfo.c: Likewise.
6027         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6028         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6029         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6030         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6031         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6032         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6033         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6034         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6035         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6036         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6037         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6038         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6039         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6040         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6041         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6042         * sysdeps/x86_64/dl-tls.h: Likewise.
6043         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6044         * time/alt_digit.c: Likewise.
6045         * time/era.c: Likewise.
6046         * wcsmbs/tst-c16c32-1.c: Likewise.
6048 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6050         * math/libm-test.inc (struct test_sincos_data): New type.
6051         (RUN_TEST_LOOP_sincos): New macro.
6052         (sincos_test_data): New variable.
6053         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6055 2013-05-16  Richard Henderson  <rth@redhat.com>
6057         * math/atest-exp2.c (LIMB64): New macro.
6058         (CONSTSZ): New macro.
6059         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6060         (hexdig): Move ...
6061         (print_mpn_fp): ... to function scope.
6062         (read_mpn_hex): Remove.
6063         (get_log2): Remove.
6064         (exp2_mpn): Use mp_log2.
6065         (main): Use mp_exp1.
6067 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6069         * math/libm-test.inc: Remove comment about not testing "inexact"
6070         exceptions.
6071         (INEXACT_EXCEPTION): New macro.
6072         (NO_INEXACT_EXCEPTION): Likewise.
6073         (INVALID_EXCEPTION_OK): Update value.
6074         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6075         (OVERFLOW_EXCEPTION_OK): Likewise.
6076         (UNDERFLOW_EXCEPTION_OK): Likewise.
6077         (IGNORE_ZERO_INF_SIGN): Likewise.
6078         (ERRNO_UNCHANGED): Likewise.
6079         (ERRNO_EDOM): Likewise.
6080         (ERRNO_ERANGE): Likewise.
6081         (test_exceptions): Handle testing "inexact" exceptions.
6082         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6083         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6084         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6085         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6086         INEXACT_EXCEPTION.
6087         (rint_towardzero_test_data): Likewise.
6088         (rint_downward_test_data): Likewise.
6089         (rint_upward_test_data): Likewise.
6091         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6092         with OVERFLOW_EXCEPTION.
6093         (exp10_test_data): Likewise.
6094         (exp2_test_data): Likewise.
6095         (expm1_test_data): Likewise.
6096         (lgamma_test_data): Likewise.
6097         (pow_test_data): Likewise.
6098         (tgamma_test_data): Likewise.
6099         (yn_test_data): Remove duplicate test of overflow.
6101         * math/libm-test.inc (struct test_cc_c_data): New type.
6102         (RUN_TEST_LOOP_cc_c): New macro.
6103         (cpow_test_data): New variable.
6104         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6106         * math/libm-test.inc (struct test_f_L_data): New type.
6107         (RUN_TEST_LOOP_f_L): New macro.
6108         (llrint_test_data): New variable.
6109         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6110         (llrint_tonearest_test_data): New variable.
6111         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6112         (llrint_towardzero_test_data): New variable.
6113         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6114         (llrint_downward_test_data): New variable.
6115         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6116         (llrint_upward_test_data): New variable.
6117         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6118         (llround_test_data): New variable.
6119         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6121 2013-05-13  Peter Collingbourne  <pcc@google.com>
6123         * math/atest-exp2.c (get_log2): Remove const attribute.
6125 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6127         * math/libm-test.inc (struct test_f_l_data): New type.
6128         (RUN_TEST_LOOP_f_l): New macro.
6129         (lrint_test_data): New variable.
6130         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6131         (lrint_tonearest_test_data): New variable.
6132         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6133         (lrint_towardzero_test_data): New variable.
6134         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6135         (lrint_downward_test_data): New variable.
6136         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6137         (lrint_upward_test_data): New variable.
6138         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6139         (lround_test_data): New variable.
6140         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6142 2013-05-15  Peter Collingbourne  <pcc@google.com>
6144         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6145         (EXTRACT_WORDS64) Use where appropriate.
6146         (INSERT_WORDS64) Likewise.
6148         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6149         constraints with x constraints.
6150         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6152         * malloc/obstack.c (_obstack_compat): Add initializer.
6154 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6156         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6157         si_trapno and add si_addr_lsb to _sifields.sigfault.
6158         (si_trapno): Remove macro.
6159         (si_addr_lsb): Define new macro.
6160         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6162 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6164         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6165         instead of TEST_f_l.
6166         (llrint_test_tonearest): Likewise.
6167         (llrint_test_towardzero): Likewise.
6168         (llrint_test_downward): Likewise.
6169         (llrint_test_upward): Likewise.
6170         (llround_test): Likewise.
6172         * math/libm-test.inc (struct test_f_i_data): Add comment.
6173         (RUN_TEST_LOOP_f_b): New macro.
6174         (RUN_TEST_LOOP_f_b_tg): Likewise.
6175         (finite_test_data): New variable.
6176         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6177         (isfinite_test_data): New variable.
6178         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6179         (isinf_test_data): New variable.
6180         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6181         (isnan_test_data): New variable.
6182         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6183         (isnormal_test_data): New variable.
6184         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6185         (issignaling_test_data): New variable.
6186         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6187         (signbit_test_data): New variable.
6188         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6190         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6191         with INVALID_EXCEPTION.
6192         (acosh_test_data): Likewise.
6193         (asin_test_data): Likewise.
6194         (atanh_test_data): Likewise.
6195         (fmod_test_data): Likewise.
6196         (log_test_data): Likewise.
6197         (log10_test_data): Likewise.
6198         (log2_test_data): Likewise.
6199         (pow_test_data): Likewise.
6200         (sqrt_test_data): Likewise.
6201         (y0_test_data): Likewise.
6202         (y1_test_data): Likewise.
6203         (yn_test_data): Likewise.
6205         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6206         function contents.
6208         * math/libm-test.inc (struct test_ff_i_data): New type.
6209         (RUN_TEST_LOOP_ff_i_tg): New macro.
6210         (isgreater_test_data): New variable.
6211         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6212         (isgreaterequal_test_data): New variable.
6213         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6214         (isless_test_data): New variable.
6215         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6216         (islessequal_test_data): New variable.
6217         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6218         (islessgreater_test_data): New variable.
6219         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6220         (isunordered_test_data): New variable.
6221         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6223 2013-05-14  David S. Miller  <davem@davemloft.net>
6225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6227 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
6229         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6231         * math/libm-test.inc (struct test_fF_f1_data): Change type of
6232         extra_test to int.
6233         (struct test_f_i_data): Change type of max_ulp to int.
6235         * math/libm-test.inc (test_ffI_f1_data): New type.
6236         (RUN_TEST_LOOP_ffI_f1): New macro.
6237         (remquo_test_data): New variable.
6238         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6240         * setjmp/tst-setjmp-fp.c: New file.
6241         * setjmp/Makefile (tests): Add tst-setjmp-fp.
6242         (link-libm): New variable.
6243         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6245         * math/libm-test.inc (struct test_f_i_data): New type.
6246         (RUN_TEST_LOOP_f_i): New macro.
6247         (RUN_TEST_LOOP_f_i_tg): Likewise.
6248         (fpclassify_test_data): New variable.
6249         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6250         (ilogb_test_data): New variable.
6251         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6253         * math/libm-test.inc (scalbln_test): Correct function name in END
6254         call.
6256         * math/libm-test.inc (struct test_f_f1_data): Add comment.
6257         (RUN_TEST_LOOP_fI_f1): New macro.
6258         (frexp_test_data): New variable.
6259         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6261         * math/libm-test.inc (struct test_fF_f1_data): New type.
6262         (RUN_TEST_LOOP_fF_f1): New macro.
6263         (modf_test_data): New variable.
6264         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6266         * math/libm-test.inc (struct test_f_f1_data): New type.
6267         (RUN_TEST_LOOP_f_f1): New macro.
6268         (gamma_test_data): New variable.
6269         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6270         (lgamma_test_data): New variable.
6271         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6273 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
6275         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6276         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6277         (main): Comment "tls" pseudo-hwcap.
6279 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
6281         * math/libm-test.inc (struct test_fl_f_data): New type.
6282         (RUN_TEST_LOOP_fl_f): New variable.
6283         (scalbln_test_data): New variable.
6284         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6286         * math/libm-test.inc (struct test_fi_f_data): New type.
6287         (RUN_TEST_LOOP_fi_f): New macro.
6288         (ldexp_test_data): New variable.
6289         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6290         (scalbn_test_data): New variable.
6291         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6293         * math/libm-test.inc (struct test_c_f_data): New type.
6294         (RUN_TEST_LOOP_c_f): New macro.
6295         (cabs_test_data): New variable.
6296         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6297         (carg_test_data): New variable.
6298         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6299         (cimag_test_data): New variable.
6300         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6301         (creal_test_data): New variable.
6302         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6304         * math/libm-test.inc (struct test_if_f_data): New type.
6305         (RUN_TEST_LOOP_if_f): New macro.
6306         (jn_test_data): New variable.
6307         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6308         (yn_test_data): New variable.
6309         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6311         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6313 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6315         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6316         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6318 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6320         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6321         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6322         (bench-deps): Add bench-timing.h.
6323         * benchtests-bench-skeleton.c: Include bench-timing.h.
6324         (main): Use TIMING_* macros instead of clock_gettime.
6325         * benchtests/bench-timing.h: New file.
6327         [BZ #14582]
6328         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6329         Renamed from _LIB_VERSION.
6330         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6332 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6334         * math/libm-test.inc (struct test_fff_f_data): New type.
6335         (RUN_TEST_LOOP_fff_f): New macro.
6336         (fma_test_data): New variable.
6337         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6338         (fma_towardzero_test_data): New variable.
6339         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6340         (fma_downward_test_data): New variable.
6341         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6342         (fma_upward_test_data): New variable.
6343         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6345         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6346         (struct test_c_c_data): New type.
6347         (RUN_TEST_LOOP_c_c): New macro.
6348         (cacos_test_data): New variable.
6349         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6350         (cacosh_test_data): New variable.
6351         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6352         (casin_test_data): New variable.
6353         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6354         (casinh_test_data): New variable.
6355         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6356         (catan_test_data): New variable.
6357         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6358         (catanh_test_data): New variable.
6359         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6360         (ccos_test_data): New variable.
6361         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6362         (ccosh_test_data): New variable.
6363         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6364         (cexp_test_data): New variable.
6365         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6366         (clog_test_data): New variable.
6367         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6368         (clog10_test_data): New variable.
6369         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6370         (conj_test_data): New variable.
6371         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6372         (cproj_test_data): New variable.
6373         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6374         (csin_test_data): New variable.
6375         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6376         (csinh_test_data): New variable.
6377         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6378         (csqrt_test_data): New variable.
6379         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6380         (ctan_test_data): New variable.
6381         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6382         (ctan_tonearest_test_data): New variable.
6383         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6384         (ctan_towardzero_test_data): New variable.
6385         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6386         (ctan_downward_test_data): New variable.
6387         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6388         (ctan_upward_test_data): New variable.
6389         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6390         (ctanh_test_data): New variable.
6391         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6392         (ctanh_tonearest_test_data): New variable.
6393         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6394         (ctanh_towardzero_test_data): New variable.
6395         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6396         (ctanh_downward_test_data): New variable.
6397         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6398         (ctanh_upward_test_data): New variable.
6399         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6400         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6401         of BUILD_COMPLEX.
6403         * math/libm-test.inc (struct test_ff_f_data): New type.
6404         (struct test_ff_f_data_nexttoward): Likewise.
6405         (RUN_TEST_LOOP_2_f): New macro.
6406         (RUN_TEST_LOOP_ff_f): Likewise.
6407         (atan2_test_data): New variable.
6408         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6409         (copysign_test_data): New variable.
6410         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6411         (fdim_test_data): New variable.
6412         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6413         (fmax_test_data): New variable.
6414         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6415         (fmin_test_data): New variable.
6416         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6417         (fmod_test_data): New variable.
6418         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6419         (hypot_test_data): New variable.
6420         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6421         (nextafter_test_data): New variable.
6422         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6423         (nexttoward_test_data): New variable.
6424         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6425         (pow_test_data): New variable.
6426         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6427         (pow_tonearest_test_data): New variable.
6428         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6429         (pow_towardzero_test_data): New variable.
6430         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6431         (pow_downward_test_data): New variable.
6432         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6433         (pow_upward_test_data): New variable.
6434         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6435         (remainder_test_data): New variable.
6436         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6437         (scalb_test_data): New variable.
6438         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6439         * sysdeps/i386/fpu/libm-test-ulps: Update.
6441 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6443         * math/libm-test.inc (fma_test): Use max_value instead of local
6444         variable fltmax.
6445         (nextafter_test): Likewise.
6447         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6448         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6449         (acos_downward_test_data): New variable.
6450         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6451         (acos_upward_test_data): New variable.
6452         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6453         (acosh_test_data): New variable.
6454         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6455         (asin_test_data): New variable.
6456         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6457         (asin_tonearest_test_data): New variable.
6458         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6459         (asin_towardzero_test_data): New variable.
6460         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6461         (asin_downward_test_data): New variable.
6462         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6463         (asin_upward_test_data): New variable.
6464         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6465         (asinh_test_data): New variable.
6466         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6467         (atan_test_data): New variable.
6468         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6469         (atanh_test_data): New variable.
6470         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6471         (cbrt_test_data): New variable.
6472         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6473         (ceil_test_data): New variable.
6474         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6475         (cos_test_data): New variable.
6476         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6477         (cos_tonearest_test_data): New variable.
6478         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6479         (cos_towardzero_test_data): New variable.
6480         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6481         (cos_downward_test_data): New variable.
6482         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6483         (cos_upward_test_data): New variable.
6484         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6485         (cosh_test_data): New variable.
6486         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6487         (cosh_tonearest_test_data): New variable.
6488         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6489         (cosh_towardzero_test_data): New variable.
6490         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6491         (cosh_downward_test_data): New variable.
6492         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6493         (cosh_upward_test_data): New variable.
6494         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6495         (erf_test_data): New variable.
6496         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6497         (erfc_test_data): New variable.
6498         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6499         (exp_test_data): New variable.
6500         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6501         (exp_tonearest_test_data): New variable.
6502         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6503         (exp_towardzero_test_data): New variable.
6504         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6505         (exp_downward_test_data): New variable.
6506         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6507         (exp_upward_test_data): New variable.
6508         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6509         (exp10_test_data): New variable.
6510         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6511         (exp2_test_data): New variable.
6512         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6513         (expm1_test_data): New variable.
6514         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6515         (fabs_test_data): New variable.
6516         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6517         (floor_test_data): New variable.
6518         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6519         (j0_test_data): New variable.
6520         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6521         (j1_test_data): New variable.
6522         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6523         (log_test_data): New variable.
6524         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6525         (log10_test_data): New variable.
6526         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6527         (log1p_test_data): New variable.
6528         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6529         (log2_test_data): New variable.
6530         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6531         (logb_test_data): New variable.
6532         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6533         (logb_downward_test_data): New variable.
6534         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6535         (nearbyint_test_data): New variable.
6536         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6537         (rint_test_data): New variable.
6538         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6539         (rint_tonearest_test_data): New variable.
6540         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6541         (rint_towardzero_test_data): New variable.
6542         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6543         (rint_downward_test_data): New variable.
6544         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6545         (rint_upward_test_data): New variable.
6546         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6547         (round_test_data): New variable.
6548         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6549         (sin_test_data): New variable.
6550         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6551         (sin_tonearest_test_data): New variable.
6552         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6553         (sin_towardzero_test_data): New variable.
6554         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6555         (sin_downward_test_data): New variable.
6556         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6557         (sin_upward_test_data): New variable.
6558         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6559         (sinh_test_data): New variable.
6560         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6561         (sinh_tonearest_test_data): New variable.
6562         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6563         (sinh_towardzero_test_data): New variable.
6564         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6565         (sinh_downward_test_data): New variable.
6566         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6567         (sinh_upward_test_data): New variable.
6568         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6569         (sqrt_test_data): New variable.
6570         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6571         (tan_test_data): New variable.
6572         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6573         (tan_tonearest_test_data): New variable.
6574         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6575         (tan_towardzero_test_data): New variable.
6576         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6577         (tan_downward_test_data): New variable.
6578         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6579         (tan_upward_test_data): New variable.
6580         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6581         (tanh_test_data): New variable.
6582         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6583         (tgamma_test_data): New variable.
6584         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6585         (trunc_test_data): New variable.
6586         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6587         (y0_test_data): New variable.
6588         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6589         (y1_test_data): New variable.
6590         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6591         (significand_test_data): New variable.
6592         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6594 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6596         [BZ #12387]
6597         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6599 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6601         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6603 2013-05-10  Andreas Jaeger  <aj@suse.de>
6605         [BZ #15448]
6606         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6607         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6609 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6611         * math/gen-libm-test.pl (adjust_arg): New function.
6612         (special_functions): Handle generating output in both functions
6613         and arrays.
6614         (parse_args): Likewise.
6615         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6616         $in_func argument to parse_args.
6617         * math/libm-test.inc (struct test_f_f_data): New type.
6618         (IF_ROUND_INIT_): New macro.
6619         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6620         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6621         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6622         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6623         (ROUND_RESTORE_): Likewise.
6624         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6625         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6626         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6627         (ROUND_RESTORE_FE_UPWARD): Likewise.
6628         (RUN_TEST_LOOP_f_f): New macro.
6629         (acos_test_data): New variable.
6630         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6631         (acos_tonearest_test_data): New variable.
6632         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6634 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6636         * benchtests/bench-skeleton.c (startup): Fix coding style.
6638 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6640         [BZ #6809]
6641         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6642         negative infinity argument.
6643         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6644         negative infinity argument.
6645         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6646         negative infinity argument.
6647         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6648         domain errors.
6650 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6652         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6653         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6654         * iconv/iconv_prog.c (main): Likewise.
6655         * locale/programs/charmap-dir.c (charmap_readdir)
6656         (fopen_uncompressed): Likewise.
6657         * locale/programs/locfile.c (siblings_uncached)
6658         (write_locale_data): Use lstat64 instead of lstat.
6659         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6660         stat.
6662 2013-05-10  Andreas Jaeger  <aj@suse.de>
6664         [BZ #15395]
6665         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6666         localization.
6667         Include <locale.h>.
6669 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6671         * elf/dl-close.c (_dl_close_worker): Add comments.
6673 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6675         [BZ #15359]
6676         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6677         high part of pi/2.
6678         (__ieee754_rem_pio2l): Update comments.
6680         [BZ #15429]
6681         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6682         high part of pi/2.
6683         (__ieee754_rem_pio2l): Update comments.
6685         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6686         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6688         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6689         M_PI_4l.
6691         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6692         (M_PI_34_LOG10El): Likewise.
6693         (M_PI2_LOG10El): Likewise.
6694         (M_PI4_LOG10El): Likewise.
6695         (M_PI_LOG10El): Likewise.
6697 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6701 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6703         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6704         (MINUS_ZERO_INIT): Likewise.
6705         (PLUS_INFTY_INIT): Likewise.
6706         (MINUS_INFTY_INIT): Likewise.
6707         (QNAN_VALUE_INIT): Likewise.
6708         (MAX_VALUE_INIT): Likewise.
6709         (MIN_VALUE_INIT): Likewise.
6710         (MIN_SUBNORM_VALUE_INIT): Likewise.
6711         (plus_zero): Initialize with PLUS_ZERO_INIT.
6712         (minus_zero): Initialize with MINUS_ZERO_INIT.
6713         (plus_infty): Initialize with PLUS_INFTY_INIT.
6714         (minus_infty): Initialize with MINUS_INFTY_INIT.
6715         (qnan_value): Initialize with QNAN_VALUE_INIT.
6716         (max_value): Initialize with MAX_VALUE_INIT.
6717         (min_value): Initialize with MIN_VALUE_INIT.
6718         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6720         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6721         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6722         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6723         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6725         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6726         (RUN_TEST_2_f): Likewise.
6727         (RUN_TEST_ff_f): Likewise.
6728         (RUN_TEST_fi_f): Likewise.
6729         (RUN_TEST_fl_f): Likewise.
6730         (RUN_TEST_fff_f): Likewise.
6731         (RUN_TEST_c_f): Likewise.
6732         (RUN_TEST_f_f1): Likewise.
6733         (RUN_TEST_fF_f1): Likewise.
6734         (RUN_TEST_fI_f1): Likewise.
6735         (RUN_TEST_ffI_f1): Likewise.
6736         (RUN_TEST_c_c): Likewise.
6737         (RUN_TEST_cc_c): Likewise.
6738         (RUN_TEST_f_i): Likewise.
6739         (RUN_TEST_f_i_tg): Likewise.
6740         (RUN_TEST_ff_i_tg): Likewise.
6741         (RUN_TEST_f_b): Likewise.
6742         (RUN_TEST_f_b_tg): Likewise.
6743         (RUN_TEST_f_l): Likewise.
6744         (RUN_TEST_f_L): Likewise.
6745         (RUN_TEST_sincos): Likewise.
6746         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6747         whether to show exceptions.  Do not include ");\n" in return
6748         value.
6749         (special_functions): Output call to RUN_TEST_sincos instead of
6750         check_float calls.  Update calls to new_test.
6751         (parse_args): Output call to single RUN_TEST_* macro instead of
6752         check_* calls and other assignments.  Update calls to new_test.
6754         [BZ #2546]
6755         [BZ #2560]
6756         [BZ #5159]
6757         [BZ #15426]
6758         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6759         input to result for tgamma overflow.
6760         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6761         (gamma_coeff): New variable.
6762         (NCOEFF): New macro.
6763         (gamma_positive): New function.
6764         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6765         underflow here.  Use gamma_positive instead of exp (lgamma) for
6766         other arguments.
6767         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6768         (gamma_coeff): New variable.
6769         (NCOEFF): New macro.
6770         (gammaf_positive): New function.
6771         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6772         underflow here.  Use gamma_positive instead of exp (lgamma) for
6773         other arguments.
6774         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6775         (gamma_coeff): New variable.
6776         (NCOEFF): New macro.
6777         (gammal_positive): New function.
6778         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6779         underflow here.  Use gamma_positive instead of exp (lgamma) for
6780         other arguments.
6781         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6782         (gamma_coeff): New variable.
6783         (NCOEFF): New macro.
6784         (gammal_positive): New function.
6785         (__ieee754_gammal_r): Handle positive infinity, overflow and
6786         underflow here.  Handle NaN the same as positive infinity.  Remove
6787         check x < 0xffffffff for negative integers.  Use gamma_positive
6788         instead of exp (lgamma) for other arguments.
6789         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6790         (gamma_coeff): New variable.
6791         (NCOEFF): New macro.
6792         (gammal_positive): New function.
6793         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6794         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6795         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6796         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6797         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6798         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6799         * sysdeps/generic/math_private.h (__gamma_productf): New
6800         prototype.
6801         (__gamma_product): Likewise.
6802         (__gamma_productl): Likewise.
6803         * math/Makefile (libm-calls): Add gamma_product.
6804         * math/libm-test.inc (tgamma_test): Add more tests.
6805         * sysdeps/i386/fpu/libm-test-ulps: Update.
6806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6808 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6810         * benchtests/bench-skeleton.c (main): Preheat CPU.
6812 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6814         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6816 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6818         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6819         and _dl_skip_args_internal.
6821 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6823         * manual/message.texi (Message Translation): Talk about users.
6824         Message to key mapping impacts design.
6826 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6828         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6830         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6832         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6833         * sysdeps/wordsize-64/glob64.c: ... here.
6835         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6836         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6837         New macros.
6839         * debug/getlogin_r_chk.c: Moved to ...
6840         * login/getlogin_r_chk.c: ... here.
6841         * debug/Makefile (routines): Move getlogin_r_chk to ...
6842         * login/Makefile (routines): ... here.
6843         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6844         * login/Versions (libc: GLIBC_2.4): ... here.
6846         * io/poll.c (__poll): Renamed from poll.
6847         Add libc_hidden_def.
6848         (poll): Define as weak alias.
6850         * debug/ptsname_r_chk.c: Moved to ...
6851         * login/ptsname_r_chk.c: ... here.
6852         * debug/Makefile (routines): Move ptsname_r_chk to ...
6853         * login/Makefile (routines): ... here.
6854         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6855         * login/Versions (libc: GLIBC_2.4): ... here.
6857         * posix/getlogin.c: Moved to ...
6858         * login/getlogin.c: ... here.
6859         * posix/getlogin_r.c: Moved to ...
6860         * login/getlogin_r.c: ... here.
6861         * posix/getlogin_r.c: Moved to ...
6862         * login/getlogin_r.c: ... here.
6863         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6864         * login/Makefile (routines): ... here.
6865         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6866         * login/Versions (libc: GLIBC_2.0): ... here.
6868         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6869         (setrlimit): Define as weak alias.
6871         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6872         Call __ names for open, ftruncate, and close.
6873         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6874         (truncate): Define as weak alias.
6876 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6878         * math/gen-libm-test.pl (parse_args): Initialize x before each
6879         test of frexp, modf and remquo.
6881         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6882         test signgam value.
6884 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6886         [BZ #15418]
6887         [BZ #15419]
6888         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6889         internal tests.
6890         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6892 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6894         * elf/dl-writev.h: New file.
6895         * elf/dl-misc.c: Include it.
6896         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6897         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6899 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6901         * math/libm-test.inc (noXFails): Remove variable.
6902         (noXPasses): Likewise.
6903         (BUILD_COMPLEX_INT): Remove macro.
6904         (print_screen): Remove xfail argument.
6905         (print_screen_max_error): Likewise.
6906         (update_stats): Likewise.
6907         (print_max_error): Likewise.  Update calls to other affected
6908         functions.
6909         (print_complex_max_error): Likewise.
6910         (test_single_exception): Update calls to print_screen.
6911         (test_single_errno): Likewise.
6912         (check_float_internal): Remove xfail argument.  Update calls to
6913         other affected functions.
6914         (check_float): Likewise.
6915         (check_complex): Likewise.
6916         (check_int): Likewise.
6917         (check_long): Likewise.
6918         (check_bool): Likewise.
6919         (check_longlong): Likewise.
6920         (main): Don't print noXFails and noXPasses.
6921         * math/gen-libm-test.pl (top level): Don't mention expected
6922         failure handling in comment.
6923         (new_test): Don't handle expected failures.
6924         (parse_args): Don't mention expected failure handling in comment.
6925         (generate_testfile): Don't handle expected failures.
6926         (parse_ulps): Likewise.
6927         (print_ulps_file): Likewise.
6928         (get_failure): Remove function.
6929         (output_test): Don't handle expected failures.
6930         * make/README.libm-test: Don't mention expected failure handling.
6932         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6933         (minus_zero): Likewise.
6934         (plus_infty): Likewise.
6935         (minus_infty): Likewise.
6936         (qnan_value): Likewise.
6937         (max_value): Likewise.
6938         (min_value): Likewise.
6939         (min_subnorm_value): Likewise.
6940         (initialize): Do not initialize those variables dynamically.
6942 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6944         * io/open.c (__open_2): Moved to ...
6945         * io/open_2.c: ... this new file.
6946         * io/open64.c (__open64_2): Moved to ...
6947         * io/open64_2.c: ... this new file.
6948         * io/openat.c (__openat_2): Moved to ...
6949         * io/openat_2.c: ... this new file.
6950         * io/openat64.c (__openat64_2): Moved to ...
6951         * io/openat64_2.c: ... this new file.
6952         * io/Makefile (routines): Add them.
6953         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6954         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6955         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6956         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6957         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6958         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6959         (__openat64): Add hidden_ver.
6960         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6961         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6963         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6964         Separately conditionalize setting of GLRO(dl_sysinfo) so
6965         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6966         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6968 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6970         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6971         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6972         definition.
6973         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6974         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6975         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6976         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6977         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6979 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6981         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6982         test signgam value.
6984         * math/libm-test.inc (hypot_test): Do not use
6985         IGNORE_ZERO_INF_SIGN.
6987 2013-05-03  Andreas Jaeger  <aj@suse.de>
6989         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6990         Linux 3.9.
6991         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6992         (PF_MAX): Adjust for VSOCK change.
6994 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6998 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7000         [BZ #15264]
7001         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7002         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7003         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7005 2013-05-02  David S. Miller  <davem@davemloft.net>
7007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7009 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7011         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7013 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7015         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7017 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7019         [BZ #14952]
7020         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7021         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7022         Use __attribute__ ((__gnu_inline__)).
7023         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7024         Don't use __attribute__ ((__gnu_inline__)).
7026 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7028         [BZ #15423]
7029         * math/s_catan.c (__catan): Handle small real or imaginary part of
7030         input specially to avoid spurious underflow.
7031         * math/s_catanf.c (__catanf): Likewise.
7032         * math/s_catanh.c (__catanh): Likewise.
7033         * math/s_catanhf.c (__catanhf): Likewise.
7034         * math/s_catanhl.c (__catanhl): Likewise.
7035         * math/s_catanl.c (__catanl): Likewise.
7036         * math/libm-test.inc (catan_test): Add more tests.
7037         (catanh_test): Likewise.
7038         * sysdeps/i386/fpu/libm-test-ulps: Update.
7039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7041 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7045 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7047         [BZ #15416]
7048         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7049         accurately for denominator in atan2.
7050         * math/s_catanf.c (__catanf): Likewise.
7051         * math/s_catanh.c (__catanh): Likewise.
7052         * math/s_catanhf.c (__catanhf): Likewise.
7053         * math/s_catanhl.c (__catanhl): Likewise.
7054         * math/s_catanl.c (__catanl): Likewise.
7055         * math/libm-test.inc (catan_test): Add more tests.
7056         (catanh_test): Likewise.
7057         * sysdeps/i386/fpu/libm-test-ulps: Update.
7058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7060 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7062         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7064         * benchtests/Makefile (bench): Remove slow benchmarks.
7065         * benchtests/atan-inputs: Add slow benchmark inputs.
7066         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7067         (BENCH_FUNC): Accept variant offset.
7068         (VARIANT): Define.
7069         * benchtests/bench-skeleton.c (main): Run benchmark for each
7070         variant.
7071         * benchtests/cos-inputs: Add slow benchmark inputs.
7072         * benchtests/exp-inputs: Likewise.
7073         * benchtests/pow-inputs: Likewise.
7074         * benchtests/sin-inputs: Likewise.
7075         * benchtests/slowatan-inputs: Remove.
7076         * benchtests/slowatan.c: Remove.
7077         * benchtests/slowcos-inputs: Remove.
7078         * benchtests/slowcos.c: Remove.
7079         * benchtests/slowexp-inputs: Remove.
7080         * benchtests/slowexp.c: Remove.
7081         * benchtests/slowpow-inputs: Remove.
7082         * benchtests/slowpow.c: Remove.
7083         * benchtests/slowsin-inputs: Remove.
7084         * benchtests/slowsin.c: Remove.
7085         * benchtests/slowtan-inputs: Remove.
7086         * benchtests/slowtan.c: Remove.
7087         * benchtests/tan-inputs: Add slow benchmark inputs.
7088         * scripts/bench.pl: Parse comments and directives.
7090         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7091         in CPPFLAGS.
7092         ($(objpfx)bench-%.c): Remove *-ITER.
7093         * benchtests/bench-modf.c: Remove definition of ITER.
7094         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7095         (main): Loop for DURATION seconds instead of fixed number of
7096         iterations.
7097         * scripts/bench.pl: Don't expect iterations in parameters.
7099 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7101         * io/fchdir.c (__fchdir): Renamed from fchdir.
7102         (fchdir): Define as weak alias.
7104 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7106         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7107         (ERRNO_EDOM): Likewise.
7108         (ERRNO_ERANGE): Likewise.
7109         (noErrnoTests): New variable.
7110         (init_max_error): Set errno to 0.
7111         (test_single_errno): New function.
7112         (test_errno): Likewise.
7113         (check_float_internal): Call test_errno.  Set errno to 0.
7114         (check_complex): Refer to errno tests in comment.
7115         (check_int): Call test_errno.  Set errno to 0.
7116         (check_long): Likewise.
7117         (check_bool): Likewise.
7118         (check_longlong): Likewise.
7119         (cos_test): Use ERRNO_* flags for errno tests instead of
7120         check_int.
7121         (expm1_test): Likewise.
7122         (fmod_test): Likewise.
7123         (ilogb_test): Likewise.
7124         (lgamma_test): Likewise.
7125         (pow_test): Likewise.
7126         (remainder_test): Likewise.
7127         (sin_test): Likewise.
7128         (tan_test): Likewise.
7129         (yn_test): Likewise.
7130         (initialize): Set errno to 0.
7131         (main): Print number of errno tests.
7132         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7134 2013-04-29  Andreas Jaeger  <aj@suse.de>
7136         [BZ #15084]
7137         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7138         and RES_USEVC.
7140         [BZ #15085]
7141         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7142         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7143         unimplemented.
7145         [BZ #15380]
7146         * stdlib/random.c (__initstate): Return NULL if
7147         __initstate fails.
7149         [BZ #15086]
7150         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7151         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7152         RES_SNGLKUPREOP.
7154 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7158 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7160         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7161         of individual tests.
7162         (casin_test): Likewise.
7163         (casinh_test): Likewise.
7165 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7167         [BZ #15409]
7168         * math/s_catan.c (__catan): Handle arguments with large real or
7169         imaginary part separately without squaring.
7170         * math/s_catanf.c (__catanf): Likewise.
7171         * math/s_catanh.c (__catanh): Likewise.
7172         * math/s_catanhf.c (__catanhf): Likewise.
7173         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7174         and redefine.
7175         (__catanhl): Handle arguments with large real or imaginary part
7176         separately without squaring.
7177         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7178         and redefine.
7179         (__catanl): Handle arguments with large real or imaginary part
7180         separately without squaring.
7181         * math/libm-test.inc (catan_test): Add more tests.
7182         (catanh_test): Likewise.
7183         * sysdeps/i386/fpu/libm-test-ulps: Update.
7184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7186 2013-04-27  Andreas Jaeger  <aj@suse.de>
7188         [BZ #15007]
7189         * stdlib/stdlib.h: Update guards for qecvt.
7190         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7191         <stdlib.h>.
7193 2013-04-27  Allan McRae  <allan@archlinux.org>
7195         * sysdeps/i386/fpu/libm-test-ulps: Update.
7197 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7199         [BZ #15406]
7200         * math/s_catan.c: Include <float.h>.
7201         (__catan): Ensure underflow exception occurs for underflowed
7202         result.
7203         * math/s_catanf.c: Include <float.h>.
7204         (__catanf): Ensure underflow exception occurs for underflowed
7205         result.
7206         * math/s_catanh.c: Include <float.h>.
7207         (__catanh): Ensure underflow exception occurs for underflowed
7208         result.
7209         * math/s_catanhf.c: Include <float.h>.
7210         (__catanhf): Ensure underflow exception occurs for underflowed
7211         result.
7212         * math/s_catanhl.c: Include <float.h>.
7213         (__catanhl): Ensure underflow exception occurs for underflowed
7214         result.
7215         * math/s_catanl.c: Include <float.h>.
7216         (__catanl): Ensure underflow exception occurs for underflowed
7217         result.
7218         * math/libm-test.inc (catan_test): Add more tests.
7219         (catanh_test): Likewise.
7221         [BZ #15405]
7222         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7223         underflowed result.
7224         * math/s_ccoshf.c (__ccoshf): Likewise.
7225         * math/s_ccoshl.c (__ccoshl): Likewise.
7226         * math/s_csin.c (__csin): Likewise.
7227         * math/s_csinf.c (__csinf): Likewise.
7228         * math/s_csinh.c (__csinh): Likewise.
7229         * math/s_csinhf.c (__csinhf): Likewise.
7230         * math/s_csinhl.c (__csinhl): Likewise.
7231         * math/s_csinl.c (__csinl): Likewise.
7232         * math/libm-test.inc (ccos_test): Add more tests.
7233         (ccosh_test): Likewise.
7234         (csin_test): Likewise.
7235         (csinh_test): Likewise.
7237 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7239         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7240         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7241         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7242         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7243         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7244         powerpc/power5+/fpu folders.
7245         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7248 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7252 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
7254         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7255         additions to variable.
7256         [$(config-machine) = x86_64] (modules-names): Likewise.
7257         ($(objpfx)tst-audit3): Remove dependency.
7258         ($(objpfx)tst-audit3.out): Likewise.
7259         ($(objpfx)tst-audit4): Likewise.
7260         ($(objpfx)tst-audit4.out): Likewise.
7261         ($(objpfx)tst-audit5): Likewise.
7262         ($(objpfx)tst-audit5.out): Likewise.
7263         ($(objpfx)tst-audit6): Likewise.
7264         ($(objpfx)tst-audit6.out): Likewise.
7265         ($(objpfx)tst-audit7): Likewise.
7266         ($(objpfx)tst-audit7.out): Likewise.
7267         (tst-audit3-ENV): Remove variable.
7268         (tst-audit4-ENV): Likewise.
7269         (tst-audit5-ENV): Likewise.
7270         (tst-audit6-ENV): Likewise.
7271         (tst-audit7-ENV): Likewise.
7272         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7273         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7274         addition to variable.
7275         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7276         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7277         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7278         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7279         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7280         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7281         tst-audit3, tst-audit4 and tst-audit5.
7282         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7283         tst-audit6 and tst-audit7.
7284         [$(subdir) = elf] (modules-names): Add audit modules for those
7285         tests.
7286         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7287         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7288         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7289         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7290         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7291         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7292         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7293         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7294         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7295         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7296         [$(subdir) = elf] (tst-audit3-ENV): New variable.
7297         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7298         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7299         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7300         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7301         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7302         Likewise.
7303         [$(subdir) = elf && $(config-cflags-avx) = yes]
7304         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7305         [$(subdir) = elf && $(config-cflags-avx) = yes]
7306         (CFLAGS-tst-auditmod4a.c): Likewise.
7307         [$(subdir) = elf && $(config-cflags-avx) = yes]
7308         (CFLAGS-tst-auditmod4b.c): Likewise.
7309         [$(subdir) = elf && $(config-cflags-avx) = yes]
7310         (CFLAGS-tst-auditmod6b.c): Likewise.
7311         [$(subdir) = elf && $(config-cflags-avx) = yes]
7312         (CFLAGS-tst-auditmod6c.c): Likewise.
7313         [$(subdir) = elf && $(config-cflags-avx) = yes]
7314         (CFLAGS-tst-auditmod7b.c): Likewise.
7315         * elf/tst-audit3.c: Move to ...
7316         * sysdeps/x86_64/tst-audit3.c: ... here.
7317         * elf/tst-audit4.c: Move to ...
7318         * sysdeps/x86_64/tst-audit4.c: ... here.
7319         * elf/tst-audit5.c: Move to ...
7320         * sysdeps/x86_64/tst-audit5.c: ... here.
7321         * elf/tst-audit6.c: Move to ...
7322         * sysdeps/x86_64/tst-audit6.c: ... here.
7323         * elf/tst-audit7.c: Move to ...
7324         * sysdeps/x86_64/tst-audit7.c: ... here.
7325         * elf/tst-auditmod3a.c: Move to ...
7326         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7327         * elf/tst-auditmod3b.c: Move to ...
7328         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7329         * elf/tst-auditmod4a.c: Move to ...
7330         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7331         * elf/tst-auditmod4b.c: Move to ...
7332         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7333         * elf/tst-auditmod5a.c: Move to ...
7334         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7335         * elf/tst-auditmod5b.c: Move to ...
7336         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7337         * elf/tst-auditmod6a.c: Move to ...
7338         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7339         * elf/tst-auditmod6b.c: Move to ...
7340         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7341         * elf/tst-auditmod6c.c: Move to ...
7342         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7343         * elf/tst-auditmod7a.c: Move to ...
7344         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7345         * elf/tst-auditmod7b.c: Move to ...
7346         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7348 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7350         [BZ #15366]
7351         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7352         define unconditionally.
7353         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7354         define unconditionally.
7355         (INT8_C, INT16_C, etc.): Likewise.
7357 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7359         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7360         __ehdr_start with hidden visibility.
7362         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7364 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7366         * math/libm-test.inc (cos_test): Use accurate hex constants.
7367         (sincost_test): Likewise.
7369 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7371         * math/libm-test.inc (catan_test): Add more tests.
7372         (catanh_test): Likewise.
7374         * math/s_catanf.c (__catanf): Use suffixed floating-point
7375         constants.
7376         * math/s_catanhf.c (__catanhf): Likewise.
7377         * math/s_catanhl.c (__catanhl): Likewise.
7378         * math/s_catanl.c (__catanl): Likewise.
7380         [BZ #15394]
7381         * math/s_catan.c (__catan): Calculate imaginary part of result
7382         with log1p not log unless computing log of number close to 0.
7383         * math/s_catanf.c (__catanf): Likewise.
7384         * math/s_catanl.c (__catanl): Likewise.
7385         * math/s_catanh.c (__catanh): Calculate real part of result with
7386         log1p not log unless computing log of number close to 0.
7387         * math/s_catanhf.c (__catanhf): Likewise.
7388         * math/s_catanhl.c (__catanhl): Likewise.
7389         * math/libm-test.inc (catan_test): Add more tests.
7390         (catanh_test): Likewise.
7391         * sysdeps/i386/fpu/libm-test-ulps: Update.
7392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7394 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7396         * benchtests/Makefile: Mention files in which fast and slow
7397         paths of math functions are implemented.
7399 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7401         * sysdeps/posix/timespec_get.c: New file.
7403 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7405         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7406         POWER.
7407         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7408         for POWER.
7409         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7410         powerpc/power5/fpu folders.
7411         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7412         * benchtests/Makefile: Add modf testcase.
7413         * benchtests/bench-modf.c: New file: Benchmark test for mo
7415 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7417         [BZ #14888]
7418         * time/Makefile (tests): Add tst-strptime-whitespace.
7419         * time/strptime_l.c (get_number): Use ISSPACE.
7420         (__strptime_internal): Likewise.
7421         * time/tst-strptime-whitespace.c: New test case.
7423 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7425         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7426         member.
7427         (_nss_files_init): Set it here.
7429 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7431         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7432         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7433         unsigned.
7435 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7437         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7439 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7441         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7442         size just once.
7444 2013-04-21  David S. Miller  <davem@davemloft.net>
7446         * po/ru.po: Update Russion translation from translation project.
7448 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7450         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7451         and setfsgid.
7453 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7455         * configure.in: Remove i386 configure warning. Remove i386 case.
7456         * configure: Regenerate.
7457         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7458         Add example to error message.
7459         * sysdeps/i386/configure: Regenerate.
7461 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7463         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7464         slowtan.
7465         * benchtests/cos-inputs: New file.
7466         * benchtests/slowcos-inputs: New file.
7467         * benchtests/slowcos.c: New file.
7468         * benchtests/slowtan-inputs: New file.
7469         * benchtests/slowtan.c: New file.
7470         * benchtests/tan-inputs: New file.
7472 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7474         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7475         considered kosher.
7477 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7479         * benchtests/Makefile: Include cppflags-iterator.mk to add
7480         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7482         * Makefile.in (bench-clean): New target.
7483         * benchtests/Makefile (bench-clean): Likewise.
7485 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7487         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7489 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7491         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7493 2013-04-15  Andreas Schwab  <schwab@suse.de>
7495         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7496         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7497         * nscd/pwdcache.c (cache_addpw): Likewise.
7498         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7499         more than recsize.
7501 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7503         * benchtests/Makefile (bench): Write all output to
7504         bench-out.tmp together.
7506 2013-04-15  Andreas Schwab  <schwab@suse.de>
7508         * nscd/nscd.c (main): Don't fork again after closing files.
7510 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7512         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7514         * benchtests/Rules (bench-deps): Collect dependencies into a
7515         single variable.  Add Makefile to dependencies.
7516         ($(objpfx)bench-%.c): Depend on bench-deps.
7518 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7519             Xavier Roche  <roche+kml2@exalead.com>
7521         [BZ #15361]
7522         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7523         just that it's a file descriptor.
7524         * manual/llio.texi (Synchronizing AIO Operations): Update description
7525         for EBADF error from aio_fsync.
7527 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7529         * Rules (bench): Move target definition...
7530         * benchtests/Makefile: ... here.
7532 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7534         * math/libm-test.inc (cos_test): Fix PI/2 test.
7535         (sincos_test): Likewise.
7536         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7537         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7539 2013-04-11  Andreas Schwab  <schwab@suse.de>
7541         [BZ #13988]
7542         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7543         accept exponent character only when digits were seen.
7544         * stdio-common/Makefile (tests): Add bug26.
7545         * stdio-common/bug26.c: New file.
7547         [BZ #14293]
7548         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7549         non-freeable.
7551 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7553         * Makeconfig (rtld-prefix): Define built linker prefix.
7554         * Rules (run-bench): Use it.
7555         * math/Makefile (run-regen-ulps): Likewise.
7557         * Rules (bench): Remove eval.
7559 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7560             Roland McGrath  <roland@hack.frob.com>
7561             Ondrej Bilka  <neleai@seznam.cz>
7563         [BZ #15346]
7564         * time/getdate.c: Include ctype.h and alloca.h.
7565         (__getdate_r): Trim leading and trailing spaces of input.
7566         * time/tst-getdate.c (tests): Add tests with leading and
7567         trailing spaces.
7569 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7571         [BZ #14280]
7572         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7573         when computing value.
7575 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7577         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7578         Use testrun.sh to run libm tests.
7580         [BZ #15309]
7581         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7583 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7585         [BZ #15264]
7586         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7588 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7590         * Makefile.in (regen-ulps): New target.
7591         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7592         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7593         [ifneq (no,$(PERL)] (regen-ulps): New target.
7594         [ifeq (no,$(PERL)] (regen-ulps): New target.
7595         * math/libm-test.inc (ulps_file_name): Define.
7596         (output_dir): New variable.
7597         (options): Add "output-dir" option.
7598         (parse_opt): Handle 'o' case.
7599         (main): If output_dir is non-NULL use it as a prefix
7600         otherwise use "".
7601         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7603 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7605         [BZ #10060, #10062]
7606         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7607         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7608         fail configure if __sync_val_compare_and_swap is not inlined.
7609         * sysdeps/i386/configure: Regenerate.
7610         * configure.in: Build for i686 when configured for i386.
7611         * configure: Regenerate.
7612         * README: Remove i386 reference.
7614 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7616         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7617         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7619 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7621         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7622         (lmsnanval): New variables.
7623         (F): Add conversion tests.
7624         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7625         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7627         * stdio-common/tstdiomisc.c (F): Properly collect individual
7628         tests' results.
7630         [BZ #14686, #15336]
7631         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7632         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7633         Instead, use input NaN values or generate a qNaN by arithmetic
7634         operation.  Also fix bugs to comply with the standard.
7635         * math/libm-test.inc (remainder_test): Add more tests.
7637         [BZ #15335, #15342]
7638         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7640         input NaN values or generate a qNaN by arithmetic operation.
7642         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7643         unreachable code.
7645         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7646         definitions.
7648 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7650         [BZ #14478]
7651         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7652         underflowed result.
7653         * math/s_cexpf.c (__cexpf): Likewise.
7654         * math/s_cexpl.c (__cexpl): Likewise.
7655         * math/libm-test.inc (cexp_test): Add more tests.
7657 2013-04-03  Andreas Schwab  <schwab@suse.de>
7659         [BZ #15330]
7660         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7661         order arrays from heap if bigger than alloca cutoff.
7663 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7665         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7666         (SNAN_TESTS_double): Refer to GCC PR56831.
7667         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7668         GCC PR56828.
7670 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7672         * Rules (bench): Move bench.out after the run is complete.
7674         * Rules (bench): Echo currently running benchmark.
7676         * benchtests/Makefile (bench): Add atan and slowatan.
7677         * benchtests/atan-inputs: New file.
7678         * benchtests/slowatan-inputs: New file.
7679         * benchtests/slowatan.c: New file.
7681         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7682         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7683         its value.
7685         [BZ #15305]
7686         * sysdeps/unix/sysv/linux/kernel-features.h
7687         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7688         __ASSUME_XFS_RESTRICTED_CHOWN.
7689         * sysdeps/unix/sysv/linux/pathconf.c
7690         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7691         Save and restore errno.
7693 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7695         [BZ #15327]
7696         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7697         arguments using __kernel_casinh.
7698         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7699         arguments using __kernel_casinhf.
7700         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7701         arguments using __kernel_casinhl.
7702         * math/libm-test.inc (cacosh_test): Add more tests.
7703         * sysdeps/i386/fpu/libm-test-ulps: Update.
7704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7706 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7708         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7709         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7711         * bench/Makefile (bench): Add sin and slowsin.
7712         * benchtests/sin-inputs: New file.
7713         * benchtests/slowsin-inputs: New file.
7714         * benchtests/slowsin.c: New file.
7716         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7717         (bench): Add slowexp and slowpow.
7718         (exp-ITER): Increase iterations.
7719         (pow-ITER): Likewise.
7720         * benchtests/exp-inputs: Change input.
7721         * benchtests/pow-inputs: Likewise.
7722         * benchtests/slowexp-inputs: New file.
7723         * benchtests/slowexp.c: New file.
7724         * benchtests/slowpow-inputs: New file.
7725         * benchtests/slowpow.c: New file.
7727 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7729         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7730         instructions.
7731         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7732         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7733         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7734         * benchtests/Makefile: Add rint benchtest.
7735         * benchtests/rint-inputs: Input for rint benchtest.
7737 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7739         * Versions.def (libm): Add GLIBC_2.18.
7740         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7741         hidden libm prototypes.
7742         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7743         * math/Makefile (libm-calls): Add s_issignaling.
7744         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7745         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7746         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7747         declaration.
7748         * math/math.h [__USE_GNU] (issignaling): New macro.
7749         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7750         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7751         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7752         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7753         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7754         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7755         * manual/arith.texi (issignaling): New section.
7756         * manual/libm-err-tab.pl (@all_functions): Update comment.
7757         * math/gen-libm-test.pl (parse_args): Apply special handling for
7758         issignaling.
7759         * math/libm-test.inc (print_float, issignaling_test): New
7760         functions.
7761         (check_float_internal): Add issignaling checks.
7762         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7763         default definition.
7764         * sysdeps/powerpc/math-tests.h: New file.
7765         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7766         tests.
7767         * math/test-snan.c (TEST_FUNC): Likewise.
7769 2013-03-30  David S. Miller  <davem@davemloft.net>
7771         * po/de.po: Update from translation team.
7773 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7775         [BZ #10357]
7776         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7777         imaginary part less than 1.0 and real part less than 0.5
7778         specially.
7779         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7780         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7781         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7782         (cacos_test): Add more tests.
7783         (casin_test): Likewise.
7784         (casinh_test): Likewise.
7785         * sysdeps/i386/fpu/libm-test-ulps: Update.
7786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7788 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7790         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7791         ONE with its value.
7793         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7794         (__pow_mp): Replace ONE and MONE with their values.
7795         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7796         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7797         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7798         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7799         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7800         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7802         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7804         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7805         (__pow_mp): Replace ZERO and MZERO with their values.
7806         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7807         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7808         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7809         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7810         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7811         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7812         (__sqr): Likewise.
7814         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7816         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7818 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7820         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7821         Declare with __attribute__ ((weak)).
7822         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7823         Call __call_tls_dtors only if it's not NULL.
7825 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7827         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7828         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7829         magic __ehdr_start linker symbol if it's defined.
7830         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7831         them up here if it was already done.
7833         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7834         (_dl_aux_init): Use const in cast when setting it.
7835         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7836         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7837         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7839         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7840         Declare them here.
7841         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7842         * csu/libc-tls.c: Nor here.
7843         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7845         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7846         (__libc_message): Never call vsyslog.
7848 2013-03-28  Alan Modra  <amodra@gmail.com>
7850         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7851         Define as empty.
7852         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7853         Likewise.
7855 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7857         [BZ #15214]
7858         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7859         underflow.
7860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7862 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7864         [BZ #15304]
7865         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7866         Don't add gid passed as argument.
7868         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7870 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7872         [BZ #15307]
7873         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7874         imaginary part between 1.0 and 1.5 and real part less than 0.5
7875         specially.
7876         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7877         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7878         * math/libm-test.inc (cacos_test): Add more tests.
7879         (casin_test): Likewise.
7880         (casinh_test): Likewise.
7881         * sysdeps/i386/fpu/libm-test-ulps: Update.
7882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7884 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7886         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7887         constants.
7888         (norm): Likewise.
7889         (denorm): Likewise.
7890         (__dbl_mp): Likewise.
7891         (add_magnitudes): Likewise.
7892         (sub_magnitudes): Likewise.
7893         (__add): Likewise.
7894         (__sub): Likewise.
7895         (__mul): Likewise.
7896         (__sqr): Likewise.
7897         (__inv): Likewise.
7898         (__dvd): Likewise.
7900         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7901         commented code.
7902         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7903         (__dubcos): Likewise.
7904         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7905         (__ieee754_acos): Likewise.
7906         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7907         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7908         (__exp1): Likewise.
7909         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7910         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7911         (log1): Likewise.
7912         (my_log2): Likewise.
7913         (checkint): Likewise.
7914         * sysdeps/ieee754/dbl-64/e_remainder.c
7915         (__ieee754_remainder): Likewise.
7916         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7917         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7918         (bsloww): Likewise.
7919         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7921         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7922         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7923         MANTISSA_STORE_T to store computations on mantissa.  Use
7924         macros for rounding and division.
7925         (denorm): Likewise.
7926         (__dbl_mp): Likewise.
7927         (add_magnitudes): Likewise.
7928         (sub_magnitudes): Likewise.
7929         (__mul): Likewise.
7930         (__sqr): Likewise.
7931         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7932         powers of two in terms of TWOPOW macro.
7933         (mp_no): Make type of mantissa as MANTISSA_T.
7934         [!RADIXI]: Define RADIXI.
7935         [!TWO52]: Define TWO52.
7936         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7938 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7940         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7941         llroundl symbol when building for PPC32.
7943 2013-03-24  Mark H Weaver  <mhw@netris.org>
7945         * manual/arith.texi (Normalization Functions): Fix prototypes for
7946         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7948 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7950         [BZ #13889]
7951         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7952         high value to check if expl overflow.
7953         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7954         to check for underflow and overflow.
7955         * math/libm-test.inc: Add exp test.
7957 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7959         [BZ #11120]
7960         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7961         with NOT_IN_libc.
7963 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7965         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7966         symbol.
7968 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7970         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7971         wrap blocks consisting of several statements.
7973         * sysdeps/generic/math-tests.h: New file.
7974         * sysdeps/i386/fpu/math-tests.h: Likewise.
7975         * math/test-snan.c: Include it.
7976         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7978 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7980         [BZ #15285]
7981         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7982         (__ieee754_j0l): Do not improve calculations using cos of twice
7983         input for inputs above LDBL_MAX / 2.0L.
7984         (__ieee754_y0l): Likewise.
7985         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7986         (__ieee754_j1l): Do not improve calculations using cos of twice
7987         input for inputs above LDBL_MAX / 2.0L.
7988         (__ieee754_y1l): Likewise.
7989         * math/libm-test.inc (j0_test): Add another test.
7990         (j1_test): Likewise.
7991         (y0_test): Likewise.
7992         (y1_test): Likewise.
7993         * sysdeps/i386/fpu/libm-test-ulps: Update.
7995 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7997         * Rules ($(objpfx)bench-%.c): Include code from a C source
7998         file.
8000 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8002         [BZ #15287]
8003         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8004         imaginary part 1.0 and real part less than 0.5 specially.
8005         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8006         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8007         * math/libm-test.inc (cacos_test): Add more tests.
8008         (casin_test): Likewise.
8009         (casinh_test): Likewise.
8010         * sysdeps/i386/fpu/libm-test-ulps: Update.
8011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8013 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8015         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8016         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8018 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8020         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8021         * config.make.in (config-cflags-sse4): Remove variable.
8022         (config-cflags-avx): Likewise.
8023         (config-cflags-sse2avx): Likewise.
8024         (config-cflags-novzeroupper): Likewise.
8025         (config-asflags-i686): Likewise.
8026         (have-mfma4): Likewise.
8027         (have-as-vis3): Likewise.
8028         (MIG): Likewise.
8029         * configure.in (MIG): Do not AC_SUBST.
8030         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8031         (libc_cv_cc_sse4): Do not AC_SUBST.
8032         (libc_cv_cc_avx): Likewise.
8033         (libc_cv_cc_sse2avx): Likewise.
8034         (libc_cv_cc_novzeroupper): Likewise.
8035         (libc_cv_cc_fma4): Likewise.
8036         (libc_cv_as_i686): Likewise.
8037         (libc_cv_sparc_as_vis3): Likewise.
8038         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8039         LIBC_CONFIG_VAR.
8040         (config-asflags-i686): Likewise.
8041         (config-cflags-avx): Likewise.
8042         (config-cflags-sse2avx): Likewise.
8043         (have-mfma4): Likewise.
8044         (config-cflags-novzeroupper): Likewise.
8045         * sysdeps/mach/configure.in (MIG): Likewise.
8046         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8047         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8048         LIBC_CONFIG_VAR.
8049         (config-cflags-avx): Likewise.
8050         (config-cflags-sse2avx): Likewise.
8051         (have-mfma4): Likewise.
8052         (config-cflags-novzeroupper): Likewise.
8053         * configure: Regenerated.
8054         * sysdeps/i386/configure: Likewise.
8055         * sysdeps/mach/configure: Likewise.
8056         * sysdeps/sparc/configure: Likewise.
8057         * sysdeps/x86_64/configure: Likewise.
8059 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8061         [BZ #14812]
8062         * locale/programs/localedef.c (options): Put N_ translation marker
8063         on argument names, not just descriptions.
8065 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8067         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8069 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8071         [BZ #14176]
8072         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8074 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8076         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8077         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8078         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8079         [!BEFORE_ABORT] (before_abort): New function.
8080         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8081         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8082         (writev_for_fatal): New function.
8083         (WRITEV_FOR_FATAL): New macro; call that.
8084         (backtrace_and_maps): New function.
8085         (BEFORE_ABORT): New macro; call that.
8086         (struct str_list): Type removed.
8087         (__libc_message, __libc_fatal): Functions removed.
8088         Include <sysdeps/posix/libc_fatal.c> instead.
8090 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8092         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8093         constants.
8094         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8095         double constants.
8097 2013-03-19  Andreas Schwab  <schwab@suse.de>
8099         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8100         * sysdeps/gnu/configure: Regenerate.
8102         * configure.in: Substitute libc_cv_rtlddir.
8103         * configure: Regenerate.
8104         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8105         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8106         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8107         * elf/Makefile (install-others, CFLAGS-interp.c)
8108         (ldso_install, common-ldd-rewrite): Likewise.
8109         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8110         $(inst_slibdir)/$(rtld-installed-name).
8111         * scripts/rellns-sh: Add -p option.
8112         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8113         for source.
8115 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8117         * manual/nptl.texi: Renamed to ...
8118         * manual/threads.texi: ... this.
8119         * manual/Makefile (chapters): Update.
8121 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8123         [BZ #14812]
8124         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8125         on argument names, not just descriptions.
8126         * malloc/memusagestat.c (options): Likewise.
8127         * nss/getent.c (options): Likewise.
8129 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8131         [BZ #14812]
8132         * iconv/iconv_prog.c (options): Put N_ translation marker
8133         on argument names, not just descriptions.
8134         * iconv/iconvconfig.c (options): Likewise.
8136 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8138         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8139         implementation which is faster on all x86_64 architectures.
8140         Tested on AMD, Intel Nehalem, SNB, IVB.
8141         * sysdeps/x86_64/strnlen.S: Likewise.
8143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8144         Remove all multiarch strlen and strnlen versions.
8145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8146         Remove strlen and strnlen related parts.
8148         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8149         Inline strlen part.
8150         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8152         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8153         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8154         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8155         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8156         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8157         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8159 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8161         * manual/memory.texi (Malloc Tunable Parameters):
8162         Sort parameters alphabetically. Add comments for missing entries.
8164 2013-03-17  David S. Miller  <davem@davemloft.net>
8166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8168 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8170         [BZ #15283]
8171         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8172         for arguments at most half maximum finite value.
8173         * math/libm-test.inc (j0_test): Add more tests.
8174         (j1_test): Likewise.
8175         (y0_test): Likewise.
8176         (y1_test): Likewise.
8177         * sysdeps/i386/fpu/libm-test-ulps: Update.
8178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8180         [BZ #14155]
8181         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8182         1 / x and functions P and Q for arguments above 0x1p256L.
8183         (__ieee754_y0l): Likewise.
8184         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8185         (__ieee754_y1l): Likewise.
8186         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8187         (j1_test): Likewise.
8188         (y0_test): Likewise.
8189         (y1_test): Likewise.
8191 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8193         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8194         variable.
8196 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8198         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8199         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8200         zero since it's initialized to EXEC_PAGESIZE.
8202         * sysdeps/unix/sysv/linux/ldsodefs.h
8203         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8204         * sysdeps/generic/ldsodefs.h: ... here.
8206 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8208         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8210         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8211         math/test-snan.c.
8212         * math/test-snan.c: Renamed from
8213         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8214         * math/Makefile (tests): Add test-snan.
8215         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8216         test-powerpc-snan.
8218         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8219         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8220         functions.
8221         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
8222         __builtin_nan family of functions.
8223         * math/libm-test.inc (initialize): Initialize qnan_value with
8224         __builtin_nan family of functions.
8225         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8226         Remove variables.
8227         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8228         Remove functions.
8229         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
8230         storage class.  Initialize qNaN_var and sNaN_var with
8231         __builtin_nan and __builtin_nans families of functions,
8232         respectively.
8234         * math/libm-test.inc (acosh_test): Also test with qNaN input.
8235         (sqrt_test): Remove duplicate test with qNaN input.
8236         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8237         (round_test, signbit_test, significand_test): Note missing +/-Inf
8238         as well as qNaN tests.
8240         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8241         qNaN_var.  Fix a few strings, too.
8242         * math/libm-test.inc (nan_value): Rename to qnan_value.
8243         * math/gen-libm-test.pl (%beautify): Adjust to that.
8244         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8245         * math/test-misc.c (main): Likewise.
8246         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8247         to __qnan_bytes, and __qnan_union, respectively.
8248         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8249         Likewise.
8250         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8251         and lqnanval, respectively.
8252         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8253         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8254         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8255         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8257         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8258         * math/test-misc.c (main) [__x86_64__]: Enable test for long
8259         doubles.
8261         * math/test-misc.c (main): Fix copy'n'pastos.
8262         * misc/tst-efgcvt.c (special): Likewise.
8264         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8265         Remove declarations.
8267 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8269         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8270         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8271         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8272         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8274 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8276         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8277         macro to return vdso values correctly in IFUNC implementations.
8278         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8279         Optimization by using IFUNC.
8281 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8282             Richard Henderson  <rth@redhat.com>
8283             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8285         * Makefile.in (bench): New target.
8286         * NEWS: Mention the benchmark framework.
8287         * Rules (bench): Likewise.
8288         (binaries-bench): Generate binaries for functions to
8289         benchmark.
8290         * benchtests/Makefile: New makefile for benchmark tests.
8291         * benchtests/bench-skeleton.c: New skeleton file for benchmark
8292         programs.
8293         * benchtests/exp-inputs: New input file for EXP function.
8294         * benchtests/pow-inputs: New input file for POW function.
8295         * scripts/bench.pl: New script to generate source files for
8296         benchmark programs.
8298 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8300         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8301         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8302         computations on mantissa.  Use macros for rounding and
8303         division.
8304         (denorm): Likewise.
8305         (__dbl_mp): Likewise.
8306         (add_magnitudes): Likewise.
8307         (sub_magnitudes): Likewise.
8308         (__mul): Likewise.
8309         (__sqr): Likewise.
8310         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8311         powers of two in terms of TWOPOW macro.
8312         (mp_no): Make type of mantissa as MANTISSA_T.
8313         [!RADIXI]: Define RADIXI.
8314         [!TWO52]: Define TWO52.
8315         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8317         * manual/nptl.texi (cindex): Modify threads to pthreads.
8319 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8321         * sysdeps/x86_64/preconfigure: Regenerated.
8323 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8325         [BZ #14155]
8326         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8327         0x1p28 and above.
8328         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8329         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8330         0x1p28 and above.
8331         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8332         * math/libm-test.inc (j0_test): Do not allow one spurious
8333         underflow exception.
8334         (y1_test): Likewise.
8336 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8338         * manual/Makefile (chapters): Add nptl.
8339         * manual/debug.texi (Debugging Support): Add link to Threads
8340         chapter.
8341         * manual/nptl.texi: New file.
8343         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8345 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8347         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8348         for non-NULL pointer before the memory validity test. Pointed
8349         out by Holger Brunck <holger.brunck@keymile.com>.
8351 2013-03-13  Andreas Schwab  <schwab@suse.de>
8353         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8354         instead of .os.
8356 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8358         * timezone/zic.c: Update from tzcode 2013b.
8360 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8362         * manual/install.texi (Configuring and compiling):
8363         Mention i686 and i586.
8364         * INSTALL: Regenerate.
8366 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8368         * sysdeps/init_array/elf-init.c: New file.
8369         * csu/elf-init.c
8370         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8371         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8373         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8374         __gmon_start__ as global, but as static with a .preinit_array pointer.
8375         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8376         * sysdeps/init_array/crti.S: New file, empty except for comments.
8377         * sysdeps/init_array/crtn.S: Likewise.
8379 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8381         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8382         definining bcopy.
8383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8384         Remove Prefer_SSE_for_memop.
8385         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8386         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8387         HAS_PREFER_SSE_FOR_MEMOP.
8388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8389         memset-x86-64.
8390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8391         Remove bzero, memset ifunc support.
8392         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8393         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8394         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8395         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8397 2013-03-11  Andreas Schwab  <schwab@suse.de>
8399         [BZ #15234]
8400         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8401         by SHLIB_COMPAT.
8402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8403         (GLIBC_2.16): Remove pthread_atfork.
8405 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8407         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8408         (ptestcases.h): Likewise.
8410 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8412         * Makeconfig ($(common-objpfx)config.status): Depend on
8413         sysdeps/*/preconfigure{,.in} too.
8415 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8417         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8418         (__free_hook): Use void * instead of __malloc_ptr_t.
8419         (__malloc_hook): Likewise.
8420         (__realloc_hook): Likewise.
8421         (__memalign_hook): Likewise.
8422         (__after_morecore_hook): Likewise.
8423         * malloc/arena.c (save_malloc_hook): Likewise.
8424         (save_free_hook): Likewise.
8425         * malloc/hooks.c (malloc_hook_ini): Likewise.
8426         (realloc_hook_ini): Likewise.
8427         (memalign_hook_ini): Likewise.
8428         * malloc/malloc.c (malloc_hook_ini): Likewise.
8429         (realloc_hook_ini): Likewise.
8430         (memalign_hook_ini): Likewise.
8431         (__free_hook): Likewise.
8432         (__malloc_hook): Likewise.
8433         (__realloc_hook): Likewise.
8434         (__memalign_hook): Likewise.
8435         (__libc_malloc): Likewise.
8436         (__libc_free): Likewise.
8437         (__libc_realloc): Likewise.
8438         (__libc_memalign): Likewise.
8439         (__libc_valloc): Likewise.
8440         (__libc_pvalloc): Likewise.
8441         (__libc_calloc): Likewise.
8442         (__posix_memalign): Likewise.
8443         * malloc/morecore.c (__sbrk): Likewise.
8444         (__default_morecore): Likewise.
8446         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8448         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8449         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8450         __malloc_ptrdiff_t.
8452         * malloc/malloc.h (__malloc_size_t): Remove macro.
8453         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8454         __malloc_size_t.
8455         (old_memalign_hook): Likewise.
8456         (old_realloc_hook): Likewise.
8457         (struct hdr): Likewise.
8458         (flood): Likewise.
8459         (mallochook): Likewise.
8460         (memalignhook): Likewise.
8461         (reallochook): Likewise.
8462         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8463         (tr_old_realloc_hook): Likewise.
8464         (tr_old_memalign_hook): Likewise.
8465         (tr_mallochook): Likewise.
8466         (tr_reallochook): Likewise.
8467         (tr_memalignhook): Likewise.
8469 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8471         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8472         default_ldbl_pack and using as default implementation.
8473         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8474         implementation.
8475         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8476         redundant definition.
8477         (ldbl_insert_mantissa): Likewise.
8478         (ldbl_canonicalize): Likewise.
8479         (ldbl_nearbyint): Likewise.
8480         (ldbl_pack): Rename to ldbl_pack_ppc.
8481         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8482         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8483         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8485 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8488         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8489         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8490         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8492         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8493         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8494         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8496 2013-03-07  Andreas Jaeger  <aj@suse.de>
8498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8499         bits/mman-linux.h.
8501 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8503         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8504         Include mpa.h and declare __MPEXP.
8505         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8506         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8507         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8508         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8509         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8510         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8511         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8513         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8514         (__slowpow): Use long double EXPL and LOGL functions to
8515         compute POW.
8516         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8517         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8518         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8519         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8520         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8521         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8523         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8524         intermediate variable to calculate exponent.
8525         (__sqr): Likewise.
8526         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8527         Likewise.
8528         (__sqr): Likewise.
8530         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8531         [!NO__SQR]: Define __sqr.
8532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8533         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8534         sysdeps/ieee754/dbl-64/mpa.c.
8535         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8537         [BZ #12723]
8538         * posix/Makefile (tests): Add tst-pathconf.
8539         * posix/tst-pathconf.c: New test case.
8540         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8541         _PC_PIPE_BUF.
8542         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8544 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8546         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8548 2013-03-06  Andreas Jaeger  <aj@suse.de>
8550         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8551         definition via __MAP_ANONYMOUS.
8553         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8554         it's not part of Linux headers.
8556         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8557         (MAP_HUGE_MASK): Define.
8559         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8560         Define.
8561         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8562         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8563         Define.
8564         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8565         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8566         Define.
8567         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8568         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8569         Define.
8570         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8572         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8573         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8574         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8575         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8576         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8577         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8579         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8580         Handle f2fs.
8582         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8583         Handle f2fs and efivarfs.
8585         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8586         f2fs.
8588         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8589         (EFIVARFS_MAGIC): Add.
8590         (F2FS_LINK_MAX): Add.
8592 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8594         * stdio-common/vfprintf.c: Replace __builtin_expect with
8595         __glibc_unlikely.
8597 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8599         [BZ #13550]
8600         * sysdeps/generic/bp-sym.h: Remove file.
8601         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8602         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8603         <bp-sym.h> and <bp-asm.h>.
8604         (__longjmp): Don't use BP_SYM.
8605         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8606         and <bp-asm.h>.
8607         (memcpy): Don't use BP_SYM.
8608         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8609         <bp-sym.h> and <bp-asm.h>.
8610         (memcpy): Don't use BP_SYM.
8611         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8612         <bp-asm.h>.
8613         (memcpy): Don't use BP_SYM.
8614         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8615         <bp-asm.h>.
8616         (memset): Don't use BP_SYM.
8617         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8618         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8619         (__bzero): Don't use BP_SYM.
8620         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8621         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8622         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8623         <bp-sym.h> and <bp-asm.h>.
8624         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8625         pointers.
8626         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8627         <bp-sym.h> and <bp-asm.h>.
8628         (memcpy): Don't use BP_SYM.
8629         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8630         <bp-sym.h> and <bp-asm.h>.
8631         (memset): Don't use BP_SYM.
8632         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8633         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8634         (__bzero): Don't use BP_SYM.
8635         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8636         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8637         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8638         <bp-sym.h> and <bp-asm.h>.
8639         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8640         pointers.
8641         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8642         <bp-sym.h> and <bp-asm.h>.
8643         (memcpy): Don't use BP_SYM.
8644         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8645         <bp-sym.h> and <bp-asm.h>.
8646         (memset): Don't use BP_SYM.
8647         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8648         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8649         (__bzero): Don't use BP_SYM.
8650         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8651         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8652         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8653         <bp-sym.h> and <bp-asm.h>.
8654         (__memchr): Don't use BP_SYM.
8655         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8656         <bp-sym.h> and <bp-asm.h>.
8657         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8658         pointers.
8659         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8660         <bp-sym.h> and <bp-asm.h>.
8661         (memcpy): Don't use BP_SYM.
8662         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8663         <bp-sym.h> and <bp-asm.h>.
8664         (__mempcpy): Don't use BP_SYM.
8665         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8666         <bp-sym.h> and <bp-asm.h>.
8667         (__memrchr): Don't use BP_SYM.
8668         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8669         <bp-sym.h> and <bp-asm.h>.
8670         (memset): Don't use BP_SYM.
8671         (__bzero): Likewise.
8672         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8673         <bp-sym.h> and <bp-asm.h>.
8674         (__rawmemchr): Don't use BP_SYM.
8675         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8676         <bp-sym.h> and <bp-asm.h>.
8677         (__STRCMP): Don't use BP_SYM.
8678         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8679         <bp-sym.h> and <bp-asm.h>.
8680         (strchr): Don't use BP_SYM.
8681         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8682         <bp-sym.h> and <bp-asm.h>.
8683         (__strchrnul): Don't use BP_SYM.
8684         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8685         <bp-sym.h> and <bp-asm.h>.
8686         (strlen): Don't use BP_SYM.
8687         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8688         <bp-sym.h> and <bp-asm.h>.
8689         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8690         pointers.
8691         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8692         <bp-sym.h> and <bp-asm.h>.
8693         (__strnlen): Don't use BP_SYM.
8694         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8695         <bp-sym.h> and <bp-asm.h>.
8696         (__GI__setjmp): Don't use BP_SYM.
8697         (_setjmp): Likewise.
8698         (__sigsetjmp): Likewise.
8699         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8700         (L(start_addresses)): Don't use BP_SYM.
8701         (_start): Likewise.
8702         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8703         <bp-asm.h>.
8704         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8705         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8706         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8707         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8708         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8709         <bp-asm.h>.
8710         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8711         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8712         about bounded pointers.
8713         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8714         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8715         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8716         <bp-asm.h>.
8717         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8718         about bounded pointers.  Remove GKM FIXME comments.
8719         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8720         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8721         <bp-asm.h>.
8722         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8723         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8724         Remove GKM FIXME comments.
8725         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8726         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8727         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8728         <bp-asm.h>.
8729         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8730         about bounded pointers.  Remove GKM FIXME comment.
8731         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8732         and <bp-asm.h>.
8733         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8734         pointers.
8735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8736         <bp-sym.h> and <bp-asm.h>.
8737         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8739         <bp-sym.h> and <bp-asm.h>.
8740         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8741         comment.
8743 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8745         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8746         call free(NULL).
8748 2013-03-05  David S. Miller  <davem@davemloft.net>
8750         * po/es.po: Update from translation team.
8752 2013-03-05  Andreas Jaeger  <aj@suse.de>
8754         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8755         <bits/mman-linux.h>.
8756         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8757         is fine.
8758         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8759         <bits/mman-linux.h> to end of file.
8760         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8761         is fine.
8762         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8763         <bits/mman-linux.h> to end of file.
8764         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8765         is fine.
8766         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8767         <bits/mman-linux.h> to end of file.
8769         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8770         (MCL_CURRENT, MCL_FUTURE): Define here.
8772 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8774         [BZ #15232]
8775         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8776         attribute_hidden.
8777         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8779 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8781         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8782         fourth parameter needed for rt_sigprocmask syscall.
8783         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8784         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8785         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8786         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8787         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8788         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8790 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8792         [BZ #13550]
8793         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8794         comment about bounded pointers.
8795         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8796         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8798 2013-03-04  Andreas Jaeger  <aj@suse.de>
8800         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8801         common definitions.
8803         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8804         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8805         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8806         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8807         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8808         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8810 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8812         [BZ #15055]
8813         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8814         __ieee754_sqrl instead of __sqrl.
8816 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8818         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8819         * sysdeps/powerpc/fpu_control.h: ... here.
8820         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8821         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8822         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8823         * sysdeps/powerpc/bits/mathinline.h: ... here.
8825 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8827         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8828         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8829         to just [NEED_DL_SYSINFO_DSO].
8830         * elf/dl-support.c: Likewise.
8831         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8832         * elf/rtld.c (dl_main): Likewise.
8833         * elf/setup-vdso.h (setup_vdso): Likewise.
8834         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8835         * sysdeps/unix/sysv/linux/dl-sysdep.c
8836         (_dl_discover_osversion): Likewise.
8838 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8840         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8841         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8843 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8845         * NEWS: Mention libm performance improvements and non-x86 PI
8846         futex support.
8848         * csu/libc-start.c (__pthread_initialize_minimal): Change
8849         function arguments.
8850         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8852 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8854         [BZ #13550]
8855         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8856         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8857         <bp-sym.h> and <bp-asm.h>.
8858         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8859         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8860         and <bp-asm.h>.
8861         (memcpy): Don't use BP_SYM.
8862         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8863         <bp-asm.h>.
8864         (__mpn_add_n): Don't use BP_SYM.
8865         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8866         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8867         and <bp-asm.h>.
8868         (__mpn_addmul_1): Don't use BP_SYM.
8869         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8870         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8871         <bp-sym.h>.
8872         (_setjmp): Don't use BP_SYM.
8873         (__novmx_setjmp): Likewise.
8874         (__GI__setjmp): Likewise.
8875         (__vmx_setjmp): Likewise.
8876         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8877         <bp-sym.h>.
8878         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8879         (__bzero): Don't use BP_SYM.
8880         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8881         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8882         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8883         <bp-sym.h> and <bp-asm.h>.
8884         (memcpy): Don't use BP_SYM.
8885         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8886         <bp-sym.h> and <bp-asm.h>.
8887         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8888         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8889         <bp-sym.h> and <bp-asm.h>.
8890         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8891         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8892         <bp-asm.h>.
8893         (__mpn_lshift): Don't use BP_SYM.
8894         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8895         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8896         <bp-asm.h>.
8897         (memset): Don't use BP_SYM.
8898         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8899         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8900         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8901         <bp-asm.h>.
8902         (__mpn_mul_1): Don't use BP_SYM.
8903         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8904         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8905         <bp-sym.h> and <bp-asm.h>.
8906         (memcmp): Don't use BP_SYM.
8907         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8908         <bp-sym.h> and <bp-asm.h>.
8909         (memcpy): Don't use BP_SYM.
8910         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8911         <bp-sym.h> and <bp-asm.h>.
8912         (memset): Don't use BP_SYM.
8913         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8914         <bp-sym.h> and <bp-asm.h>.
8915         (strncmp): Don't use BP_SYM.
8916         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8917         <bp-sym.h> and <bp-asm.h>.
8918         (memcpy): Don't use BP_SYM.
8919         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8920         <bp-sym.h> and <bp-asm.h>.
8921         (memset): Don't use BP_SYM.
8922         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8923         <bp-sym.h> and <bp-asm.h>.
8924         (__memchr): Don't use BP_SYM.
8925         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8926         <bp-sym.h> and <bp-asm.h>.
8927         (memcmp): Don't use BP_SYM.
8928         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8929         <bp-sym.h> and <bp-asm.h>.
8930         (memcpy): Don't use BP_SYM.
8931         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8932         <bp-sym.h> and <bp-asm.h>.
8933         (__mempcpy): Don't use BP_SYM.
8934         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8935         <bp-sym.h> and <bp-asm.h>.
8936         (__memrchr): Don't use BP_SYM.
8937         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8938         <bp-sym.h> and <bp-asm.h>.
8939         (memset): Don't use BP_SYM.
8940         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8941         <bp-sym.h> and <bp-asm.h>.
8942         (__rawmemchr): Don't use BP_SYM.
8943         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8944         <bp-sym.h> and <bp-asm.h>.
8945         (__STRCMP): Don't use BP_SYM.
8946         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8947         <bp-sym.h> and <bp-asm.h>.
8948         (strchr): Don't use BP_SYM.
8949         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8950         <bp-sym.h> and <bp-asm.h>.
8951         (__strchrnul): Don't use BP_SYM.
8952         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8953         <bp-sym.h> and <bp-asm.h>.
8954         (strlen): Don't use BP_SYM.
8955         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8956         <bp-sym.h> and <bp-asm.h>.
8957         (strncmp): Don't use BP_SYM.
8958         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8959         <bp-sym.h> and <bp-asm.h>.
8960         (__strnlen): Don't use BP_SYM.
8961         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8962         <bp-asm.h>.
8963         (__mpn_rshift): Don't use BP_SYM.
8964         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8965         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8966         <bp-sym.h> and <bp-asm.h>.
8967         (__sigsetjmp): Don't use BP_SYM.
8968         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8969         (L(start_addresses)): Don't use BP_SYM.
8970         (_start): Likewise.
8971         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8972         <bp-asm.h>.
8973         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8974         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8975         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8976         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8977         <bp-asm.h>.
8978         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8979         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8980         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8981         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8982         <bp-asm.h>.
8983         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8984         comments.
8985         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8986         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8987         <bp-asm.h>.
8988         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8989         FIXME comments.
8990         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8991         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8992         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8993         <bp-asm.h>.
8994         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8995         comment.
8996         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8997         and <bp-asm.h>.
8998         (strncmp): Don't use BP_SYM,
8999         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9000         <bp-asm.h>.
9001         (__mpn_sub_n): Don't use BP_SYM.
9002         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9003         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9004         and <bp-asm.h>.
9005         (__mpn_submul_1): Don't use BP_SYM.
9006         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9008         <bp-sym.h> and <bp-asm.h>.
9009         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9011         <bp-sym.h> and <bp-asm.h>.
9012         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9013         comment.
9015 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9018         Use ZK to minimize writes to Z.
9019         (sub_magnitudes): Simplify code a bit.
9020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9021         Use ZK to minimize writes to Z.
9022         (sub_magnitudes): Simplify code a bit.
9024 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9026         * csu/gmon-start.c: Add special exception to license text.
9028 2013-02-27  Richard Henderson  <rth@redhat.com>
9030         * scripts/config.guess: Update from config.git.
9031         * scripts/config.sub: Likewise.
9033 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9035         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9037         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9039         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9041         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9043         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9045 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9047         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9048         [$(build-shared = yes].
9050 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9052         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9053         (__mul): Reduce iterations for calculating mantissa.
9055         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9056         MPTWO.
9057         (__mpranred): Likewise.
9059         [BZ #15160]
9060         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9061         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9063 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9065         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9066         Define __attribute__.
9068 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9070         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9071         unused.
9072         * posix/regex_internal.h (__attribute): Remove.
9073         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9074         (re_string_context_at): Likewise.
9075         (bitset_not): Use __attribute__ and mark function as possibly
9076         unused.
9077         (bitset_merge): Likewise.
9078         (bitset_mask): Likewise.
9079         (re_string_char_size_at): Likewise.
9080         (re_string_wchar_at): Likewise.
9081         (re_string_elem_size_at): Likewise.
9083 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9085         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9086         code.
9087         (cc32): Likewise.
9089         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9090         (__acr): Likewise.
9091         (__cpy): Likewise.
9092         (norm): Likewise.
9093         (denorm): Likewise.
9094         (__dbl_mp): Likewise.
9095         (add_magnitudes): Likewise.
9096         (sub_magnitudes): Likewise.
9097         (__mul): Likewise.
9098         (__inv): Likewise.
9100         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9101         style.
9103         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9104         style.
9106         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9107         code.
9109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9110         up changes with default code.
9111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9112         Likewise.
9114 2013-02-24  Allan McRae  <allan@archlinux.org>
9116         * manual/socket.texi (The Internet Namespace): Order menu items
9117         to match that in the file.
9119         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9120         node listing of the info page menu.
9122 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9124         [BZ #13550]
9125         * sysdeps/i386/bp-asm.h: Remove file.
9126         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9127         (PARMS): Do not use macros from bp-asm.h.
9128         (S1): Likewise.
9129         (S2): Likewise.
9130         (SIZE): Likewise.
9131         (__mpn_add_n): Do not use BP_SYM
9132         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9133         "bp-asm.h".
9134         (PARMS): Do not use macros from bp-asm.h.
9135         (S1): Likewise.
9136         (SIZE): Likewise.
9137         (__mpn_addmul_1): Do not use BP_SYM
9138         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9139         "bp-asm.h".
9140         (PARMS): Do not use macros from bp-asm.h.
9141         (SIGMSK): Likewise.
9142         (_setjmp): Likewise.  Do not use BP_SYM.
9143         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9144         "bp-asm.h".
9145         (PARMS): Do not use macros from bp-asm.h.
9146         (SIGMSK): Likewise.
9147         (setjmp): Likewise.  Do not use BP_SYM.
9148         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9149         "bp-asm.h".
9150         (PARMS): Do not use macros from bp-asm.h.
9151         (__frexp): Do not use BP_SYM.
9152         (frexp): Likewise.
9153         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9154         "bp-asm.h".
9155         (PARMS): Do not use macros from bp-asm.h.
9156         (__frexpf): Do not use BP_SYM.
9157         (frexpf): Likewise.
9158         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9159         "bp-asm.h".
9160         (PARMS): Do not use macros from bp-asm.h.
9161         (__frexpl): Do not use BP_SYM.
9162         (frexpl): Likewise.
9163         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9164         "bp-asm.h".
9165         (PARMS): Do not use macros from bp-asm.h.
9166         (__remquo): Do not use BP_SYM.
9167         (remquo): Likewise.
9168         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9169         "bp-asm.h".
9170         (PARMS): Do not use macros from bp-asm.h.
9171         (__remquof): Do not use BP_SYM.
9172         (remquof): Likewise.
9173         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9174         "bp-asm.h".
9175         (PARMS): Do not use macros from bp-asm.h.
9176         (__remquol): Do not use BP_SYM.
9177         (remquol): Likewise.
9178         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9179         "bp-asm.h".
9180         (PARMS): Do not use macros from bp-asm.h.
9181         (DEST): Likewise.
9182         (SRC): Likewise.
9183         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9184         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9185         "bp-asm.h".
9186         (PARMS): Do not use macros from bp-asm.h.
9187         (strlen): Do not use BP_SYM.
9188         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9189         "bp-asm.h".
9190         (PARMS): Do not use macros from bp-asm.h.
9191         (S1): Likewise.
9192         (S2): Likewise.
9193         (SIZE): Likewise.
9194         (__mpn_add_n): Do not use BP_SYM.
9195         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9196         "bp-asm.h".
9197         (PARMS): Do not use macros from bp-asm.h.
9198         (S1): Likewise.
9199         (SIZE): Likewise.
9200         (__mpn_addmul_1): Do not use BP_SYM.
9201         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9202         weak_alias.
9203         (bzero): Likewise.
9204         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9205         "bp-asm.h".
9206         (PARMS): Do not use macros from bp-asm.h.
9207         (S): Likewise.
9208         (SIZE): Likewise.
9209         (__mpn_lshift): Do not use BP_SYM.
9210         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9211         "bp-asm.h".
9212         (PARMS): Do not use macros from bp-asm.h.
9213         (DEST): Likewise.
9214         (SRC): Likewise.
9215         (LEN): Likewise.
9216         (memcpy): Likewise.  Do not use BP_SYM.
9217         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9218         libc_hidden_def and weak_alias.
9219         (mempcpy): Do not use BP_SYM in weak_alias.
9220         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9221         "bp-asm.h".
9222         (PARMS): Do not use macros from bp-asm.h.
9223         (DEST): Likewise.
9224         (LEN): Likewise.
9225         [!BZERO_P] (CHR): Likewise.
9226         (memset): Likewise.  Do not use BP_SYM.
9227         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9228         "bp-asm.h".
9229         (PARMS): Do not use macros from bp-asm.h.
9230         (S1): Likewise.
9231         (SIZE): Likewise.
9232         (__mpn_mul_1): Do not use BP_SYM.
9233         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9234         "bp-asm.h".
9235         (PARMS): Do not use macros from bp-asm.h.
9236         (S): Likewise.
9237         (SIZE): Likewise.
9238         (__mpn_rshift): Do not use BP_SYM.
9239         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9240         "bp-asm.h".
9241         (PARMS): Do not use macros from bp-asm.h.
9242         (STR): Likewise.
9243         (CHR): Likewise.
9244         (strchr): Likewise.  Do not use BP_SYM.
9245         (index): Do not use BP_SYM in weak_alias.
9246         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9247         "bp-asm.h".
9248         (PARMS): Do not use macros from bp-asm.h.
9249         (DEST): Likewise.
9250         (SRC): Likewise.
9251         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
9252         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9253         "bp-asm.h".
9254         (PARMS): Do not use macros from bp-asm.h.
9255         (strlen): Do not use BP_SYM.
9256         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9257         "bp-asm.h".
9258         (PARMS): Do not use macros from bp-asm.h.
9259         (S1): Likewise.
9260         (S2): Likewise.
9261         (SIZE): Likewise.
9262         (__mpn_sub_n): Do not use BP_SYM.
9263         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9264         "bp-asm.h".
9265         (PARMS): Do not use macros from bp-asm.h.
9266         (S1): Likewise.
9267         (SIZE): Likewise.
9268         (__mpn_submul_1): Do not use BP_SYM.
9269         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9270         "bp-asm.h".
9271         (PARMS): Do not use macros from bp-asm.h.
9272         (S1): Likewise.
9273         (S2): Likewise.
9274         (SIZE): Likewise.
9275         (__mpn_add_n): Do not use BP_SYM.
9276         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9277         weak_alias.
9278         (bzero): Likewise.
9279         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9280         "bp-asm.h".
9281         (PARMS): Do not use macros from bp-asm.h.
9282         (BLK2): Likewise.
9283         (LEN): Likewise.
9284         (memcmp): Do not use BP_SYM.
9285         (bcmp): Do not use BP_SYM in weak_alias.
9286         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9287         "bp-asm.h".
9288         (PARMS): Do not use macros from bp-asm.h.
9289         (DEST): Likewise.
9290         (SRC): Likewise.
9291         (LEN): Likewise.
9292         (memcpy): Likewise.  Do not use BP_SYM.
9293         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9294         "bp-asm.h".
9295         (PARMS): Do not use macros from bp-asm.h.
9296         (DEST): Likewise.
9297         (SRC): Likewise.
9298         (LEN): Likewise.
9299         (memmove): Likewise.  Do not use BP_SYM.
9300         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9301         "bp-asm.h".
9302         (PARMS): Do not use macros from bp-asm.h.
9303         (DEST): Likewise.
9304         (SRC): Likewise.
9305         (LEN): Likewise.
9306         (__mempcpy): Likewise.  Do not use BP_SYM.
9307         (mempcpy): Do not use BP_SYM in weak_alias.
9308         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9309         "bp-asm.h".
9310         (PARMS): Do not use macros from bp-asm.h.
9311         (DEST): Likewise.
9312         (LEN): Likewise.
9313         [!BZERO_P] (CHR): Likewise.
9314         (memset): Likewise.  Do not use BP_SYM.
9315         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9316         "bp-asm.h".
9317         (PARMS): Do not use macros from bp-asm.h.
9318         (STR2): Likewise.
9319         (strcmp): Do not use BP_SYM.
9320         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9321         "bp-asm.h".
9322         (PARMS): Do not use macros from bp-asm.h.
9323         (STR): Likewise.
9324         (DELIM): Likewise.
9325         [USE_AS_STRTOK_R] (SAVE): Likewise.
9326         (FUNCTION): Likewise.  Do not use BP_SYM.
9327         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9328         aliases.
9329         (strtok_r): Likewise.
9330         (__GI___strtok_r): Likewise.
9331         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9332         (PARMS): Do not use macros from bp-asm.h.
9333         (S): Likewise.
9334         (SIZE): Likewise.
9335         (__mpn_lshift): Do not use BP_SYM.
9336         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9337         (PARMS): Do not use macros from bp-asm.h.
9338         (STR): Likewise.
9339         (CHR): Likewise.
9340         (__memchr): Do not use BP_SYM.
9341         (memchr): Do not use BP_SYM in weak_alias.
9342         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9343         (PARMS): Do not use macros from bp-asm.h.
9344         (BLK2): Likewise.
9345         (LEN): Likewise.
9346         (memcmp): Do not use BP_SYM.
9347         (bcmp): Do not use BP_SYM in weak_alias.
9348         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9349         (PARMS): Do not use macros from bp-asm.h.
9350         (S1): Likewise.
9351         (SIZE): Likewise.
9352         (__mpn_mul_1): Do not use BP_SYM.
9353         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9354         "bp-asm.h".
9355         (PARMS): Do not use macros from bp-asm.h.
9356         (STR): Likewise.
9357         (CHR): Likewise.
9358         (__rawmemchr): Do not use BP_SYM.
9359         (rawmemchr): Do not use BP_SYM in weak_alias.
9360         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9361         (PARMS): Do not use macros from bp-asm.h.
9362         (S): Likewise.
9363         (SIZE): Likewise.
9364         (__mpn_rshift): Do not use BP_SYM.
9365         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9366         (PARMS): Do not use macros from bp-asm.h.
9367         (SIGMSK): Likewise.
9368         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9369         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9370         (_start): Do not use BP_SYM.
9371         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9372         (PARMS): Do not use macros from bp-asm.h.
9373         (DEST): Likewise.
9374         (SRC): Likewise.
9375         (__stpcpy): Likewise.  Do not use BP_SYM.
9376         (stpcpy): Do not use BP_SYM in weak_alias.
9377         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9378         "bp-asm.h".
9379         (PARMS): Do not use macros from bp-asm.h.
9380         (DEST): Likewise.
9381         (SRC): Likewise.
9382         (LEN): Likewise.
9383         (__stpncpy): Likewise.  Do not use BP_SYM.
9384         (stpncpy): Do not use BP_SYM in weak_alias.
9385         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9386         (PARMS): Do not use macros from bp-asm.h.
9387         (STR): Likewise.
9388         (CHR): Likewise.
9389         (strchr): Likewise.  Do not use BP_SYM.
9390         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9391         "bp-asm.h".
9392         (PARMS): Do not use macros from bp-asm.h.
9393         (STR): Likewise.
9394         (CHR): Likewise.
9395         (__strchrnul): Likewise.  Do not use BP_SYM.
9396         (strchrnul): Do not use BP_SYM in weak_alias.
9397         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9398         "bp-asm.h".
9399         (PARMS): Do not use macros from bp-asm.h.
9400         (STOP): Likewise.
9401         (strcspn): Do not use BP_SYM.
9402         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9403         "bp-asm.h".
9404         (PARMS): Do not use macros from bp-asm.h.
9405         (STR): Likewise.
9406         (STOP): Likewise.
9407         (strpbrk): Likewise.  Do not use BP_SYM.
9408         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9409         "bp-asm.h".
9410         (PARMS): Do not use macros from bp-asm.h.
9411         (STR): Likewise.
9412         (CHR): Likewise.
9413         (strrchr): Likewise.  Do not use BP_SYM.
9414         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9415         (PARMS): Do not use macros from bp-asm.h.
9416         (SKIP): Likewise.
9417         (strspn): Do not use BP_SYM.
9418         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9419         (PARMS): Do not use macros from bp-asm.h.
9420         (STR): Likewise.
9421         (DELIM): Likewise.
9422         (SAVE): Likewise.
9423         (FUNCTION): Likewise.  Do not use BP_SYM.
9424         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9425         aliases.
9426         (strtok_r): Likewise.
9427         (__GI___strtok_r): Likewise.
9428         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9429         (PARMS): Do not use macros from bp-asm.h.
9430         (S1): Likewise.
9431         (S2): Likewise.
9432         (SIZE): Likewise.
9433         (__mpn_sub_n): Do not use BP_SYM.
9434         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9435         "bp-asm.h".
9436         (PARMS): Do not use macros from bp-asm.h.
9437         (S1): Likewise.
9438         (SIZE): Likewise.
9439         (__mpn_submul_1): Do not use BP_SYM.
9440         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9441         <bp-sym.h>.
9442         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9443         and <bp-asm.h>.
9444         (PARMS): Do not use macros from bp-asm.h.
9445         (FLAGS): Likewise.
9446         (PTID): Likewise.
9447         (TLS): Likewise.
9448         (CTID): Likewise.
9449         (__clone): Do not use BP_SYM.
9450         (clone): Do not use BP_SYM in weak_alias.
9451         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9452         and <bp-asm.h>.
9453         (PARMS): Do not use macros from bp-asm.h.
9454         (LEN): Likewise.
9455         (__mmap64): Do not use BP_SYM.
9456         (mmap64): Do not use BP_SYM in weak_alias.
9457         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9458         <bp-sym.h> and <bp-asm.h>.
9459         (PARMS): Do not use macros from bp-asm.h.
9460         (__posix_fadvise64_l64): Do not use BP_SYM.
9461         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9462         (PARMS): Do not use macros from bp-asm.h.
9463         (NSOPS): Likewise.
9464         (semtimedop): Do not use BP_SYM.
9465         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9466         and <bp-asm.h>.
9468 2013-02-21  Allan McRae  <allan@archlinux.org>
9470         * manual/message.texi (Charset conversion in gettext):
9471         Move @end statement to beginning of line.
9473 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9476         static.
9477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9478         Likewise.
9480         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9481         (denorm): Likewise.
9482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9485 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9487         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9488         tail-call to the resolved function if pltexit isn't needed.
9490 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9492         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9493         or Y being zero as being unlikely.
9494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9495         Likewise.
9497 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9499         * manual/nss.texi (System Databases and Name Service Switch):
9500         Remove frobnicate @pxref.
9502 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9504         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9505         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9507 2013-02-20  Petr Machata  <pmachata@redhat.com>
9509         * elf/elf.h (R_ARM_TARGET1): New macro.
9510         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9511         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9512         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9513         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9514         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9515         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9516         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9517         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9518         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9519         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9520         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9521         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9522         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9523         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9524         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9525         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9526         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9527         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9528         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9529         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9530         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9531         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9532         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9533         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9534         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9535         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9536         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9537         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9538         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9539         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9540         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9541         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9542         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9543         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9544         (R_ARM_THM_GOT_BREL12): Likewise.
9545         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9546         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9547         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9548         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9549         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9550         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9551         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9552         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9553         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9555 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9557         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9558         __attribute_used__ to __attribute__ ((unused)).
9560 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9562         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9563         powerpc mpa.c.
9564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9565         comment formatting.
9566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9568 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9570         [BZ #13550]
9571         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9572         Remove macro.
9573         (ENTER): Remove both macro definitions.
9574         (LEAVE): Likewise.
9575         (CHECK_BOUNDS_LOW): Likewise.
9576         (CHECK_BOUNDS_HIGH): Likewise.
9577         (CHECK_BOUNDS_BOTH): Likewise.
9578         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9579         (RETURN_BOUNDED_POINTER): Likewise.
9580         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9581         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9582         (POP_ERRNO_LOCATION_RETURN): Likewise.
9583         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9584         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9585         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9586         macros.
9587         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9588         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9589         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9590         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9591         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9592         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9593         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9594         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9595         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9596         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9597         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9598         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9599         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9600         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9601         removed macros.
9602         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9603         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9604         macros.
9605         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9606         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9607         * sysdeps/i386/i586/memset.S (memset): Likewise.
9608         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9609         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9610         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9611         macros.
9612         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9613         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9614         Change uses of L(2) to L(out).
9615         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9616         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9617         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9618         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9619         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9620         removed macros.
9621         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9622         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9623         macros.
9624         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9625         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9626         (RETURN): Do not use macro LEAVE.
9627         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9628         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9629         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9630         * sysdeps/i386/i686/memset.S (memset): Likewise.
9631         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9632         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9633         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9634         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9635         Likewise.
9636         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9637         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9638         L(1_2) and L(1_3) into L(1).
9639         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9640         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9641         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9642         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9643         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9644         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9645         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9646         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9647         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9648         macros.
9649         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9650         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9651         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9652         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9653         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9654         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9655         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9656         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9657         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9658         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9659         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9660         * sysdeps/i386/strspn.S (strspn): Likewise.
9661         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9662         conditional code.
9663         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9664         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9665         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9666         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9667         L(1_3) into L(1_1).
9668         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9669         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9670         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9671         macros.
9672         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9674 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9676         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9677         macro.
9679 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9681         * math/atest-exp.c (exp_mpn): Remove ROUND.
9682         * math/atest-exp2.c (exp_mpn): Likewise.
9683         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9685         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9686         * stdlib/tst-tls-atexit-lib.c: Likewise.
9687         * stdlib/tst-tls-atexit.c: Likewise.
9689 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9691         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9692         and __attribute_alloc_size__.
9694 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9696         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9697         __attribute_alloc_size__.
9698         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9699         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9701 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9703         * include/programs/xmalloc.h: New file.
9704         * catgets/gencat.c: Include it.
9705         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9706         * elf/pldd.c: Likewise.
9707         * iconv/iconv_charmap.c: Likewise.
9708         * iconv/iconvconfig.c: Likewise.
9709         * iconv/strtab.c: Likewise.
9710         * locale/programs/locale.c: Likewise.
9711         * locale/programs/localedef.h: Likewise.
9712         * locale/programs/simple-hash.c: Likewise.
9713         * nscd/nscd.h: Likewise.
9714         * nss/makedb.c: Likewise.
9715         * sysdeps/generic/ldconfig.h: Likewise.
9717 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9719         * Versions.def: Add GLIBC_2.18.
9720         * include/link.h (struct link_map): New member l_tls_dtor_count.
9721         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9722         (__call_tls_dtors): Likewise.
9723         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9724         __cxa_thread_atexit_impl.
9725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9726         Likewise.
9727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9728         Likewise.
9729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9730         Likewise.
9731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9732         Likewise.
9733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9735         Likewise.
9736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9737         Likewise.
9738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9740         Likewise.
9741         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9742         (tests): Add test case tst-tls-atexit.
9743         (modules-names): Add shared library for tst-tls-atexit.
9744         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9745         (GLIBC_PRIVATE): Add __call_tls_dtors.
9746         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9747         for libstdc++.
9748         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9749         * stdlib/tst-tls-atexit.c: New test case.
9750         * stdlib/tst-tls-atexit-lib.c: New test case.
9752         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9754         * elf/Versions (ld): Add _dl_find_dso_for_object.
9755         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9756         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9757         (dl_open_worker): Use _dl_find_dso_for_object.
9758         * elf/dl-sym.c (do_sym): Likewise.
9759         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9761 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9763         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9764         Syntactic changes only.
9765         (_dl_runtime_profile): Do a tail-call to the resolved function.
9767 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9769         [BZ #13550]
9770         * sysdeps/x86_64/bp-asm.h: Remove file.
9771         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9772         <bp-sym.h> and <bp-asm.h>.
9773         (__clone): Do not use BP_SYM.
9774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9775         <bp-sym.h> and <bp-asm.h>.
9776         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9777         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9778         "bp-asm.h".
9779         (_setjmp): Do not use BP_SYM.
9780         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9781         "bp-asm.h".
9782         (setjmp): Do not use BP_SYM.
9783         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9784         libc_hidden_def.
9785         (mempcpy): Do not use BP_SYM in weak_alias.
9786         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9787         "bp-asm.h".
9788         (strchr): Do not use BP_SYM.
9789         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9790         "bp-asm.h".
9791         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9792         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9793         (_start): Do not use BP_SYM.
9794         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9795         "bp-asm.h".
9796         (strcat): Do not use BP_SYM.
9797         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9798         "bp-asm.h".
9799         (STRCMP): Do not use BP_SYM.
9800         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9801         "bp-asm.h".
9802         (STRCPY): Do not use BP_SYM.
9803         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9804         "bp-asm.h".
9805         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9806         "bp-asm.h".
9807         (FUNCTION): Do not use BP_SYM.
9808         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9809         weak_alias.
9810         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9812 2013-02-17  Andreas Jaeger  <aj@suse.de>
9814         * time/Versions: Sort entries.
9815         * string/Versions: Likewise.
9816         * resolv/Versions: Likewise.
9817         * posix/Versions: Likewise.
9818         * iconv/Versions: Likewise.
9819         * elf/Versions: Likewise.
9820         * wcsmbs/Versions: Likewise.
9822 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9824         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9825         loop termination condition.
9827         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9828         variable to calculate EZ.
9829         (__sqr): Likewise.
9831         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9832         the lower precision input.
9834 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9836         [BZ #13550]
9837         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9838         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9839         (run-via-rtld-prefix): Do not handle %-bp tests.
9840         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9841         (all-object-suffixes): Remove .ob.
9842         (bppfx): Remove variable.
9843         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9844         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9845         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9846         [$(build-bounded) = yes] (libtype.ob): Likewise.
9847         * Makerules (elide-routines.ob): Remove variable.
9848         (do-tests-clean): Do not handle *-bp.out.
9849         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9850         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9851         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9852         (tests): Do not include $(tests-bp.out).
9853         (xtests): Do not include $(xtests-bp.out).
9854         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9855         [$(build-bounded) = yes] ($(addprefix
9856         $(objpfx),$(binaries-bounded))): Remove rule.
9857         ($(objpfx)%-bp.out): Remove rule.
9858         * config.make.in (build-bounded): Remove variable.
9859         * crypt/Makefile [$(build-bounded) = yes]
9860         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9861         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9862         append to variable.
9863         [$(build-bounded) = yes] (install-lib): Likewise.
9864         [$(build-bounded) = yes] (generated): Likewise.
9865         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9866         Remove rule.
9867         * intl/Makefile [$(build-bounded) = yes]
9868         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9869         * math/Makefile [$(build-bounded) = yes]
9870         ($(tests:%=$(objpfx)%-bp): Likewise.
9871         * misc/Makefile [$(build-bounded) = yes]
9872         ($(objpfx)tst-tsearch-bp): Likewise.
9873         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9874         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9875         Remove dependency.
9876         * string/Makefile (o-objects.ob): Remove variable.
9877         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9878         (CFLAGS-.ob): Remove variable.
9879         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9880         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9881         both definitions of variable.
9882         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9883         (ASFLAGS-.ob): Remove variable.
9885 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9887         [BZ #13550]
9888         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9889         Remove __BOUNDED_POINTERS__ from condition.
9890         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9891         * string/bits/string2.h [!__NO_STRING_INLINES &&
9892         !__BOUNDED_POINTERS__]: Likewise.
9893         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9894         Likewise.
9895         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9896         Remove conditional code.
9897         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9898         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9899         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9900         condition.
9902         [BZ #13550]
9903         * csu/libc-start.c: Do not include <bp-sym.h>.
9904         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9905         * elf/dl-open.c: Do not include <bp-sym.h>.
9906         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9907         * math/fegetenv.c: Do not include <bp-sym.h>.
9908         (fegetenv): Do not use BP_SYM in versioned symbols.
9909         * nptl/sysdeps/pthread/bits/libc-lockP.h
9910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9911         <bp-sym.h>.
9912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9913         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9915         (__pthread_mutex_destroy): Likewise.
9916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9917         (__pthread_mutex_lock): Likewise.
9918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9919         (__pthread_mutex_trylock): Likewise.
9920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9921         (__pthread_mutex_unlock): Likewise.
9922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9923         (__pthread_mutexattr_init): Likewise.
9924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9925         (__pthread_mutexattr_destroy): Likewise.
9926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9927         (__pthread_mutexattr_settype): Likewise.
9928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9929         (__pthread_rwlock_init): Likewise.
9930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9931         (__pthread_rwlock_destroy): Likewise.
9932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9933         (__pthread_rwlock_rdlock): Likewise.
9934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9935         (__pthread_rwlock_tryrdlock): Likewise.
9936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9937         (__pthread_rwlock_wrlock): Likewise.
9938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9939         (__pthread_rwlock_trywrlock): Likewise.
9940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9941         (__pthread_rwlock_unlock): Likewise.
9942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9943         (__pthread_key_create): Likewise.
9944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9945         (__pthread_setspecific): Likewise.
9946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9947         (__pthread_getspecific): Likewise.
9948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9949         Likewise.
9950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9951         (_pthread_cleanup_push_defer): Likewise.
9952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9953         (_pthread_cleanup_pop_restore): Likewise.
9954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9955         (pthread_setcancelstate): Likewise.
9956         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9957         <bp-sym.h>.
9958         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9959         (memchr): Do not use BP_SYM in weak_alias.
9960         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9961         (fegetenv): Do not use BP_SYM in versioned symbols.
9962         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9963         (fesetenv): Do not use BP_SYM in versioned symbols.
9964         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9965         (feupdateenv): Do not use BP_SYM in versioned symbols.
9966         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9967         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9968         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9969         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9970         (open64): Do not use BP_SYM in weak_alias.
9971         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9972         (fegetenv): Do not use BP_SYM in versioned symbols.
9973         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9974         (fesetenv): Do not use BP_SYM in versioned symbols.
9975         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9976         (feupdateenv): Do not use BP_SYM in versioned symbols.
9977         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9978         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9979         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9980         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9981         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9982         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9983         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9984         <bp-sym.h>.
9985         (__libc_start_main): Do not use BP_SYM.
9987 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9990         redundant return line.
9991         (norm): Likewise.
9992         (denorm): Likewise.
9993         (dbl_mp): Likewise.
9994         (sub_magnitudes): Likewise.
9995         (__add): Likewise.
9996         (__sub): Likewise.
9997         (__mul): Likewise.
9998         (__inv): Likewise.
9999         (__dvd): Likewise.
10000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10001         (norm): Likewise.
10002         (denorm): Likewise.
10003         (dbl_mp): Likewise.
10004         (sub_magnitudes): Likewise.
10005         (__add): Likewise.
10006         (__sub): Likewise.
10007         (__mul): Likewise.
10008         (__inv): Likewise.
10009         (__dvd): Likewise.
10011         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10012         instead of __mul.
10013         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10014         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10015         (cc32): Likewise.
10017         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10018         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10019         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10020         of __mul for squares.
10021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10022         function
10023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10024         Likewise.
10025         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10026         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10028 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10030         [BZ #13550]
10031         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10032         code.
10033         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10034         prototype or function definition.  Rename ubp_* variables and
10035         parameters.  Remove argv definitions conditional on
10036         [__BOUNDED_POINTERS__].
10037         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10038         * elf/dl-runtime.c (_dl_fixup): Likewise.
10039         * include/set-hooks.h (RUN_HOOK): Likewise.
10040         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10041         definition.
10042         * string/strcpy.c (strcpy): Do not use __unbounded.
10043         * sysdeps/generic/frame.h (struct layout): Likewise.
10044         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10045         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10046         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10047         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10048         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10049         (__backtrace): Likewise.
10050         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10051         use __ptrvalue.
10052         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10053         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10054         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10055         Likewise.
10056         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10057         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10058         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10059         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10060         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10061         Do not use __unbounded.
10062         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10063         Rename __unboundedrlimits parameter to rlimits in prototype.
10064         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10065         Do not use __unbounded.
10066         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10067         not use __ptrvalue.
10068         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10069         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10070         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10071         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10072         __ptrvalue or __unbounded.
10073         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10074         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10075         use __unbounded.
10076         (__new_msgctl): Do not use __ptrvalue.
10077         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10078         __unbounded.
10079         (__libc_msgrcv): Do not use __ptrvalue.
10080         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10081         startup_info): Do not use __unbounded.
10082         (__libc_start_main): Likewise.  Rename ubp_* variables and
10083         parameters.  Remove argv definitions conditional on
10084         [__BOUNDED_POINTERS__].
10085         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10086         __ptrvalue.
10087         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10088         use __unbounded.
10089         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10090         or __ptrvalue.
10091         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10092         use __unbounded.
10093         (__new_shmctl): Do not use __ptrvalue.
10094         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10095         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10096         Likewise.
10097         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10098         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10099         (__libc_sigaction): Likewise.
10100         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10101         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10102         Likewise.
10103         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10105 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10107         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10109         * string/mempcpy.c: Implement by calling memcpy.
10111 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10113         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10115         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10116         evaluation.
10118         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10119         values in the mantissa.
10121         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10122         minimize writes to Z.
10123         (sub_magnitudes): Simplify code a bit.
10125 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10127         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10128         from the message.  The linker prefixes all warnings with that already.
10130 2013-02-12  Andreas Schwab  <schwab@suse.de>
10132         [BZ #15078]
10133         * posix/regexec.c (extend_buffers): Add parameter min_len.
10134         (check_matching): Pass minimum needed length.
10135         (clean_state_log_if_needed): Likewise.
10136         (get_subexp): Likewise.
10137         * posix/Makefile (tests): Add bug-regex34.
10138         (bug-regex34-ENV): Define.
10139         * posix/bug-regex34.c: New file.
10141         [BZ #11561]
10142         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10143         elements compare against the byte sequence of it, not its name.
10144         * posix/Makefile (tests): Add bug-regex35.
10145         (bug-regex35-ENV): Define.
10146         * posix/bug-regex35.c: New file.
10148 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10150         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10151         comment.
10152         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10153         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10154         (CHECK_EOL): Add undef.
10156 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10158         * bits/stdlib-bsearch.h: New file.
10159         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10160         * stdlib/stdlib.h: Likewise.
10162 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10164         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10165         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10166         declaration.
10167         * manual/search.texi (Array Search Function): Add missing const in
10168         lfind prototype.
10169         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10170         declaration to use rlim_t.
10171         (Basic Scheduling Functions): Remove erroneous const from
10172         sched_getparam prototype.  Remove erroneous * from
10173         sched_get_priority_max and sched_get_priority_min prototypes.
10174         (Resource Usage): Fix summary @comment on vtimes to refer to
10175         sys/vtimes.h rather than vtimes.h.
10176         Add missing *s in vtimes prototype.
10177         (Limits on Resources): Fix ulimit prototype to return long int.
10178         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10179         prototypes to use long int rather than double.
10180         (BSD Random): Fix initstate and setstate to use char *, not void *.
10181         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10182         prototype to make second argument 'struct aiocb64 *const[]'.
10183         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10184         (Status of AIO Operations): Remove erroneous const in aio_return and
10185         aio_return64 prototypes.
10186         (Synchronizing I/O): Fix sync prototype to return void.
10187         * manual/startup.texi (Suboptions): Remove an erroneous const in
10188         getsubopt prototype.
10189         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10190         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10191         use size_t rather than int.
10192         (Scanning All Users): Likewise for getpwent_r.
10193         (Setting Groups): Add missing const to setgroups prototype.
10194         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10195         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10196         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10197         'const void *' rather than 'const char *'.
10198         (Host Address Functions): Likewise for inet_ntop.
10199         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10200         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10201         ssize_t for return value.
10202         (Sending Data): Likewise for send, sendto, sendmsg.
10203         (Socket Option Functions): Add a missing const in setsockopt prototype.
10204         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10205         use wchar_t for the argument.
10206         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10207         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10208         take no arguments.
10209         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10210         double/float/long double for second argument.
10211         Fix return types of significand, significandf, significandl.
10212         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10213         argument in fchmod prototype.
10214         (File Owner): Use uid_t and gid_t in fchown prototype.
10215         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10216         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10217         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10218         use 'const struct dirent **' as argument types to CMP function pointer
10219         argument.
10220         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10221         (File Times): Fix summary magic @comment for struct utimbuf and utime
10222         to refer to utime.h, not time.h.
10223         * manual/string.texi (Argz Functions): Add missing const in
10224         argz_extract and argz_next prototypes.
10225         (Finding Tokens in a String): Likewise for basename.
10226         (String/Array Comparison): Fix typo in wcscasecmp prototype.
10227         (Copying and Concatenation): Fix typo in wmemmove prototype.
10228         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10229         (Signal Stack): Remove erroneous const in sigstack prototype.
10230         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10231         prototype.
10232         (Simple Calendar Time): Likewise for stime.
10233         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10234         prototype.
10235         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10236         say sys/sysctl.h instead.
10237         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10238         and vsyslog prototypes.
10240 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10242         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10243         Remove.
10245 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10247         * misc/sys/mman.h: Fix typo in mremap comment.
10249 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10251         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10252         the '\0' terminator.
10254 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10256         [BZ #13550]
10257         * debug/segfault.c: Don't include <bp-checks.h>.
10258         * sysdeps/generic/bp-checks.h: Remove file.
10259         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10260         (__GETDENTS): Don't use CHECK_N.
10261         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10262         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10263         (__getgroups): Don't use CHECK_N.
10264         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10265         (setgroups): Don't use CHECK_N.
10266         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10267         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10268         (__libc_msgrcv): Don't use CHECK_N.
10269         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10270         (__libc_msgsnd): Don't use CHECK_N.
10271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10272         <bp-checks.h>.
10273         (__libc_pread): Don't use CHECK_N.
10274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10275         include <bp-checks.h>.
10276         (__libc_pread64): Don't use CHECK_N.
10277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10278         include <bp-checks.h>.
10279         (__libc_pwrite): Don't use CHECK_N.
10280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10281         include <bp-checks.h>.
10282         (__libc_pwrite64): Don't use CHECK_N.
10283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10284         <bp-checks.h>.
10285         (__libc_pread): Don't use CHECK_N.
10286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10287         include <bp-checks.h>.
10288         (__libc_pread64): Don't use CHECK_N.
10289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10290         include <bp-checks.h>.
10291         (__libc_pwrite): Don't use CHECK_N.
10292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10293         include <bp-checks.h>.
10294         (__libc_pwrite64): Don't use CHECK_N.
10295         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10296         (do_pread): Don't use CHECK_N.
10297         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10298         (do_pread64): Don't use CHECK_N.
10299         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10300         (do_pwrite): Don't use CHECK_N.
10301         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10302         (do_pwrite64): Don't use CHECK_N.
10303         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10304         (__libc_readv): Don't use CHECK_N.
10305         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10306         (semop): Don't use CHECK_N.
10307         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10308         <bp-checks.h>.
10309         (semtimedop): Don't use CHECK_N.
10310         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10311         (__libc_pread): Don't use CHECK_N.
10312         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10313         <bp-checks.h>.
10314         (__libc_pread64): Don't use CHECK_N.
10315         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10316         <bp-checks.h>.
10317         (__libc_pwrite): Don't use CHECK_N.
10318         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10319         <bp-checks.h>.
10320         (__libc_pwrite64): Don't use CHECK_N.
10321         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10322         <bp-checks.h>.
10323         (__libc_msgrcv): Don't use CHECK_N.
10324         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10325         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10326         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10327         (__libc_writev): Don't use CHECK_N.
10329 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10331         * string/strcpy.c: Removed unused variable.
10333         * Makeconfig (+sysdep-includes): Define with := rather than =.
10334         Use an existing include/ subdir of each sysdeps dir before it.
10336 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10338         * nscd/connection.c (register_traced_file): Comment function.
10339         [HAVE_INOTIFY] (union __inev): Define.
10340         [HAVE_INOTIFY] (inotify_check_files): New function.
10341         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10342         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10343         clear_db_cache.
10344         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10346 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10348         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10349         loaded if not already and that a failure is permanent.
10351 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10353         [BZ #15006]
10354         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10355         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10357 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10359         [BZ #13550]
10360         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10361         (CHECK_1_NULL_OK): Likewise.
10362         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10363         (__fxstat): Do not use CHECK_1.
10364         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10365         <bp-checks.h>.
10366         (___fxstat64): Do not use CHECK_1.
10367         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10368         <bp-checks.h>.
10369         (__fxstatat): Do not use CHECK_1.
10370         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10371         <bp-checks.h>.
10372         (__fxstatat64): Do not use CHECK_1.
10373         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10374         <bp-checks.h>.
10375         (__fxstat): Do not use CHECK_1.
10376         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10377         <bp-checks.h>.
10378         (__fxstatat): Do not use CHECK_1.
10379         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10380         <bp-checks.h>.
10381         (__getresgid): Do not use CHECK_1.
10382         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10383         <bp-checks.h>.
10384         (__getresuid): Do not use CHECK_1.
10385         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10386         <bp-checks.h>.
10387         (__lxstat): Do not use CHECK_1.
10388         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10389         <bp-checks.h>.
10390         (__old_msgctl): Do not use CHECK_1.
10391         (__new_msgctl): Likewise.
10392         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10393         <bp-checks.h>.
10394         (__new_setrlimit): Do not use CHECK_1.
10395         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10396         <bp-checks.h>.
10397         (__old_shmctl): Do not use CHECK_1.
10398         (__new_shmctl): Likewise.
10399         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10400         <bp-checks.h>.
10401         (__xstat): Do not use CHECK_1.
10402         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10403         (__lxstat): Do not use CHECK_1.
10404         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10405         <bp-checks.h>.
10406         (___lxstat64): Do not use CHECK_1.
10407         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10408         (__old_msgctl): Do not use CHECK_1.
10409         (__new_msgctl): Likewise.
10410         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10411         <bp-checks.h>.
10412         (__gettimeofday): Do not use CHECK_1.
10413         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10414         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10415         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10416         <bp-checks.h>.
10417         (__gettimeofday): Do not use CHECK_1.
10418         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10419         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10420         (__new_shmctl): Do not use CHECK_1.
10421         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10422         <bp-checks.h>.
10423         (do_sigtimedwait): Do not use CHECK_1.
10424         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10425         <bp-checks.h>.
10426         (do_sigwaitinfo): Do not use CHECK_1.
10427         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10428         <bp-checks.h>.
10429         (msgctl): Do not use CHECK_1.
10430         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10431         <bp-checks.h>.
10432         (shmctl): Do not use CHECK_1.
10433         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10434         (ustat): Do not use CHECK_1.
10435         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10436         <bp-checks.h>.
10437         (__fxstat): Do not use CHECK_1.
10438         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10439         <bp-checks.h>.
10440         (__fxstatat): Do not use CHECK_1.
10441         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10442         <bp-checks.h>.
10443         (__lxstat): Do not use CHECK_1.
10444         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10445         <bp-checks.h>.
10446         (__xstat): Do not use CHECK_1.
10447         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10448         (__xstat): Do not use CHECK_1.
10449         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10450         (___xstat64): Do not use CHECK_1.
10452         [BZ #13550]
10453         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10454         definitions.
10455         (CHECK_BOUNDS_HIGH): Likewise.
10456         * string/strcpy.c: Do not include <bp-checks.h>.
10457         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10459 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10461         * nscd/nscd-client.h (__nscd_drop_map_ref):
10462         Add __attribute__ ((unused)).
10463         * nis/nss-nisplus.h (niserr2nss): Likewise.
10465         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10466         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10468         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10469         Remove inline keyword.
10470         * include/rounding-mode.h (round_away): Likewise.
10471         * libio/wfileops.c (adjust_wide_data): Likewise.
10472         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10473         (__m128i_strloadu_tolower): Likewise.
10474         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10475         (__m128i_strloadu_tolower): Likewise.
10476         * time/mktime.c (ydhms_diff): Likewise.
10477         * locale/elem-hash.h (elem_hash): Likewise.
10478         * locale/setlocale.c (setdata): Likewise.
10479         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10480         (re_string_wchar_at): Likewise.
10481         (bitset_not, bitset_merge, bitset_mask): Likewise.
10482         [!(__GNUC__ > 3)] (inline): Remove macro.
10483         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10484         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10485         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10486         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10487         * string/memcmp.c (memcmp_bytes): Likewise.
10488         * locale/programs/locarchive.c (compute_hashval): Likewise.
10489         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10490         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10491         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10492         * nss/getent.c (print_rpc, print_protocols): Likewise.
10493         (print_passwd, print_group, print_aliases): Likewise.
10494         * nis/nss-nisplus.h (niserr2nss): Likewise.
10495         * nscd/connections.c (restart_p): Likewise.
10496         Change return type to bool.
10498 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10500         * Makeconfig (all-Depend-files): Add existing
10501         $(sorted-subdirs:=/Depend) files.
10502         (all-subdirs): Remove nss.
10503         * sysdeps/unix/inet/Subdirs: Add it here instead.
10504         * hesiod/Depend: New file.
10506         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10507         instead of calling alloca.
10509         * io/lseek.c (__lseek): Rename to __libc_lseek.
10510         Define __lseek as an alias.
10512         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10514 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10516         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10517         else clause and remove check for non-standard endianness.
10519 2013-02-04  David S. Miller  <davem@davemloft.net>
10521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10523 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10525         [BZ #13550]
10526         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10527         (__ubp_memchr): Remove prototype.
10528         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10529         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10530         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10531         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10532         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10533         Remove alias.
10534         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10535         (__ubp_memchr): Likewise.
10536         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10537         (__ubp_memchr): Likewise.
10538         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10539         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10540         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10541         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10542         CHECK_STRING.
10543         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10544         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10545         (__getcwd): Do not use CHECK_STRING.
10546         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10547         <bp-checks.h>.
10548         (__real_chown): Do not use CHECK_STRING.
10549         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10550         <bp-checks.h>.
10551         (fchownat): Do not use CHECK_STRING.
10552         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10553         CHECK_STRING.
10554         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10555         <bp-checks.h>.
10556         (__lchown): Do not use CHECK_STRING.
10557         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10558         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10559         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10560         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10562         include <bp-checks.h>.
10563         (truncate64): Do not use CHECK_STRING.
10564         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10565         <bp-checks.h>.
10566         (__real_chown): Do not use CHECK_STRING.
10567         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10568         <bp-checks.h>.
10569         (__lchown): Do not use CHECK_STRING.
10570         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10571         <bp-checks.h>.
10572         (__chown): Do not use CHECK_STRING.
10573         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10574         <bp-checks.h>.
10575         (truncate64): Do not use CHECK_STRING.
10576         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10577         Likewise.
10578         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10579         (__xmknod): Do not use CHECK_STRING.
10580         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10581         <bp-checks.h>.
10582         (__xmknodat): Do not use CHECK_STRING.
10583         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10584         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10586 2013-02-04  Andreas Schwab  <schwab@suse.de>
10588         [BZ #14142]
10589         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10590         * include/netdb.h: Likewise for h_errno.
10591         * elf/tst-stackguard1.c: Include <tls.h>.
10593 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10595         * elf/link.h (struct link_map): Extend the l_addr comment.
10596         * include/link.h (struct link_map): Likewise.
10598 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10600         [BZ #13550]
10601         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10602         (BOUNDED_1): Remove macro.
10603         * debug/backtrace.c: Don't include <bp-checks.h>.
10604         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10605         (__backtrace): Likewise.
10606         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10607         <bp-checks.h>.
10608         (__backtrace): Don't use BOUNDED_1.
10609         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10610         <bp-checks.h>.
10611         (__backtrace): Don't use BOUNDED_1.
10612         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10613         (__backtrace): Don't use BOUNDED_1.
10614         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10615         (shmat): Don't use BOUNDED_N.
10617 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10619         [BZ #13550]
10620         * sysdeps/generic/bp-start.h: Remove file.
10621         * csu/libc-start.c: Don't include <bp-start.h>.
10622         (LIBC_START_MAIN): Set up __environ directly instead of using
10623         INIT_ARGV_and_ENVIRON.
10624         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10625         <bp-start.h>.
10627         [BZ #13550]
10628         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10629         definitions.
10630         (CHECK_FCNTL): Likewise.
10631         (CHECK_N_PAGES): Likewise.
10633         [BZ #13550]
10634         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10635         definitions.
10636         (CHECK_SIGSET_NULL_OK): Likewise.
10637         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10638         <bp-checks.h>.
10639         (sigpending): Don't use CHECK_SIGSET.
10640         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10641         <bp-checks.h>.
10642         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10643         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10644         <bp-checks.h>.
10645         (do_sigsuspend): Don't use CHECK_SIGSET.
10646         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10647         use CHECK_SIGSET.
10648         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10649         (do_sigwait): Don't use CHECK_SIGSET.
10650         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10651         use CHECK_SIGSET.
10652         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10653         include <bp-checks.h>.
10654         (sigpending): Don't use CHECK_SIGSET.
10655         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10656         include <bp-checks.h>.
10657         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10658         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10659         <bp-checks.h>.
10660         (sigpending): Don't use CHECK_SIGSET.
10661         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10662         <bp-checks.h>.
10663         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10665         [BZ #13550]
10666         * sysdeps/generic/bp-semctl.h: Remove file.
10667         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10668         <bp-checks.h> and <bp-semctl.h>.
10669         (__old_semctl): Don't use CHECK_SEMCTL.
10670         (__new_semctl): Likewise.
10671         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10672         and <bp-semctl.h>.
10673         (__old_semctl): Don't use CHECK_SEMCTL.
10674         (__new_semctl): Likewise.
10675         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10676         <bp-checks.h> and <bp-semctl.h>.
10677         (__old_semctl): Don't use CHECK_SEMCTL.
10678         (__new_semctl): Likewise.
10679         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10680         <bp-checks.h> and <bp-semctl.h>.
10681         (semctl): Don't use CHECK_SEMCTL.
10683         [BZ #13550]
10684         * Makerules (elide-bp-thunks): Remove variable.
10685         (elide-routines.oS): Don't use $(elide-bp-thunks).
10686         (elide-routines.os): Likewise.
10687         (elide-routines.o): Likewise.
10688         (elide-routines.op): Likewise.
10689         (elide-routines.og): Likewise.
10690         (objects): Don't use $(bp-thunks).
10691         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10692         include.
10693         (common-generated): Do not add s-proto-bp.d.
10694         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10695         (int): Likewise.
10696         (typ): Likewise.
10697         Do not generate makefile rules for bounded-pointer thunks.
10698         * sysdeps/generic/bp-thunks.h: Remove file.
10699         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10700         * sysdeps/unix/s-proto-bp.S: Likewise.
10702         [BZ #15062]
10703         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10704         parts of result separately when argument is not close to line from
10705         -i to i and one part of argument is small.
10706         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10707         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10708         * math/libm-test.inc (cacos_test): Add more tests.
10709         (casin_test): Likewise.
10710         (casinh_test): Likewise.
10711         * sysdeps/i386/fpu/libm-test-ulps: Update.
10712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10714 2013-01-31  David S. Miller  <davem@davemloft.net>
10716         * po/de.po: Update from translation team.
10718 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10720         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10722 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10724         * configure.in (_AC_PROG_CC_C89): New definition.
10725         * configure: Regenerate.
10727         * configure.in (AC_PROG_CPP): New definition.
10728         * configure: Regenerate.
10730 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10732         * debug/tst-backtrace.h: New file.
10733         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10734         (ret): Remove variable.
10735         (x): Likewise.
10736         (FAIL): Remove macro.
10737         (NO_INLINE): Likewise.
10738         (fn1): Use match function instead of strstr.
10739         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10740         (ret): Remove variable.
10741         (x): Likewise.
10742         (FAIL): Remove macro.
10743         (NO_INLINE): Likewise.
10744         (fn): Use match function instead of strstr.
10745         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10746         (ret): Remove variable.
10747         (x): Likewise.
10748         (FAIL): Remove macro.
10749         (NO_INLINE): Likewise.
10750         (handle_signal): Use match function instead of strstr.
10751         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10752         (ret): Remove variable.
10753         (x): Likewise.
10754         (FAIL): Remove macro.
10755         (NO_INLINE): Likewise.
10756         (handle_signal): Use match function instead of strstr.
10758 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10760         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10762 2013-01-23  David S. Miller  <davem@davemloft.net>
10764         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10765         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10766         argument of CAS if possible.
10767         * sysdeps/sparc/sparc64/bits/atomic.h
10768         (__arch_compare_and_exchange_val_32_acq): Likewise.
10769         (__arch_compare_and_exchange_val_64_acq): Likewise.
10771 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10773         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10774         * sysdeps/posix/ulimit.c: ... this.
10775         Include <limits.h>.
10776         * sysdeps/unix/bsd/ulimit.c: Remove file.
10778 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10780         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10781         (LDFLAGS-tst-array5): Likewise.
10783 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10785         [BZ #15036]
10786         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10787         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10788         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10789         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10791 2013-01-21  David S. Miller  <davem@davemloft.net>
10793         * sysdeps/sparc/backtrace.c: New file.
10794         * sysdeps/sparc/sparc32/backtrace.h: New file.
10795         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10796         * sysdeps/sparc/sparc64/backtrace.h: New file.
10797         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10798         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10799         -funwind-tables.
10801 2013-01-21  Andreas Schwab  <schwab@suse.de>
10803         [BZ #15020]
10804         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10805         closed its stdout.
10807 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10810         "mpa2.h".
10811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10813 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10814             Mark Mitchell  <mark@codesourcery.com>
10815             Tom de Vries  <tom@codesourcery.com>
10816             Paul Pluzhnikov  <ppluzhnikov@google.com>
10818         * debug/tst-backtrace2.c: New file.
10819         * debug/tst-backtrace3.c: Likewise.
10820         * debug/tst-backtrace4.c: Likewise.
10821         * debug/tst-backtrace5.c: Likewise.
10822         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10823         (CFLAGS-tst-backtrace3.c): Likewise.
10824         (CFLAGS-tst-backtrace4.c): Likewise.
10825         (CFLAGS-tst-backtrace5.c): Likewise.
10826         (LDFLAGS-tst-backtrace2): Likewise.
10827         (LDFLAGS-tst-backtrace3): Likewise.
10828         (LDFLAGS-tst-backtrace4): Likewise.
10829         (LDFLAGS-tst-backtrace5): Likewise.
10830         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10831         tst-backtrace4 and tst-backtrace5.
10833 2013-01-18  Anton Blanchard  <anton@samba.org>
10834             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10836         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10837         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10838         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10839         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10841         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10842         "+r" and remove output regs list as redundant.  Add explicit inline
10843         asm to specify register of return val to work around compiler codegen
10844         bug.  Remove (int) cast on return value.  Add return type parameter to
10845         use in macro so that this macro does not truncate return value for
10846         64-bit values.
10847         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10848         pass to INTERNAL_VSYSCALL_NCS.
10849         (INLINE_VSYSCALL): Add 'long int' as return type to
10850         INTERNAL_VSYSCALL_NCS macro invocation.
10851         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10852         INTERNAL_VSYSCALL_NCS macro invocation.
10853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10855 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10857         [BZ #14496]
10858         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10859         Fix application of SIMD FP exception mask.
10861         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10862         mp_no from a power of two.
10863         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10864         __mpexp_twomm1.  Use __pow_mp.
10866         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10867         multiplication.
10869 2013-01-17  David S. Miller  <davem@davemloft.net>
10871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10873 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10875         [BZ #15023]
10876         * include/complex.h: Condition contents on [!_COMPLEX_H].
10877         (__kernel_casinhf): New prototype.
10878         (__kernel_casinh): Likewise.
10879         (__kernel_casinhl): Likewise.
10880         * math/Makefile (libm_calls): Add k_casinh.
10881         * math/k_casinh.c: New file.
10882         * math/k_casinhf.c: Likewise.
10883         * math/k_casinhl.c: Likewise.
10884         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10885         finite nonzero arguments.
10886         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10887         finite nonzero arguments.
10888         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10889         finite nonzero arguments.
10890         * math/s_casinh.c: Do not include <float.h>.
10891         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10892         * math/s_casinhf.c: Do not include <float.h>.
10893         (__casinhf): Move code for finite nonzero arguments to
10894         k_casinhf.c.
10895         * math/s_casinhl.c: Do not include <float.h>.
10896         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10897         redefine.
10898         (__casinhl): Move code for finite nonzero arguments to
10899         k_casinhl.c.
10900         * math/libm-test.inc (cacos_test): Add more tests.
10901         * sysdeps/i386/fpu/libm-test-ulps: Update.
10902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10904 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10906         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10907         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10908         [!HAVE_MREMAP]: Remove [defined linux] case.
10909         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10911 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10913         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10915 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10917         * elf/elf.h (R_386_SIZE32): New relocation.
10918         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10919         R_386_SIZE32.
10920         (elf_machine_rela): Likewise.
10921         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10922         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10924 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10926         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10927         (FP_FAST_FMA): Do not define.
10928         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10929         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10930         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10931         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10932         !_SOFT_FLOAT]: Likewise.
10933         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10934         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10935         value.
10936         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10937         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10938         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10939         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10940         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10941         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10942         file.
10944 2013-01-16  Andreas Schwab  <schwab@suse.de>
10946         [BZ #14327]
10947         * include/stdlib.h (__mktemp): Add declaration.
10948         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10949         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10951 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10953         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10954         definitions.
10955         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10956         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10957         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10958         definitions here.
10959         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10960         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10961         definitions.
10962         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10963         and ONE.
10964         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10965         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10966         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10967         definitions.
10968         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10969         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10970         definitions.
10971         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10973         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10975 2013-01-15  David S. Miller  <davem@davemloft.net>
10977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10978         trunc{,f} to libm-sysdep_routes.
10979         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10981         file.
10982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10984         file.
10985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10986         file.
10987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10989         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10990         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10991         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10992         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10993         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10994         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10997         nearbyint{,f} to libm-sysdep_routes.
10998         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11000         New file.
11001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11002         file.
11003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11004         New file.
11005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11006         file.
11007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11009         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11010         file.
11011         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11012         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11013         file.
11014         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11015         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11016         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11018         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11019         libc_feholdexcept and libc_fesetenv.
11021 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11023         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11025 2013-01-14  David S. Miller  <davem@davemloft.net>
11027         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11028         (SPARC_ASM_VIS2_IFUNC): Likewise.
11029         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11031         use of 'siam' instruction.
11032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11033         Likewise.
11034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11035         Likewise.
11036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11037         Likewise.
11038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11039         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11043         file.
11044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11045         file.
11046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11047         file.
11048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11049         file.
11050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11053         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11055         new VIS2 routines.
11056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11059         Likewise.
11060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11062         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11063         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11065         routines to libm-sysdep_routines.
11066         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11069         fdim/fdimf to libm-sysdep_routines.
11070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11071         file.
11072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11074         file.
11075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11078         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11079         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11080         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11081         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11083 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11085         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11086         to optimize copies.
11088         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11093         local variable MPTWO.
11094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11095         Likewise.
11097 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11099         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11100         GLOB_NOESCAPE.
11102 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11104         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11106 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11108         * manual/pattern.texi (glob_t): Document gl_flags.
11109         (glob64_t): Likewise.
11111 2013-01-11  David S. Miller  <davem@davemloft.net>
11113         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11114         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11115         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11116         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11117         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11118         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11119         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11120         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11121         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11122         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11123         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11124         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11125         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11127         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11128         sparc V9 rather than using V8 code.
11129         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11130         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11132         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11133         Move to...
11134         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11135         Here.
11137 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11139         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11140         not in the main loop.
11141         * configure: Regenerated.
11143 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11145         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11146         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11147         to just #else.
11148         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11149         [!__GLIBC_HAVE_LONG_LONG] case.
11150         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11151         condition to just #else.
11152         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11153         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11154         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11155         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11156         unconditional.
11157         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11158         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11159         #elif condition to just #else.
11160         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11161         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11162         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11163         #elif condition to just #else.
11165 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11167         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11168         (EF_MIPS_ARCH_64): Fix value.
11169         (EF_MIPS_ARCH_32R2): New.
11170         (EF_MIPS_ARCH_64R2): New.
11172 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11174         * Makeconfig (+link-pie-before-libc): New.
11175         (+link-pie-after-libc): Likewise.
11176         (+link-pie-tests): Likewise.
11177         (+link-pie): Rewritten.
11178         (link-before-libc): Remove $(config-LDFLAGS).
11179         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11180         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11181         (config-LDFLAGS): Renamed to ...
11182         (rtld-LDFLAGS): This.
11183         (rtld-tests-LDFLAGS): New macro.
11184         (link-libc-rpath-link): Likewise.
11185         (link-libc-tests-rpath-link): Likewise.
11186         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11187         (link-libc): Prepand $(link-libc-rpath-link).
11188         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11189         (test-program-prefix): New macro.
11190         (test-via-rtld-prefix): Likewise.
11191         (test-program-cmd): Likewise.
11192         (host-test-program-cmd): Likewise.
11193         * Makefile ($(common-objpfx)testrun.sh): Replace
11194         $(run-program-prefix) with $(test-program-prefix).
11195         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11196         $(rtld-LDFLAGS).
11197         ($(common-objpfx)shlib.lds): Likewise.
11198         (build-module-helper): Likewise.
11199         ($(common-objpfx)format.lds): Likewise.
11200         * Rules (binaries-pie-tests): New.
11201         (binaries-pie-notests): Likewise.
11202         (binaries-pie): Rewritten.
11203         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11204         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11205         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11206         (make-test-out): Replace $(host-built-program-cmd) with
11207         $(host-test-program-cmd).
11208         * config.make.in (build-hardcoded-path-in-tests): New variable.
11209         * configure.in (--enable-hardcoded-path-in-tests): New configure
11210         option.
11211         (hardcoded_path_in_tests): New AC_SUBST.
11212         * configure: Regenerated.
11213         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11214         $(built-program-cmd) with $(test-program-cmd).
11215         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11216         (test_program_cmd): This.
11217         * elf/Makefile ($(objpfx)order.out): Run test with
11218         $(test-program-prefix).
11219         ($(objpfx)order2.out): Likewise.
11220         ($(objpfx)tst-initorder.out): Likewise.
11221         ($(objpfx)tst-initorder2.out): Likewise.
11222         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11223         $(test-program-cmd).
11224         ($(objpfx)tst-array1-static.out): Likewise.
11225         ($(objpfx)tst-array2.out): Likewise.
11226         ($(objpfx)tst-array3.out): Likewise.
11227         ($(objpfx)tst-array4.out): Likewise.
11228         ($(objpfx)tst-array5.out): Likewise.
11229         ($(objpfx)tst-array5-static.out): Likewise.
11230         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11231         $(test-program-cmd).
11232         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11233         $(run-program-prefix) with $(test-program-prefix).
11234         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11235         (test_program_prefix): This.
11236         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11237         $(run-program-prefix) with $(test-program-prefix).
11238         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11239         (test_program_prefix): This.
11240         * iconvdata/tst-tables.sh: Likewise.
11241         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11242         $(run-program-prefix) with $(test-program-prefix).
11243         ($(objpfx)tst-translit.out): Likewise.
11244         ($(objpfx)tst-gettext2.out): Likewise.
11245         ($(objpfx)tst-gettext4.out): Likewise.
11246         ($(objpfx)tst-gettext6.out): Likewise.
11247         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11248         (test_program_prefix): This.
11249         * intl/tst-gettext2.sh: Likewise.
11250         * intl/tst-gettext4.sh  Likewise.
11251         * intl/tst-gettext6.sh: Likewise.
11252         * intl/tst-translit.sh: Likewise.
11253         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11254         with $(test-program-cmd).
11255         * libio/Makefile ($(objpfx)test-freopen.out): Replace
11256         $(run-program-prefix) with $(test-program-prefix).
11257         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11258         (test_program_prefix): This.
11259         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11260         $(run-program-prefix) with $(test-program-prefix).
11261         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11262         (test_program_prefix): This.
11263         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11264         * posix/Makefile ($(objpfx)globtest.out): Replace
11265         $(run-via-rtld-prefix) and $(test-wrapper) with
11266         $(test-program-prefix) and $(test-via-rtld-prefix).
11267         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11268         $(test-program-prefix).
11269         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11270         $(host-test-program-cmd).
11271         (tst-spawn-ARGS): Likewise.
11272         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11273         $(test-program-prefix).
11274         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11275         (test_via_rtld_prefix): This.
11276         (test_wrapper): Renamed to ...
11277         (test_program_prefix): This.
11278         (run_program_prefix): Replaced by test_program_prefix.
11279         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11280         (test_program_prefix): This.
11281         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11282         with $(host-test-program-cmd).
11283         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11284         $(run-program-prefix) with $(test-program-prefix).
11285         ($(objpfx)tst-printf.out): Likewise.
11286         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11287         $(test-program-cmd).
11288         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11289         (test_program_prefix): This.
11290         * stdio-common/tst-unbputc.sh: Likewise.
11291         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11292         $(run-program-prefix) with $(test-program-prefix).
11293         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11294         (test_program_prefix): This.
11295         * string/Makefile ($(objpfx)tst-svc.out):  Replace
11296         $(built-program-cmd) with $(test-program-cmd).
11298 2013-01-11  Andreas Jaeger  <aj@suse.de>
11300         [BZ #15003]
11301         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11302         value. Sync with Linux 3.7.
11304 2013-01-10  David S. Miller  <davem@davemloft.net>
11306         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11307         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11308         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11310 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11312         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11313         never set.
11314         * configure: Regenerated.
11316 2013-01-10  David S. Miller  <davem@davemloft.net>
11318         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11319         sparc V9 rather than using V8 code.
11320         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11321         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11323 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11325         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11326         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11327         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11328         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11329         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11330         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11331         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11332         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11333         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11334         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11335         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11336         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11337         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11338         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11339         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11340         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11341         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11342         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11343         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11344         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11345         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11346         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11347         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11348         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11349         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11350         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11351         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11353 2013-01-10  David S. Miller  <davem@davemloft.net>
11355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11357 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11359         * posix/Makefile (tests-static): New variable.
11360         (tests): Add $(tests-static).
11361         (tst-exec-static-ARGS): New variable.
11362         (tst-spawn-static-ARGS): Likewise.
11363         * posix/tst-exec-static.c: New file.
11364         * posix/tst-spawn-static.c: Likewise.
11365         * posix/tst-exec.c: Support run directly.
11366         * posix/tst-spawn.c: Likewise.
11368 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11370         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11371         long.
11372         * math/bits/mathcalls.h (llrint): Likewise.
11373         (llround): Likewise.
11374         * stdlib/stdlib.h (struct drand48_data): Likewise.
11375         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11376         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11377         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11378         Likewise.
11379         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11380         Likewise.
11381         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11382         (elf_greg_t): Likewise.
11383         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11384         (__jmp_buf): Likewise.
11385         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11386         definitions.
11387         (llrint): Likewise, for all definitions.
11388         (llrintl): Likewise.
11390         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11391         Remove [__GNUC__] condition.
11392         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11393         condition to just [__USE_ISOC99].
11394         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11396 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11398         [BZ #14200]
11399         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11400         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11401         defined.
11402         (_POSIX_V6_ILP32_OFF32): Likewise.
11403         (_XBS5_ILP32_OFF32): Likewise.
11404         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11405         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11407 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11409         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11411         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11412         doubles __mpexp_twomm1.  Adjust usage.
11413         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11414         Remove.
11416 2013-01-10  Andreas Schwab  <schwab@suse.de>
11418         [BZ #14964]
11419         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11420         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11422 2013-01-09  David S. Miller  <davem@davemloft.net>
11424         [BZ #15003]
11425         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11426         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11427         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11428         TCP_FASTOPEN): Define.
11429         (tcp_repair_opt): New structure.
11430         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11431         enum values.
11432         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11433         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11434         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11435         (tcp_cookie_transactions): New structure.
11437 2013-01-09  Anton Blanchard  <anton@samba.org>
11439         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11440         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11441         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11442         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11444 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11446         * include/features.h (__USE_ANSI): Remove.
11448 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11450         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11452         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11454 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11456         * sysdeps/s390/fpu/libm-test-ulps: Update.
11458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11460         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11461         (__acr): Likewise.
11462         (__cpy): Likewise.
11463         (norm): Likewise.
11464         (denorm): Likewise.
11465         (__mp_dbl): Likewise.
11466         (__dbl_mp): Likewise.
11467         (add_magnitudes): Likewise.
11468         (sub_magnitudes): Likewise.
11469         (__add): Likewise.
11470         (__sub): Likewise.
11471         (__mul): Likewise.
11472         (__inv): Likewise.
11473         (__dvd): Likewise.
11474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11475         (__acr): Likewise.
11476         (__cpy): Likewise.
11477         (norm): Likewise.
11478         (denorm): Likewise.
11479         (__mp_dbl): Likewise.
11480         (__dbl_mp): Likewise.
11481         (add_magnitudes): Likewise.
11482         (sub_magnitudes): Likewise.
11483         (__add): Likewise.
11484         (__sub): Likewise.
11485         (__mul): Likewise.
11486         (__inv): Likewise.
11487         (__dvd): Likewise.
11488         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11489         (__acr): Likewise.
11490         (__cpy): Likewise.
11491         (norm): Likewise.
11492         (denorm): Likewise.
11493         (__mp_dbl): Likewise.
11494         (__dbl_mp): Likewise.
11495         (add_magnitudes): Likewise.
11496         (sub_magnitudes): Likewise.
11497         (__add): Likewise.
11498         (__sub): Likewise.
11499         (__mul): Likewise.
11500         (__inv): Likewise.
11501         (__dvd): Likewise.
11503 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11505         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11506         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11507         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11508         2 && __USE_EXTERN_INLINES]: Likewise.
11510 2013-01-08  Andreas Jaeger  <aj@suse.de>
11512         [BZ# 14985]
11513         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11514         Remove.
11515         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11516         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11518 2013-01-07  Anton Blanchard  <anton@samba.org>
11520         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11521         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11522         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11523         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11524         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11525         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11526         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11527         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11529         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11530         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11531         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11532         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11533         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11534         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11535         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11536         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11537         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11538         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11539         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11540         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11541         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11542         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11543         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11544         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11545         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11546         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11547         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11548         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11549         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11550         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11552         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11553         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11554         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11555         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11556         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11557         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11558         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11559         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11560         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11561         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11562         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11564 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11566         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11567         (__MALLOC_PMT): Likewise.
11568         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11569         [__GNUC__], only on [_LIBC].
11570         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11571         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11572         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11573         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11574         forward declaration.
11575         (realloc_hook_ini): Likewise.
11576         (memalign_hook_ini): Likewise.
11577         (__libc_memalign): Do not use __MALLOC_PMT in variable
11578         declaration.
11579         (__libc_valloc): Likewise.
11580         (__libc_pvalloc): Likewise.
11581         (__libc_calloc): Likewise.
11582         (__posix_memalign): Likewise.
11584         [BZ #14996]
11585         * math/s_casinh.c: Include <float.h>.
11586         (__casinh): Do not do computation with squaring and square root
11587         for large arguments.
11588         * math/s_casinhf.c: Include <float.h>.
11589         (__casinhf): Do not do computation with squaring and square root
11590         for large arguments.
11591         * math/s_casinhl.c: Include <float.h>.
11592         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11593         (__casinhl): Do not do computation with squaring and square root
11594         for large arguments.
11595         * math/libm-test.inc (casin_test): Add more tests.
11596         (casinh_test): Likewise.
11597         * sysdeps/i386/fpu/libm-test-ulps: Update.
11598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11600 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11602         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11603         (__x86_64_raw_data_cache_size): Likewise.
11604         (__x86_64_data_cache_size_half): Likewise.
11605         (__x86_64_raw_data_cache_size_half): Likewise.
11606         (__x86_64_shared_cache_size): Likewise.
11607         (__x86_64_raw_shared_cache_size): Likewise.
11608         (__x86_64_shared_cache_size_half): Likewise.
11609         (__x86_64_raw_shared_cache_size_half): Likewise.
11610         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11611         to ...
11612         (__x86_data_cache_size): This.
11613         (__x86_64_raw_data_cache_size): Renamed to ...
11614         (__x86_raw_data_cache_size): This.
11615         (__x86_64_data_cache_size_half): Renamed to ...
11616         (__x86_data_cache_size_half): This.
11617         (__x86_64_raw_data_cache_size_half): Renamed to ...
11618         (__x86_raw_data_cache_size_half): This.
11619         (__x86_64_shared_cache_size): Renamed to ...
11620         (__x86_shared_cache_size): This.
11621         (__x86_64_raw_shared_cache_size): Renamed to ...
11622         (__x86_raw_shared_cache_size): This.
11623         (__x86_64_shared_cache_size_half): Renamed to ...
11624         (__x86_shared_cache_size_half): This.
11625         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11626         (__x86_raw_shared_cache_size_half): This.
11627         * sysdeps/x86_64/memcpy.S: Updated.
11628         * sysdeps/x86_64/memset.S: Likewise.
11629         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11630         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11631         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11633 2013-01-04  David S. Miller  <davem@davemloft.net>
11635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11637 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11639         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11640         1 to avoid redefinition warning.
11641         (__USE_GNU): Don't define.
11642         (init_signaling_nan): Protoize.
11644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11646 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11648         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11650         (__cpymn): Likewise.
11651         (norm): Remove commented code.
11652         (denorm): Likewise.
11653         (__mp_dbl): Likewise.
11654         (__inv): Likewise.
11655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11656         (__cpymn): Likewise.
11657         (norm): Remove commented code.
11658         (denorm): Likewise.
11659         (__mp_dbl): Likewise.
11660         (__inv): Likewise.
11662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11663         mp_no value for 1.0 and 2.0.
11664         (norm): Use RADIXI instead of radixi.d.
11665         (denorm): Likewise.
11666         (__mul): Use 0.0 instead of zero.d.
11667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11668         mp_no value for 1.0 and 2.0.
11669         (norm): Use RADIXI instead of radixi.d.
11670         (denorm): Likewise.
11671         (__mul): Use 0.0 instead of zero.d.
11673 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11675         [BZ #14994]
11676         * math/s_casinh.c (__casinh): Reduce finite argument to first
11677         quadrant then set signs of results at the end.
11678         * math/s_casinhf.c (__casinhf): Likewise.
11679         * math/s_casinhl.c (__casinhl): Likewise.
11680         * math/libm-test.inc (casin_test): Add more tests.
11681         (casinh_test): Likewise.
11682         * sysdeps/i386/fpu/libm-test-ulps: Update.
11683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11685 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11687         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11689         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11691         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11692         declarations.
11693         (denorm): Likewise.
11694         (__mp_dbl): Likewise.
11695         (__inv): Likewise.
11697         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11698         and adjust the header comment.
11700         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11701         variable name from declaration.
11703 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11706         Initialize COMMON_CPUID_INDEX_7 element.
11707         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11708         (CPUID_RTM): Likewise.
11709         (HAS_RTM): Likewise.
11710         (COMMON_CPUID_INDEX_7): New enum.
11712 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11714         [BZ #14981]
11715         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11716         size is zero, record memory as freed.
11718 2013-01-03  Andreas Jaeger  <aj@suse.de>
11720         * po/ia.po: Add new Interlingua translation.
11722 2012-01-03  Allan McRae  <allan@archlinux.org>
11724         * locale/programs/localedef.c: Fix description of '--posix' flag.
11726 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11728         * NEWS: Update dates in second copyright notice.
11729         * README: Update copyright dates in example.
11730         * manual/libc.texinfo: Update copyright dates.
11731         * scripts/test-installation.pl: Update copyright date in --version
11732         output.
11734         * hurd/ctty-input.c: Fix copyright notice formatting.
11735         * hurd/ctty-output.c: Likewise.
11736         * hurd/dtable.c: Likewise.
11737         * hurd/hurd-raise.c: Likewise.
11738         * hurd/hurdprio.c: Likewise.
11739         * hurd/msgportdemux.c: Likewise.
11740         * misc/sys/file.h: Likewise.
11741         * misc/sys/ioctl.h: Likewise.
11742         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11743         * sysdeps/mach/hurd/chdir.c: Likewise.
11744         * sysdeps/mach/hurd/fchdir.c: Likewise.
11745         * sysdeps/mach/hurd/rename.c: Likewise.
11746         * sysdeps/mach/hurd/rmdir.c: Likewise.
11747         * sysdeps/mach/hurd/seekdir.c: Likewise.
11748         * sysdeps/mach/hurd/setsid.c: Likewise.
11749         * sysdeps/posix/wait3.c: Likewise.
11751         * All files with FSF copyright notices: Update copyright dates
11752         using scripts/update-copyrights.
11753         * intl/plural.c: Regenerated.
11754         * locale/programs/charmap-kw.h: Likewise.
11755         * locale/programs/locfile-kw.h: Likewise.
11757 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11759         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11760         four values.
11762         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11763         calculation loop and add branch prediction.
11765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11766         check access beyond bounds of m1np.
11768         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11769         MPTWO.
11770         (__inv): Remove local variable MPTWO to use the global
11771         constant.
11772         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11773         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11774         variable MPTWO.
11775         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11776         MP3HALFS static const.
11778 2013-01-01  David S. Miller  <davem@davemloft.net>
11780         * po/ca.po: Update from translation team.
11782 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11784         * scripts/update-copyrights: New file.
11785         * Makeconfig: Reformat copyright notice.
11786         * ctype/ctype.h: Likewise.
11787         * debug/swprintf_chk.c: Likewise.
11788         * elf/dl-cache.c: Likewise.
11789         * elf/dl-debug.c: Likewise.
11790         * elf/dl-object.c: Likewise.
11791         * grp/initgroups.c: Likewise.
11792         * hurd/Makefile: Likewise.
11793         * hurd/hurd/signal.h: Likewise.
11794         * hurd/hurdfault.c: Likewise.
11795         * hurd/hurdioctl.c: Likewise.
11796         * hurd/hurdlookup.c: Likewise.
11797         * hurd/intr-msg.c: Likewise.
11798         * iconv/gconv_open.c: Likewise.
11799         * libio/swprintf.c: Likewise.
11800         * locale/lc-ctype.c: Likewise.
11801         * locale/nl_langinfo.c: Likewise.
11802         * mach/Machrules: Likewise.
11803         * mach/Makefile: Likewise.
11804         * malloc/obstack.h: Likewise.
11805         * manual/Makefile: Likewise.
11806         * manual/tsort.awk: Likewise.
11807         * misc/bits/stab.def: Likewise.
11808         * nis/nis_print_group_entry.c: Likewise.
11809         * nis/nis_table.c: Likewise.
11810         * nis/nss_compat/compat-pwd.c: Likewise.
11811         * nis/nss_compat/compat-spwd.c: Likewise.
11812         * po/Makefile: Likewise.
11813         * posix/fnmatch.c: Likewise.
11814         * posix/regex.h: Likewise.
11815         * resolv/Makefile: Likewise.
11816         * resolv/nss_dns/dns-network.c: Likewise.
11817         * resolv/res_hconf.c: Likewise.
11818         * scripts/gen-sorted.awk: Likewise.
11819         * soft-fp/soft-fp.h: Likewise.
11820         * stdio-common/printf.h: Likewise.
11821         * stdlib/monetary.h: Likewise.
11822         * stdlib/random.c: Likewise.
11823         * stdlib/random_r.c: Likewise.
11824         * sysdeps/generic/Makefile: Likewise.
11825         * sysdeps/gnu/Makefile: Likewise.
11826         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11827         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11828         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11829         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11830         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11831         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11832         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11833         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11834         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11835         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11836         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11837         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11838         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11839         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11840         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11841         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11842         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11843         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11844         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11845         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11846         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11847         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11848         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11849         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11850         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11851         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11852         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11853         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11854         * sysdeps/mach/hurd/errnos.awk: Likewise.
11855         * sysdeps/mach/hurd/fork.c: Likewise.
11856         * sysdeps/mach/hurd/getcwd.c: Likewise.
11857         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11858         * sysdeps/mach/hurd/mmap.c: Likewise.
11859         * sysdeps/mach/hurd/utimes.c: Likewise.
11860         * sysdeps/mach/hurd/xmknod.c: Likewise.
11861         * sysdeps/posix/profil.c: Likewise.
11862         * sysdeps/posix/readdir_r.c: Likewise.
11863         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11864         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11865         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11866         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11868         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11869         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11870         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11872         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11873         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11874         * sysdeps/pthread/lio_listio.c: Likewise.
11875         * sysdeps/sparc/dl-procinfo.h: Likewise.
11876         * sysdeps/unix/i386/sysdep.S: Likewise.
11877         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11878         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11879         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11880         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11882         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11883         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11884         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11885         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11886         * sysdeps/wordsize-32/divdi3.c: Likewise.
11887         * time/sys/time.h: Likewise.
11888         * wcsmbs/Makefile: Likewise.
11890 2013-01-01  David S. Miller  <davem@davemloft.net>
11892         * po/fr.po: Update from translation team.
11894         * catgets/gencat.c: Update copyright year.
11895         * csu/version.c: Likewise.
11896         * debug/catchsegv.sh: Likewise.
11897         * debug/pcprofiledump.c: Likewise.
11898         * debug/xtrace.sh: Likewise.
11899         * elf/ldconfig.c: Likewise.
11900         * elf/ldd.bash.in: Likewise.
11901         * elf/pldd.c: Likewise.
11902         * elf/sotruss.ksh: Likewise.
11903         * elf/sprof.c: Likewise.
11904         * iconv/iconv_prog.c: Likewise.
11905         * iconv/iconvconfig.c: Likewise.
11906         * locale/programs/locale.c: Likewise.
11907         * locale/programs/localedef.c: Likewise.
11908         * login/programs/pt_chown.c: Likewise.
11909         * malloc/memusage.sh: Likewise.
11910         * malloc/memusagestat.c: Likewise.
11911         * malloc/mtrace.pl: Likewise.
11912         * nscd/nscd.c: Likewise.
11913         * nss/getent.c: Likewise.
11914         * nss/makedb.c: Likewise.
11915         * posix/getconf.c: Likewise.
11917 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11919         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11920         numbers.
11922 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11924         * math/bits/mathcalls.h (modf): Use __nonnull.
11926 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11928         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11929         (split): Use macro CN instead of the bare value.
11930         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11931         could be used.
11932         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11933         instead of the bare value.
11934         (power1): Likewise.
11936 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11939         __ATAN_TWOM.
11940         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11942         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11943         their values.
11944         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11945         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11946         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11947         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11949 2012-12-28  Andreas Jaeger  <aj@suse.de>
11951         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11952         values are from Linux 3.7.
11954         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11955         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11957 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11959         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11960         TRUE case.
11962         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11963         (norm): Likewise.
11964         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11965         variables with preprocessor constants.
11966         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11967         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11968         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11970 2012-12-27  Bruno Haible  <bruno@clisp.org>
11972         [BZ #14317]
11973         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11974         only if needed.
11976 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11978         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11979         and use variable directly.
11980         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11982         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11983         MPONE.
11984         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11985         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11986         variable MPONE.
11987         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11988         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11989         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11990         include directive.  Remove local variable MPONE.
11991         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11992         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11993         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11995 2012-12-25  David S. Miller  <davem@davemloft.net>
11997         * version.h (RELEASE): Set to "development".
11998         (VERSION): Set to "2.17.90".
11999         * NEWS: Add 2.18 section.
12001 2012-12-21  David S. Miller  <davem@davemloft.net>
12003         * po/hr.po: Update from translation team.
12005 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12007         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12009 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12011         * NEWS:  Mention new memcpy for MIPS.
12013 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12015         * manual/contrib.texi (Contributors): Spelling correction.
12017 2012-12-15  David S. Miller  <davem@davemloft.net>
12019         * po/ru.po: Update from translation team.
12021 2012-12-13  David S. Miller  <davem@davemloft.net>
12023         * NEWS: Mention IFUNC testsuite enhancements.
12025         * po/pl.po: Update from translation team.
12026         * po/bg.po: Likewise.
12028         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12029         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12031 2012-12-11  David S. Miller  <davem@davemloft.net>
12033         * po/sv.po: Update from translation team.
12035         * po/vi.po: Update from translation team.
12037         * po/cs.po: Update from translation team.
12039         * po/de.po: Update from translation team.
12040         * po/eo.po: Likewise.
12041         * po/nl.po: Likewise.
12043 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12045         [BZ #14246]
12046         * manual/argp.texi (Argp Helper Functions): Move node to follow
12047         Argp Parsing State.
12049         [BZ #14872]
12050         * manual/conf.texi (Limits on File System Capacity): Mention if
12051         terminating null is included in the max size.
12053 2012-12-10  Andreas Jaeger  <aj@suse.de>
12055         * po/cs.po: Update from translation team.
12057 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12059         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12060         void pointer and cast to uintptr_t.
12061         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12062         path.
12063         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12064         * sysdeps/s390/s390-64/memset.S: Likewise.
12066 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12068         [BZ #14833]
12069         * menual/message.texi (Message Translation): Fix typos.
12070         (Helper programs for gettext): Likewise.
12072 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12074         [BZ #14898]
12075         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12076         Change to -1.
12078 2012-12-07  David S. Miller  <davem@davemloft.net>
12080         * po/libc.pot: Update.
12082 2012-12-07  Richard Henderson  <rth@redhat.com>
12084         [BZ #10114]
12085         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12086         normal/normal case to before the switch.
12087         (_FP_DIV): Likewise.
12089 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12090             Mike Frysinger  <vapier@gentoo.org>
12092         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12093         check for __NR_fadvise64_64.
12095 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12097         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12098         0, not just to plain "0" as a statement.
12099         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12100         with cw.
12102 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12104         * NEWS: Use sourceware.org in Bugzilla URL.
12106 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12109         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12111         * stdio-common/tst-put-error.c (do_test): Add newline to the
12112         padded test to ensure flush.
12114 2012-12-05  Jeff Law  <law@redhat.com>
12116         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12118 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12120         * README: Don't refer to ports add-on as distributed separately.
12121         Mention AArch64 in list of systems supported in the ports add-on.
12123         * LICENSES: Add more non-FSF copyright and license notices.
12125         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12126         ((unused)).
12128         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12130         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12131         10000 as width of padded output.
12133 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12135         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12137         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12138         variable LX with __attribute__ ((unused)).
12139         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12140         Likewise.
12141         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12142         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12143         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12144         with __attribute__ ((unused)).
12146 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12148         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12150 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12152         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12153         (CFLAGS-nldbl-acos.c): New variable.
12154         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12155         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12156         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12157         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12158         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12159         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12160         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12161         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12162         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12163         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12164         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12165         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12166         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12167         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12168         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12169         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12170         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12171         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12172         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12173         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12174         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12175         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12176         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12177         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12178         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12179         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12180         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12181         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12182         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12183         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12184         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12185         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12186         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12187         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12188         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12189         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12190         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12191         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12192         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12193         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12194         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12195         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12196         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12197         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12198         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12199         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12200         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12201         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12202         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12203         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12204         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12205         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12206         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12207         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12208         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12209         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12210         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12211         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12212         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12213         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12214         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12215         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12216         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12217         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12218         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12219         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12220         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12221         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12222         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12223         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12224         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12225         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12226         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12227         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12228         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12229         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12230         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12231         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12232         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12233         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12234         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12235         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12236         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12237         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12238         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12239         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12240         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12241         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12242         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12243         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12244         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12245         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12246         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12247         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12248         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12249         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12250         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12253         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12255         [BZ #14914]
12256         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12257         whole low double instead of just low 47 bits when splitting values
12258         into two parts.
12260 2012-12-03  Allan McRae  <allan@archlinux.org>
12262         * manual/stdio.texi (Predefined Printf Handlers): Remove
12263         @hsep and @vsep usage.
12265 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
12267         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12268         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12270 2012-12-03  Jeff Law  <law@redhat.com>
12272         * time/sys/time.h (settimeofday): Do not mark TV argument
12273         as __nonnull.
12275 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
12277         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12278         when currently writing and seek to current position when not.
12279         * libio/Makefile (tests): Remove bug-fclose1.
12280         * libio/bug-fclose1.c: Delete.
12282 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
12284         * manual/arith.texi (feenableexcept): Fix typo.
12285         (fedisableexcept): Likewise.
12287 2012-11-30  Roland McGrath  <roland@hack.frob.com>
12289         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12290         second, differently-typed declaration, rather than a cast.
12292 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12294         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12295         * include/rpc/svc.h: ... here.
12297 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
12299         [BZ #13013]
12300         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12301         depending n and resplen2 to catch cases where answer
12302         equals answerp2.
12304 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
12306         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12307         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12309 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
12311         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12313 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12315         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12317 2012-11-28  Jeff Law  <law@redhat.com>
12319         [BZ #13761]
12320         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12321         dataset_temporary.  Track alloca usage into alloca_used.
12322         If dataset is large allocate and release it via malloc/free.
12324 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12326         [BZ #14197]
12327         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12329 2012-11-28  David S. Miller  <davem@davemloft.net>
12331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12333 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12335         [BZ #14803]
12336         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12337         of pi/2 rounded to nearest to 64 bits.
12338         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12339         nearest to 64 bits.
12340         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12341         bits.
12343 2012-11-28  Jeff Law <law@redhat.com>
12344             Martin Osvald <mosvald@redhat.com>
12346         [BZ #14889]
12347         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12348         * sunrpc/svc.c: Include time.h.
12349         (__svc_accept_failed): New function.
12350         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12351         any reason other than EINTR, call __svc_accept_failed.
12352         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12353         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12355 2012-11-28  Andreas Schwab  <schwab@suse.de>
12357         * scripts/abilist.awk: Also handle indirect functions in .opd
12358         section.
12360 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12362         [BZ #13881]
12363         * sysdeps/x86/fpu/powl_helper.c: New file.
12364         * sysdeps/x86/fpu/Makefile: Likewise.
12365         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12366         (p3): New object.
12367         (__ieee754_powl): Use __powl_helper for finite arguments except
12368         integer exponents below 8.
12369         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12370         (p3): New object.
12371         (__ieee754_powl): Use __powl_helper for finite arguments except
12372         integer exponents below 8.
12373         * math/libm-test.inc (pow_test): Add more tests and enable some
12374         previously disabled tests.
12375         * sysdeps/i386/fpu/libm-test-ulps: Update.
12376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12378 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12379             Carlos O'Donell  <carlos_odonell@mentor.com>
12381         * nss/makedb.c (is_prime): Assert that input is odd and greater
12382         than 4.  Note that fact in a comment too.
12383         (next_prime): Add 4 to input.
12385 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12387         [BZ #11741]
12388         * libio/Makefile (tests): Add test case tst-fwrite-error.
12389         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12390         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12391         * libio/tst-fwrite-error.c: New test case.
12393 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12395         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12396         before casting to void *.
12397         * include/libc-internal.h (__pointer_type): New macro.
12398         (__integer_if_pointer_type_sub): Likewise.
12399         (__integer_if_pointer_type): Likewise.
12400         (cast_to_integer): Likewise.
12401         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12402         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12403         before casting to atomic64_t.
12404         (atomic_exchange_acq): Likewise.
12405         (__arch_exchange_and_add_body): Likewise.
12406         (__arch_add_body): Likewise.
12407         (atomic_add_negative): Likewise.
12408         (atomic_add_zero): Likewise.
12410 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12412         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12413         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12414         (add_fdes): Likewise.
12415         (linear_search_fdes): Likewise.
12416         (binary_search_unencoded_fdes): Likewise.
12418 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12420         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12422 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12424         * configure.in: Autodetect C++ header directories.
12425         * configure: Regenerated.
12427 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12429         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12431 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12435 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12437         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12438         LDBL_MANT_DIG == 106]: Disable some tests.
12439         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12440         Likewise.
12441         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12442         Likewise.
12444         [BZ #14871]
12445         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12446         input for small inputs.  Return +/- pi/2 for large inputs.
12447         * math/libm-test.inc (atan_test): Add more tests.
12449         * sysdeps/generic/unwind-dw2-fde-glibc.c
12450         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12451         __attribute__ ((unused)).
12453         [BZ #14645]
12454         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12455         x * y if x and y are nonzero and z is zero.
12457         [BZ #14811]
12458         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12459         nonzero exponents with absolute value below 0x1p-117 to +/-
12460         0x1p-117.
12462         [BZ #14869]
12463         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12464         up arguments below 2**-450, not just those below 2**-500.
12465         * math/libm-test.inc (hypot_test): Add another test.
12467         [BZ #14868]
12468         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12469         Return a+b for ratio over 2**120, not 2**60.
12470         * math/libm-test.inc (hypot_test): Add another test.
12472         * math/libm-test.inc (clog_test): Use
12473         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12474         (clog10_test): Likewise.
12476         [BZ #6778]
12477         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12479 2012-11-22  Andreas Schwab  <schwab@suse.de>
12481         * sysdeps/i386/fpu/libm-test-ulps: Update.
12483 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12485         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12486         printf output with newline.
12488 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12490         [BZ #14865]
12491         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12492         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12493         -z nodlopen, -z initfirst and -z execstack support.
12494         * configure: Regenerated.
12496         * elf/elf.h (DF_1_NODIRECT): New macro.
12497         (DF_1_IGNMULDEF): Likewise.
12498         (DF_1_NOKSYMS): Likewise.
12499         (DF_1_NOHDR): Likewise.
12500         (DF_1_EDITED): Likewise.
12501         (DF_1_NORELOC): Likewise.
12502         (DF_1_SYMINTPOSE): Likewise.
12503         (DF_1_GLOBAUDIT): Likewise.
12504         (DF_1_SINGLETON): Likewise.
12505         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12506         DT_1_SUPPORTED_MASK bits.
12507         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12509 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12511         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12513 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12515         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12516         macro.
12518         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12519         (sendmmsg): Move declarations...
12520         * socket/sys/socket.h: ... here.
12521         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12522         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12523         include it from...
12524         * socket/recvmmsg.c: ... this new file.
12525         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12526         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12527         definition of __sendmmsg hidden.
12528         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12529         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12530         Move ENOSYS stub into and include it from...
12531         * socket/sendmmsg.c: ... this new file.
12532         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12533         (sysdep_routines): Move recvmmsg and sendmmsg...
12534         * socket/Makefile (routines): ... here.
12535         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12536         (GLIBC_PRIVATE): Add __sendmmsg.
12537         * include/sys/socket.h (__sendmmsg): Add declarations.
12538         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12539         sendmmsg.
12541 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12543         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12544         variable I1 with __attribute__ ((unused)).
12545         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12547 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12549         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12550         DUMMY variables with __attribute__ ((unused)).
12552         * bits/byteswap.h: Include <bits/types.h>.
12553         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12555 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12557         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12558         string_t.  Do not manually set errno.
12559         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12560         length with __strnlen.  Make sure to both set errno and return it on
12561         failure.
12563 2012-11-19  David S. Miller  <davem@davemloft.net>
12565         With help from Joseph Myers.
12566         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12567         very large arguments properly.
12568         * math/libm-test.inc (atan_test): New tests.
12569         (atan2_test): New tests.
12570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12573 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12575         [BZ #14856]
12576         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12577         Define to 3.
12579         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12580         [POSIX] (EADDRNOTAVAIL): Likewise.
12581         [POSIX] (EAFNOSUPPORT): Likewise.
12582         [POSIX] (EALREADY): Likewise.
12583         [POSIX] (ECONNABORTED): Likewise.
12584         [POSIX] (ECONNREFUSED): Likewise.
12585         [POSIX] (ECONNRESET): Likewise.
12586         [POSIX] (EDESTADDRREQ): Likewise.
12587         [POSIX] (EDQUOT): Likewise.
12588         [POSIX] (EHOSTUNREACH): Likewise.
12589         [POSIX] (EIDRM): Likewise.
12590         [POSIX] (EISCONN): Likewise.
12591         [POSIX] (ELOOP): Likewise.
12592         [POSIX] (EMULTIHOP): Likewise.
12593         [POSIX] (ENETDOWN): Likewise.
12594         [POSIX] (ENETUNREACH): Likewise.
12595         [POSIX] (ENOBUFS): Likewise.
12596         [POSIX] (ENODATA): Likewise.
12597         [POSIX] (ENOLINK): Likewise.
12598         [POSIX] (ENOMSG): Likewise.
12599         [POSIX] (ENOPROTOOPT): Likewise.
12600         [POSIX] (ENOSR): Likewise.
12601         [POSIX] (ENOSTR): Likewise.
12602         [POSIX] (ENOTCONN): Likewise.
12603         [POSIX] (ENOTSOCK): Likewise.
12604         [POSIX] (EOPNOTSUPP): Likewise.
12605         [POSIX] (EOVERFLOW): Likewise.
12606         [POSIX] (EPROTO): Likewise.
12607         [POSIX] (EPROTONOSUPPORT): Likewise.
12608         [POSIX] (EPROTOTYPE): Likewise.
12609         [POSIX] (ESTALE): Likewise.
12610         [POSIX] (ETIME): Likewise.
12611         [POSIX] (ETXTBSY): Likewise.
12612         [POSIX] (EWOULDBLOCK): Likewise.
12613         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12614         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12615         [POSIX] (SEEK_CUR): Likewise.
12616         [POSIX] (SEEK_END): Likewise.
12617         [POSIX || UNIX98] (mode_t): Do not require.
12618         [POSIX] (off_t): Likewise.
12619         [POSIX] (pid_t): Likewise.
12620         [POSIX] (sys/stat.h): Do not allow header.
12621         [POSIX] (unistd.h): Likewise.
12622         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12623         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12624         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12625         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12626         require.
12627         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12628         sigevent): Specify elements.
12629         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12630         entry.
12631         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12632         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12634         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12635         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12636         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12637         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12638         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12639         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12640         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12641         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12642         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12643         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12644         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12645         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12646         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12647         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12648         Likewise.
12649         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12650         Likewise.
12651         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12652         Likewise.
12653         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12654         Likewise.
12655         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12656         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12657         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12658         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12659         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12660         Specify lower bound on value.
12661         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12662         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12663         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12664         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12665         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12666         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12667         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12668         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12669         value.
12670         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12671         as optional.
12672         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12673         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12674         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12675         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12676         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12677         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12678         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12679         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12680         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12681         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12682         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12683         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12684         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12685         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12686         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12687         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12688         entry.
12689         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12690         optional.
12691         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12692         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12693         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12694         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12695         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12696         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12697         Likewise.
12698         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12699         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12700         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12701         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12702         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12703         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12704         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12705         as optional.
12706         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12707         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12708         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12709         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12710         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12711         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12712         specify as optional.
12713         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12714         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12715         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12716         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12717         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12718         [XPG3] (NL_LANGMAX): Likewise.
12719         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12720         [POSIX || XPG3] (NL_NMAX): Likewise.
12721         [POSIX || XPG3] (NL_SETMAX): Likewise.
12722         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12723         [XPG3] (NZERO): Likewise.
12724         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12725         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12726         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12727         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12728         (REG_ERANGE): Expect.
12729         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12730         optional-constant.
12731         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12732         Use (void) in prototype.
12733         [POSIX] (*_t): Allow.
12734         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12735         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12736         (WRDE_BADVAL): Expect.
12738         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12739         expect.
12740         [XPG3 || XPG4] (O_RSYNC): Likewise.
12741         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12742         Likewise.
12743         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12744         [XPG3 || XPG4] (sigqueue): Likewise.
12745         [XPG3 || XPG4] (sigtimedwait): Likewise.
12746         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12747         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12748         [XPG3 || XPG4] (vsnprintf): Likewise.
12749         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12750         Likewise.
12751         [XPG3 || XPG4] (blksize_t): Likewise.
12752         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12753         Likewise.
12754         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12755         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12756         [XPG3 || XPG4] (struct itimerspec): Likewise.
12757         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12758         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12759         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12760         [XPG3 || XPG4] (clockid_t): Likewise.
12761         [XPG3 || XPG4] (timer_t): Likewise.
12762         [XPG3 || XPG4] (clock_getres): Likewise.
12763         [XPG3 || XPG4] (clock_gettime): Likewise.
12764         [XPG3 || XPG4] (clock_settime): Likewise.
12765         [XPG3 || XPG4] (nanosleep): Likewise.
12766         [XPG3 || XPG4] (timer_create): Likewise.
12767         [XPG3 || XPG4] (timer_delete): Likewise.
12768         [XPG3 || XPG4] (timer_gettime): Likewise.
12769         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12770         [XPG3 || XPG4] (timer_settime): Likewise.
12771         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12772         [XPG3 || XPG4] (getlogin_r): Likewise.
12773         [XPG3 || XPG4] (pread): Likewise.
12774         [XPG3 || XPG4] (pthread_atfork): Likewise.
12775         [XPG3 || XPG4] (pwrite): Likewise.
12777         [BZ #14835]
12778         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12779         <bits/siginfo.h>.
12781 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12783         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12784         finalizing MALLSTREAM.
12786         * sysdeps/mach/hurd/syncfs.c: New file.
12788 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12790         [BZ #14719]
12791         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12792         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12793         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12794         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12795         (_nss_dns_gethostbyname4_r): Likewise.
12796         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12797         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12799 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12801         [BZ #13763]
12802         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12804 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12806         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12807         * elf/cache.c (print_entry): Print ",AArch64" for
12808         FLAG_AARCH64_LIB64
12810         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12811         * elf/cache.c (print_entry): Print ",hard-float" for
12812         FLAG_ARM_LIBHF.
12814 2012-11-18  David S. Miller  <davem@davemloft.net>
12816         With help from Joseph Myers.
12817         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12818         cutoff to 2**-13.
12819         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12820         cutoff to 2**-25.
12821         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12822         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12823         small.
12824         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12825         * math/libm-test.inc (y0_test): New tests.
12826         (y1_test): New tests.
12827         * sysdeps/i386/fpu/libm-test-ulps: Update.
12828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12831 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12833         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12834         64-bit targets.
12835         * configure: Regenerated.
12837 2012-11-17  David S. Miller  <davem@davemloft.net>
12839         [BZ #14811]
12840         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12841         nonzero exponents with absolute value below 0x1p-128 to +/-
12842         0x1p-128.
12844 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12846         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12848         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12850         * posix/getconf-speclist.c: New file.
12851         * posix/posix-envs.def: Likewise.
12852         * posix/confstr.c (START_ENV_GROUP): New macro.
12853         (END_ENV_GROUP): Likewise.
12854         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12855         (KNOWN_PRESENT_ENV_STRING): Likewise.
12856         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12857         (UNKNOWN_ENVIRONMENT): Likewise.
12858         (confstr): Include posix-envs.def instead of handling
12859         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12860         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12861         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12862         (END_ENV_GROUP): Likewise.
12863         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12864         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12865         (UNKNOWN_ENVIRONMENT): Likewise.
12866         (__sysconf): Include posix-envs.def instead of handling associated
12867         cases directly here.
12868         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12869         preprocessing getconf-speclist.c rather than running getconf or
12870         generating empty file.
12872 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12874         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12876 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12878         [BZ #14672]
12879         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12881 2012-11-16  David S. Miller  <davem@davemloft.net>
12883         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12884         smaller than LDBL_EPSILON/2.0L, just return xm1.
12886 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12888         * elf/tst-array1.c (init): Set constructor priority to 1000.
12889         (fini): Set destructor priority to 1000.
12890         * elf/tst-array2dep.c: Likewise.
12892 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12894         [BZ #11741]
12895         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12896         (_IO_new_file_xsputn): Also return EOF if none of the input
12897         data was written when overflow failed.
12898         * libio/iopadn.c (_IO_padn): Likewise.
12899         * libio/iowpadn.c (_IO_wpadn): Likewise.
12900         * stdio-common/tst-put-error.c: Add copyright notice.
12901         (do_test): Add case for printing padded string.
12902         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12903         _IO_padn returned error.
12904         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12905         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12906         return EOF.
12908 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12910         * libio/libioP.h: Add comment note that the references to C++
12911         bits are now obsolete.
12913 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12915         * math/libm-test.inc (check_complex): Use asprintf.
12917 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12919         * debug/pcprofiledump.c (print_version): Update copyright year.
12920         * malloc/memusagestat.c (print_version): Likewise.
12922 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12924         [BZ #14831]
12925         * elf/Makefile (tests): Add tst-audit8.
12926         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12927         ($(objpfx)tst-audit8.out): New target.
12928         (tst-audit8-ENV): New variable.
12929         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12930         audit if l_reloc_result is NULL.
12931         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12932         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12933         * elf/tst-audit8.c: New file.
12935 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12937         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12938         * misc/Makefile (CFLAGS-select.c): Define.
12939         * posix/Makefile (CFLAGS-pause.c): Define.
12941 2012-11-13  David S. Miller  <davem@davemloft.net>
12943         * crypt/Makefile: Move test targets after toplevel Rules
12944         inclusion.  Grab any necessary sysdep routines when linking.
12945         * crypt/md5.c (md5_process_block): Remove define, we will always
12946         name it __md5_process_block.
12947         (md5_finish_ctx): Update md5_process_block call.
12948         (md5_stream): Likewise.
12949         (md5_process_bytes): Likewise.
12950         (md5_process_block): Rename to __md5_process_block and move to ...
12951         * crypt/md5-block.c: ... here.
12952         * crypt/sha256.c (sha256_process_block): Move to ...
12953         * crypt/sha256-block.c: ... here.
12954         * crypt/sha512.c (sha512_process_block): Move to ...
12955         * crypt/sha512-block.c: ... here.
12956         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12957         path.
12958         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12959         * sysdeps/sparc/sparc64/multiarch/Makefile
12960         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12961         crypt subdir.
12962         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12963         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12964         multiarch changes.
12965         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12966         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12967         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12968         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12969         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12970         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12971         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12972         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12973         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12974         file.
12975         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12976         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12977         file.
12978         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12980 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12982         * timezone/tzselect.ksh: Update from tzcode git revision
12983         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12984         * timezone/zdump.c: Likewise.
12985         * timezone/zic.c: Likewise.
12986         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12987         in TZVERSION setting, not $(PKGVERSION).
12988         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12989         REPORT_BUGS_TO settings.
12991         [BZ #14838]
12992         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12993         macro.
12995 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12997         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12998         detection to immediately after _FP_ROUND().
12999         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13000         bits are 0.
13002 2012-11-11  David S. Miller  <davem@davemloft.net>
13004         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13005         inttypes.h
13006         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13007         __close rather than their public counterparts.
13009 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13011         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13012         file.
13013         [UNIX98] (sem_timedwait): Do not expect.
13014         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13015         [XPG4 || UNIX98] (sockatmark): Do not expect.
13016         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13017         (clock_getcpuclockid): Do not expect.
13018         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13019         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13020         Do not expect.
13021         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13022         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13023         [UNIX98] (vwscanf): Likewise.
13024         [UNIX98] (vswscanf): Likewise.
13026 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13028         * timezone/version.h: Remove file.
13029         * timezone/README: Do not refer to version.h.
13030         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13031         $(objpfx)version.h.
13032         ($(objpfx)zdump.o): Likewise.
13033         ($(objpfx)version.h): New target.
13035         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13036         2012i.
13037         * timezone/README: Don't mention modification to tzselect.ksh.
13038         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13039         work on unmodified tzselect.ksh.  Substitute version numbers in
13040         tzselect.ksh.
13042         * Makefile (format-me): Remove.
13043         (INSTALL): Adjust indentation.  Use commands directly instead of
13044         using $(format-me).
13046         * aclocal.m4 (ACX_PKGVERSION): New macro.
13047         (ACX_BUGURL): Likewise.
13048         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13049         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13050         (REPORT_BUGS_TO): Likewise.
13051         * configure: Regenerated.
13052         * config.h.in (PKGVERSION): New macro.
13053         (REPORT_BUGS_TO): Likewise.
13054         * config.make.in (PKGVERSION): New variable.
13055         (PKGVERSION_TEXI): Likewise.
13056         (REPORT_BUGS_TO): Likewise.
13057         (REPORT_BUGS_TEXI): Likewise.
13058         * Makefile (format-me): Use -I$(common-objpfx)manual.
13059         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13060         ($(common-objpfx)manual/%): New target.
13061         (manual/%): Remove target.
13062         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13063         (print_version): Use PKGVERSION.
13064         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13065         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13066         and REPORT_BUGS_TO.
13067         ($(objpfx)xtrace): Likewise.
13068         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13069         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13070         (print_version): Use PKGVERSION.
13071         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13072         (do_version): Use PKGVERSION.
13073         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13074         REPORT_BUGS_TO.
13075         (common-ldd-rewrite): Likewise.
13076         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13077         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13078         (print_version): Use PKGVERSION.
13079         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13080         * elf/pldd.c (argp_program_bug_address): Remove variable.
13081         (more_help): New function.
13082         (argp): Use more_help.
13083         (print_version): Use PKGVERSION.
13084         * elf/sln.c (main): Use PKGVERSION.
13085         (usage): Use REPORT_BUGS_TO.
13086         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13087         (top level): Use PKGVERSION.
13088         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13089         (print_version): Use PKGVERSION.
13090         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13091         (print_version): Use PKGVERSION.
13092         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13093         (print_version): Use PKGVERSION.
13094         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13095         (print_version): Use PKGVERSION.
13096         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13097         (print_version): Use PKGVERSION.
13098         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13099         (print_version): Use PKGVERSION.
13100         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13101         and BUGURL.
13102         ($(objpfx)memusage): Likewise.
13103         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13104         (do_version): Use PKGVERSION.
13105         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13106         (print_version): Use PKGVERSION.
13107         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13108         ($PKGVERSION): New variable.
13109         ($REPORT_BUGS_TO): Likewise.
13110         (usage): Use $REPORT_BUGS_TO.
13111         (top level): Use $PKGVERSION.
13112         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13113         ($(objpfx)pkgvers.texi): New rule.
13114         ($(objpfx)stamp-pkgvers): Likewise.
13115         * manual/install.texi: Include pkgvers.texi.
13116         (--with-pkgversion): Document new configure option.
13117         (--with-bugurl): Likewise.
13118         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13119         than necessarily for this particular distribution.  Use
13120         REPORT_BUGS_TO for where to report bugs.
13121         * INSTALL: Regenerated.
13122         * manual/libc.texinfo: Include pkgvers.texi.
13123         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13124         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13125         (print_version): Use PKGVERSION.
13126         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13127         (print_version): Use PKGVERSION.
13128         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13129         (print_version): Use PKGVERSION.
13130         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13131         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13132         macro.
13133         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13134         (print_version): Use PKGVERSION.
13135         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13136         (print_version): Use PKGVERSION.
13137         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13138         and PKGVERSION.
13140         * timezone/checktab.awk: Update from tzcode 2012i.
13141         * timezone/ialloc.c: Likewise.
13142         * timezone/private.h: Likewise.
13143         * timezone/scheck.c: Likewise.
13144         * timezone/tzfile.h: Likewise.
13145         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13146         (TZVERSION): Hardcode tzcode version number.
13147         * timezone/zdump.c: Update from tzcode 2012i.
13148         * timezone/zic.c: Likewise.
13149         * timezone/version.h: New file.
13150         * timezone/README: Describe version.h.  Update upstream location.
13152         [BZ #14824]
13153         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13154         (mktemp): Enable declaration.
13155         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13156         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13157         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13158         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13159         Likewise.
13160         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13161         Likewise.
13162         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13163         Likewise.
13164         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13165         Likewise.
13166         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13167         Likewise.
13168         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13169         Likewise.
13171         [BZ #14821]
13172         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13173         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13174         for copies of such integer values.
13175         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13176         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13178 2012-11-09  Andreas Jaeger  <aj@suse.de>
13180         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13181         definitions and declarations that are provided by
13182         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13184 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13186         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13187         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13188         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13189         definition.
13191 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13193         * elf/elf.h: Update comment before AArch64 relocations.
13195 2012-11-07  David S. Miller  <davem@davemloft.net>
13197         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13198         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13199         (__start_context): Declare.
13200         (__makecontext_ret): Delete.
13201         (__makecontext): Hook up __start_context instead of
13202         __makecontext_ret.
13203         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13204         (sysdep_routines): Add __start_context when in stdlib.
13206 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13208         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13209         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13210         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13211         hardcoded "nm".
13212         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13213         (READELF): New variable.  Use it instead of hardcoded "readelf".
13215 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13217         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13218         * sysdeps/x86/Makefile: Here.
13219         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13220         * sysdeps/x86/tst-xmmymm.sh: This.
13222 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13224         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13225         expectations.
13226         [UNIX98] (pthread_barrier_t): Do not expect.
13227         [UNIX98] (pthread_barrierattr_t): Likewise.
13228         [UNIX98] (pthread_spinlock_t): Likewise.
13229         [UNIX98] (pthread_barrier_destroy): Likewise.
13230         [UNIX98] (pthread_barrier_init): Likewise.
13231         [UNIX98] (pthread_barrier_wait): Likewise.
13232         [UNIX98] (pthread_barrierattr_destroy): Likewise.
13233         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13234         [UNIX98] (pthread_barrierattr_init): Likewise.
13235         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13236         [UNIX98] (pthread_getcpuclockid): Likewise.
13237         [UNIX98] (pthread_mutex_timedlock): Likewise.
13238         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13239         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13240         [UNIX98] (pthread_sigmask): Likewise.
13241         [UNIX98] (pthread_spin_destroy): Likewise.
13242         [UNIX98] (pthread_spin_init): Likewise.
13243         [UNIX98] (pthread_spin_lock): Likewise.
13244         [UNIX98] (pthread_spin_trylock): Likewise.
13245         [UNIX98] (pthread_spin_unlock): Likewise.
13246         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13247         Do not expect.
13248         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13249         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13250         [XPG3 || XPG4] (pthread_cond_t): Likewise.
13251         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13252         [XPG3 || XPG4] (pthread_key_t): Likewise.
13253         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13254         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13255         [XPG3 || XPG4] (pthread_once_t): Likewise.
13256         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13257         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13258         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13259         [XPG3 || XPG4] (pthread_t): Likewise.
13261         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13262         not expect.
13263         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13265         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13266         Change function return type to int.
13268         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13269         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13270         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13271         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13272         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13273         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13274         [!POSIX] (posix_madvise): Likewise.
13275         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13276         && !UNIX98].
13277         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13278         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13279         (mode_t): Likewise.
13280         (posix_mem_offset): Likewise.
13281         (posix_typed_mem_get_info): Likewise.
13282         (posix_typed_mem_open): Likewise.
13284         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13285         Change condition to [XOPEN2K8].
13287         * conform/conformtest.pl: Preprocess allow-header data with -x c
13288         instead of from stdin.
13289         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13290         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13291         [C99-based standards] (cerfc): Likewise.
13292         [C99-based standards] (cexp2): Likewise.
13293         [C99-based standards] (cexpm1): Likewise.
13294         [C99-based standards] (clog10): Likewise.
13295         [C99-based standards] (clog1p): Likewise.
13296         [C99-based standards] (clog2): Likewise.
13297         [C99-based standards] (clgamma): Likewise.
13298         [C99-based standards] (ctgamma): Likewise.
13299         [C99-based standards] (cerff): Likewise.
13300         [C99-based standards] (cerfcf): Likewise.
13301         [C99-based standards] (cexp2f): Likewise.
13302         [C99-based standards] (cexpm1f): Likewise.
13303         [C99-based standards] (clog10f): Likewise.
13304         [C99-based standards] (clog1pf): Likewise.
13305         [C99-based standards] (clog2f): Likewise.
13306         [C99-based standards] (clgammaf): Likewise.
13307         [C99-based standards] (ctgammaf): Likewise.
13308         [C99-based standards] (cerfl): Likewise.
13309         [C99-based standards] (cerfcl): Likewise.
13310         [C99-based standards] (cexp2l): Likewise.
13311         [C99-based standards] (cexpm1l): Likewise.
13312         [C99-based standards] (clog10l): Likewise.
13313         [C99-based standards] (clog1pl): Likewise.
13314         [C99-based standards] (clog2l): Likewise.
13315         [C99-based standards] (clgammal): Likewise.
13316         [C99-based standards] (ctgammal): Likewise.
13317         * conform/data/inttypes.h-data [C99-based standards]: Include
13318         stdint.h-data.  Remove all expectations for stdint.h contents.
13319         [C99-based standards] (PRI*): Do not allow.
13320         [C99-based standards] (SCN*): Likewise.
13321         [C99-based standards] (*_t): Likewise.
13322         [C99-based-standards] (PRId8): Expect macro.
13323         [C99-based-standards] (PRIi8): Likewise.
13324         [C99-based-standards] (PRIo8): Likewise.
13325         [C99-based-standards] (PRIu8): Likewise.
13326         [C99-based-standards] (PRIx8): Likewise.
13327         [C99-based-standards] (PRIX8): Likewise.
13328         [C99-based-standards] (SCNd8): Likewise.
13329         [C99-based-standards] (SCNi8): Likewise.
13330         [C99-based-standards] (SCNo8): Likewise.
13331         [C99-based-standards] (SCNu8): Likewise.
13332         [C99-based-standards] (SCNx8): Likewise.
13333         [C99-based-standards] (PRIdLEAST8): Likewise.
13334         [C99-based-standards] (PRIiLEAST8): Likewise.
13335         [C99-based-standards] (PRIoLEAST8): Likewise.
13336         [C99-based-standards] (PRIuLEAST8): Likewise.
13337         [C99-based-standards] (PRIxLEAST8): Likewise.
13338         [C99-based-standards] (PRIXLEAST8): Likewise.
13339         [C99-based-standards] (SCNdLEAST8): Likewise.
13340         [C99-based-standards] (SCNiLEAST8): Likewise.
13341         [C99-based-standards] (SCNoLEAST8): Likewise.
13342         [C99-based-standards] (SCNuLEAST8): Likewise.
13343         [C99-based-standards] (SCNxLEAST8): Likewise.
13344         [C99-based-standards] (PRIdFAST8): Likewise.
13345         [C99-based-standards] (PRIiFAST8): Likewise.
13346         [C99-based-standards] (PRIoFAST8): Likewise.
13347         [C99-based-standards] (PRIuFAST8): Likewise.
13348         [C99-based-standards] (PRIxFAST8): Likewise.
13349         [C99-based-standards] (PRIXFAST8): Likewise.
13350         [C99-based-standards] (SCNdFAST8): Likewise.
13351         [C99-based-standards] (SCNiFAST8): Likewise.
13352         [C99-based-standards] (SCNoFAST8): Likewise.
13353         [C99-based-standards] (SCNuFAST8): Likewise.
13354         [C99-based-standards] (SCNxFAST8): Likewise.
13355         [C99-based-standards] (PRId16): Likewise.
13356         [C99-based-standards] (PRIi16): Likewise.
13357         [C99-based-standards] (PRIo16): Likewise.
13358         [C99-based-standards] (PRIu16): Likewise.
13359         [C99-based-standards] (PRIx16): Likewise.
13360         [C99-based-standards] (PRIX16): Likewise.
13361         [C99-based-standards] (SCNd16): Likewise.
13362         [C99-based-standards] (SCNi16): Likewise.
13363         [C99-based-standards] (SCNo16): Likewise.
13364         [C99-based-standards] (SCNu16): Likewise.
13365         [C99-based-standards] (SCNx16): Likewise.
13366         [C99-based-standards] (PRIdLEAST16): Likewise.
13367         [C99-based-standards] (PRIiLEAST16): Likewise.
13368         [C99-based-standards] (PRIoLEAST16): Likewise.
13369         [C99-based-standards] (PRIuLEAST16): Likewise.
13370         [C99-based-standards] (PRIxLEAST16): Likewise.
13371         [C99-based-standards] (PRIXLEAST16): Likewise.
13372         [C99-based-standards] (SCNdLEAST16): Likewise.
13373         [C99-based-standards] (SCNiLEAST16): Likewise.
13374         [C99-based-standards] (SCNoLEAST16): Likewise.
13375         [C99-based-standards] (SCNuLEAST16): Likewise.
13376         [C99-based-standards] (SCNxLEAST16): Likewise.
13377         [C99-based-standards] (PRIdFAST16): Likewise.
13378         [C99-based-standards] (PRIiFAST16): Likewise.
13379         [C99-based-standards] (PRIoFAST16): Likewise.
13380         [C99-based-standards] (PRIuFAST16): Likewise.
13381         [C99-based-standards] (PRIxFAST16): Likewise.
13382         [C99-based-standards] (PRIXFAST16): Likewise.
13383         [C99-based-standards] (SCNdFAST16): Likewise.
13384         [C99-based-standards] (SCNiFAST16): Likewise.
13385         [C99-based-standards] (SCNoFAST16): Likewise.
13386         [C99-based-standards] (SCNuFAST16): Likewise.
13387         [C99-based-standards] (SCNxFAST16): Likewise.
13388         [C99-based-standards] (PRId32): Likewise.
13389         [C99-based-standards] (PRIi32): Likewise.
13390         [C99-based-standards] (PRIo32): Likewise.
13391         [C99-based-standards] (PRIu32): Likewise.
13392         [C99-based-standards] (PRIx32): Likewise.
13393         [C99-based-standards] (PRIX32): Likewise.
13394         [C99-based-standards] (SCNd32): Likewise.
13395         [C99-based-standards] (SCNi32): Likewise.
13396         [C99-based-standards] (SCNo32): Likewise.
13397         [C99-based-standards] (SCNu32): Likewise.
13398         [C99-based-standards] (SCNx32): Likewise.
13399         [C99-based-standards] (PRIdLEAST32): Likewise.
13400         [C99-based-standards] (PRIiLEAST32): Likewise.
13401         [C99-based-standards] (PRIoLEAST32): Likewise.
13402         [C99-based-standards] (PRIuLEAST32): Likewise.
13403         [C99-based-standards] (PRIxLEAST32): Likewise.
13404         [C99-based-standards] (PRIXLEAST32): Likewise.
13405         [C99-based-standards] (SCNdLEAST32): Likewise.
13406         [C99-based-standards] (SCNiLEAST32): Likewise.
13407         [C99-based-standards] (SCNoLEAST32): Likewise.
13408         [C99-based-standards] (SCNuLEAST32): Likewise.
13409         [C99-based-standards] (SCNxLEAST32): Likewise.
13410         [C99-based-standards] (PRIdFAST32): Likewise.
13411         [C99-based-standards] (PRIiFAST32): Likewise.
13412         [C99-based-standards] (PRIoFAST32): Likewise.
13413         [C99-based-standards] (PRIuFAST32): Likewise.
13414         [C99-based-standards] (PRIxFAST32): Likewise.
13415         [C99-based-standards] (PRIXFAST32): Likewise.
13416         [C99-based-standards] (SCNdFAST32): Likewise.
13417         [C99-based-standards] (SCNiFAST32): Likewise.
13418         [C99-based-standards] (SCNoFAST32): Likewise.
13419         [C99-based-standards] (SCNuFAST32): Likewise.
13420         [C99-based-standards] (SCNxFAST32): Likewise.
13421         [C99-based-standards] (PRId64): Likewise.
13422         [C99-based-standards] (PRIi64): Likewise.
13423         [C99-based-standards] (PRIo64): Likewise.
13424         [C99-based-standards] (PRIu64): Likewise.
13425         [C99-based-standards] (PRIx64): Likewise.
13426         [C99-based-standards] (PRIX64): Likewise.
13427         [C99-based-standards] (SCNd64): Likewise.
13428         [C99-based-standards] (SCNi64): Likewise.
13429         [C99-based-standards] (SCNo64): Likewise.
13430         [C99-based-standards] (SCNu64): Likewise.
13431         [C99-based-standards] (SCNx64): Likewise.
13432         [C99-based-standards] (PRIdLEAST64): Likewise.
13433         [C99-based-standards] (PRIiLEAST64): Likewise.
13434         [C99-based-standards] (PRIoLEAST64): Likewise.
13435         [C99-based-standards] (PRIuLEAST64): Likewise.
13436         [C99-based-standards] (PRIxLEAST64): Likewise.
13437         [C99-based-standards] (PRIXLEAST64): Likewise.
13438         [C99-based-standards] (SCNdLEAST64): Likewise.
13439         [C99-based-standards] (SCNiLEAST64): Likewise.
13440         [C99-based-standards] (SCNoLEAST64): Likewise.
13441         [C99-based-standards] (SCNuLEAST64): Likewise.
13442         [C99-based-standards] (SCNxLEAST64): Likewise.
13443         [C99-based-standards] (PRIdFAST64): Likewise.
13444         [C99-based-standards] (PRIiFAST64): Likewise.
13445         [C99-based-standards] (PRIoFAST64): Likewise.
13446         [C99-based-standards] (PRIuFAST64): Likewise.
13447         [C99-based-standards] (PRIxFAST64): Likewise.
13448         [C99-based-standards] (PRIXFAST64): Likewise.
13449         [C99-based-standards] (SCNdFAST64): Likewise.
13450         [C99-based-standards] (SCNiFAST64): Likewise.
13451         [C99-based-standards] (SCNoFAST64): Likewise.
13452         [C99-based-standards] (SCNuFAST64): Likewise.
13453         [C99-based-standards] (SCNxFAST64): Likewise.
13454         [C99-based-standards] (PRIdMAX): Likewise.
13455         [C99-based-standards] (PRIiMAX): Likewise.
13456         [C99-based-standards] (PRIoMAX): Likewise.
13457         [C99-based-standards] (PRIuMAX): Likewise.
13458         [C99-based-standards] (PRIxMAX): Likewise.
13459         [C99-based-standards] (PRIXMAX): Likewise.
13460         [C99-based-standards] (SCNdMAX): Likewise.
13461         [C99-based-standards] (SCNiMAX): Likewise.
13462         [C99-based-standards] (SCNoMAX): Likewise.
13463         [C99-based-standards] (SCNuMAX): Likewise.
13464         [C99-based-standards] (SCNxMAX): Likewise.
13465         [C99-based-standards] (PRIdPTR): Likewise.
13466         [C99-based-standards] (PRIiPTR): Likewise.
13467         [C99-based-standards] (PRIoPTR): Likewise.
13468         [C99-based-standards] (PRIuPTR): Likewise.
13469         [C99-based-standards] (PRIxPTR): Likewise.
13470         [C99-based-standards] (PRIXPTR): Likewise.
13471         [C99-based-standards] (SCNdPTR): Likewise.
13472         [C99-based-standards] (SCNiPTR): Likewise.
13473         [C99-based-standards] (SCNoPTR): Likewise.
13474         [C99-based-standards] (SCNuPTR): Likewise.
13475         [C99-based-standards] (SCNxPTR): Likewise.
13476         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13477         allow.
13478         * conform/data/stdint.h-data: Update comments to clarify
13479         requirements.
13480         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13481         type.
13482         [C99-based standards] (INT8_MAX): Likewise.
13483         [C99-based standards] (INT16_MIN): Likewise.
13484         [C99-based standards] (INT16_MAX): Likewise.
13485         [C99-based standards] (INT32_MIN): Likewise.
13486         [C99-based standards] (INT32_MAX): Likewise.
13487         [C99-based standards] (INT64_MIN): Likewise.
13488         [C99-based standards] (INT64_MAX): Likewise.
13489         [C99-based standards] (UINT8_MAX): Likewise.
13490         [C99-based standards] (UINT16_MAX): Likewise.
13491         [C99-based standards] (UINT32_MAX): Likewise.
13492         [C99-based standards] (UINT64_MAX): Likewise.
13493         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13494         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13495         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13496         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13497         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13498         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13499         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13500         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13501         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13502         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13503         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13504         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13505         [C99-based standards] (INT_FAST8_MIN): Likewise.
13506         [C99-based standards] (INT_FAST8_MAX): Likewise.
13507         [C99-based standards] (INT_FAST16_MIN): Likewise.
13508         [C99-based standards] (INT_FAST16_MAX): Likewise.
13509         [C99-based standards] (INT_FAST32_MIN): Likewise.
13510         [C99-based standards] (INT_FAST32_MAX): Likewise.
13511         [C99-based standards] (INT_FAST64_MIN): Likewise.
13512         [C99-based standards] (INT_FAST64_MAX): Likewise.
13513         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13514         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13515         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13516         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13517         [C99-based standards] (INTPTR_MIN): Likewise.
13518         [C99-based standards] (INTPTR_MAX): Likewise.
13519         [C99-based standards] (UINTPTR_MAX): Likewise.
13520         [C99-based standards] (INTMAX_MIN): Likewise.
13521         [C99-based standards] (INTMAX_MAX): Likewise.
13522         [C99-based standards] (UINTMAX_MAX): Likewise.
13523         [C99-based standards] (PTRDIFF_MIN): Likewise.
13524         [C99-based standards] (PTRDIFF_MAX): Likewise.
13525         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13526         [C99-based standards] (SIZE_MAX): Likewise.
13527         [C99-based standards] (WCHAR_MAX): Likewise.
13528         [C99-based standards] (WINT_MAX): Likewise.
13529         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13530         constraint on value.
13531         [C99-based standards] (WCHAR_MIN): Likewise.
13532         [C99-based standards] (WINT_MIN): Likewise.
13533         [C99-based standards] (*_t): Allow.
13534         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13535         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13536         Include math.h-data and complex.h-data.  Remove all expectations
13537         of math.h and complex.h contents.
13538         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13539         at end of line.
13540         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13541         (struct tm): Expect tag.
13542         [C99-based-standards] (wcstof): Expect function.
13543         [C99-based-standards] (wcstold): Likewise.
13544         [C99-based-standards] (wcstoll): Likewise.
13545         [C99-based-standards] (wcstoull): Likewise.
13546         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13547         macro-int-constant.  Specify type.
13548         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13549         constraint on value.
13550         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13551         Specify type.
13552         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13553         Specify value.
13554         [ISO C standards]: Do not allow headers.
13555         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13556         wcs[abcdefghijklmnopqrstuvwxyz]*.
13557         [ISO C standards] (*_t): Do not allow.
13558         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13559         Expect function.
13560         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13561         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13562         Specify type.
13563         [ISO C standards]: Do not allow headers.
13564         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13565         is[abcdefghijklmnopqrstuvwxyz]*.
13566         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13567         to[abcdefghijklmnopqrstuvwxyz]*.
13568         [ISO C standards] (*_t): Do not allow.
13569         * conform/data/stdalign.h-data: New file.
13570         * conform/data/stdbool.h-data: Likewise.
13571         * conform/data/stdnoreturn.h-data: Likewise.
13573 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13575         [BZ #14815]
13576         * manual/filesys.texi (Directory Entries): Typo fix.
13577         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13579 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13581         * elf/elf.h (EM_AARCH64): New macro.
13582         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13583         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13584         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13585         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13586         (R_AARCH64_TLSDESC): Likewise.
13587         (NT_ARM_TLS): Likewise.
13588         (NT_ARM_HW_BREAK): Likewise.
13589         (NT_ARM_HW_WATCH): Likewise.
13591 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13593         [BZ #14811]
13594         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13595         (__ieee754_powl): Saturate nonzero exponents with absolute value
13596         below 0x1p-79 to +/- 0x1p-79.
13597         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13598         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13599         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13600         nonzero exponents with absolute value below 0x1p-32 to +/-
13601         0x1p-32.
13602         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13603         (__ieee754_powl): Saturate nonzero exponents with absolute value
13604         below 0x1p-79 to +/- 0x1p-79.
13605         * math/libm-test.inc (pow_test): Add more tests.
13607 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13609         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13610         _dl_s390_cap_flags with kernel. Increase string length.
13611         (_dl_s390_platforms): Add z196 and zEC12.
13613 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13615         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13616         Change XOPEN21K to XOPEN2K.
13618 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13620         * string/memmove.c: Use memcpy when possible.
13622 2012-11-06  Andreas Jaeger  <aj@suse.de>
13624         * po/eo.po: Update from translation team.
13626 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13628         [BZ #14793]
13629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13630         exponent and small x and y exponents, scale x or y up.  Increase
13631         by 2 the exponent used in scaling up.
13632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13633         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13634         * math/libm-test.inc (fma_test): Add more tests.
13635         (fma_test_towardzero): Likewise.
13636         (fma_test_downward): Likewise.
13637         (fma_test_upward): Likewise.
13639 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13641         [BZ #14805]
13642         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13643         fenv_t *.
13645         [BZ #14801]
13646         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13647         namespace for names of struct fields.
13648         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13649         fenv_t fields.
13650         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13651         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13653 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13655         [BZ #3665]
13656         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13658 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13660         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13661         PTR_DEMANGLE.
13663         [BZ #5246]
13664         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13665         PTR_DEMANGLE.
13667 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13669         [BZ #14797]
13670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13671         definitely overflow as x * y not x * y + z.
13672         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13673         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13674         * math/libm-test.inc (fma_test): Add more tests.
13675         (fma_test_towardzero): Likewise.
13676         (fma_test_downward): Likewise.
13677         (fma_test_upward): Likewise.
13679 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13681         [BZ #157]
13683         * include/stub-tag.h: Remove file.
13684         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13685         '#include' of it.
13686         * manual/maint.texi (Porting): Don't reference it.
13687         * Makerules ($(objpfx)stubs): Likewise.
13688         * dirent/closedir.c: Don't include <stub-tag.h>.
13689         * dirent/dirfd.c: Likewise.
13690         * dirent/fdopendir.c: Likewise.
13691         * dirent/getdents.c: Likewise.
13692         * dirent/getdents64.c: Likewise.
13693         * dirent/opendir.c: Likewise.
13694         * dirent/readdir.c: Likewise.
13695         * dirent/readdir64.c: Likewise.
13696         * dirent/readdir64_r.c: Likewise.
13697         * dirent/readdir_r.c: Likewise.
13698         * dirent/rewinddir.c: Likewise.
13699         * dirent/seekdir.c: Likewise.
13700         * dirent/telldir.c: Likewise.
13701         * gmon/profil.c: Likewise.
13702         * grp/setgroups.c: Likewise.
13703         * inet/if_index.c: Likewise.
13704         * io/access.c: Likewise.
13705         * io/chdir.c: Likewise.
13706         * io/chmod.c: Likewise.
13707         * io/chown.c: Likewise.
13708         * io/close.c: Likewise.
13709         * io/dup.c: Likewise.
13710         * io/dup2.c: Likewise.
13711         * io/dup3.c: Likewise.
13712         * io/euidaccess.c: Likewise.
13713         * io/faccessat.c: Likewise.
13714         * io/fchdir.c: Likewise.
13715         * io/fchmod.c: Likewise.
13716         * io/fchmodat.c: Likewise.
13717         * io/fchown.c: Likewise.
13718         * io/fchownat.c: Likewise.
13719         * io/fcntl.c: Likewise.
13720         * io/flock.c: Likewise.
13721         * io/fstatfs.c: Likewise.
13722         * io/fstatfs64.c: Likewise.
13723         * io/fstatvfs.c: Likewise.
13724         * io/fstatvfs64.c: Likewise.
13725         * io/futimens.c: Likewise.
13726         * io/fxstat.c: Likewise.
13727         * io/fxstat64.c: Likewise.
13728         * io/fxstatat.c: Likewise.
13729         * io/fxstatat64.c: Likewise.
13730         * io/getcwd.c: Likewise.
13731         * io/isatty.c: Likewise.
13732         * io/lchmod.c: Likewise.
13733         * io/lchown.c: Likewise.
13734         * io/link.c: Likewise.
13735         * io/linkat.c: Likewise.
13736         * io/lseek.c: Likewise.
13737         * io/lseek64.c: Likewise.
13738         * io/lxstat64.c: Likewise.
13739         * io/mkdir.c: Likewise.
13740         * io/mkdirat.c: Likewise.
13741         * io/mkfifo.c: Likewise.
13742         * io/mkfifoat.c: Likewise.
13743         * io/open.c: Likewise.
13744         * io/open64.c: Likewise.
13745         * io/openat.c: Likewise.
13746         * io/openat64.c: Likewise.
13747         * io/pipe.c: Likewise.
13748         * io/pipe2.c: Likewise.
13749         * io/poll.c: Likewise.
13750         * io/posix_fadvise.c: Likewise.
13751         * io/posix_fadvise64.c: Likewise.
13752         * io/posix_fallocate.c: Likewise.
13753         * io/posix_fallocate64.c: Likewise.
13754         * io/read.c: Likewise.
13755         * io/readlink.c: Likewise.
13756         * io/readlinkat.c: Likewise.
13757         * io/rmdir.c: Likewise.
13758         * io/sendfile.c: Likewise.
13759         * io/sendfile64.c: Likewise.
13760         * io/statfs.c: Likewise.
13761         * io/statfs64.c: Likewise.
13762         * io/statvfs.c: Likewise.
13763         * io/statvfs64.c: Likewise.
13764         * io/symlink.c: Likewise.
13765         * io/symlinkat.c: Likewise.
13766         * io/ttyname.c: Likewise.
13767         * io/ttyname_r.c: Likewise.
13768         * io/umask.c: Likewise.
13769         * io/unlink.c: Likewise.
13770         * io/unlinkat.c: Likewise.
13771         * io/utime.c: Likewise.
13772         * io/utimensat.c: Likewise.
13773         * io/write.c: Likewise.
13774         * io/xmknod.c: Likewise.
13775         * io/xmknodat.c: Likewise.
13776         * io/xstat.c: Likewise.
13777         * io/xstat64.c: Likewise.
13778         * login/getpt.c: Likewise.
13779         * login/grantpt.c: Likewise.
13780         * login/unlockpt.c: Likewise.
13781         * math/e_acoshl.c: Likewise.
13782         * math/e_acosl.c: Likewise.
13783         * math/e_asinl.c: Likewise.
13784         * math/e_atan2l.c: Likewise.
13785         * math/e_atanhl.c: Likewise.
13786         * math/e_coshl.c: Likewise.
13787         * math/e_expl.c: Likewise.
13788         * math/e_fmodl.c: Likewise.
13789         * math/e_gammal_r.c: Likewise.
13790         * math/e_hypotl.c: Likewise.
13791         * math/e_j0l.c: Likewise.
13792         * math/e_j1l.c: Likewise.
13793         * math/e_jnl.c: Likewise.
13794         * math/e_lgammal_r.c: Likewise.
13795         * math/e_log10l.c: Likewise.
13796         * math/e_log2l.c: Likewise.
13797         * math/e_logl.c: Likewise.
13798         * math/e_powl.c: Likewise.
13799         * math/e_rem_pio2l.c: Likewise.
13800         * math/e_sinhl.c: Likewise.
13801         * math/e_sqrtl.c: Likewise.
13802         * math/fclrexcpt.c: Likewise.
13803         * math/fedisblxcpt.c: Likewise.
13804         * math/feenablxcpt.c: Likewise.
13805         * math/fegetenv.c: Likewise.
13806         * math/fegetexcept.c: Likewise.
13807         * math/fegetround.c: Likewise.
13808         * math/feholdexcpt.c: Likewise.
13809         * math/fesetenv.c: Likewise.
13810         * math/fesetround.c: Likewise.
13811         * math/feupdateenv.c: Likewise.
13812         * math/fgetexcptflg.c: Likewise.
13813         * math/fraiseexcpt.c: Likewise.
13814         * math/fsetexcptflg.c: Likewise.
13815         * math/ftestexcept.c: Likewise.
13816         * math/k_cosl.c: Likewise.
13817         * math/k_rem_pio2l.c: Likewise.
13818         * math/k_sinl.c: Likewise.
13819         * math/k_tanl.c: Likewise.
13820         * math/s_asinhl.c: Likewise.
13821         * math/s_atanl.c: Likewise.
13822         * math/s_cbrtl.c: Likewise.
13823         * math/s_erfl.c: Likewise.
13824         * math/s_expm1l.c: Likewise.
13825         * math/s_log1pl.c: Likewise.
13826         * math/s_tanhl.c: Likewise.
13827         * misc/acct.c: Likewise.
13828         * misc/brk.c: Likewise.
13829         * misc/chflags.c: Likewise.
13830         * misc/chroot.c: Likewise.
13831         * misc/fchflags.c: Likewise.
13832         * misc/fgetxattr.c: Likewise.
13833         * misc/flistxattr.c: Likewise.
13834         * misc/fremovexattr.c: Likewise.
13835         * misc/fsetxattr.c: Likewise.
13836         * misc/fsync.c: Likewise.
13837         * misc/ftruncate.c: Likewise.
13838         * misc/futimes.c: Likewise.
13839         * misc/futimesat.c: Likewise.
13840         * misc/getdomain.c: Likewise.
13841         * misc/getdtsz.c: Likewise.
13842         * misc/gethostid.c: Likewise.
13843         * misc/gethostname.c: Likewise.
13844         * misc/getloadavg.c: Likewise.
13845         * misc/getpagesize.c: Likewise.
13846         * misc/getsysstats.c: Likewise.
13847         * misc/getxattr.c: Likewise.
13848         * misc/gtty.c: Likewise.
13849         * misc/ioctl.c: Likewise.
13850         * misc/lgetxattr.c: Likewise.
13851         * misc/listxattr.c: Likewise.
13852         * misc/llistxattr.c: Likewise.
13853         * misc/lremovexattr.c: Likewise.
13854         * misc/lsetxattr.c: Likewise.
13855         * misc/lutimes.c: Likewise.
13856         * misc/madvise.c: Likewise.
13857         * misc/mincore.c: Likewise.
13858         * misc/mlock.c: Likewise.
13859         * misc/mlockall.c: Likewise.
13860         * misc/mmap.c: Likewise.
13861         * misc/mprotect.c: Likewise.
13862         * misc/msync.c: Likewise.
13863         * misc/munlock.c: Likewise.
13864         * misc/munlockall.c: Likewise.
13865         * misc/munmap.c: Likewise.
13866         * misc/preadv.c: Likewise.
13867         * misc/preadv64.c: Likewise.
13868         * misc/ptrace.c: Likewise.
13869         * misc/pwritev.c: Likewise.
13870         * misc/pwritev64.c: Likewise.
13871         * misc/readv.c: Likewise.
13872         * misc/reboot.c: Likewise.
13873         * misc/remap_file_pages.c: Likewise.
13874         * misc/removexattr.c: Likewise.
13875         * misc/revoke.c: Likewise.
13876         * misc/select.c: Likewise.
13877         * misc/setdomain.c: Likewise.
13878         * misc/setegid.c: Likewise.
13879         * misc/seteuid.c: Likewise.
13880         * misc/sethostid.c: Likewise.
13881         * misc/sethostname.c: Likewise.
13882         * misc/setregid.c: Likewise.
13883         * misc/setreuid.c: Likewise.
13884         * misc/setxattr.c: Likewise.
13885         * misc/sstk.c: Likewise.
13886         * misc/stty.c: Likewise.
13887         * misc/swapoff.c: Likewise.
13888         * misc/swapon.c: Likewise.
13889         * misc/sync.c: Likewise.
13890         * misc/syncfs.c: Likewise.
13891         * misc/syscall.c: Likewise.
13892         * misc/truncate.c: Likewise.
13893         * misc/ualarm.c: Likewise.
13894         * misc/usleep.c: Likewise.
13895         * misc/ustat.c: Likewise.
13896         * misc/utimes.c: Likewise.
13897         * misc/vhangup.c: Likewise.
13898         * misc/writev.c: Likewise.
13899         * posix/_exit.c: Likewise.
13900         * posix/alarm.c: Likewise.
13901         * posix/execve.c: Likewise.
13902         * posix/fexecve.c: Likewise.
13903         * posix/fork.c: Likewise.
13904         * posix/fpathconf.c: Likewise.
13905         * posix/getaddrinfo.c: Likewise.
13906         * posix/getegid.c: Likewise.
13907         * posix/geteuid.c: Likewise.
13908         * posix/getgid.c: Likewise.
13909         * posix/getgroups.c: Likewise.
13910         * posix/getlogin.c: Likewise.
13911         * posix/getlogin_r.c: Likewise.
13912         * posix/getpgid.c: Likewise.
13913         * posix/getpid.c: Likewise.
13914         * posix/getppid.c: Likewise.
13915         * posix/getresgid.c: Likewise.
13916         * posix/getresuid.c: Likewise.
13917         * posix/getsid.c: Likewise.
13918         * posix/getuid.c: Likewise.
13919         * posix/glob64.c: Likewise.
13920         * posix/nanosleep.c: Likewise.
13921         * posix/pathconf.c: Likewise.
13922         * posix/pause.c: Likewise.
13923         * posix/posix_madvise.c: Likewise.
13924         * posix/pread.c: Likewise.
13925         * posix/pread64.c: Likewise.
13926         * posix/pwrite.c: Likewise.
13927         * posix/pwrite64.c: Likewise.
13928         * posix/sched_getaffinity.c: Likewise.
13929         * posix/sched_getp.c: Likewise.
13930         * posix/sched_gets.c: Likewise.
13931         * posix/sched_primax.c: Likewise.
13932         * posix/sched_primin.c: Likewise.
13933         * posix/sched_rr_gi.c: Likewise.
13934         * posix/sched_setaffinity.c: Likewise.
13935         * posix/sched_setp.c: Likewise.
13936         * posix/sched_sets.c: Likewise.
13937         * posix/sched_yield.c: Likewise.
13938         * posix/setgid.c: Likewise.
13939         * posix/setlogin.c: Likewise.
13940         * posix/setpgid.c: Likewise.
13941         * posix/setresgid.c: Likewise.
13942         * posix/setresuid.c: Likewise.
13943         * posix/setsid.c: Likewise.
13944         * posix/setuid.c: Likewise.
13945         * posix/sleep.c: Likewise.
13946         * posix/spawni.c: Likewise.
13947         * posix/sysconf.c: Likewise.
13948         * posix/times.c: Likewise.
13949         * posix/wait.c: Likewise.
13950         * posix/wait3.c: Likewise.
13951         * posix/wait4.c: Likewise.
13952         * posix/waitpid.c: Likewise.
13953         * resolv/gai_sigqueue.c: Likewise.
13954         * resource/getpriority.c: Likewise.
13955         * resource/getrlimit.c: Likewise.
13956         * resource/getrusage.c: Likewise.
13957         * resource/nice.c: Likewise.
13958         * resource/setpriority.c: Likewise.
13959         * resource/setrlimit.c: Likewise.
13960         * resource/ulimit.c: Likewise.
13961         * rt/aio_cancel.c: Likewise.
13962         * rt/aio_fsync.c: Likewise.
13963         * rt/aio_read.c: Likewise.
13964         * rt/aio_sigqueue.c: Likewise.
13965         * rt/aio_suspend.c: Likewise.
13966         * rt/aio_write.c: Likewise.
13967         * rt/clock_getres.c: Likewise.
13968         * rt/clock_gettime.c: Likewise.
13969         * rt/clock_nanosleep.c: Likewise.
13970         * rt/clock_settime.c: Likewise.
13971         * rt/lio_listio.c: Likewise.
13972         * rt/mq_close.c: Likewise.
13973         * rt/mq_getattr.c: Likewise.
13974         * rt/mq_notify.c: Likewise.
13975         * rt/mq_open.c: Likewise.
13976         * rt/mq_receive.c: Likewise.
13977         * rt/mq_send.c: Likewise.
13978         * rt/mq_setattr.c: Likewise.
13979         * rt/mq_timedreceive.c: Likewise.
13980         * rt/mq_timedsend.c: Likewise.
13981         * rt/mq_unlink.c: Likewise.
13982         * rt/shm_open.c: Likewise.
13983         * rt/shm_unlink.c: Likewise.
13984         * rt/timer_create.c: Likewise.
13985         * rt/timer_delete.c: Likewise.
13986         * rt/timer_getoverr.c: Likewise.
13987         * rt/timer_gettime.c: Likewise.
13988         * rt/timer_settime.c: Likewise.
13989         * setjmp/__longjmp.c: Likewise.
13990         * setjmp/setjmp.c: Likewise.
13991         * signal/kill.c: Likewise.
13992         * signal/killpg.c: Likewise.
13993         * signal/raise.c: Likewise.
13994         * signal/sigaction.c: Likewise.
13995         * signal/sigaltstack.c: Likewise.
13996         * signal/sigblock.c: Likewise.
13997         * signal/sigignore.c: Likewise.
13998         * signal/sigintr.c: Likewise.
13999         * signal/signal.c: Likewise.
14000         * signal/sigpause.c: Likewise.
14001         * signal/sigpending.c: Likewise.
14002         * signal/sigqueue.c: Likewise.
14003         * signal/sigreturn.c: Likewise.
14004         * signal/sigset.c: Likewise.
14005         * signal/sigsetmask.c: Likewise.
14006         * signal/sigstack.c: Likewise.
14007         * signal/sigsuspend.c: Likewise.
14008         * signal/sigtimedwait.c: Likewise.
14009         * signal/sigvec.c: Likewise.
14010         * signal/sigwait.c: Likewise.
14011         * signal/sigwaitinfo.c: Likewise.
14012         * signal/sysv_signal.c: Likewise.
14013         * socket/accept.c: Likewise.
14014         * socket/accept4.c: Likewise.
14015         * socket/bind.c: Likewise.
14016         * socket/connect.c: Likewise.
14017         * socket/getpeername.c: Likewise.
14018         * socket/getsockname.c: Likewise.
14019         * socket/getsockopt.c: Likewise.
14020         * socket/isfdtype.c: Likewise.
14021         * socket/listen.c: Likewise.
14022         * socket/recv.c: Likewise.
14023         * socket/recvfrom.c: Likewise.
14024         * socket/recvmsg.c: Likewise.
14025         * socket/send.c: Likewise.
14026         * socket/sendmsg.c: Likewise.
14027         * socket/sendto.c: Likewise.
14028         * socket/setsockopt.c: Likewise.
14029         * socket/shutdown.c: Likewise.
14030         * socket/sockatmark.c: Likewise.
14031         * socket/socket.c: Likewise.
14032         * socket/socketpair.c: Likewise.
14033         * stdio-common/ctermid.c: Likewise.
14034         * stdio-common/cuserid.c: Likewise.
14035         * stdio-common/remove.c: Likewise.
14036         * stdio-common/rename.c: Likewise.
14037         * stdio-common/renameat.c: Likewise.
14038         * stdio-common/tempname.c: Likewise.
14039         * stdlib/getcontext.c: Likewise.
14040         * stdlib/makecontext.c: Likewise.
14041         * stdlib/setcontext.c: Likewise.
14042         * stdlib/swapcontext.c: Likewise.
14043         * stdlib/system.c: Likewise.
14044         * streams/fattach.c: Likewise.
14045         * streams/fdetach.c: Likewise.
14046         * streams/getmsg.c: Likewise.
14047         * streams/getpmsg.c: Likewise.
14048         * streams/putmsg.c: Likewise.
14049         * streams/putpmsg.c: Likewise.
14050         * sysdeps/unix/bsd/getpt.c: Likewise.
14051         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14052         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14053         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14055         Likewise.
14056         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14057         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14058         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14059         * sysvipc/msgctl.c: Likewise.
14060         * sysvipc/msgget.c: Likewise.
14061         * sysvipc/msgrcv.c: Likewise.
14062         * sysvipc/msgsnd.c: Likewise.
14063         * sysvipc/semctl.c: Likewise.
14064         * sysvipc/semget.c: Likewise.
14065         * sysvipc/semop.c: Likewise.
14066         * sysvipc/semtimedop.c: Likewise.
14067         * sysvipc/shmat.c: Likewise.
14068         * sysvipc/shmctl.c: Likewise.
14069         * sysvipc/shmdt.c: Likewise.
14070         * sysvipc/shmget.c: Likewise.
14071         * termios/tcdrain.c: Likewise.
14072         * termios/tcflow.c: Likewise.
14073         * termios/tcflush.c: Likewise.
14074         * termios/tcgetattr.c: Likewise.
14075         * termios/tcgetpgrp.c: Likewise.
14076         * termios/tcsendbrk.c: Likewise.
14077         * termios/tcsetattr.c: Likewise.
14078         * termios/tcsetpgrp.c: Likewise.
14079         * time/adjtime.c: Likewise.
14080         * time/clock.c: Likewise.
14081         * time/getitimer.c: Likewise.
14082         * time/gettimeofday.c: Likewise.
14083         * time/setitimer.c: Likewise.
14084         * time/settimeofday.c: Likewise.
14085         * time/stime.c: Likewise.
14086         * time/time.c: Likewise.
14088 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14090         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14091         /usr/old/bin.
14093         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14094         instead of spaces.
14095         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14097 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14099         [BZ #14796]
14100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14101         FE_TONEAREST before applying Dekker multiplication and Knuth
14102         addition.  Clear inexact exceptions and check for exact zero
14103         results afterwards.
14104         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14105         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14106         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14107         * math/libm-test.inc (fma_test): Add more tests.
14108         (fma_test_towardzero): Likewise.
14109         (fma_test_downward): Likewise.
14110         (fma_test_upward): Likewise.
14111         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14112         function.
14113         (libc_fesetround): New macro.
14114         (libc_fesetroundf): Likewise.
14115         (libc_fesetroundl): Likewise.
14116         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14117         function.
14118         (libc_fesetround_387): Likewise.
14119         (libc_fesetroundf): New macro.
14120         (libc_fesetround): Likewise.
14121         (libc_fesetroundl): Likewise.
14122         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14123         function.
14124         (libc_fesetroundf): New macro.
14125         (libc_fesetround): Likewise.
14126         (libc_fesetroundl): Likewise.
14127         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14128         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14129         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14130         libm_hidden_ver.
14131         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14132         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14133         libm_hidden_def.
14134         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14135         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14136         libm_hidden_ver.
14137         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14138         libm_hidden_def.
14140         [BZ #3439]
14141         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14142         integer constant usable in #if and use that to give value to enum
14143         constant.
14144         (FE_DIVBYZERO): Likewise.
14145         (FE_UNDERFLOW): Likewise.
14146         (FE_OVERFLOW): Likewise.
14147         (FE_INVALID): Likewise.
14148         (FE_INVALID_SNAN): Likewise.
14149         (FE_INVALID_ISI): Likewise.
14150         (FE_INVALID_IDI): Likewise.
14151         (FE_INVALID_ZDZ): Likewise.
14152         (FE_INVALID_IMZ): Likewise.
14153         (FE_INVALID_COMPARE): Likewise.
14154         (FE_INVALID_SOFTWARE): Likewise.
14155         (FE_INVALID_SQRT): Likewise.
14156         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14157         (FE_TONEAREST): Likewise.
14158         (FE_TOWARDZERO): Likewise.
14159         (FE_UPWARD): Likewise.
14160         (FE_DOWNWARD): Likewise.
14161         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14162         (FE_DIVBYZERO): Likewise.
14163         (FE_OVERFLOW): Likewise.
14164         (FE_UNDERFLOW): Likewise.
14165         (FE_INEXACT): Likewise.
14166         (FE_TONEAREST): Likewise.
14167         (FE_DOWNWARD): Likewise.
14168         (FE_UPWARD): Likewise.
14169         (FE_TOWARDZERO): Likewise.
14170         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14171         (FE_UNDERFLOW): Likewise.
14172         (FE_OVERFLOW): Likewise.
14173         (FE_DIVBYZERO): Likewise.
14174         (FE_INVALID): Likewise.
14175         (FE_TONEAREST): Likewise.
14176         (FE_TOWARDZERO): Likewise.
14177         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14178         (FE_OVERFLOW): Likewise.
14179         (FE_UNDERFLOW): Likewise.
14180         (FE_DIVBYZERO): Likewise.
14181         (FE_INEXACT): Likewise.
14182         (FE_TONEAREST): Likewise.
14183         (FE_TOWARDZERO): Likewise.
14184         (FE_UPWARD): Likewise.
14185         (FE_DOWNWARD): Likewise.
14186         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14187         (FE_DIVBYZERO): Likewise.
14188         (FE_OVERFLOW): Likewise.
14189         (FE_UNDERFLOW): Likewise.
14190         (FE_INEXACT): Likewise.
14191         (FE_TONEAREST): Likewise.
14192         (FE_DOWNWARD): Likewise.
14193         (FE_UPWARD): Likewise.
14194         (FE_TOWARDZERO): Likewise.
14196 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14198         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14200 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14202         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14203         commands.  Quote $PWD.
14204         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14205         -x" by "export".
14206         (remove_newlines): Remove.
14208 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14210         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14211         * stdlib/stdlib.h (atof): Moved to ...
14212         * include/bits/stdlib-float.h: Here.  New file.
14213         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14214         * stdlib/bits/stdlib-float.h: New file.
14215         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14216         -mno-sse -mno-mmx.
14217         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14218         <xmmintrin.h>.
14220 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14222         * conform/conformtest.pl (@headers): Add fenv.h.
14223         * conform/data/fenv.h-data: New file.
14224         * include/fenv.h [_ISOMAC]: Disable all contents of file except
14225         include of <math/fenv.h>.
14227         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14228         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14229         && !UNIX98].  Enables tests for XOPEN2K8.
14230         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14231         POSIX2008]: Likewise.
14233         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14234         (struct rusage): Do not expect type or its members.
14236         [BZ #3439]
14237         * math/math.h (FP_NAN): Define macro to integer constant usable in
14238         #if and use that to give value to enum constant.
14239         (FP_INFINITE): Likewise.
14240         (FP_ZERO): Likewise.
14241         (FP_SUBNORMAL): Likewise.
14242         (FP_NORMAL): Likewise.
14244 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
14246         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14247         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14248         arguments.
14250 2012-11-02  Roland McGrath  <roland@hack.frob.com>
14252         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14253         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14254         autoconf-time if not.
14255         * configure.in: Remove AC_PREREQ.
14257 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14259         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14260         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14261         of the internal implementation.
14263 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14265         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14266         except include of <misc/sys/syslog.h>.
14268 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14271         function returns with a NULL context exit with zero.
14273 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14275         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14277 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
14279         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14280         (run_program_cmd): This.
14281         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14282         (tst_langinfo): New variable.  Use it.
14284 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
14286         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14287         floating point opcodes.
14289 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14291         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14292         variable.
14294         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14296         * sysdeps/mach/hurd/powerpc: Remove directory.
14297         * sysdeps/mach/powerpc: Likewise.
14299 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14301         * scripts/check-local-headers.sh: Ignore c++ headers.
14303 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14305         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14306         __libc_cleanup_region_start argument.
14308 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
14310         [BZ #14784]
14311         [BZ #14785]
14312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14313         x * y using scaling, not as x * y + z.
14314         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14315         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14316         * math/libm-test.inc (fma_test): Add more tests.
14317         (fma_test_towardzero): Likewise.
14318         (fma_test_downward): Likewise.
14319         (fma_test_upward): Likewise.
14321 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14323         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14325 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14327         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14328         New variable.
14330 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14332         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14334 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14337         Fix sort order.
14338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14339         Likewise.
14341 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14344         Fix the order of the list for glibc 2.17.
14345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14346         Likewise.
14348 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14352 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14354         [BZ #14610]
14355         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14356         for low part of x being zero before using __atanl (y).
14357         * math/libm-test.inc (atan2_test): Add another test.
14359         * manual/install.texi (Configuring and compiling): Document
14360         general use of test-wrapper and test-wrapper-env.
14361         * INSTALL: Regenerated.
14363         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14364         (__fma): Do not extract and scale down low bits on after-rounding
14365         systems when result rounded to normal precision would have normal
14366         exponent.
14367         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14368         (__fmal): Do not extract and scale down low bits on after-rounding
14369         systems when result rounded to normal precision would have normal
14370         exponent.
14371         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14372         (__fmal): Do not extract and scale down low bits on after-rounding
14373         systems when result rounded to normal precision would have normal
14374         exponent.
14375         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14376         macro.
14377         (fma_test): Add more tests.
14378         (fma_test_towardzero): Likewise.
14379         (fma_test_downward): Likewise.
14380         (fma_test_upward): Likewise.
14382 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14384         * sysdeps/i386/tininess.h: Renamed to ...
14385         * sysdeps/x86/tininess.h: This.
14386         * sysdeps/x86_64/tininess.h: Removed.
14388 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14390         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14391         input.  Use $(build-program-cmd).
14392         ($(objpfx)tst-array1-static.out): Likewise.
14393         ($(objpfx)tst-array2.out): Likewise.
14394         ($(objpfx)tst-array3.out): Likewise.
14395         ($(objpfx)tst-array4.out): Likewise.
14396         ($(objpfx)tst-array5.out): Likewise.
14397         ($(objpfx)tst-array5-static.out): Likewise.
14399 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14401         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14402         if defined.
14404         * nss/nsswitch.h (nss_interface_function): Provide new
14405         macro for use with NSS functions.
14406         * grp/initgroups.c: Use new macro.
14407         * nss/getXXbyYY.c: Likewise.
14408         * nss/getXXbyYY_r.c: Likewise.
14409         * nss/getXXent.c: Likewise.
14410         * nss/getXXent_r.c: Likewise.
14411         * sysdeps/posix/getaddrinfo.c: Likewise.
14413 2012-10-30  Andreas Jaeger  <aj@suse.de>
14415         * po/ru.po: Update Russion translation from translation project.
14417 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14419         [BZ #14152]
14420         [BZ #14783]
14421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14422         result and shift together with sticky bit instead of replicating
14423         round-to-nearest rounding.
14424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14425         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14426         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14427         missing underflow exceptions.
14428         (fma_test_towardzero): Add more tests.
14429         (fma_test_downward): Likewise.
14430         (fma_test_upward): Likewise.
14432         [BZ #14047]
14433         * sysdeps/generic/tininess.h: New file.
14434         * sysdeps/i386/tininess.h: Likewise.
14435         * sysdeps/sh/tininess.h: Likewise.
14436         * sysdeps/x86_64/tininess.h: Likewise.
14437         * stdlib/tst-strtod-underflow.c: Likewise.
14438         * stdlib/tst-tininess.c: Likewise.
14439         * stdlib/strtod_l.c: Include <tininess.h>.
14440         (round_and_return): Do not set errno for exact underflow cases.
14441         Force an underflow exception when setting errno for underflow.
14442         Determine underflow based on rounding to normal precision if
14443         TININESS_AFTER_ROUNDING.
14444         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14445         ERANGE for exact underflow cases.
14446         * stdlib/Makefile (tests): Add tst-tininess and
14447         tst-strtod-underflow.
14448         ($(objpfx)tst-tininess): Use $(link-libm).
14449         ($(objpfx)tst-strtod-underflow): Likewise.
14451 2012-10-30  Andreas Jaeger  <aj@suse.de>
14453         [BZ#14767]
14454         * elf/Makefile (tests): Remove conditional for have-initfini-array
14455         since this is now always required and the variable does not exist
14456         anymore.
14457         (tests-static): Likewise.
14458         (modules-names): Likewise.
14460         * po/eo.po: Add Esperanto translation from translation project.
14462         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14463         merged with constructor/destructor.
14464         (init_array): Likewise.
14465         * elf/tst-array2dep.c (fini_array): Likewise.
14466         (init_array): Likewise.
14468 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14470         * manual/message.texi: Delete @cartouche tags.
14472 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14474         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14475         EOPNOTSUPP.
14476         * sysdeps/mach/hurd/fsync.c: Likewise.
14478         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14479         [_POSIX_REALTIME_SIGNALS]: Change condition to
14480         [_POSIX_REALTIME_SIGNALS > 0].
14482 2012-10-27  Andreas Jaeger  <aj@suse.de>
14484         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14485         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14486         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14487         [__WORDSIZE != 64]: Likewise.
14489 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14491         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14492         *  iconvdata/tst-tables.sh: Likewise.
14494 2012-10-25  David S. Miller  <davem@davemloft.net>
14496         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14497         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14498         of strtoull.
14500         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14501         ifunc-impl-list.c
14502         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14503         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14504         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14505         file.
14507 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14509         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14510         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14511         __getdirentries.
14513 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14514             Jim Blandy  <jimb@codesourcery.com>
14516         * scripts/cross-test-ssh.sh: New file.
14517         * manual/install.texi (Configuring and compiling): Document use of
14518         cross-test-ssh.sh.
14519         * INSTALL: Regenerated.
14521 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14523         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14524         EOPNOTSUPP.
14526 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14528         * Makeconfig (run-program-prefix): Fix comment.
14530 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14531             Jim Blandy  <jimb@codesourcery.com>
14533         * Makeconfig (test-wrapper): New variable,
14534         (test-wrapper-env): Likewise.
14535         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14536         (run-built-tests): Define to yes.
14537         (run-program-prefix): Use $(test-wrapper).
14538         (built-program-cmd): Likewise.
14539         * Rules (make-test-out): Use $(test-wrapper-env) and
14540         $(host-built-program-cmd).
14541         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14542         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14543         tst-pathopt.sh.
14544         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14545         $(test-wrapper-env) to tst-rtld-load-self.sh.
14546         ($(objpfx)order2.out): Use $(test-wrapper).
14547         ($(objpfx)tst-initorder.out): Likewise.
14548         ($(objpfx)tst-initorder2.out): Likewise.
14549         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14550         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14551         (test_wrapper_env): New variable.  Use it to run ld.so.
14552         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14553         Use it to run ld.so.
14554         (test_wrapper_env): Likewise.
14555         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14556         $(test-wrapper) to run-iconv-test.sh.
14557         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14558         (ICONV): Use $test_wrapper.
14559         * posix/Makefile ($(objpfx)globtest.out): Pass
14560         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14561         globtest.sh, not $(run-program-prefix).
14562         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14563         (test_wrapper): Likewise.
14564         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14565         set together with run_via_rtld_prefix.
14566         (run_program_prefix): Define in terms of test_wrapper and
14567         run_via_rtld_prefix.
14569 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14571         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14572         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14573         Targets removed.
14575         [BZ #14743]
14576         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14577         Declare __clock_getres, __clock_gettime, __clock_settime,
14578         __clock_nanosleep, and __clock_getcpuclockid.
14579         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14580         Remove librt_hidden_def (clock_gettime).
14581         * sysdeps/unix/clock_gettime.c: Likewise.
14582         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14583         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14584         * rt/clock_getres.c: Define __clock_getres as an alias.
14585         * sysdeps/posix/clock_getres.c: Likewise.
14586         * rt/clock_settime.c: Define __clock_settime as an alias.
14587         * sysdeps/unix/clock_settime.c: Likewise.
14588         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14589         * sysdeps/unix/clock_nanosleep.c: Likewise.
14590         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14591         * rt/clock-compat.c: New file.
14592         * rt/Makefile (librt-routines): Add clock-compat and move
14593         $(clock-routines) to ...
14594         (routines): ... here, new variable.
14595         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14596         Don't add get_clockfreq here.
14597         * rt/Versions (libc: GLIBC_2.17): New version set.
14598         Add clock_* symbols here.
14599         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14600         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14601         (GLIBC_2.17): Add clock_* symbols.
14602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14604         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14606         Likewise.
14607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14608         Likewise.
14609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14613         * NEWS: Mention the move.
14615         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14616         Use __open, __read, __close rather than their public counterparts.
14617         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14618         (__get_clockfreq_via_cpuinfo): Likewise.
14619         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14620         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14622         * config.h.in (HAVE_IFUNC): New #undef.
14623         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14624         was successful.
14625         * configure: Regenerated.
14627 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14629         * configure.in: Move READELF check to start of file.
14630         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14631         libc_cv_asm_gnu_indirect_function in the process.
14632         * configure: Regenerated.
14634 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14636         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14637         send the output to /dev/null.
14638         (libc_cv_cc_with_libunwind): Likewise.
14639         (libc_cv_as_noexecstack): Likewise.
14640         * configure: Regenerate.
14642 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14644         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14646         * posix/globtest.sh (TMPDIR): Do not set.
14647         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14648         (testout): Likewise.
14650 2012-10-24  Andreas Jaeger  <aj@suse.de>
14652         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14653         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14654         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14655         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14656         posix_fadvise64, posix_fallocate64.
14658         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14659         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14660         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14661         Likewise.
14662         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14663         Likewise.
14664         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14666         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14667         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14668         <bits/fcntl-linux.h>.
14669         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14671         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14672         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14673         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14674         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14675         [__WORDSIZE != 64]: Likewise.
14677 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14679         * Makeconfig (run-built-tests): New variable.
14680         * Rules [$(cross-compiling) = yes]: Change condition to
14681         [$(run-built-tests) = no].
14682         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14683         to [$(run-built-tests) = yes].
14684         * elf/Makefile [$(cross-compiling) = no]: Likewise
14685         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14686         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14687         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14688         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14689         * io/Makefile [$(cross-compiling) = no]: Likewise.
14690         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14691         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14692         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14693         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14694         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14695         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14696         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14697         * string/Makefile [$(cross-compiling) = no]: Likewise.
14699         * posix/Makefile ($(objpfx)globtest.out): Pass
14700         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14701         $(rtld-installed-name).
14702         * posix/globtest.sh (elf_objpfx): Remove variable.
14703         (rtld_installed_name): Likewise.
14704         (library_path): Likewise.
14705         (run_program_prefix): New variable.  Use for running globtest
14706         binary.
14708 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14709             Joseph Myers  <joseph@codesourcery.com>
14711         * Makeconfig (host-built-program-cmd): New variable.
14712         * elf/Makefile (tst-stackguard1-ARGS): Use
14713         $(host-built-program-cmd).
14714         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14715         (tst-spawn-ARGS): Likewise.
14716         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14718 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14719             Jim Blandy  <jimb@codesourcery.com>
14721         * Makeconfig (run-via-rtld-prefix): New variable.
14722         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14723         (built-program-cmd): Likewise.
14725 2012-10-22  Andreas Jaeger  <aj@suse.de>
14727         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14728         __O_RSYNC if it exists, otherwise to O_SYNC.
14730 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14731             Joseph Myers  <joseph@codesourcery.com>
14733         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14734         /dev/null.
14735         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14736         from /dev/null
14737         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14738         /dev/null.
14740 2012-10-22  Andreas Jaeger  <aj@suse.de>
14742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14743         Define always.
14744         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14747         bits/fcntl-linux.h.
14749         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14750         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14752         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14753         to __O_LARGEFILE.
14754         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14755         to __O_LARGEFILE.
14757 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14758             Joseph Myers  <joseph@codesourcery.com>
14760         * config.make.in (NM): New variable.
14762 2012-10-21  Andreas Jaeger  <aj@suse.de>
14764         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14765         definitions and declarations that are provided by
14766         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14768 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14770         [BZ #14683]
14771         * elf/Makefile (tests-static): Add tst-leaks1-static.
14772         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14773         ($(objpfx)tst-leaks1-static): New rule.
14774         ($(objpfx)tst-leaks1-static-mem): Likewise.
14775         (tst-leaks1-static-ENV): New macro.
14776         * elf/dl-open.c (dl_open_worker): Check the main application
14777         only if SHARED is defined.
14778         * elf/tst-leaks1-static.c: New file.
14780 2012-10-20  Andreas Jaeger  <aj@suse.de>
14782         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14783         generic values for Linux.
14784         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14785         and declarations that are provided by <bits/fcntl-linux.h> and
14786         include <bits/fcntl-linux.h>.
14787         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14788         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14790 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14792         * io/fcntl.h: Move include of <bits/types.h> to the top and
14793         include it unconditionally.
14795 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14797         * wcsmbs/Makefile (tests-ifunc): New variable.
14798         (tests): Add $(tests-ifunc).
14799         * wcsmbs/test-wcschr-ifunc.c: New file.
14800         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14801         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14802         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14803         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14804         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14806         * string/Makefile (tests-ifunc): New variable.
14807         (tests): Add $(tests-ifunc).
14808         * string/test-memccpy.c (TEST_NAME): New macro.
14809         * string/test-memchr.c (TEST_NAME): Likewise.
14810         * string/test-memcmp.c (TEST_NAME): Likewise.
14811         * string/test-memcpy.c (TEST_NAME): Likewise.
14812         * string/test-memmem.c (TEST_NAME): Likewise.
14813         * string/test-memmove.c (TEST_NAME): Likewise.
14814         * string/test-memset.c (TEST_NAME): Likewise.
14815         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14816         * string/test-stpcpy.c (TEST_NAME): Likewise.
14817         * string/test-stpncpy.c (TEST_NAME): Likewise.
14818         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14819         * string/test-strcasestr.c (TEST_NAME): Likewise.
14820         * string/test-strcat.c (TEST_NAME): Likewise.
14821         * string/test-strchr.c (TEST_NAME): Likewise.
14822         * string/test-strcmp.c(TEST_NAME): Likewise.
14823         * string/test-strcpy.c (TEST_NAME): Likewise.
14824         * string/test-strcspn.c (TEST_NAME): Likewise.
14825         * string/test-strlen.c (TEST_NAME): Likewise.
14826         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14827         * string/test-strncmp.c (TEST_NAME): Likewise.
14828         * string/test-strncpy.c (TEST_NAME): Likewise.
14829         * string/test-strnlen.c (TEST_NAME): Likewise.
14830         * string/test-strpbrk.c (TEST_NAME): Likewise.
14831         * string/test-strrchr.c (TEST_NAME): Likewise.
14832         * string/test-strspn.c (TEST_NAME): Likewise.
14833         * string/test-strstr.c (TEST_NAME): Likewise.
14834         * string/test-bcopy-ifunc.c: New file.
14835         * string/test-bzero-ifunc.c: Likewise.
14836         * string/test-memccpy-ifunc.c: Likewise.
14837         * string/test-memchr-ifunc.c: Likewise.
14838         * string/test-memcmp-ifunc.c: Likewise.
14839         * string/test-memcpy-ifunc.c: Likewise.
14840         * string/test-memmem-ifunc.c: Likewise.
14841         * string/test-memmove-ifunc.c: Likewise.
14842         * string/test-mempcpy-ifunc.c: Likewise.
14843         * string/test-memset-ifunc.c: Likewise.
14844         * string/test-rawmemchr-ifunc.c: Likewise.
14845         * string/test-stpcpy-ifunc.c: Likewise.
14846         * string/test-stpncpy-ifunc.c: Likewise.
14847         * string/test-strcasecmp-ifunc.c: Likewise.
14848         * string/test-strcasestr-ifunc.c: Likewise.
14849         * string/test-strcat-ifunc.c: Likewise.
14850         * string/test-strchr-ifunc.c: Likewise.
14851         * string/test-strchrnul-ifunc.c: Likewise.
14852         * string/test-strcmp-ifunc.c: Likewise.
14853         * string/test-strcpy-ifunc.c: Likewise.
14854         * string/test-strcspn-ifunc.c: Likewise.
14855         * string/test-strlen-ifunc.c: Likewise.
14856         * string/test-strncasecmp-ifunc.c: Likewise.
14857         * string/test-strncat-ifunc.c: Likewise.
14858         * string/test-strncmp-ifunc.c: Likewise.
14859         * string/test-strncpy-ifunc.c: Likewise.
14860         * string/test-strnlen-ifunc.c: Likewise.
14861         * string/test-strpbrk-ifunc.c: Likewise.
14862         * string/test-strrchr-ifunc.c: Likewise.
14863         * string/test-strspn-ifunc.c: Likewise.
14864         * string/test-strstr-ifunc.c: Likewise.
14866         * debug/Makefile (tests-ifunc): New variable.
14867         (tests): Add $(tests-ifunc).
14868         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14869         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14870         * debug/test-stpcpy_chk-ifunc.c: New file.
14871         * debug/test-strcpy_chk-ifunc.c: Likewise.
14873 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14875         [BZ #13601]
14876         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14877         header is not read in.
14879 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14881         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14882         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14883         directly.  Pass built executable to script as
14884         $(built-program-cmd).
14885         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14886         $testprogram without using LD_LIBRARY_PATH and $ldso.
14888         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14889         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14890         $(rtld-installed-name).
14891         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14892         (rtld_installed_name): Likewise.
14893         (library_path): Likewise.
14894         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14895         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14896         $(run-program-prefix) to tst-tables.sh.
14897         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14898         it to run tst-table-from and tst-table-to.
14899         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14900         Pass it to tst-table.sh.
14901         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14902         $(run-program-prefix) to tst-gettext.sh.
14903         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14904         tst-translit.sh.
14905         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14906         tst-gettext2.sh.
14907         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14908         to run tst-gettext.
14909         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14910         to run tst-gettext2.
14911         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14912         to run tst-translit.
14913         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14914         $(run-program-prefix) to tst-mtrace.sh.
14915         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14916         to run tst-mtrace.
14917         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14918         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14919         $(rtld-installed-name).
14920         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14921         (rtld_installed_name): Likewise.
14922         (run_program_prefix): New variable.  Use it to run wordexp-test.
14924         * Makeconfig (ARCH): Remove all definitions.
14925         (machine): Likewise.
14926         [ARCH]: Remove conditional code.
14927         [!objdir]: Give error.
14928         [!objdir] (objpfx): Remove.
14929         [!objdir] (common-objpfx): Likewise.
14930         [!objdir] (common-objdir): Likewise.
14931         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14932         AC_CONFIG_FILES call.
14933         * configure: Regenerated.
14935         [BZ #13888]
14936         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14937         or TMPDIR.
14938         (testout): Likewise.
14940         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14941         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14942         $(rtld-installed-name).
14943         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14944         (rtld_installed_name): Likwise.
14945         (runit): Remove function.
14946         (run_getconf): New variable,  Use it for running getconf binary.
14948 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14950         [BZ #14716]
14951         * string/test-memmem.c (check_result): New function.
14952         (do_one_test): Use it.
14953         (check1): New function.
14954         (test_main): Use it.
14956 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14958         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14960 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14962         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14963         (_G_LSEEK64): Likewise.
14964         (_G_MMAP64): Likewise.
14965         (_G_FSTAT64): Likewise.
14966         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14967         (_G_LSEEK64): Likewise.
14968         (_G_MMAP64): Likewise.
14969         (_G_FSTAT64): Likewise.
14970         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14971         unconditional.  Call __mmap64 directly.
14972         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14973         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14974         __lseek64 directly.
14975         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14976         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14977         __mmap64 directly.
14978         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14979         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14980         __lseek64 directly.
14981         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14982         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14983         __lseek64 directly.
14984         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14985         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14986         __lseek64 directly.
14987         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14988         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14989         __fxstat64 directly.
14990         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14991         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14992         unconditional.
14993         (freopen64) [!_G_OPEN64]: Remove conditional code.
14994         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14995         unconditional.
14996         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14997         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14998         unconditional.
14999         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15000         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15001         unconditional.
15002         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15003         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15004         unconditional.
15005         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15006         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15007         unconditional.
15008         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15009         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15010         unconditional.
15011         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15012         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15013         unconditional.
15014         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15016 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15018         [BZ #12140]
15019         * manual/memory.texi (Malloc Tunable Parameters): Add note
15020         about free list pointers overwriting some perturb bytes.
15021         Wording suggested by Roland McGrath.
15023 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15025         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15026         (lgamma_test): Likewise.
15027         (tgamma_test): Likewise.
15029 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15031         [BZ #14700]
15032         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15033         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15035 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15037         * NEWS: Mention BZ #14716.
15038         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15039         when removing AVAILABLE1_USES_J macro.
15041 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15043         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15044         (__bswap_64): __uint64_t for unsigned 64-bit int.
15046 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15048         * include/string.h (memmem): Declare libc hidden alias.
15049         * string/memmem.c (memmem): Define libc hidden alias.
15050         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15051         __read, __close instead of open, read, close.
15053 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15056         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15057         global and hidden.
15058         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15059         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15060         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15061         Likewise.
15062         (__rawmemchr_sse2): Likewise.
15063         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15064         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15065         (__strchr_sse2): Likewise.
15066         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15067         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15068         (__strcasecmp_sse2): Likewise.
15069         (__strncasecmp_sse2): Likewise.
15070         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15071         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15072         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15073         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15074         (__strrchr_sse2): Likewise.
15075         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15076         ifunc-impl-list.c.
15077         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15078         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15079         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15080         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15081         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15082         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15083         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15084         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15085         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15086         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15087         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15088         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15089         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15090         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15091         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15092         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15093         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15094         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15095         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15096         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15097         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15098         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15099         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15100         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15101         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15102         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15103         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15104         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15105         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15106         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15108         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15109         global and hidden.
15110         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15111         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15112         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15113         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15114         Likewise.
15115         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15116         Likewise.
15117         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15118         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15119         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15120         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15121         ifunc-impl-list.c.
15122         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15123         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15124         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15125         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15126         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15127         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15128         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15129         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15130         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15131         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15132         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15133         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15134         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15135         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15136         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15137         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15138         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15139         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15140         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15141         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15142         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15143         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15144         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15145         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15146         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15147         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15148         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15149         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15150         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15151         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15152         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15153         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15154         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15155         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15156         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15157         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15158         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15159         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15160         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15161         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15162         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15164         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15165         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15166         * include/ifunc-impl-list.h: New file.
15167         * misc/ifunc-impl-list.c: Likewise.
15168         * misc/Makefile (routines): Add ifunc-impl-list.
15169         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15170         * string/test-string.h: Include <ifunc-impl-list.h>.
15171         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15172         impl_array): New variables.
15173         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15174         are defined.
15175         (test_init): Call __libc_ifunc_impl_list to initialize
15176         func_list if TEST_IFUNC and TEST_NAME are defined.
15178         * string/Makefile (strop-tests): Add bcopy and bzero.
15179         * string/test-bcopy.c: New file.
15180         * string/test-bzero.c: Likewise.
15181         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15182         defined.
15183         * string/test-memset.c: Support bzero test if TEST_BZERO is
15184         defined.
15185         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15186         __libc_memmove.
15187         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15188         __libc_memset.
15189         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15190         of memset.
15192 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15194         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15195         * configure: Regenerated.
15197         * Makeconfig (+link-static-before-libc): Don't include
15198         $(link-static-libc).
15200         * libio/libio.h (_IO_pos_t): Remove.
15202 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15204         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15205         McGrath.
15207 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15209         * crypt/crypt-entry.c: Include fips-private.h.
15210         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15211         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15212         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15213         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15215 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15217         * crypt/crypt-private.h: Include stdbool.h.
15218         (_ufc_setup_salt_r): Return bool.
15219         * crypt/crypt-entry.c: Include errno.h.
15220         (__crypt_r): Return NULL with EINVAL for bad salt.
15221         * crypt/crypt_util.c (bad_for_salt): New.
15222         (_ufc_setup_salt_r): Check that salt is long enough and within
15223         the specified alphabet.
15224         * crypt/badsalttest.c: New file.
15225         * crypt/Makefile (tests): Add it.
15226         ($(objpfx)badsalttest): New.
15228 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
15230         * NEWS: Add entry for BZ #14602.
15232 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15234         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15235         type-generic.
15236         * math/libm-test.inc: Update comment listing what functions and
15237         macros are tested.
15238         (isgreater_test): New function.
15239         (isgreaterequal_test): Likewise.
15240         (isless_test): Likewise.
15241         (islessequal_test): Likewise.
15242         (islessgreater_test): Likewise.
15243         (isunordered_test): Likewise.
15244         (main): Call the new functions.
15246 2012-10-09  Roland McGrath  <roland@hack.frob.com>
15248         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15249         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15250         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15251         * sysdeps/i386/configure: Regenerated.
15252         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15253         * sysdeps/mach/configure: Regenerated.
15254         * sysdeps/mach/hurd/configure: Regenerated.
15255         * sysdeps/powerpc/configure: Regenerated.
15256         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15257         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15258         * sysdeps/s390/s390-32/configure: Regenerated.
15259         * sysdeps/s390/s390-64/configure: Regenerated.
15260         * sysdeps/sh/configure: Regenerated.
15261         * sysdeps/sparc/configure: Regenerated.
15262         * sysdeps/unix/sysv/linux/configure: Regenerated.
15263         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15264         * sysdeps/x86_64/configure: Regenerated.
15266         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15267         defined.  Don't check if MAP is NULL.
15269 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15271         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15272         (_G_stat64): Likewise.
15273         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15274         (_G_stat64): Likewise.
15275         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15276         instead of struct _G_stat64.
15277         * libio/fileops.c (mmap_remap_check): Likewise.
15278         (decide_maybe_mmap): Likewise.
15279         (_IO_new_file_seekoff): Likewise.
15280         (_IO_file_stat): Likewise.
15281         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15282         _G_off64_t.
15283         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15284         instead of struct _G_stat64.
15285         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15287 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
15289         [BZ #14602]
15290         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15291         Replace with ...
15292         (CHECK_EOL): New macro.
15293         (two_way_short_needle): Check beginning of haystack for EOL.  Use
15294         CHECK_EOL.
15295         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15296         Replace with CHECK_EOL.
15297         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15298         Replace with CHECK_EOL.
15300 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
15302         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15303         type-generic.
15304         * math/libm-test.inc: Update comment listing what functions and
15305         macros are tested.
15306         (finite_test): New function.
15307         (isinf_test): Likewise.
15308         (isnan_test): Likewise.
15309         (fpclassify_test): Test subnormal input.
15310         (isfinite_test): Likewise.
15311         (isnormal_test): Likewise.
15312         (main): Call the new functions.
15314 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15316         [BZ #14660]
15317         * Makerules (%.dynsym): Force C locale when running
15318         $(OBJDUMP) --dynamic-syms.
15320 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15322         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15323         <stdint.h>.
15325 2012-10-06  David S. Miller  <davem@davemloft.net>
15327         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15328         upper 32-bits of the length value in %o2 since we use branch-on-register
15329         tests which consider the entire 64-bit register.
15331 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15333         * string/test-strstr.c (check2): Add a test for page boundary.
15335 2012-10-05  David S. Miller  <davem@davemloft.net>
15337         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15338         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15339         file.
15340         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15341         sysdep_routines.
15342         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15343         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15344         and bzero when HWCAP_SPARC_CRYPTO is present.
15346 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15348         [BZ #14602]
15349         * string/test-strstr.c (check2): New function.
15350         (test_main): Call check2.
15352         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15353         and bug-strchr1.
15354         * string/bug-strcasestr1.c (do_test): Moved to ...
15355         * string/test-strcasestr.c (check1): Here.  New function.
15356         (do_one_test): Break out result checking code into ...
15357         (check_result): This.  New function.
15358         (do_one_test): Call check_result.
15359         (test_main): Call check1.
15360         * string/bug-strchr1.c (do_test): Moved to ...
15361         * string/test-strchr.c (check1): Here.  New function.
15362         (do_one_test): Break out result checking code into ...
15363         (check_result): This.  New function.
15364         (do_one_test): Call check_result.
15365         (test_main): Call check1.
15366         * string/bug-strstr1.c (main): Moved to ...
15367         * string/test-strstr.c (check1): Here.  New function.
15368         (do_one_test): Break out result checking code into ...
15369         (check_result): This.  New function.
15370         (do_one_test): Call check_result.
15371         (test_main): Call check1.
15372         * string/bug-strcasestr1.c: Removed.
15373         * string/bug-strchr1.c: Likewise.
15374         * string/bug-strstr1.c: Likewise.
15376         * elf/Makefile (dl-routines): Add hwcaps.
15377         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15378         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15379         (_dl_important_hwcaps): Moved to ...
15380         * elf/dl-hwcaps.c: Here.  New file.
15381         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15383         [BZ #14557]
15384         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15385         if IS_IN_rtld isn't defined.
15387         * elf/dl-support.c (_dl_sysinfo_map): New.
15388         Include "get-dynamic-info.h" and "setup-vdso.h".
15389         (_dl_non_dynamic_init): Call setup_vdso.
15390         * elf/dynamic-link.h: Don't include <assert.h>.
15391         (elf_get_dynamic_info): Moved to ...
15392         * elf/get-dynamic-info.h: Here.  New file.
15393         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15394         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15395         * elf/setup-vdso.h: Here.  New file.
15396         * elf/rtld.c: Include "setup-vdso.h".
15397         (dl_main): Call setup_vdso.
15399 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15401         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15402         creal in comment listing functions tested.  List finite, isinf,
15403         isnan, isless, islessequal, isgreater, isgreaterequal,
15404         islessgreater, isunordered, lgamma_r and pow10 as functions and
15405         macros not tested.  Mention which functions not tested are aliases
15406         for other functions.  Fix typo.  Note that signs of NaNs are not
15407         tested.
15409         * scripts/config.guess: Update from config.git.
15410         * scripts/config.sub: Likewise.
15412 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15414         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15415         * misc/madvise.c (madvise): Renamed to __madvise.
15416         Make madvise a weak alias.
15417         * include/sys/mman.h: Declare __madvise.
15418         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15419         * sysdeps/unix/syscalls.list
15420         (madvise): Make __madvise the strong name, and madvise a weak alias.
15421         * sysdeps/unix/sysv/linux/syscalls.list
15422         (madvise, mmap): Remove redundant entries.
15423         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15424         * malloc/malloc.c (mtrim): Likewise.
15425         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15427 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15429         * sysdeps/mach/hurd/dl-cache.c: File removed.
15430         * config.h.in (USE_LDCONFIG): New #undef.
15431         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15432         * configure: Regenerated.
15433         * elf/Makefile (dl-routines): Add dl-cache only under
15434         [$(use-ldconfig) = yes].
15435         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15436         cache on [USE_LDCONFIG].
15437         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15438         [USE_LDCONFIG].
15439         * elf/rtld.c (dl_main): Likewise.
15441 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15443         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15444         _SC_LEVEL4_CACHE_LINESIZE.
15446 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15448         * sysdeps/unix/bsd/confstr.h: File removed.
15450 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15452         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15453         sys/sdt-config.h.
15455 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15457         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15458         Make 'mapoff' field ElfW(Off) rather than off_t.
15460 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15462         * nscd/Makefile: Remove nscd-cflags and all its users.
15463         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15464         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15466         [BZ #10631]
15467         * malloc.c (malloc_printerr): Clarify error message.
15469 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15471         [BZ #14648]
15472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15473         Set bit_FMA_Usable if FMA is supported.
15474         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15475         macro.
15476         (bit_FMA4_Usable): Updated.
15477         (index_FMA_Usable): New macro.
15478         (CPUID_FMA): Likewise
15479         (HAS_FMA): Defined with bit_FMA_Usable.
15481 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15483         * bits/types.h (__swblk_t): Type removed.
15484         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15485         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15486         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15487         (__SWBLK_T_TYPE): Likewise.
15488         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15489         (__SWBLK_T_TYPE): Likewise.
15490         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15491         (__SWBLK_T_TYPE): Likewise.
15492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15493         (__SWBLK_T_TYPE): Likewise.
15495 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15496             Honza Horak <hhorak@redhat.com>
15498         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15499         (xdr_mapname): Use YPMAXMAP as maxsize.
15500         (xdr_peername): Use YPMAXPEER as maxsize.
15501         (xdr_keydat): Use YPAXRECORD as maxsize.
15502         (xdr_valdat): Use YPMAXRECORD as maxsize.
15504 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15506         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15508         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15509         * csu/init-first.c: ... here.
15510         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15511         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15512         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15513         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15514         * sysdeps/i386/init-first.c: File removed.
15515         * sysdeps/sh/init-first.c: File removed.
15517 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15519         [BZ #14645]
15520         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15521         if x * y might underflow to zero and z is zero.
15522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15523         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15524         * math/libm-test.inc (min_subnorm_value): New variable.
15525         (fma_test): Add more tests.
15526         (fma_test_towardzero): Likewise.
15527         (fma_test_downward): Likewise
15528         (fma_test_upward): Likewise.
15529         (initialize): Set min_subnorm_value.
15531 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15533         [BZ #14638]
15534         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15535         0 + 0.
15536         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15537         mode for addition resulting in exact zero.
15538         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15540         exact 0 + 0.
15541         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15542         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15543         * math/libm-test.inc (fma_test): Add more tests.
15544         (fma_test_towardzero): New function.
15545         (fma_test_downward): Likewise.
15546         (fma_test_upward): Likewise.
15547         (main): Call the new functions.
15549 2012-09-28  David S. Miller  <davem@davemloft.net>
15551         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15553 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15555         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15556         instead of SIGALRM.
15558         * sysdeps/gnu/_G_config.h: Moved to ...
15559         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15560         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15561         * sysdeps/generic/_G_config.h: ... here.
15563         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15565         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15567         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15568         Conditionalize target on [libnss_test1.so-version].
15570         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15572         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15573         (elfobjdir): Move out of conditionals.
15575         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15576         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15577         (__nss_lookup_function): Conditionalize label remove_from_tree on
15578         [!DO_STATIC_NSS || SHARED], matching its only use.
15580 2012-09-28  David S. Miller  <davem@davemloft.net>
15582         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15583         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15584         file.
15585         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15586         sysdep_routines.
15587         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15588         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15589         when HWCAP_SPARC_CRYPTO is present.
15591 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15593         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15595 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15597         [BZ #6530]
15598         * stdio-common/vfprintf.c (process_string_arg): Revert
15599         2000-07-22 change.
15601 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15603         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15604         for testcase.
15605         * stdio-common/tst-sprintf.c: Include <locale.h>
15606         (main): Test sprintf's handling of incomplete multibyte
15607         characters.
15609 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15611         * elf/dl-runtime.c (VERSYMIDX): Removed.
15612         * elf/dl-version.c (VERSYMIDX): Likewise.
15613         * elf/do-rel.h (VERSYMIDX): Likewise.
15614         (VALIDX): Likewise.
15615         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15616         * elf/rtld.c (VALIDX): Likewise.
15617         (ADDRIDX): Likewise.
15618         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15619         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15620         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15621         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15622         (VALIDX): Likewise.
15623         (ADDRIDX): Likewise.
15625 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15627         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15629 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15631         [BZ #11438]
15632         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15633         to global scope.
15634         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15635         addresses are in the same scope as 192.0.2/24.
15636         * posix/gai.conf: Document new scope table defaults.
15638 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15640         [BZ #5298]
15641         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15642         for ftell.  Compute offsets from write pointers instead.
15643         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15645 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15647         [BZ #14543]
15648         * libio/Makefile (tests): New test case tst-fseek.
15649         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15650         combination works in wide mode.
15651         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15652         state when the external buffer state changes.
15654 2012-09-27  David S. Miller  <davem@davemloft.net>
15656         [BZ #14376]
15657         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15658         pass reloc->r_addend in as the 'high' argument to
15659         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15663 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15665         * rt/tst-aio2.c: Include <pthread.h>.
15666         * rt/tst-aio3.c: Likewise.
15668 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15670         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15672 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15674         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15675         contents on [SHARED].
15677 2012-09-26  Marek Polacek  <polacek@redhat.com>
15679         [BZ #14530]
15680         [BZ #13741]
15681         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15682         for C++ and GCC <4.3 as well as for non GCC compilers.
15684 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15688 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15690         * Makefile.in (all, install): Declare with .PHONY.
15691         Reported by Michael Hope <michael.hope@linaro.org>.
15693 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15695         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15696         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15697         system header.
15698         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15699         Likewise.
15700         (sydep_routines): Add the new and the internal functions.
15701         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15702         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15704         (GLIBC_2.17): Add the new function.
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15706         (GLIBC_2.17): Likewise.
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15708         (GLIBC_2.17): Likewise.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15710         (GLIBC_2.17): Likewise.
15711         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15713 2012-09-25  Alan Modra  <amodra@gmail.com>
15715         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15716         Add release barrier before setting once_control to say
15717         initialisation is done.  Add hints on lwarx.  Use macro in
15718         place of isync.
15719         (clear_once_control): Add release barrier.
15721 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15723         [BZ #13629]
15724         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15725         specially.
15726         * math/s_clog10.c (__clog10): Likewise.
15727         * math/s_clog10f.c (__clog10f): Likewise.
15728         * math/s_clog10l.c (__clog10l): Likewise.
15729         * math/s_clogf.c (__clogf): Likewise.
15730         * math/s_clogl.c (__clogl): Likewise.
15731         * math/Makefile (libm-calls): Add x2y2m1.
15732         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15733         (__x2y2m1): Likewise.
15734         (__x2y2m1l): Likewise.
15735         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15736         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15737         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15738         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15739         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15740         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15741         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15742         * sysdeps/i386/fpu/libm-test-ulps: Update.
15743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15745         [BZ #14621]
15746         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15747         int as type of variable DEPTH.
15748         (glob): Use size_t instead of int as type of variables NEWCOUNT
15749         and OLD_PATHC.
15751 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15753         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15754         Add s_sincosf-sse2.
15755         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15756         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15757         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15758         macros for using routine as __sincosf_ia32.
15759         Use macro for function declaration and weak_alias.
15760         * sysdeps/i386/fpu/libm-test-ulps: Update.
15762         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15763         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15765         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15766         subnormal argument.
15767         * math/s_cexpf.c (__cexpf): Likewise.
15768         * math/s_csinf.c (__csinf): Likewise.
15769         * math/s_csinhf.c (__csinhf): Likewise.
15770         * math/s_ctanf.c (__ctanf): Likewise.
15771         * math/s_ctanhf.c (__ctanhf): Likewise.
15772         * math/s_ccosh.c (__ccoshf): Likewise.
15773         * math/s_cexp.c (__cexpl): Likewise.
15774         * math/s_csin.c (__csin): Likewise.
15775         * math/s_csinh.c (__csinh): Likewise.
15776         * math/s_ctan.c (__ctan): Likewise.
15777         * math/s_ctanh.c (ctanh): Likewise.
15778         * math/s_ccoshl.c (__ccoshl): Likewise.
15779         * math/s_cexpl.c (__cexpl): Likewise.
15780         * math/s_csinl.c (__csinl): Likewise.
15781         * math/s_csinhl.c (__csinhl): Likewise.
15782         * math/s_ctanl.c (__ctanl): Likewise.
15783         * math/s_ctanhl.c (__ctanhl): Likewise.
15785 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15787         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15788         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15789         (_IO_off_t): Define to __off_t, not _G_off_t.
15790         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15791         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15792         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15793         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15794         type of __dummy and __dummy2 fields.
15795         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15796         (_G_ssize_t): Likewise.
15797         (_G_off_t): Likewise.
15798         (_G_pid_t): Likewise.
15799         (_G_uid_t): Likewise.
15800         (_G_wchar_t): Likewise.
15801         (_G_wint_t): Likewise.
15802         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15803         (_G_ssize_t): Likewise.
15804         (_G_off_t): Likewise.
15805         (_G_pid_t): Likewise.
15806         (_G_uid_t): Likewise.
15807         (_G_wchar_t): Likewise.
15808         (_G_wint_t): Likewise.
15809         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15810         (_G_ssize_t): Likewise.
15811         (_G_off_t): Likewise.
15812         (_G_pid_t): Likewise.
15813         (_G_uid_t): Likewise.
15814         (_G_wchar_t): Likewise.
15815         (_G_wint_t): Likewise.
15817 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15819         * malloc/arena.c: Include malloc-sysdep.h.
15820         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15821         is sufficient to shrink the heap or an unmap is needed.
15822         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15823         new function check_may_shrink_heap.
15824         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15825         new function check_may_shrink_heap.
15827 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15829         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15830         comments.
15832 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15834         * catgets/test-gencat.sh: Add "set -e".
15835         * elf/tst-pathopt.sh: Likewise.
15836         * grp/tst_fgetgrent.sh: Likewise.
15837         * iconvdata/run-iconv-test.sh: Likewise.
15838         * intl/tst-gettext.sh: Likewise.
15839         * intl/tst-gettext2.sh: Likewise.
15840         * intl/tst-gettext4.sh: Likewise.
15841         * intl/tst-gettext6.sh: Likewise.
15842         * intl/tst-translit.sh: Likewise.
15843         * io/ftwtest-sh: Likewise.
15844         * libio/test-freopen.sh: Likewise.
15845         * malloc/tst-mtrace.sh: Likewise.
15846         * posix/globtest.sh: Likewise.
15847         * posix/tst-getconf.sh: Likewise.
15848         * posix/wordexp-tst.sh: Likewise.
15849         * stdio-common/tst-printf.sh: Likewise.
15850         * stdio-common/tst-unbputc.sh: Likewise.
15851         * stdlib/tst-fmtmsg.sh: Likewise.
15852         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15853         * catgets/Makefile: Do not specify -e option when running
15854         testsuite shell scripts.
15855         * elf/Makefile: Likewise.
15856         * grp/Makefile: Likewise.
15857         * iconvdata/Makefile: Likewise.
15858         * intl/Makefile: Likewise.
15859         * io/Makefile: Likewise.
15860         * libio/Makefile: Likewise.
15861         * malloc/Makefile: Likewise.
15862         * posix/Makefile: Likewise.
15863         * stdio-common/Makefile: Likewise.
15864         * stdlib/Makefile: Likewise.
15865         * sysdeps/x86_64/Makefile: Likewise.
15867         * io/ftwtest-sh: Add copyright header.
15868         * posix/globtest.sh: Likewise.
15869         * posix/tst-getconf.sh: Likewise.
15870         * posix/wordexp-tst.sh: Likewise.
15871         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15873 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15875         [BZ #13679]
15876         * Makeconfig (+link): Defined as $(+link-static) if
15877         $(build-shared) isn't yes.
15878         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15879         isn't yes.
15880         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15882         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15884         [BZ #14562]
15885         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15886         new chunk size with MALLOC_ALIGN_MASK.
15888 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15890         [BZ #5044]
15891         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15892         <rounding-mode.h>.
15893         (__printf_fphex): Determine rounding using get_rounding_mode and
15894         round_away.
15895         * stdio-common/tst-printf-round.c (struct hex_test): New
15896         structure.
15897         (hex_tests): New variable.
15898         (test_hex_in_one_mode): New function.
15899         (do_test): Also run tests for hex float output.
15901 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15903         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15904         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15905         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15906         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15907         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15908         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15909         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15910         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15912 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15914         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15915         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15916         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15917         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15919 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15921         [BZ #14579]
15922         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15923         mode only.
15924         * elf/tst-rtld-load-self.sh: New test.
15925         * elf/Makefile: Run it.
15927 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15929         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15930         (tst-writev-ENV): Remove.
15931         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15933 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15935         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15937 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15939         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15940         unconditional.
15941         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15942         Likewise.
15943         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15944         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15945         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15946         Likewise.
15948 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15950         [BZ #14587]
15951         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15952         * config.make.in (have-cpp-asm-debuginfo): Removed.
15953         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15954         * configure: Regenerated.
15956 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15958         [BZ #5044]
15959         * stdio-common/printf_fp.c: Include <stdbool.h> and
15960         <rounding-mode.h>.
15961         (___printf_fp): Determine rounding using get_rounding_mode and
15962         round_away.
15963         * stdio-common/tst-printf-round.c: New file.
15964         * stdio-common/Makefile (tests): Add tst-printf-round.
15965         (link-libm): New variable.
15966         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15968 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15970         [BZ #14576]
15971         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15972         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15973         Likewise.
15974         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15975         Likewise.
15977 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15979         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15980         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15981         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15982         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15984 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15986         [BZ #14518]
15987         * include/rounding-mode.h: New file.
15988         * sysdeps/generic/get-rounding-mode.h: Likewise.
15989         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15990         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15991         (MAX_VALUE): New macro.
15992         (MIN_VALUE): Likewise.
15993         (overflow_value): New function.
15994         (underflow_value): Likewise.
15995         (round_and_return): Use overflow_value and underflow_value to
15996         determine return values in overflow and underflow cases.  Use
15997         round_away to determine rounding depending on rounding mode.
15998         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15999         determine return values in overflow and underflow cases.
16000         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16001         (struct test_results): New structure.
16002         (struct test): Use struct test_results to store expected results
16003         for all rounding modes.
16004         (TEST): Include expected results for all rounding modes.
16005         (test_in_one_mode): New function.
16006         (do_test): Use test_in_one_mode to compute and check results.
16007         Check results for all rounding modes.
16008         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16009         $(link-libm).
16011 2012-12-09  Allan McRae  <allan@archlinux.org>
16013         * sysdeps/i386/fpu/libm-test-ulps: Update
16015 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16017         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16018         (_G_int32_t): Likewise.
16019         (_G_uint16_t): Likewise.
16020         (_G_uint32_t): Likewise.
16021         (_G_HAVE_BOOL): Likewise.
16022         (_G_HAVE_ATEXIT): Likewise.
16023         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16024         (_G_HAVE_IO_FILE_OPEN): Likewise.
16025         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16026         (_G_int32_t): Likewise.
16027         (_G_uint16_t): Likewise.
16028         (_G_uint32_t): Likewise.
16029         (_G_HAVE_BOOL): Likewise.
16030         (_G_HAVE_ATEXIT): Likewise.
16031         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16032         (_G_HAVE_IO_FILE_OPEN): Likewise.
16033         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16034         (_G_int32_t): Likewise.
16035         (_G_uint16_t): Likewise.
16036         (_G_uint32_t): Likewise.
16037         (_G_HAVE_BOOL): Likewise.
16038         (_G_HAVE_ATEXIT): Likewise.
16039         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16040         (_G_HAVE_IO_FILE_OPEN): Likewise.
16042 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16044         * csu/libc-tls.c: Update copyright years.
16046 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16048         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16049         [!_G_USING_THUNKS]: Remove conditional code.
16050         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16051         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16053         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16054         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16055         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16056         (_G_VTABLE_LABEL_PREFIX): Likewise.
16057         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16058         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16059         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16060         (_G_VTABLE_LABEL_PREFIX): Likewise.
16061         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16062         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16063         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16064         (_G_VTABLE_LABEL_PREFIX): Likewise.
16065         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16067 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16069         * libio/Makefile: Include ../Makeconfig before tests.
16070         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16071         only if $(build-shared) is yes.
16073         * iconv/gconv_db.c: Update copyright years.
16075 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16077         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16078         unwind info if defined PIC. Fix special cases description.
16079         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16081         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16082         DP_HI_MASK entry.
16083         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16085 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16087         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16089         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16090         is NULL.
16092         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16093         (LDLIBS-tst-chk4): This.
16094         (LDFLAGS-tst-chk5): Renamed to ...
16095         (LDLIBS-tst-chk5): This.
16096         (LDFLAGS-tst-chk6): Renamed to ...
16097         (LDLIBS-tst-chk6): This.
16098         (LDFLAGS-tst-lfschk4): Renamed to ...
16099         (LDLIBS-tst-lfschk4): This.
16100         (LDFLAGS-tst-lfschk5): Renamed to ...
16101         (LDLIBS-tst-lfschk5): This.
16102         (LDFLAGS-tst-lfschk6): Renamed to ...
16103         (LDLIBS-tst-lfschk6): This.
16105         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16106         on $(common-objpfx)soversions.mk.
16108 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16110         [BZ #10014]
16111         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16112         example host name.
16114 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16116         * malloc/arena.c (arena_get_retry): New function that gets
16117         another arena for the caller to try its request on.
16118         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16119         current arena cannot fulfill the request.
16120         (__libc_memalign): Likewise.
16121         (__libc_memalign): Likewise.
16122         (__libc_pvalloc): Likewise.
16123         (__libc_calloc): Likewise.
16125 2012-09-05  John Tobey  <john.tobey@gmail.com>
16127         [BZ #13542]
16128         * manual/arith.texi (Operations on Complex): Fix description
16129         of carg branch cut.
16131 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16133         [BZ #10014]
16134         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16135         host name.
16137         [BZ #10038]
16138         * manual/memory.texi (Memory): Make order of menu items match
16139         order of sections.
16141 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16143         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16144         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16145         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16147 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16149         * csu/libc-tls.c (static_dtv): Renamed to ...
16150         (_dl_static_dtv): This.  Make it global.
16151         (_dl_initial_dtv): Removed.
16152         (__libc_setup_tls): Updated.
16153         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16154         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16155         DL_INITIAL_DTV.
16157 2012-09-06  Petr Machata  <pmachata@redhat.com>
16159         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16160         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16161         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16162         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16164 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16166         [BZ #14545]
16167         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16168         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16169         freeing dtv[-1].
16171 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16173         [BZ #14544]
16174         * Makeconfig (link-static-before-libc): Replace $(+prector)
16175         with $(+prectorT).
16176         (link-static-after-libc): Replace $(+postctor) with
16177         $(+postctorT).
16178         (link-bounded): Replace $(+prector)/$(+postctor) with
16179         $(+prectorT)/$(+postctorT).
16180         (+prectorT): New macro.
16181         (+postctorT): Likewise.
16183 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16185         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16186         (round_str): Handle values above the maximum for IBM long double
16187         as inexact.
16188         * stdlib/tst-strtod-round.c (tests): Regenerated.
16190 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16192         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16193         assembler flag.
16194         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16195         zarch_nohighgprs around the zarch optimized routines.
16196         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16197         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16198         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16199         for zarch.
16201 2012-09-05  David S. Miller  <davem@davemloft.net>
16203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16205         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16206         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16207         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16208         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16209         entries.
16211 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16213         * malloc/arena.c: Fold copyright years.
16214         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16216 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16218         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16220 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16222         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
16224 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16226         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16227         change internal state upon failure.
16229 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16231         * malloc/mcheck.c (mcheck_check_all): Fix typo.
16232         * malloc/memusage.c (mmap): Likewise.
16233         (mmap64, mremap): Likewise.  Adjust name in comment.
16235 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16237         * libio/fileops.c: Fix typos in comments.
16238         * libio/oldfileops.c: Likewise.
16239         * libio/wfileops.c: Likewise.
16241 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16243         [BZ #1349]
16244         * malloc/Makefile (tests): Add tst-malloc-usable test case.
16245         (tst-malloc-usable-ENV): Set environment for test case.
16246         * malloc/hooks.c (malloc_check_get_size): New function to get
16247         requested size.
16248         * malloc/malloc.c (musable): Use malloc_check_get_size.
16249         * malloc/tst-malloc-usable.c: New test case.
16251 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16253         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16255 2012-09-05  Allan McRae  <allan@archlinux.org>
16257         [BZ #13966]
16258         * configure.in (CXX_SYSINCLUDES): Use compiler output to
16259         determine header location.
16260         * configure: Regenerated.
16262 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16264         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16265         float format.
16266         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16267         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16268         format.
16269         (test): Regenerate.
16271 2012-09-04  David S. Miller  <davem@davemloft.net>
16273         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16274         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16275         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16277 2012-09-04  Florian Weimer  <fweimer@redhat.com>
16279         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16280         failures.
16282         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16284 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
16286         [BZ #9914]
16287         * libio/iogetdelim.c: Include <limits.h>.
16288         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16289         + len + 1 would overflow.
16291 2012-09-03  Andreas Jaeger  <aj@suse.de>
16293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16294         * sysdeps/i386/fpu/libm-test-ulps: Update.
16296 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16298         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16299         Add s_sinf-sse2, s_conf-sse2.
16301         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16302         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16303         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16304         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16306         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16307         for using routine as __sinf_ia32.
16308         Use macro for function declaration and weak_alias.
16309         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16310         for using routine as __cosf_ia32.
16311         Use macro for function declaration and weak_alias.
16313         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16314         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16316         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16317         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16320         * math/libm-test.inc (cos_test): Add more test cases.
16321         (sin_test): Likewise.
16322         (sincos_test): Likewise.
16324 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16326         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16327         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16328         hidden.
16329         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16331 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16333         [BZ #14538]
16334         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16335         first element of the GOT.
16336         (elf_machine_load_address): Return the difference between
16337         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16339 2012-09-01  Allan McRae  <allan@archlinux.org>
16341         [BZ #13412]
16342         * configure.in (AWK): Require gawk version 3.0 or later.
16343         * configure: Regenerated.
16345 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16347         * sysdeps/unix/sysv/linux/kernel-features.h
16348         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16349         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16350         [__NR_clock_getres]: Make code unconditional.
16351         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16352         (clock_getcpuclockid): Remove code left unreachable by removal of
16353         conditionals.
16354         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16355         code unconditional.
16356         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16357         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16358         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16359         Make code unconditional.
16360         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16361         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16362         * sysdeps/unix/sysv/linux/clock_settime.c
16363         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16364         conditional code.
16365         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16366         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16368 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16370         [BZ #14476]
16371         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16372         scripts/test-installation.pl.
16374         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16375         and $ld_so_version if it is set.
16377 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16379         [BZ #14516]
16380         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16381         failure if reading from procfs failed.
16382         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16384 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16386         * sysdeps/unix/sysv/linux/kernel-features.h
16387         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16388         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16389         Remove conditional code.
16390         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16391         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16392         Remove conditional code.
16393         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16394         * sysdeps/unix/sysv/linux/i386/fxstat.c
16395         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16396         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16397         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16398         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16399         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16400         * sysdeps/unix/sysv/linux/i386/lxstat.c
16401         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16402         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16403         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16404         Remove conditional code.
16405         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16406         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16407         Remove conditional code.
16408         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16409         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16410         <kernel-features.h>.
16411         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16412         Remove.
16413         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16414         Remove conditional code.
16415         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16416         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16417         Remove conditional.
16419 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16421         [BZ #5400]
16422         * NEWS: Add fixed bug number.
16424 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16426         [BZ #14519]
16427         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16428         underflowing exponent in case of negative sign.
16429         * stdlib/tst-strtod-round-data: Add more tests.
16430         * stdlib/tst-strtod-round.c (tests): Regenerated.
16432         [BZ #3479]
16433         * stdlib/strtod_l.c (NDIG): Remove.
16434         (HEXNDIG): Likewise.
16435         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16436         smallest representable value.
16437         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16438         lie within an exact representation of 1/2 ulp of the result.
16439         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16440         unconditionally.
16441         (TENS_P9_IDX): Define unconditionally.
16442         (TENS_P9_SIZE): Likewise.
16443         (TENS_P10_IDX): Likewise.
16444         (TENS_P10_SIZE): Likewise.
16445         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16446         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16447         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16448         entries for 10^2^13 and 10^2^14.
16449         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16450         (TENS_P13_IDX): Define.
16451         (TENS_P13_SIZE): Likewise.
16452         (TENS_P14_IDX): Likewise.
16453         (TENS_P14_SIZE): Likewise.
16454         (_fpioconst_pow10): Change array size to
16455         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16456         unconditional.
16457         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16458         1024]: Add entries for 10^2^13 and 10^2^14.
16459         [LAST_POW10 > _LAST_POW10]: Remove #error.
16460         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16461         (_fpioconst_pow10): Change array size to
16462         FPIOCONST_POW10_ARRAY_SIZE.
16463         * stdlib/gen-fpioconst.c: New file.
16464         * stdlib/gen-tst-strtod-round.c: Likewise.
16465         * stdlib/tst-strtod-round-data: Likewise.
16466         * stdlib/tst-strtod-round.c: Likewise.
16467         * stdlib/Makefile (tests): Add tst-strtod-round.
16469         [BZ #14459]
16470         * stdlib/strtod_l.c: Include <stdint.h>.
16471         (NDEBUG): Do not define.
16472         (round_and_return): Change EXPONENT parameter to type intmax_t.
16473         Rearrange calculations to avoid internal overflow possibilities.
16474         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16475         Rearrange calculations to avoid internal overflow possibilities.
16476         Assert that number fits inside MPNSIZE limbs.
16477         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16478         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16479         calculations and add assertions to avoid internal overflow
16480         possibilities.  Add casts to avoid signed/unsigned operations.
16481         * stdlib/tst-strtod-overflow.c: New file.
16482         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16484 2012-08-25  Marek Polacek  <polacek@redhat.com>
16486         * time/time.h: Fix some typos in comments.
16488 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16490         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16491         * posix/tst-rfc3484-2.c: Likewise.
16492         * posix/tst-rfc3484-3.c: Likewise.
16494 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16496         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16497         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16499 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16501         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16502         #include of fxstatat64.c.
16504 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16506         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16507         * shadow/getspent_r.c: Likewise.
16508         * shadow/getspnam.c: Likewise.
16509         * shadow/getspnam_r.c: Likewise.
16510         * gshadow/getsgent.c: Likewise.
16511         * gshadow/getsgent_r.c: Likewise.
16512         * gshadow/getsgnam.c: Likewise.
16513         * gshadow/getsgnam_r.c: Likewise.
16514         * inet/getnetbyad.c: Likewise.
16515         * inet/getnetbyad_r.c: Likewise.
16516         * inet/getnetbynm.c: Likewise.
16517         * inet/getnetbynm_r.c: Likewise.
16518         * inet/getnetent.c: Likewise.
16519         * inet/getnetent_r.c: Likewise.
16520         * inet/getproto.c: Likewise.
16521         * inet/getproto_r.c: Likewise.
16522         * inet/getprtent.c: Likewise.
16523         * inet/getprtent_r.c: Likewise.
16524         * inet/getprtname.c: Likewise.
16525         * inet/getprtname_r.c: Likewise.
16526         * inet/getrpcbyname.c: Likewise.
16527         * inet/getrpcbyname_r.c: Likewise.
16528         * inet/getrpcbynumber.c: Likewise.
16529         * inet/getrpcbynumber_r.c: Likewise.
16530         * inet/getrpcent.c: Likewise.
16531         * inet/getrpcent_r.c: Likewise.
16532         * inet/getaliasent.c: Likewise.
16533         * inet/getaliasent_r.c: Likewise.
16534         * inet/getaliasname.c: Likewise.
16535         * inet/getaliasname_r.c: Likewise.
16536         * nscd/getgrgid_r.c: Likewise.
16537         * nscd/getgrnam_r.c: Likewise.
16538         * nscd/gethstbyad_r.c: Likewise.
16539         * nscd/gethstbynm3_r.c: Likewise.
16540         * nscd/getpwnam_r.c: Likewise.
16541         * nscd/getpwuid_r.c: Likewise.
16542         * nscd/getsrvbynm_r.c: Likewise.
16543         * nscd/getsrvbypt_r.c: Likewise.
16544         * nscd/gai.c: Likewise.
16546         * configure.in (build_nscd): New substituted variable, set
16547         by --disable-build-nscd and defaults to $use_nscd.
16548         * configure: Regenerated.
16549         * config.make.in (build-nscd): New substituted variable.
16550         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16551         Change conditional to require [$(build-nscd) = yes] as well.
16552         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16554         [BZ# 13696]
16555         * configure.in (use_nscd): New substituted variable, set by
16556         --disable-nscd.  If enabled, define USE_NSCD.
16557         * configure: Regenerated.
16558         * config.h.in: Add USE_NSCD.
16559         * config.make.in (use-nscd): New substituted variable.
16560         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16561         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16562         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16563         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16564         (CFLAGS-getgrnam_r.c): Likewise.
16565         (CFLAGS-initgroups.c): Likewise.
16566         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16567         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16568         Variables removed.
16569         * inet/getnetgrent_r.c
16570         (nscd_setnetgrent): New function, broken out of ...
16571         (setnetgrent): ... here.  Call it.
16572         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16573         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16574         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16575         * nscd/Makefile (routines, aux): Move definitions after include of
16576         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16577         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16578         Conditionalize on [USE_NSCD].
16579         (is_nscd, nscd_init_cb): Likewise.
16580         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16581         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16582         * nss/nss_db/db-init.c: Likewise.
16583         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16584         [USE_NSCD].
16585         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16586         (make_request): Use it.
16587         (cache_valid_p): New function.
16588         (__check_pf): Use it.
16589         * NEWS: Add item for --disable-nscd.
16591 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16593         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16594         to support sed >= 4.2.1-20-ga9bf076.
16595         * configure: Regenerated.
16597 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16599         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16600         Conditionalize whole body on [IREL].
16602 2012-08-22  Jeff Law <law@redhat.com>
16604         [BZ #14505]
16605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16606         if the family is PF_UNSPEC.
16608 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16610         * Makerules (lib-version): Rename from V.
16611         (install-lib-nosubdir): Change V to lib-version.
16613 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16615         [BZ #14252]
16616         * powerpc32/power6/wcschr.c: New file.
16617         * powerpc32/power6/wcscpy.c: New file.
16618         * powerpc32/power6/wcsrchr.c: New file.
16619         * powerpc64/power6/wcschr.c: New file.
16620         * powerpc64/power6/wcscpy.c: New file.
16621         * powerpc64/power6/wcsrchr.c: New file.
16623 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16625         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16626         (two_way_short_needle): Use it.
16627         * string/strstr.c (AVAILABLE1_USES_J): Define.
16628         * string/strcasestr.c: Likewise.
16630         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16631         array references.
16632         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16634         [BZ #11607]
16635         * NEWS: Add an entry.
16636         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16637         define their defaults.
16638         (two_way_short_needle): Detect end-of-string on-the-fly.
16639         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16640         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16641         * string/bug-strcasestr1.c: New test.
16642         * string/Makefile: Run it.
16644 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16646         [BZ #11607]
16647         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16648         the first character.
16650 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16652         * csu/elf-init.c (__libc_csu_irel): Function removed.
16653         * csu/libc-start.c (apply_irel): New function.
16654         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16656 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16658         * sysdeps/unix/sysv/linux/kernel-features.h
16659         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16660         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16661         <kernel-features.h>.
16662         [__NR_fadvise64_64]: Make code unconditional.
16663         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16664         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16665         !__NR_fadvise64_64)]: Likewise.
16666         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16667         !__NR_fadvise64_64))]: Likewise.
16668         [__NR_fadvise64]: Make code unconditional.
16669         [!__NR_fadvise64]: Remove conditional code.
16670         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16671         <kernel-features.h>.
16672         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16673         unconditional.
16674         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16675         conditional code.
16676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16677         not include <kernel-features.h>.
16678         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16679         unconditional.
16680         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16681         conditional code.
16682         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16683         include <kernel-features.h>.
16684         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16685         unconditional.
16686         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16687         conditional code.
16689 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16691         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16692         slight instruction rearrangements per scrollpipe analysis.
16693         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16695 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16697         * manual/syslog.texi (syslog; vsyslog, closelog):
16698         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16699         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16701         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16702         DSOCAPS to match condition on defining it.
16704 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16706         * sysdeps/unix/sysv/linux/kernel-features.h
16707         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16709         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16710         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16712         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16713         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16715         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16716         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16718         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16719         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16721         * sysdeps/unix/sysv/linux/kernel-features.h
16722         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16723         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16724         unconditional.
16725         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16726         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16727         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16728         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16729         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16730         Make code unconditional.
16731         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16732         (__mmap64) [!__NR_mmap2]: Likewise.
16733         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16734         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16735         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16736         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16737         [__NR_mmap2]: Make code unconditional.
16738         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16739         (__mmap64) [!__NR_mmap2]: Likewise.
16741 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16743         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16745 2012-08-18  Andreas Jaeger  <aj@suse.de>
16747         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16749 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16751         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16752         * include/unistd.h (__have_sock_cloexec): Likewise.
16753         (__have_pipe2): Likewise.
16754         (__have_dup3): Likewise.
16756 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16758         [BZ #9685]
16759         * include/unistd.h (__have_pipe2): Change define into an extern int.
16760         (__have_dup3): Likewise.
16761         * socket/have_sock_cloexec.c: Include fcntl.h.
16762         (__have_pipe2): New variable.
16763         (__have_dup3): Likewise.
16765 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16767         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16769 2012-08-17  Marek Polacek  <polacek@redhat.com>
16771         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16772         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16774 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16776         * configure.in: Add AC_SUBST for sysheaders.
16777         * configure: Regenerated.
16778         * config.make.in (sysheaders): New substituted variable.
16780         * sysdeps/unix/mkfifo.c: Moved ...
16781         * sysdeps/posix/mkfifo.c: ... here.
16782         * sysdeps/unix/mkfifoat.c: Moved ...
16783         * sysdeps/posix/mkfifoat.c: ... here.
16785         * sysdeps/unix/utime.c: Moved ...
16786         * sysdeps/posix/utime.c: ... here.
16788         * sysdeps/unix/time.c: Moved ...
16789         * sysdeps/posix/time.c: ... here.
16790         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16791         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16793         * sysdeps/unix/nice.c: Moved ...
16794         * sysdeps/posix/nice.c: ... here.
16796         * sysdeps/unix/alarm.c: Moved ...
16797         * sysdeps/posix/alarm.c: ... here.
16799         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16801 2012-08-17  Jeff Law <law@redhat.com>
16803         * intl/Makefile (codeset_mo): New variable.
16804         ($(codeset_mo)): New target.
16805         (tst-codeset.out): Depend on that.  Remove explicit rule.
16806         (tst-gettext3.out, tst-gettext5.out): Likewise.
16807         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16808         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16809         * intl/tst-codeset.sh: Remove.
16810         * intl/tst-gettext3.sh: Likewise.
16811         * intl/tst-gettext5.sh: Likewise.
16813 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16815         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16816         * sysdeps/unix/syscalls.list: ... here.
16818         * sysdeps/posix/getaddrinfo.c
16819         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16820         (gaiconf_init, gaiconf_reload): Use them.
16821         [!_STATBUF_ST_NSEC]
16822         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16823         Define using time_t rather than struct timespec.
16825         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16826         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16827         Macros removed.
16828         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16829         [!NO_THREADS].
16830         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16831         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16832         Likewise.
16834         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16835         __libc_cleanup_push argument.
16837         * bits/param.h: New file.
16838         * misc/sys/param.h: New file.
16839         * include/sys/param.h: New file.
16840         * misc/Makefile (headers): Add bits/param.h.
16841         * sysdeps/generic/sys/param.h: File removed.
16842         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16843         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16844         * sysdeps/mach/hurd/bits/param.h: New file.
16845         * sysdeps/mach/hurd/sys/param.h: File removed.
16847         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16848         last change.
16850         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16851         [_IO_MTSAFE_IO].
16852         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16853         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16854         New macros.
16856         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16857         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16858         rather than -D_IO_MTSAFE_IO conditionally.
16859         * stdio-common/Makefile (CPPFLAGS): Likewise.
16860         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16861         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16862         Use $(libio-mtsafe).
16863         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16864         of -D_IO_MTSAFE_IO.
16865         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16866         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16867         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16868         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16869         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16870         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16871         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16872         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16873         (CFLAGS-fread_u_chk.c): Likewise.
16874         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16875         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16876         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16877         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16878         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16879         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16880         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16881         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16882         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16884         * libio/Makefile: Test [$(libc-reentrant) = yes]
16885         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16887         * Makeconfig
16888         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16889         * sysdeps/pthread/configure: File removed.
16890         * sysdeps/pthread/Makeconfig: New file.
16891         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16892         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16894 2012-08-16  Gary Benson  <gbenson@redhat.com>
16896         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16897         unmapping the first object in a namespace.
16899 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16901         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16902         (__internal_setnetgrent): ... this.  Add internal_function to
16903         definition.  Add libc_hidden_def.
16904         (setnetgrent): Update caller.
16905         (internal_endnetgrent): Renamed to ...
16906         (__internal_endnetgrent): ... this.  Add internal_function to
16907         definition.  Add libc_hidden_def.
16908         (endnetgrent): Update caller.
16909         (internal_getnetgrent_r): Renamed to ...
16910         (__internal_getnetgrent_r): ... this.  Add internal_function to
16911         definition.  Add libc_hidden_def.
16912         (__getnetgrent_r): Update caller.
16913         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16915 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16917         * stdlib/longlong.h: Update from GCC.
16919 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16921         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16922         on _QL, which is set by umul_ppmm but never used.
16923         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16924         variables, which are set by GMP macros but never used.
16925         * stdio-common/_itowa.c (_itowa): Likewise.
16926         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16927         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16929 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16931         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16932         struct La_sh_regs is not constant.
16933         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16934         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16935         and struct La_sparc64_regs are not constant.
16937 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16939         * sysdeps/unix/sysv/linux/kernel-features.h
16940         (__ASSUME_POSIX_TIMERS): Remove.
16941         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16942         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16943         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16944         Make code unconditional.
16945         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16946         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16947         Make code unconditional.
16948         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16949         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16950         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16951         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16952         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16953         Make code unconditional.
16954         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16955         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16956         (__libc_missing_posix_timers): Remove.
16958 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16960         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16961         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16963         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16965         * elf/dl-sym.c: Include <stdlib.h>.
16967         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16968         constants, which avoids warnings in 32-bit builds.
16970         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16971         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16973         * misc/lseek.c: File moved to ...
16974         * io/lseek.c: ... here.
16976         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16978         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16979         shifting LEN more than 31 bits at once.
16981 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16983         [BZ #14195]
16984         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16985         segmentation fault for a case of two empty input strings.
16986         * string/test-strncasecmp.c (check1): Renamed to...
16987         (bz12205): ...this.
16988         (bz14195): Add new testcase for two empty input strings and N > 0.
16989         (test_main): Call new testcase, adapt for renamed function.
16991 2012-08-15  Andreas Jaeger  <aj@suse.de>
16993         [BZ #14090]
16994         * crypt/md5test2.c: New test, based on test supplied by Serge
16995         Belyshev <belyshev@depni.sinp.msu.ru>.
16996         * crypt/Makefile (xtests): Add md5test-giant..
16997         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16999 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17001         [BZ #14090]
17002         * crypt/md5.c (md5_process_block): Don't assume the buffer
17003         length is less than 2**32.
17004         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17005         length is less than 2**64.
17007 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17009         * string/str-two-way.h: Include <sys/param.h>.
17010         (MAX): Macro removed.
17012         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17013         Move #define and #undef of memmove to just before and after
17014         including <string.h>.
17016         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17017         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17018         and after including <string.h>.  Move declarations of
17019         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17020         to before #include "string/memmove.c".
17022         * include/dirent.h: Declare __getdirentries.
17024         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17025         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17027 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17029         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17030         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17031         * sysdeps/i386/configure: Regenerated.
17032         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17033         STABS_CURRENT_FILE, and STABS_FUN.
17034         (END): Remove call to STABS_FUN_END.
17035         (STABS_CURRENT_FILE1): Delete.
17036         (STABS_CURRENT_FILE): Likewise.
17037         (STABS_FUN): Likewise.
17038         (STABS_FUN_END): Likewise.
17039         (STABS_FUN2): Likewise.
17040         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17041         * sysdeps/x86_64/configure: Regenerated.
17043 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17045         * elf/dl-open.c: Include <atomic.h>.
17046         * elf/dl-lookup.c: Likewise.
17048 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17050         * sysdeps/unix/sysv/linux/kernel-features.h
17051         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17052         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17053         unconditionally.
17054         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17055         unconditionally.
17056         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17057         condition on __ASSUME_CLONE_THREAD_FLAGS.
17059 2012-08-14  Andreas Jaeger  <aj@suse.de>
17061         * sysdeps/i386/fpu/libm-test-ulps: Update.
17063 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17065         * include/atomic.h (atomic_exchange_and_add): Split into ...
17066         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17067         New atomic macros.
17069 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17073 2012-08-13  Jeff Law <law@redhat.com>
17075         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17076         null byte in the output string.
17078 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17080         * sysdeps/unix/sysv/linux/kernel-features.h
17081         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17082         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17083         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17084         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17085         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17086         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17087         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17089 2012-08-09  Jeff Law <law@redhat.com>
17091         [BZ #13939]
17092         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17093         When avoid_arena is set, don't retry in the that arena.  Pick the
17094         next one, whatever it might be.
17095         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17096         (arena_lock): Pass in new parameter to arena_get2.
17097         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17098         arena_get2.
17099         (__libc_malloc): Unify retrying after main arena failure with
17100         __libc_memalign version.
17101         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17103 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17105         [BZ #14166]
17106         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17107         to __redirect_strstr.
17108         (__strstr_sse42): Use typeof __redirect_strstr.
17109         (__strstr_ia32): Likewise.
17110         (__libc_strstr): New prototype.
17111         (strstr): Renamed to ...
17112         (__libc_strstr): This.
17113         (strstr): New strong alias of __libc_strstr.
17114         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17115         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17116         __redirect_time.
17117         Include <time.h>.
17118         (__libc_time): New prototype.
17119         (time_ifunc): Replace time with __libc_time.
17120         (time): New strong alias and hidden definition of __libc_time.
17121         (__GI_time): Remove strong alias.
17122         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17123         Include <stddef.h>.
17124         (memmove): Redefined to __redirect_memmove.
17125         (__memmove_sse2): Use typeof __redirect_memmove.
17126         (__memmove_ssse3): Likewise.
17127         (__memmove_ssse3_back): Likewise.
17128         (__libc_memmove): New prototype.
17129         (memmove): Renamed to ...
17130         (__libc_memmove): This.
17131         (memmove): New strong alias of __libc_memmove.
17133 2012-08-08  Mark Salter  <msalter@redhat.com>
17135         * elf/elf.h
17136         (R_MN10300_TLS_GD): Define.
17137         (R_MN10300_TLS_LD): Likewise.
17138         (R_MN10300_TLS_LDO): Likewise.
17139         (R_MN10300_TLS_GOTIE): Likewise.
17140         (R_MN10300_TLS_IE): Likewise.
17141         (R_MN10300_TLS_LE): Likewise.
17142         (R_MN10300_TLS_DTPMOD): Likewise.
17143         (R_MN10300_TLS_DTPOFF): Likewise.
17144         (R_MN10300_TLS_TPOFF): Likewise.
17145         (R_MN10300_SYM_DIFF): Likewise.
17146         (R_MN10300_ALIGN): Likewise.
17147         (R_MN10300_NUM): Update.
17149 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17151         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17152         Remove.
17154 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17156         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17158         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17159         sysdeps/unix -> sysdeps/posix move.
17160         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17162 2012-08-07      Allan McRae     <allan@archlinux.org>
17164         [BZ #14303]
17165         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17166         (SUNOS_CPP): Likewise.
17167         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17168         not found.
17169         (open_input): Call CPP using execvp.
17171 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17173         * sysdeps/unix/sysv/linux/kernel-features.h
17174         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17175         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17176         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17177         (__ASSUME_WAITID_SYSCALL): Likewise.
17178         * sysdeps/unix/sysv/linux/dl-execstack.c
17179         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17180         code unconditional.
17181         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17182         conditional code.
17183         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17184         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17185         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17186         code.
17187         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17188         unconditional.
17189         [__ASSUME_WAITID_SYSCALL]: Likewise.
17190         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17192 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17194         * sysdeps/unix/closedir.c: Renamed to ...
17195         * sysdeps/posix/closedir.c: ... here.
17196         * sysdeps/unix/dirfd.c: Renamed to ...
17197         * sysdeps/posix/dirfd.c: ... here.
17198         * sysdeps/unix/dirstream.h: Renamed to ...
17199         * sysdeps/posix/dirstream.h: ... here.
17200         * sysdeps/unix/fdopendir.c: Renamed to ...
17201         * sysdeps/posix/fdopendir.c: ... here.
17202         * sysdeps/unix/opendir.c: Renamed to ...
17203         * sysdeps/posix/opendir.c: ... here.
17204         * sysdeps/unix/readdir.c: Renamed to ...
17205         * sysdeps/posix/readdir.c: ... here.
17206         * sysdeps/unix/readdir_r.c: Renamed to ...
17207         * sysdeps/posix/readdir_r.c: ... here.
17208         * sysdeps/unix/rewinddir.c: Renamed to ...
17209         * sysdeps/posix/rewinddir.c: ... here.
17210         * sysdeps/unix/seekdir.c: Renamed to ...
17211         * sysdeps/posix/seekdir.c: ... here.
17212         * sysdeps/unix/telldir.c: Renamed to ...
17213         * sysdeps/posix/telldir.c: ... here.
17214         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17215         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17216         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17217         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17219         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17220         * bits/fcntl.h: ... here.
17222         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17223         not 0.
17224         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17225         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17226         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17227         (struct flock): Move l_start, l_len to the beginning.
17228         Use __pid_t for l_pid.
17229         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17230         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17231         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17232         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17233         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17234         [__USE_LARGEFILE64] (struct flock64): New type.
17235         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17237         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17238         * bits/dirent.h: ... here.
17240         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17241         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17243 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17245         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17246         Change from 2.6.0 to 2.6.16.
17247         * sysdeps/unix/sysv/linux/configure: Regenerated.
17248         * sysdeps/unix/sysv/linux/kernel-features.h
17249         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17250         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17251         version.
17252         (__ASSUME_UTIMES): Likewise.
17253         (__ASSUME_CLONE_STOPPED): Remove.
17254         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17255         architectures, not kernel version.
17256         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17257         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17258         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17259         (__ASSUME_WAITID_SYSCALL): Likewise.
17260         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17261         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17262         * README: State 2.6.16 as minimum Linux kernel version.  Do not
17263         refer to older versions.
17265 2012-08-06  Roland McGrath  <roland@hack.frob.com>
17267         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17268         Define alphasort64 as an alias.
17269         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17270         Define versionsort64 as an alias.
17271         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17272         Define scandir64 as an alias.
17273         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17274         Define scandirat64 as an alias.
17275         * dirent/alphasort64.c (alphasort64):
17276         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17277         * dirent/versionsort64.c: Likewise.
17278         * dirent/scandir64.c: Likewise.
17279         * dirent/scandirat64.c: Likewise.
17280         * sysdeps/wordsize-64/alphasort.c: File removed.
17281         * sysdeps/wordsize-64/alphasort64.c: File removed.
17282         * sysdeps/wordsize-64/scandir.c: File removed.
17283         * sysdeps/wordsize-64/scandir64.c: File removed.
17284         * sysdeps/wordsize-64/scandirat.c: File removed.
17285         * sysdeps/wordsize-64/scandirat64.c: File removed.
17286         * sysdeps/wordsize-64/versionsort.c: File removed.
17287         * sysdeps/wordsize-64/versionsort64.c: File removed.
17288         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17289         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17290         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17291         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17292         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17293         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17294         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17295         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17297         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17298         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17299         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17300         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17301         [defined __arch64__ || defined __sparcv9]
17302         (__INO_T_MATCHES_INO64_T): New macro.
17303         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17304         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17305         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17306         * sysdeps/unix/sysv/linux/bits/dirent.h
17307         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17308         (_DIRENT_MATCHES_DIRENT64): New macro.
17310         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17311         Define lockf64 as an alias.
17312         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17313         Define fseeko64 as an alias.
17314         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17315         Define ftello64 as an alias.
17316         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17317         Define _IO_fgetpos64 and fgetpos64 as aliases.
17318         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17319         Define _IO_fsetpos64 and fsetpos64 as aliases.
17320         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17321         Conditionalize body on this.
17322         * libio/fseeko64.c: Likewise.
17323         * libio/ftello64.c: Likewise.
17324         * libio/iofgetpos64.c: Likewise.
17325         * libio/iofsetpos64.c: Likewise.
17326         * sysdeps/wordsize-64/lockf.c: File removed.
17327         * sysdeps/wordsize-64/lockf64.c: File removed.
17328         * sysdeps/wordsize-64/fseeko.c: File removed.
17329         * sysdeps/wordsize-64/fseeko64.c: File removed.
17330         * sysdeps/wordsize-64/ftello.c: File removed.
17331         * sysdeps/wordsize-64/ftello64.c: File removed.
17332         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17333         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17334         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17335         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17336         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17337         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17338         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17339         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17340         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17341         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17342         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17343         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17344         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17345         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17347         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17348         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17349         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17350         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17351         [defined __arch64__ || defined __sparcv9]
17352         (__OFF_T_MATCHES_OFF64_T): New macro.
17353         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17354         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17355         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17356         (__OFF_T_MATCHES_OFF64_T): New macro.
17358 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17360         * stdlib/secure-getenv.c (__secure_getenv): Replace
17361         GLIBC_2_16 with GLIBC_2_17.
17363 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17365         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17366         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17368 2012-08-03  David S. Miller  <davem@davemloft.net>
17370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17372 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17374         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17375         Remove.
17376         (__ASSUME_CORRECT_SI_PID): Likewise.
17377         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17378         (__ASSUME_TMPFS_NAME): Likewise.
17379         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17380         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17381         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17382         (HAVE_AUX_SECURE): Make definition unconditional.
17383         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17384         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17386 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17388         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17389         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17390         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17391         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17392         __eloop_threshold instead of SYMLOOP_MAX.
17394         * sysdeps/generic/eloop-threshold.h: New file.
17395         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17396         of MAXSYMLINKS.
17397         * elf/chroot_canon.c (chroot_canon): Likewise.
17399 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17401         [BZ #13717]
17402         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17403         Change to 2.6.0 everywhere.
17404         * sysdeps/unix/sysv/linux/configure: Regenerated.
17405         * sysdeps/unix/sysv/linux/kernel-features.h
17406         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17407         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17408         kernel versions.
17409         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17410         (__ASSUME_FUTEX_REQUEUE): Remove.
17411         (__ASSUME_STATFS64): Define unconditionally.
17412         (__ASSUME_AT_SECURE): Likewise.
17413         (__ASSUME_CORRECT_SI_PID): Likewise.
17414         (__ASSUME_TGKILL): Define without depending on kernel version for
17415         i386.
17416         (__ASSUME_UTIMES): Likewise.
17417         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17418         kernel version.
17419         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17420         (__ASSUME_TMPFS_NAME): Likewise.
17421         * README: Update reference to Linux kernel versions.
17423 2012-08-02  Marek Polacek  <polacek@redhat.com>
17425         [BZ# 14150]
17426         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17427         libc_cv_asm_type_prefix with %.
17428         * configure: Regenerated.
17429         * include/libc-symbols.h: Remove comment about
17430         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17431         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17432         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17433         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17434         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17435         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17436         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17437         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17438         * elf/tst-unique2mod1.c: Likewise.
17439         * elf/tst-unique1mod2.c: Likewise.
17440         * elf/tst-unique1mod1.c: Likewise.
17441         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17442         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17443         Replace ASM_TYPE_DIRECTIVE with .type.
17444         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17445         * sysdeps/i386/sysdep.h: Likewise.
17446         * sysdeps/x86_64/sysdep.h: Likewise.
17447         * sysdeps/sh/sysdep.h: Likewise.
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17449         Do not define ASM_TYPE_DIRECTIVE.
17450         * sysdeps/powerpc/sysdep.h: Likewise.
17451         * sysdeps/powerpc/powerpc32/sysdep.h:
17452         Replace ASM_TYPE_DIRECTIVE with .type.
17453         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17454         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17455         * sysdeps/i386/fpu/e_powf.S: Likewise.
17456         * sysdeps/i386/fpu/e_expl.S: Likewise.
17457         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17458         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17459         * sysdeps/i386/fpu/e_pow.S: Likewise.
17460         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17461         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17462         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17463         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17464         * sysdeps/i386/fpu/e_log2.S: Likewise.
17465         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17466         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17467         * sysdeps/i386/fpu/e_powl.S: Likewise.
17468         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17469         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17470         * sysdeps/i386/fpu/e_logl.S: Likewise.
17471         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17472         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17473         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17474         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17475         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17476         * sysdeps/i386/fpu/e_log.S: Likewise.
17477         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17478         * sysdeps/i386/fpu/e_logf.S: Likewise.
17479         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17480         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17481         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17482         * sysdeps/i386/fpu/e_log10.S: Likewise.
17483         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17484         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17485         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17486         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17487         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17488         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17489         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17490         * sysdeps/i386/i686/strtok.S: Likewise.
17491         * sysdeps/i386/i386-mcount.S: Likewise.
17492         * sysdeps/i386/strtok.S: Likewise.
17493         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17494         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17495         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17496         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17497         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17498         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17499         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17500         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17501         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17502         * sysdeps/x86_64/_mcount.S: Likewise.
17503         * sysdeps/x86_64/strtok.S: Likewise.
17504         * sysdeps/sh/_mcount.S: Likewise.
17506 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17508         * libio/iofopen.c: Include <fcntl.h>.
17509         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17510         (_IO_fopen64, fopen64): Define as aliases.
17511         * libio/iofopen64.c: Include <fcntl.h>.
17512         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17513         Conditionalize body on this.
17514         * sysdeps/wordsize-64/iofopen.c: File removed.
17515         * sysdeps/wordsize-64/iofopen64.c: File removed.
17517 2012-08-01  Marek Polacek  <polacek@redhat.com>
17519         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17520         Use dlfcn directly instead of a variable.
17521         (binfmt-subdir): Do not define.
17522         (dlfcn): Likewise.
17524 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17526         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17527         Remove all definitions.
17528         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17529         <kernel-features.h>.
17530         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17531         (miss_F_GETOWN_EX): Remove all definitions.
17532         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17533         macro definition.
17534         [!__ASSUME_FCNTL64]: Remove conditional code.
17535         [__ASSUME_FCNTL64]: Make code unconditional.
17536         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17537         <kernel-features.h>.
17538         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17539         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17540         (lockf64) [__NR_fcntl64]: Make code unconditional.
17541         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17543         * sysdeps/unix/sysv/linux/kernel-features.h
17544         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17545         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17546         Make code unconditional.
17547         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17548         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17550         [__NR_vfork]: Make code unconditional.
17551         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17552         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17554         [__NR_vfork]: Make code unconditional.
17555         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17556         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17558 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17560         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17561         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17563         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17564         Define mkstemp64 as an alias.
17565         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17566         Define mkstemps64 as an alias.
17567         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17568         Define mkostemp64 as an alias.
17569         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17570         Define mkostemps64 as an alias.
17571         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17572         Conditionalize body on this.
17573         * misc/mkostemp64.c: Likewise.
17574         * misc/mkostemps64.c: Likewise.
17575         * misc/mkstemps64.c: Likewise.
17576         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17577         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17578         * sysdeps/wordsize-64/mkostemp.c: File removed.
17579         * sysdeps/wordsize-64/mkstemp.c: File removed.
17580         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17581         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17582         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17583         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17585         [BZ #14138]
17586         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17587         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17588         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17589         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17591         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17592         compat_symbol macros from <shlib-compat.h> rather than the underlying
17593         default_symbol_version and symbol_version macros, so that DEFAULT
17594         lines in shlib-versions are respected.
17595         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17597 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17599         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17600         Declare with warn_unused_result.
17601         (setgid, setregid, setegid, setresgid): Likewise.
17602         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17603         Likewise.
17604         * WUR-REPORT: Remove set*id functions.
17606 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17608         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17610 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17612         [BZ #10191]
17613         * include/sys/socket.h (__libc_accept, __libc_accept4):
17614         Add attribute_hidden.
17615         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17617         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17618         use of PTR_MANGLE.
17619         * inet/getnetgrent_r.c (setup): Likewise.
17621         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17623 2012-07-31  David S. Miller  <davem@davemloft.net>
17625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17627 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17629         [BZ #13629]
17630         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17631         value between 1.0 and 2.0 and smaller part has absolute value less
17632         than 1.0.
17633         * math/s_clog10.c (__clog10): Likewise.
17634         * math/s_clog10f.c (__clog10f): Likewise.
17635         * math/s_clog10l.c (__clog10l): Likewise.
17636         * math/s_clogf.c (__clogf): Likewise.
17637         * math/s_clogl.c (__clogl): Likewise.
17638         * math/libm-test.inc (clog_test): Add more tests.
17639         (clog10_test): Likewise.
17640         * sysdeps/i386/fpu/libm-test-ulps: Update.
17641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17643 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17645         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17646         Exit with zero in case no suitable GID is found, and write a
17647         message to standard error.
17649 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17651         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17652         rather than to 1.
17653         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17654         (MAXPATHLEN): Removed.
17655         (NOGROUP, NODEV): New macros.
17656         (setbit, clrbit, isset, isclr): New macros.
17657         (howmany, roundup, powerof2): New macros.
17658         (DEV_BSIZE): New macro.
17660         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17661         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17663         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17664         definition on [!__NO_LONG_DOUBLE_MATH].
17666         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17667         PTR_MANGLE and PTR_DEMANGLE.
17669         * socket/accept4.c (accept4): Rename to __libc_accept4.
17670         Define accept4 as a weak alias.
17672         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17673         on [_DIRENT_HAVE_D_TYPE].
17674         * io/ftw.c (ftw_dir): Likewise.
17676         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17678         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17680         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17681         Use the BSD numbers rather than the arbitrary ones we had.
17682         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17683         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17684         (SIGXCPU, SIGXFSZ): New macros.
17685         (_NSIG): Now 32.
17687         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17688         initializer on [_LIBC_REENTRANT].
17690         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17691         definitions inside [_POSIX_MAPPED_FILES].
17693         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17695         * dirent/opendir.c: Include <fcntl.h>.
17697         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17698         (__libc_getspecific): Likewise.
17699         (__libc_key_create): Likewise.
17701         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17702         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17703         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17704         (tmpfile64): Define as alias.
17705         * sysdeps/wordsize-64/tmpfile.c: File removed.
17706         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17707         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17708         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17710         * stdio-common/vfscanf.c: Include <stdbool.h>.
17711         * nss/makedb.c: Likewise.
17712         * stdio-common/_i18n_number.h: Likewise.
17713         * argp/argp-help.c: Likewise.
17714         * posix/wordexp.c: Likewise.
17715         * sysdeps/posix/spawni.c: Likewise.
17716         * nss/nss_files/files-initgroups.c: Likewise.
17717         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17718         * nss/nss_files/files-initgroups.c: Likewise.
17719         * nss/nss_db/db-netgrp.c: Likewise.
17720         * nss/nss_db/db-initgroups.c: Likewise.
17721         * io/fchmodat.c: Include <sys/stat.h>.
17723         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17724         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17726         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17727         [HAVE_MMAP].
17729         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17730         Add multiple inclusion protection.
17732 2012-07-27  David S. Miller  <davem@davemloft.net>
17734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17736 2012-07-27  Gary Benson  <gbenson@redhat.com>
17738         [BZ #14298]
17739         * elf/rtld.c: Include <stap-probe.h>.
17740         (dl_main): Added static probes "init_start" and "init_complete".
17741         * elf/dl-load.c: Include <stap-probe.h>.
17742         (lose): Take new parameter "nsid".
17743         Added static probe "map_failed".
17744         (_dl_map_object_from_fd): Pass namespace id to lose.
17745         Added static probe "map_start".
17746         (open_verify): Pass namespace id to lose.
17747         * elf/dl-open.c: Include <stap-probe.h>.
17748         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17749         and "reloc_complete".
17750         * elf/dl-close.c: Include <stap-probe.h>.
17751         (_dl_close_worker): Added static probes "unmap_start" and
17752         "unmap_complete".
17753         * elf/rtld-debugger-interface.txt: New file documenting the above.
17755 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17757         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17758         rather than a string variable.
17759         * sunrpc/rpc_main.c (h_output): Likewise.
17760         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17762 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17764         * inet/check_native.c: New file.
17766 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17768         [BZ #13629]
17769         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17770         if larger part has absolute value 1.0.
17771         * math/s_clog10.c (__clog10): Likewise.
17772         * math/s_clog10f.c (__clog10f): Likewise.
17773         * math/s_clog10l.c (__clog10l): Likewise.
17774         * math/s_clogf.c (__clogf): Likewise.
17775         * math/s_clogl.c (__clogl): Likewise.
17776         * math/libm-test.inc (clog_test): Add more tests.
17777         (clog10_test): Likewise.
17778         * sysdeps/i386/fpu/libm-test-ulps: Update.
17779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17781         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17782         (pltexit): Likewise.
17783         (La_regs): Likewise.
17784         (La_retval): Likewise.
17785         (int_retval): Likewise.
17786         Update #error for removed macros to refer only to definitions in
17787         tst-audit.h.
17788         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17789         macro.
17790         (pltexit): Likewise.
17791         (La_regs): Likewise.
17792         (La_retval): Likewise.
17793         (int_retval): Likewise.
17794         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17795         macro.
17796         (pltexit): Likewise.
17797         (La_regs): Likewise.
17798         (La_retval): Likewise.
17799         (int_retval): Likewise.
17800         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17801         macro.
17802         (pltexit): Likewise.
17803         (La_regs): Likewise.
17804         (La_retval): Likewise.
17805         (int_retval): Likewise.
17806         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17807         macro.
17808         (pltexit): Likewise.
17809         (La_regs): Likewise.
17810         (La_retval): Likewise.
17811         (int_retval): Likewise.
17812         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17813         macro.
17814         (pltexit): Likewise.
17815         (La_regs): Likewise.
17816         (La_retval): Likewise.
17817         (int_retval): Likewise.
17818         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17819         macro.
17820         (pltexit): Likewise.
17821         (La_regs): Likewise.
17822         (La_retval): Likewise.
17823         (int_retval): Likewise.
17824         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17825         macro definitions in tst-audit.h.
17826         * sysdeps/i386/tst-audit.h: New file.
17827         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17828         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17829         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17830         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17831         * sysdeps/sh/tst-audit.h: Likewise.
17832         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17833         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17834         * sysdeps/x86_64/tst-audit.h: Likewise.
17836 2012-07-26  Andreas Jaeger  <aj@suse.de>
17838         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17839         ptrace.
17841         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17842         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17843         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17844         PTRACE_O_MASK.
17845         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17846         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17847         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17849         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17850         value.
17852         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17853         _sigsys.
17854         (si_call_addr, si_syscall, si_arch): Define new macro.
17855         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17856         _sigsys.
17857         (si_call_addr, si_syscall, si_arch): Define new marcro.
17858         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17859         _sigsys.
17860         (si_call_addr, si_syscall, si_arch): Define new macro.
17861         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17862         _sigsys.
17863         (si_call_addr, si_syscall, si_arch): Define new macro.
17865 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17867         [BZ #13717]
17868         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17869         Change to 2.4.21 where previously 2.4.1.
17870         * sysdeps/unix/sysv/linux/configure: Regenerated.
17871         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17872         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17873         Linux kernel version.
17874         (__ASSUME_STD_AUXV): Remove.
17875         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17876         kernel version.
17877         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17878         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17879         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17880         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17881         (__ASSUME_NETLINK_SUPPORT): Likewise.
17882         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17883         (__no_netlink_support): Remove conditional definition.
17884         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17885         Remove.
17886         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17887         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17888         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17889         (if_nameindex_ioctl): Remove.
17890         (if_nameindex_netlink): Do not handle __no_netlink_support.
17891         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17892         code.
17893         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17894         Remove conditional code.
17895         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17896         code.
17897         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17898         unconditional.
17899         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17900         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17901         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17902         Remove.
17903         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17904         [!__ASSUME_STD_AUXV]: Remove conditional code.
17905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17906         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17907         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17909         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17910         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17911         code.
17912         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17914         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17915         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17916         conditional code.
17917         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17919         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17920         code.
17921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17922         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17923         conditional code.
17924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17925         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17926         code unconditional.
17927         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17928         conditional code.
17929         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17930         unconditional.
17931         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17932         conditional code.
17933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17934         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17935         unconditional.
17936         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17937         conditional code.
17938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17939         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17940         code unconditional.
17941         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17942         conditional code.
17943         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17944         unconditional.
17945         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17946         conditional code.
17947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17948         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17949         code unconditional.
17950         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17951         conditional code.
17952         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17953         unconditional.
17954         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17955         conditional code.
17957 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17959         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17960         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17961         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17962         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17963         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17964         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17965         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17966         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17967         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17968         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17969         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17970         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17971         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17972         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17973         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17974         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17975         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17976         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17977         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17979         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17980         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17981         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17983 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17985         * Versions.def: Add GLIBC_2.17.
17986         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17987         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17988         Introduce __libc_secure_getenv.
17989         * stdlib/Versions (2.17): Add secure_getenv
17990         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17991         * stdlib/secure-getenv.c: Rename __secure_getenv to
17992         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17993         symbol __secure_getenv for GLIBC_2.0.
17994         * stdlib/tst-secure-getenv.c: New.
17995         * stdlib/Makefile (tests): Add testcase.
17996         * manual/startup.texi (Environment Access): Document
17997         secure_getenv.
17998         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17999         __libc_secure_getenv.
18000         * inet/ruserpass.c (ruserpass): Likewise.
18001         * malloc/mtrace.c (mtrace): Likewise.
18002         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18003         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18004         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18005         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18006         HAVE_SECURE_GETENV.
18007         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18008         __secure_getenv to __libc_secure_getenv.
18009         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18011         Likewise.
18012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18013         Likewise.
18014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18016         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18022 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18024         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18025         (struct La_i86_retval): Likewise.
18026         (struct La_x86_64_regs): Likewise.
18027         (struct La_x86_64_retval): Likewise.
18028         (struct La_x32_regs): Likewise.
18029         (struct La_x32_retval): Likewise.
18030         (struct La_ppc32_regs): Likewise.
18031         (struct La_ppc32_retval): Likewise.
18032         (struct La_ppc64_regs): Likewise.
18033         (struct La_ppc64_retval): Likewise.
18034         (struct La_sh_regs): Likewise.
18035         (struct La_sh_retval): Likewise.
18036         (struct La_s390_32_regs): Likewise.
18037         (struct La_s390_32_retval): Likewise.
18038         (struct La_s390_64_regs): Likewise.
18039         (struct La_s390_64_retval): Likewise.
18040         (struct La_sparc32_regs): Likewise.
18041         (struct La_sparc32_retval): Likewise.
18042         (struct La_sparc64_regs): Likewise.
18043         (struct La_sparc64_retval): Likewise.
18044         (struct audit_ifaces): Remove architecture-specific pltenter and
18045         pltexit members.
18046         * sysdeps/i386/ldsodefs.h: New file.
18047         * sysdeps/powerpc/ldsodefs.h: Likewise.
18048         * sysdeps/s390/ldsodefs.h: Likewise.
18049         * sysdeps/sh/ldsodefs.h: Likewise.
18050         * sysdeps/sparc/ldsodefs.h: Likewise.
18051         * sysdeps/x86_64/ldsodefs.h: Likewise.
18053 2012-07-25  Marek Polacek  <polacek@redhat.com>
18055         [BZ #6808]
18056         * math/libm-test.inc (yn_test): Add another test.
18057         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18058         to ERANGE when the result is +-Inf.
18059         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18060         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18061         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18062         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18064 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18066         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18067         equal to 0.
18068         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18069         clock_t.
18070         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18072 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18074         * configure.in <sysdeps resolving>: Correct printing
18075         Implies_before.
18076         * configure: Regenerate.
18078 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18080         * math/w_ilogb.c: Include <limits.h>.
18081         * math/w_ilogbl.c: Likewise.
18083 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18085         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18086         va_copy.  Document allowing for unavailable va_copy only as
18087         pre-C99 compatibility.
18088         * manual/string.texi (Copying and Concatenation): Use va_copy
18089         instead of __va_copy in concat example.
18091 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18093         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18094         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18095         it if not null.
18097         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18098         with O_NOLINK passed to __file_name_lookup.
18100         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18101         with O_NOLINK passed to __file_name_lookup.
18103         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18104         negative N or less than NGIDS.
18106         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18107         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18108         enough.  Use memcpy instead of strncpy.
18110 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18112         * elf/Makefile (check-data): Remove.
18113         (localplt.data): New vpath directive.
18114         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18115         instead of $(check-data).
18116         * scripts/data/localplt-generic.data: Move to ...
18117         * sysdeps/generic/localplt.data: ... here.
18118         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18119         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18120         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18122         ... here.
18123         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18125         ... here.
18126         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18128         ... here.
18129         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18131         ... here.
18132         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18134         ... here.
18135         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18137         ... here.
18139 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18141         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18142         PPC32 and PPC64 files.
18143         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18144         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18146 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18148         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18149         __makecontext_ret to ...
18150         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18151         ... here and call exit if uc_link is NULL.  New file.
18152         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18153         __makecontext_ret.S.
18154         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18155         __makecontext_ret to ...
18156         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18157         ... here and call exit if uc_link is NULL.  New file.
18158         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18159         __makecontext_ret.S.
18161 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18163         * elf/elf.h (R_390_IRELATIVE): New definition.
18164         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18165         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18166         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18167         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18168         (elf_machine_lazy_rel): Likewise.
18169         * sysdeps/s390/dl-irel.h: New file.
18170         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18171         * sysdeps/s390/s390-64/memset.S: New asm code.
18172         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18173         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18174         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18175         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18176         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18177         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18178         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18179         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18180         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18181         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18182         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18183         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18184         * sysdeps/s390/s390-32/memset.S: New asm code.
18185         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18187 2012-07-17  Marek Polacek  <polacek@redhat.com>
18189         [BZ #14349]
18190         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18191         * sysdeps/s390/s390-64/configure.in: Likewise.
18192         * sysdeps/sparc/configure.in: Likewise.
18193         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18194         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18195         * sysdeps/i386/configure.in: Likewise.
18196         * sysdeps/x86_64/configure.in: Likewise.
18197         * sysdeps/sh/configure.in: Likewise.
18198         * sysdeps/s390/s390-32/configure: Regenerated.
18199         * sysdeps/s390/s390-64/configure: Likewise.
18200         * sysdeps/x86_64/configure: Likewise.
18201         * sysdeps/sh/configure: Likewise.
18202         * sysdeps/powerpc/powerpc64/configure: Likewise.
18203         * sysdeps/powerpc/powerpc32/configure: Likewise.
18204         * sysdeps/sparc/configure: Likwise.
18205         * sysdeps/i386/configure: Likewise.
18207         * elf/dl-open.c: Comment fixes.
18209 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18211         * Makefile [CXX] (check-data): Remove.
18212         [CXX] (c++-types.data): New vpath directive.
18213         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18214         vpath.  Do not allow for C++ type data being missing.
18215         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18216         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18217         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18218         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18219         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18220         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18221         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18223         ... here.
18224         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18226         ... here.
18227         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18229         ... here.
18230         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18232         ... here.
18233         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18235         ... here.
18236         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18238         ... here.
18239         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18241         ... here.
18242         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18245         * elf/tls-macros.h (TLS_LE): Move architecture-specific
18246         definitions to architecture-specific files.
18247         (TLS_IE): Likewise.
18248         (TLS_LD): Likewise.
18249         (TLS_GD): Likewise.
18250         * sysdeps/i386/tls-macros.h: New file.
18251         * sysdeps/powerpc/tls-macros.h: Likewise.
18252         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18253         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18254         * sysdeps/sh/tls-macros.h: Likewise.
18255         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18256         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18257         * sysdeps/x86_64/tls-macros.h: Likewise.
18259 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18261         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18262         zero value for regular exit case.
18264         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18265         (__start_context): Preserve zero value for regular exit case.
18267 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18268             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18270         * manual/setjmp.texi (setcontext): Clarify normal process
18271         termination when uc_link is the null pointer.
18272         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18273         exit call.
18275 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
18277         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18278         preprocessor.  Test for each exception mask separately.
18280 2012-07-16  Andreas Jaeger  <aj@suse.de>
18282         * po/ru.po: Update from translation team.
18284 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
18286         * conform/data/string.h-data (NULL): Use macro-constant.  Require
18287         equal to 0.
18288         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18289         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18290         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18291         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18292         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18294 2012-07-13  Andreas Jaeger  <aj@suse.de>
18296         * po/fr.po: Update from translation team.
18298 2012-07-12  Marek Polacek  <polacek@redhat.com>
18300         [BZ #14173]
18301         * math/libm-test.inc (yn_test): Add test for BZ #14173.
18302         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18303         loop condition.
18305 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
18307         [BZ #13717]
18308         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18309         Change to 2.4.1 where previously 2.4.0.
18310         * sysdeps/unix/sysv/linux/configure: Regenerated.
18311         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18312         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18313         version.
18314         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18315         (__ASSUME_AT_CLKTCK): Remove.
18316         (__ASSUME_AT_PAGESIZE): Likewise.
18317         (__ASSUME_AT_XID): Likewise.
18318         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18319         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18320         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18321         unconditionally.
18322         (HAVE_AUX_PAGESIZE): Likewise.
18323         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18324         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18325         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18327 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18329         [BZ #14307]
18330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18331         the temporary buffer used to invoke __gethostbyname2_r,
18332         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18333         host_data / struct gaih_addrtuple.
18334         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18335         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18336         header file nss/nsswitch.h.
18337         * nss/nsswitch.h (global scope): Add definition of implementation
18338         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18339         resolv/nss_dns/dns-host.c).
18341 2012-07-11  Andreas Jaeger  <aj@suse.de>
18343         * po/fr.po: Update from translation team.
18345         * po/sv.po: Update from translation team
18346         * po/fr.po: Another update from translation team.
18348 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18350         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18351         for subnormals or multiply small sinh result by itself.
18352         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18355 2012-07-11  David S. Miller  <davem@davemloft.net>
18357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18359 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18361         [BZ #14347]
18362         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18363         (INTERNAL_MARK): Shift it here.
18365 2012-07-10  Marek Polacek  <polacek@redhat.com>
18367         [BZ #14151]
18368         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18369         libc_cv_asm_global_directive with .globl.
18370         * configure: Regenerated.
18371         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18372         with .globl.
18373         * sysdeps/i386/configure: Regenerated.
18374         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18375         with .globl.
18376         * sysdeps/x86_64/configure: Regenerated.
18377         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18378         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18379         * elf/tst-unique2mod2.c: Likewise.
18380         * elf/tst-unique2mod1.c: Likewise.
18381         * elf/tst-unique1mod2.c: Likewise.
18382         * elf/tst-unique1mod1.c: Likewise.
18383         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18384         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18385         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18386         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18387         * sysdeps/mach/sysdep.h: Likewise.
18388         * sysdeps/i386/sysdep.h: Likewise.
18389         * sysdeps/i386/i386-mcount.S: Likewise.
18390         * sysdeps/x86_64/_mcount.S: Likewise.
18391         * sysdeps/x86_64/sysdep.h: Likewise.
18392         * sysdeps/sh/_mcount.S: Likewise.
18393         * sysdeps/sh/sysdep.h: Likewise.
18394         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18395         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18396         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18397         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18398         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18399         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18400         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18401         * locale/localeinfo.h: Likewise.
18402         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18403         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18405 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18407         [BZ #14336]
18408         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18409         system".
18410         * manual/message.texi (The Uniforum approach): Likewise.
18411         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18412         (glibc iconv Implementation): Likewise.
18414 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18416         [BZ #14337]
18417         * math/s_clog.c (__clog): Avoid scaling a value down where that
18418         could result in underflow.
18419         * math/s_clog10.c (__clog10): Likewise.
18420         * math/s_clog10f.c (__clog10f): Likewise.
18421         * math/s_clog10l.c (__clog10l): Likewise.
18422         * math/s_clogf.c (__clogf): Likewise.
18423         * math/s_clogl.c (__clogl): Likewise.
18424         * math/libm-test.inc (clog_test): Add more tests.
18425         (clog10_test): Likewise.
18426         * sysdeps/i386/fpu/libm-test-ulps: Update.
18427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18429 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18431         [BZ #14283]
18432         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18433         by 7 not 8 to examine high bit of fractional part.
18435         [BZ #14042]
18436         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18437         for call to __mcount_internal.
18438         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18439         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18440         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18442 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18444         [BZ #14154]
18445         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18446         approximation for values within 0x1p-13f of an odd multiple of
18447         pi/4.
18448         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18449         exception.  Add more tests.
18450         * sysdeps/i386/fpu/libm-test-ulps: Update.
18452         [BZ #6778]
18453         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18454         inputs and return -1 for them.  Do not check for +Inf in case not
18455         reachable for +Inf.
18456         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18457         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18458         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18459         and return -1 for them.  Do not check for +Inf in case not
18460         reachable for +Inf.
18461         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18462         define.
18463         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18464         and return -1 for them.  Do not check for +Inf in case not
18465         reachable for +Inf.
18466         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18467         spurious underflow.
18468         * sysdeps/i386/fpu/libm-test-ulps: Update.
18469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18471 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18473         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18475 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18477         [BZ #14157]
18478         [BZ #14331]
18479         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18480         could result in spurious underflow.  Scale down values above
18481         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18482         * math/s_csqrtf.c (__csqrtf): Likewise.
18483         * math/s_csqrtl.c (__csqrtl): Likewise.
18484         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18485         spurious underflow.
18486         * sysdeps/i386/fpu/libm-test-ulps: Update.
18487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18489 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18491         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18492         xopen-msg.sed.
18493         * catgets/xopen-msg.awk: New file.
18494         * catgets/xopen-msg.sed: Removed.
18496         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18497         po2text.sed.
18498         * intl/po2test.awk: New file.
18499         * intl/po2test.sed: Removed.
18501 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18503         [BZ #14328]
18504         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18505         or multiply small sinh result by itself.
18506         * math/s_ctanf.c (__ctanf): Likewise.
18507         * math/s_ctanh.c (__ctanh): Likewise.
18508         * math/s_ctanhf.c (__ctanhf): Likewise.
18509         * math/s_ctanhl.c (__ctanhl): Likewise.
18510         * math/s_ctanl.c (__ctanl): Likewise.
18511         * math/libm-test.inc (ctan_test_tonearest): New function.
18512         (ctan_test_towardzero): Likewise.
18513         (ctan_test_downward): Likewise.
18514         (ctan_test_upward): Likewise.
18515         (ctanh_test_tonearest): Likewise.
18516         (ctanh_test_towardzero): Likewise.
18517         (ctanh_test_downward): Likewise.
18518         (ctanh_test_upward): Likewise.
18519         (main): Call these new functions.
18520         * sysdeps/i386/fpu/libm-test-ulps: Update.
18521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18523 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18525         * .gitignore: Delete /ports entry.
18527 2012-07-03  Andreas Jaeger  <aj@suse.de>
18529         * po/bg.po: Update from translation team.
18530         * po/cs.po: Likewise.
18531         * po/de.po: Likewise.
18532         * po/hr.po: Likewise.
18533         * po/nl.pl: Likewise.
18534         * po/pl.po: Likewise.
18535         * po/vi.po: Likewise.
18537 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18539         * Makeconfig [!+link] (+link-before-libc): New variable.
18540         [!+link] (+link-after-libc): Likewise.
18541         [!+link] (+link-tests): Likewise.
18542         [!+link] (+link): Define in terms of $(+link-before-libc) and
18543         $(+link-after-libc).
18544         [!+link-static] (+link-static-before-libc): New variable.
18545         [!+link-static] (+link-static-after-libc): Likewise.
18546         [!+link-static] (+link-static-tests): Likewise.
18547         [!+link-static] (+link-static): Define in terms of
18548         $(+link-static-before-libc) and $(+link-static-after-libc).
18549         [build-shared] (link-libc-before-gnulib): New variable.
18550         [build-shared] (link-libc-tests): Likewise.
18551         [build-shared] (link-libc): Define in terms of
18552         $(link-libc-before-gnulib).
18553         [!build-shared] (link-libc-tests): New variable.
18554         (link-libc-static-tests): New variable.
18555         [!gnulib] (gnulib-arch): New variable.
18556         [!gnulib] (gnulib-tests): Likewise.
18557         [!gnulib] (static-gnulib-arch): Likewise.
18558         [!gnulib] (static-gnulib-tests): Likewise.
18559         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18560         Define with "=" instead of ":=".
18561         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18562         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18563         * Rules (binaries-all-notests): New variable.
18564         (binaries-all-tests): Likewise.
18565         (binaries-static-notests): Likewise.
18566         (binaries-static-tests): Likewise.
18567         (binaries-all): Define using $(binaries-all-notests) and
18568         $(binaries-all-tests).
18569         (binaries-static): Define using $(binaries-static-notests) and
18570         $(binaries-static-tests).
18571         (binaries-shared-tests): New variable.
18572         (binaries-shared-notests): Likewise.
18573         (binaries-shared): Remove variable.
18574         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18575         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18576         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18577         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18578         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18579         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18580         * elf/Makefile (sln-modules): New variable.
18581         (extra-objs): Add $(sln-modules:=.o).
18582         (ldconfig-modules): Add static-stubs.
18583         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18584         * elf/static-stubs.c: New file.
18586         [BZ #14283]
18587         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18588         by 7 not 8 to examine high bit of fractional part.  Use volatile
18589         variables when splitting into final array of floats if
18590         __FLT_EVAL_METHOD__ != 0.
18591         * math/libm-test.inc (cos_test): Add another test.
18592         (sin_test): Likewise.
18593         * sysdeps/i386/fpu/libm-test-ulps: Update.
18595         [BZ #14273]
18596         * math/libm-test.inc (cosh_test): Add more tests.
18598         * version.h (RELEASE): Set to "development".
18599         (VERSION): Set to "2.16.90".
18601 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18603         * NEWS: Update copyright. Remove last-updated date.
18604         Mention math library bug fixes and timezone data changes.
18605         * README: Mention GNU/Hurd, x32, and HPPA support status.
18607 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18609         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18611 2012-06-27  Andreas Jaeger  <aj@suse.de>
18613         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18615 2012-06-25  Andreas Jaeger  <aj@suse.de>
18617         * sysdeps/s390/fpu/libm-test-ulps: Update.
18619 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18620             Thomas Schwinge  <thomas@codesourcery.com>
18622         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18623         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18624         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18625         fanotify_mark.
18627 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18629         * sysdeps/mach/start.c: Remove file.
18630         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18631         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18632         * sysdeps/sh/init-first.c: Likewise.
18634         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18635         registers for frame unwinding purposes, add CFI directives.
18636         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18637         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18638         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18639         Likewise.
18641         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18642         __fortify_fail returning.
18643         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18645         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18646         sysdeps/sh/____longjmp_chk.S.
18647         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18648         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18649         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18650         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18652         * sysdeps/sh/abort-instr.h: New file.
18653         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18654         process in case exit returns.
18656         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18657         initialize the GOT register before use.
18659         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18660         calculation of ARGC > 4.
18662         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18663         meaningful names to some local labels.
18665 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18666             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18668         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18669         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18670         (__arch_compare_and_exchange_val_16_acq): Likewise.
18671         (__arch_compare_and_exchange_val_32_acq): Likewise.
18672         (atomic_exchange_and_add): Fix gUSA sequence.
18673         (atomic_add): Likewise.
18674         (atomic_add_negative): Likewise.
18675         (atomic_add_zero): Likewise.
18676         (atomic_bit_test_set): Likewise.
18678 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18680         [BZ #13579]
18681         * include/link.h (struct link_map): Add l_free_initfini.
18682         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18683         l_initfini.
18684         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18685         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18686         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18687         set.
18689 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18691         * configure.in: Use AC_LANG_SOURCE.
18692         * configure: Regenerate.
18694 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18696         * configure.in (libc_cv_localstatedir): New substituted variable.
18697         * configure: Regenerated.
18698         * config.make.in (localstatedir): New variable, substituted from
18699         libc_cv_localstatedir.
18700         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18701         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18702         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18703         * sysdeps/gnu/configure: Regenerated.
18705 2012-06-21  Jeff Law  <law@redhat.com>
18707         [BZ #14277]
18708         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18709         free.  Simplify list management for _LIBC case.
18711 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18713         [BZ #14273]
18714         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18715         Clear sign bit of 64-bit integer value before comparing against
18716         overflow value.
18718         * sysdeps/mach/configure: Regenerated.
18720 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18722         [BZ #14278]
18723         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18725 2012-06-21  Jeff Law  <law@redhat.com>
18727         [BZ #13882]
18728         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18729         uint16_t for elements in the "seen" array to avoid char overflows.
18730         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18731         * elf/dl-open.c (dl_open_worker): Likewise.
18733 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18735         * scripts/list-sources.sh: Scan PORTS for translations.
18736         * po/libc.pot: Regenerated.
18738 2012-06-21  Andreas Jaeger  <aj@suse.de>
18740         [BZ #12194]
18741         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18742         warning.
18743         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18744         * bits/byteswap-16.h (__bswap_16): Likewise.
18745         * bits/byteswap.h (__bswap_constant_16): Likewise.
18747 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18749         [BZ #14117]
18750         * sysdeps/i386/fpu_control.h: Removed.
18751         * sysdeps/x86_64/fpu_control.h: Moved to ...
18752         * sysdeps/x86/fpu_control.h: Here.
18754         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18755         (_FPU_SETCW): Likewise.
18757 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18759         [BZ #14117]
18760         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18761         * sysdeps/x86/fpu/bits/mathinline.h: This.
18762         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18764         [BZ #14050]
18765         [BZ #14117]
18766         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18767         functions if __x86_64__ is defined.
18769 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18771         * string/endian.h: Add !__ASSEMBLER__ condition for including
18772         conversion interfaces.
18774 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18776         [BZ #14241]
18777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18778         of ABS(x) in calculating zero to negative powers other than odd
18779         integers.
18780         * math/libm-test.inc (pow_test): Add more tests.
18782 2012-06-15  Andreas Jaeger  <aj@suse.de>
18784         * manual/contrib.texi (Contributors): Update entry of Liubov
18785         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18786         Machado Filho.
18788 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18790         * string/string.h: Add __wur to GNU version of strerror_r.
18792 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18794         [BZ #14229]
18795         * string/Makefile (tests): Add tst-strtok_r.
18796         * string/tst-strtok_r.c: New file.
18797         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18798         RAX_LP/RDX_LP on SAVE_PTR.
18800 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18802         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18804 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18806         * libm_test.inc (csqrt_test): Allow more spurious underflow
18807         exceptions.
18808         (j0_test): Likewise.
18809         (j1_test): Likewise.
18810         (y0_test): Likewise.
18811         (y1_test): Likewise.
18813 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18815         * po/Makefile (libc.pot): Use UTF-8 charset.
18817 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18819         [BZ #14210]
18820         Suppress sign-conversion warning from FD_SET.
18821         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18822         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18823         not unsigned long int.
18824         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18826 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18828         [BZ #14050]
18829         [BZ #14117]
18830         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18831         __extern_always_inline instead of __extern_inline.
18832         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18833         (__signbit): Likewise.
18834         (__signbitl): Support C++ namespace.
18835         (lrintf): New inline function.
18836         (lrint): Likewise.
18837         (llrintf): Likewise.
18838         (llrint): Likewise.
18839         (fmaxf): Likewise.
18840         (fmax): Likewise.
18841         (fminf): Likewise.
18842         (fmin): Likewise.
18843         (rint): Likewise.
18844         (rintf): Likewise.
18845         (ceil): Likewise.
18846         (ceilf): Likewise.
18847         (floor): Likewise.
18848         (floorf): Likewise.
18849         (nearbyint): Likewise.
18850         (nearbyintf): Likewise.
18852 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18854         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18855         non-default versions.
18857 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18859         [BZ #14218]
18860         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18862 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18864         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18865         (FE_UPWARD, FE_DOWNWARD): Don't define.
18866         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18867         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18869         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18870         reading it.
18871         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18872         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18874 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18876         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18877         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18878         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18879         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18881 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18883         [BZ #14117]
18884         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18885         * sysdeps/i386/fpu/Implies: New file.
18886         * sysdeps/x86_64/fpu/Implies: Likewise.
18887         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18888         * sysdeps/x86/fpu/bits/fenv.h: This.
18890         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18891         __SSE_MATH__.
18893 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18895         [BZ #14134]
18896         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18897         character 0xffff that matches the last element of the
18898         conversion table.
18900 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18902         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18903         fmodl commit.
18905 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18907         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18908         values higher than 25.6283.
18910 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18912         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18913         subnormal exponent extraction and add some __builtin_expect.
18914         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18915         Fix for subnormal mantissa calculation.
18917 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18919         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18920         cpu2 is -1 and errno is not ENOSYS.
18922 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18924         [BZ #14117]
18925         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18926         * sysdeps/x86/bits/string.h: This.
18927         * sysdeps/x86_64/bits/string.h: Removed.
18929         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18930         if not compiling for x86-64, but compiling for >= i486.
18932         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18933         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18935         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18936         New macro from Linux kernel 3.4.0.
18937         (FP_XSTATE_MAGIC2): Likewise.
18938         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18939         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18940         (struct _fpx_sw_bytes): New struct.
18941         (struct _xsave_hdr): Likewise.
18942         (struct _ymmh_state): Likewise.
18943         (struct _xstate): Likewise.
18945         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18946         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18947         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18948         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18949         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18950         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18952         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18953         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18954         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18955         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18956         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18957         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18959 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18961         [BZ #13743]
18962         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18963         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18964         (sysdep_headers): Include sys/platform/ppc.h.
18965         * sysdeps/powerpc/test-gettimebase.c: Test for
18966         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18967         * manual/Makefile (appendices): Include platform.texi.
18968         * manual/contrib.texi (Contributors): Update @node pointers.
18969         * manual/maint.texi (Maintenance): Likewise.
18970         (Platform): New node.
18971         * manual/platform.texi: New file.  Document the new features.
18973 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18974             Jakub Jelinek  <jakub@redhat.com>
18976         [BZ #14188]
18977         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18978         where __builtin_expect is unavailable.
18980 2012-06-03  David S. Miller  <davem@davemloft.net>
18982         * stdlib/longlong.h: Updated from GCC.
18984 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18986         [BZ #14042]
18987         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18988         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18989         __mcount_internal.
18990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18991         (GLIBC_2.16): Likewise.
18993 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18995         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18997 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19000         (default-abi): New variable.
19001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19002         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19003         variable.
19004         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19005         Likewise.
19006         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19007         Likewise.
19008         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19009         Likewise.
19011         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19012         definition.  Document in comment.
19014 2012-06-01  David S. Miller  <davem@davemloft.net>
19016         * stdlib/longlong.h: Updated from GCC.
19018 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19020         [BZ #14117]
19021         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19022         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19023         sys/debugreg.h sys/io.h here.
19024         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19025         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19026         sys/io.h.
19027         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19028         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19029         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19030         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19031         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19032         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19034         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19035         Define only if __x86_64__ is defined.
19037 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19039         [BZ #14048]
19040         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19041         Use int64_t for variable i.
19042         * math/libm-test.inc (fmod_test): Add more tests.
19044         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19045         z computation is not scheduled after fetestexcept.
19046         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19047         Use math_force_eval instead of asm to ensure calculation scheduled
19048         before exception test.
19049         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19050         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19052 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19054         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19055         computation is not scheduled after fetestexcept.
19057 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19059         [BZ #14117]
19060         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19061         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19063 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19065         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19066         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19068 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19070         [BZ #14117]
19071         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19072         <bits/wordsize.h>.
19073         (__WCHAR_MIN): Support __WORDSIZE == 64.
19074         (__WCHAR_MAX): Likewise.
19076         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19077         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19079         [BZ #14183]
19080         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19081         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19083         [BZ #14117]
19084         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19085         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19087         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19088         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19090         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19091         Defined to 1 if __x86_64__ isn't defined.
19092         (_STAT_VER_LINUX_OLD): New.
19093         (st_atime): Remove duplicate.
19094         (st_mtime): Likewise.
19095         (st_ctime): Likewise.
19097 2012-05-31  David S. Miller  <davem@davemloft.net>
19099         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19100         entries.
19102 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19104         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19105         gen-libm-test.pl.
19107         [BZ #14132]
19108         * elf/dl-reloc.c: Include <_itoa.h>.
19109         (_dl_reloc_bad_type): Remove use of INTUSE.
19110         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19111         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19112         * stdio-common/psiginfo.c (psiginfo): Likewise.
19113         * stdio-common/psignal.c (psignal): Likewise.
19114         * string/strsignal.c (strsignal): Likewise.
19115         * include/signal.h (_sys_siglist): Declare hidden proto.
19116         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19117         INTVARDEF with libc_hidden_data_def.
19118         * stdio-common/itoa-udigits.c: Likewise.
19119         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19120         (_itoa_lower_digits_internal): Remove declaration.
19121         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19122         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19123         (_sys_sigabbrev_internal): Remove aliases.
19124         (_sys_siglist): Define hidden alias.
19126 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19128         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19129         bits/sysctl.h.
19131 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19133         [BZ #14117]
19134         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19135         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19137         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19138         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19139         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19140         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19141         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19142         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19144         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19145         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19146         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19148         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19149         with __addr.
19150         (insw): Likewise.
19151         (insl): Likewise.
19152         (outsb): Likewise.
19153         (outsw): Likewise.
19154         (outsl): Likewise.
19156         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19157         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19158         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19160         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19161         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19162         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19163         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19164         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19165         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19167         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19168         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19170         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19171         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19173         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19174         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19175         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19177         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19178         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19179         to ...
19180         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19182         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19183         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19184         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19186         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19187         for x86-64.
19188         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19190 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19192         * math/math.h (M_El): Use two more decimal places.
19193         (M_LOG2El): Likewise.
19194         (M_LOG10El): Likewise.
19195         (M_LN2l): Likewise.
19196         (M_LN10l): Likewise.
19197         (M_PIl): Likewise.
19198         (M_PI_2l): Likewise.
19199         (M_PI_4l): Likewise.
19200         (M_1_PIl): Likewise.
19201         (M_2_PIl): Likewise.
19202         (M_2_SQRTPIl): Likewise.
19203         (M_SQRT2l): Likewise.
19204         (M_SQRT1_2l): Likewise.
19206 2012-05-31  David S. Miller  <davem@davemloft.net>
19208         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19209         values between float registers.
19210         * sysdeps/sparc/sparc64/memset.S: Likewise.
19211         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19213 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19215         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19216         -D_FORTIFY_SOURCE=1.
19217         (CPPFLAGS-tst-longjmp_chk.c): Define.
19218         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19219         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19220         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19221         CFLAGS-tst-wchar-h.c.
19223 2012-05-31  Marek Polacek  <polacek@redhat.com>
19225         [BZ #14132]
19226         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19227         __endmntent_internal): Remove declaration.
19228         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19229         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19230         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19232 2012-05-30  David S. Miller  <davem@davemloft.net>
19234         * sysdeps/sparc/sparc32/soft-fp/q_util.c
19235         (___Q_simulate_exceptions): Use real FP ops rather than writing
19236         into the %fsr.
19237         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19238         Likewise.
19240 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19242         [BZ #14117]
19243         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19244         * sysdeps/x86/bits/xtitypes.h: This.
19246         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19247         * sysdeps/x86/bits/wordsize.h: This.
19249         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19250         * sysdeps/x86/bits/huge_vall.h: This.
19252         * sysdeps/i386/bits/select.h: Removed.
19253         * sysdeps/x86_64/bits/select.h: Renamed to ...
19254         * sysdeps/x86/bits/select.h: This.
19256         * sysdeps/i386/bits/setjmp.h: Removed.
19257         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19258         * sysdeps/x86/bits/setjmp.h: This.
19260         * sysdeps/i386/bits/mathdef.h: Removed.
19261         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19262         * sysdeps/x86/bits/mathdef.h: This.
19264 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
19266         [BZ #14132]
19267         * include/sys/socket.h (__connect_internal)
19268         (__libc_sa_len_internal): Remove declaration.
19269         (__connect, __libc_sa_len): Declare hidden_proto.
19270         (SA_LEN): Remove use of INTUSE.
19271         * socket/connect.c: Add libc_hidden_def.
19272         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19273         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19274         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19275         alias.
19276         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19277         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19278         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19279         of adding _internal alias.
19281 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19283         [BZ #14117]
19284         * sysdeps/i386/bits/link.h: Removed.
19285         * sysdeps/i386/bits/linkmap.h: Likewise.
19286         * sysdeps/x86_64/bits/link.h: Renamed to ...
19287         * sysdeps/x86/bits/link.h: This.
19288         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19289         * sysdeps/x86/bits/linkmap.h: This.
19291         * sysdeps/i386/bits/endian.h: Removed.
19292         * sysdeps/x86_64/bits/endian.h: Renamed to ...
19293         * sysdeps/x86/bits/endian.h: This.
19295         * sysdeps/i386/bits/byteswap.h: Removed.
19296         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19297         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19298         * sysdeps/x86/bits/byteswap.h: This.
19299         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19300         * sysdeps/x86/bits/byteswap-16.h: This.
19301         * sysdeps/i386/Implies: Add x86.
19302         * sysdeps/x86_64/Implies: Likewise.
19304 2012-05-30  David S. Miller  <davem@davemloft.net>
19306         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19307         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19308         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19309         (FP_TRAPPING_EXCEPTIONS): Define.
19310         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19311         (FP_TRAPPING_EXCEPTIONS): Define.
19312         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19313         subnormals only when inexact has been signalled or underflow
19314         exceptions are enabled.
19315         (_FP_PACK_CANONICAL): Likewise.
19317 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19319         [BZ #14183]
19320         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19321         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19323 2012-05-30  Richard Henderson  <rth@twiddle.net>
19325         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19326         with #ifndef NOT_IN_libc.
19328         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19329         marked to avoid plt entry.
19331 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19333         [BZ #14112]
19334         * Makeconfig (default-abi): New macro.
19335         (abi-includes): Likewise.
19336         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19337         $(abi-$(default-abi)-lib-soname) for soname if defined.
19338         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19339         abi-variants.
19340         * Makefile (installed-stubs): Likewise.
19341         * include/stubs-biarch.h: Removed.
19342         * scripts/lib-names.awk: Only handle one library at a time.
19343         * scripts/soversions.awk: Remove WORDSIZE support.
19344         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19345         entries.
19346         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19347         Removed.
19348         (syscall-list-default-condition): Likewise.
19349         (syscall-list-default-condition): Likewise.
19350         (syscall-list-includes): Likewise.
19351         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19352         syscall-list-* with abi-*.  Handle undefined abi-variants.
19353         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19354         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19355         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19356         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19357         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19358         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19359         Removed.
19360         (syscall-list-32-options): Likewise.
19361         (syscall-list-32-condition): Likewise.
19362         (syscall-list-64-options): Likewise.
19363         (syscall-list-64-condition): Likewise.
19364         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19365         macro.
19366         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19367         Renamed to ...
19368         (abi-*): This.
19369         (abi-64-ld-soname): New macro.
19370         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19371         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19372         Renamed to ...
19373         (abi-*): This.
19374         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19375         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19377 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19379         * sysdeps/unix/sysv/linux/kernel-features.h
19380         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19381         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19382         include <kernel-features.h>.
19383         [!__NR_ftruncate64]: Remove conditional code.
19384         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19385         [__NR_ftruncate64]: Make code unconditional.
19386         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19387         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19388         include <kernel-features.h>.
19389         [!__NR_ftruncate64]: Remove conditional code.
19390         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19391         [__NR_ftruncate64]: Make code unconditional.
19392         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19394         include <kernel-features.h>.
19395         [!__NR_ftruncate64]: Remove conditional code.
19396         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19397         [__NR_ftruncate64]: Make code unconditional.
19398         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19400         include <kernel-features.h>.
19401         [!__NR_ftruncate64]: Remove conditional code.
19402         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19403         [__NR_ftruncate64]: Make code unconditional.
19404         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19406         * configure.in (libc_cv_fpie): Weaken to a compile test using
19407         LIBC_TRY_CC_OPTION.
19408         * configure: Regenerated.
19410 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19416         Refreshed.
19417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19423         Refreshed.
19425 2012-05-27  David S. Miller  <davem@davemloft.net>
19427         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19428         (___Q_zero): New.
19429         (__Q_simulate_exceptions): Return void.  Change to simulate
19430         exceptions by writing into the %fsr.
19431         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19432         (__Qp_handle_exceptions): Likewise.
19433         (numbers): Delete.
19434         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19435         __Qp_handle_exceptions.
19436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19437         __Qp_handle_exceptions.
19438         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19439         as unused and give dummy FP_RND_NEAREST initializer.
19440         (FP_INHIBIT_RESULTS): Define.
19441         (___Q_simulate_exceptions): Update declaration.
19442         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19443         formatting.
19444         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19445         as unused and give dummy FP_RND_NEAREST initializer.
19446         (__Qp_handle_exceptions): Update declaration.
19447         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19448         formatting.
19450 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19452         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19453         the temporary FPU control word.
19454         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19455         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19456         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19457         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19458         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19459         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19460         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19461         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19462         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19463         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19464         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19466 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19468         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19469         fields.
19471 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19473         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19474         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19475         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19476         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19477         Likewise.
19478         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19479         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19480         Likewise.
19482 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19484         * po/h.po: Update from translation team.
19486 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19488         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19490         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19491         handling of denormals.
19492         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19493         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19494         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19495         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19496         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19497         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19498         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19499         Likewise.
19501 2012-05-26  Marek Polacek  <polacek@redhat.com>
19503         [BZ #14152]
19504         * math/libm-test.inc (fma_test): Don't always expect underflow
19505         exception.
19507 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19509         [BZ #12416]
19510         * elf/tst-execstack.c: Include stackinfo.h.
19511         (do_test): Adjust test case to ensure that pthread_getattr_np
19512         behaviour remains the same after marking stack executable.
19514 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19516         * sysdeps/unix/sysv/linux/kernel-features.h
19517         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19518         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19519         kernel-features.h.
19520         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19521         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19522         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19523         kernel-features.h.
19524         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19525         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19527 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19529         * configure.in: Define the default includes to being none.
19530         * configure: Regenerated.
19532 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19534         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19535         * sysdeps/x86_64/setjmp.S: Likewise.
19536         * sysdeps/i386/bsd-setjmp.S: Likewise.
19537         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19538         * sysdeps/i386/setjmp.S: Likewise.
19539         * sysdeps/i386/__longjmp.S: Likewise.
19540         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19541         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19543         * include/stap-probe.h: New file.
19544         * configure.in: Handle --enable-systemtap.
19545         * configure: Regenerated.
19546         * config.h.in (USE_STAP_PROBE): New #undef.
19547         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19548         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19549         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19551 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19553         [BZ #13717]
19554         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19555         to 2.4.0 where earlier.
19556         * sysdeps/unix/sysv/linux/configure: Regenerated.
19557         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
19566         [__ASSUME_32BITUIDS]: Make code unconditional.
19567         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19568         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19569         <kernel-features.h>.
19570         [__ASSUME_32BITUIDS]: Make code unconditional.
19571         [!__ASSUME_32BITUIDS]: Remove conditional code.
19572         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19573         <kernel-features.h>.
19574         [__ASSUME_32BITUIDS]: Make code unconditional.
19575         [!__ASSUME_32BITUIDS]: Remove conditional code.
19576         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19577         <kernel-features.h>.
19578         [__ASSUME_32BITUIDS]: Make code unconditional.
19579         [!__ASSUME_32BITUIDS]: Remove conditional code.
19580         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19581         <kernel-features.h>.
19582         [__ASSUME_32BITUIDS]: Make code unconditional.
19583         [!__ASSUME_32BITUIDS]: Remove conditional code.
19584         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19585         <kernel-features.h>.
19586         [__ASSUME_32BITUIDS]: Make code unconditional.
19587         [!__ASSUME_32BITUIDS]: Remove conditional code.
19588         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19589         <kernel-features.h>.
19590         [__ASSUME_32BITUIDS]: Make code unconditional.
19591         [!__ASSUME_32BITUIDS]: Remove conditional code.
19592         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19593         <kernel-features.h>.
19594         [__ASSUME_32BITUIDS]: Make code unconditional.
19595         [!__ASSUME_32BITUIDS]: Remove conditional code.
19596         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19597         <kernel-features.h>.
19598         [__ASSUME_32BITUIDS]: Make code unconditional.
19599         [!__ASSUME_32BITUIDS]: Remove conditional code.
19600         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19601         <kernel-features.h>.
19602         [__ASSUME_32BITUIDS]: Make code unconditional.
19603         [!__ASSUME_32BITUIDS]: Remove conditional code.
19604         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19605         <kernel-features.h>.
19606         [__ASSUME_32BITUIDS]: Make code unconditional.
19607         [!__ASSUME_32BITUIDS]: Remove conditional code.
19608         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19609         <kernel-features.h>.
19610         [__NR_setresgid] (__setresgid): Do not declare.
19611         [__ASSUME_32BITUIDS]: Make code unconditional.
19612         [!__ASSUME_32BITUIDS]: Remove conditional code.
19613         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19614         <kernel-features.h>.
19615         [__NR_setresuid] (__setresuid): Do not declare.
19616         [__ASSUME_32BITUIDS]: Make code unconditional.
19617         [!__ASSUME_32BITUIDS]: Remove conditional code.
19618         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19619         <kernel-features.h>.
19620         [__ASSUME_32BITUIDS]: Make code unconditional.
19621         [!__ASSUME_32BITUIDS]: Remove conditional code.
19622         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19623         <kernel-features.h>.
19624         [__ASSUME_32BITUIDS]: Make code unconditional.
19625         [!__ASSUME_32BITUIDS]: Remove conditional code.
19626         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19627         <kernel-features.h>.
19628         [__ASSUME_32BITUIDS]: Make code unconditional.
19629         [!__ASSUME_32BITUIDS]: Remove conditional code.
19630         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19631         <kernel-features.h>.
19632         [__ASSUME_32BITUIDS]: Make code unconditional.
19633         [!__ASSUME_32BITUIDS]: Remove conditional code.
19634         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19635         <kernel-features.h>.
19636         [__ASSUME_32BITUIDS]: Make code unconditional.
19637         [!__ASSUME_32BITUIDS]: Remove conditional code.
19638         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19639         <kernel-features.h>.
19640         [__ASSUME_32BITUIDS]: Make code unconditional.
19641         [!__ASSUME_32BITUIDS]: Remove conditional code.
19642         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19643         <kernel-features.h>.
19644         [__ASSUME_32BITUIDS]: Make code unconditional.
19645         [!__ASSUME_32BITUIDS]: Remove conditional code.
19646         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19647         <kernel-features.h>.
19648         [__ASSUME_32BITUIDS]: Make code unconditional.
19649         [!__ASSUME_32BITUIDS]: Remove conditional code.
19650         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19651         <kernel-features.h>.
19652         [__ASSUME_32BITUIDS]: Make code unconditional.
19653         [!__ASSUME_32BITUIDS]: Remove conditional code.
19654         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19655         <kernel-features.h>.
19656         [__ASSUME_32BITUIDS]: Make code unconditional.
19657         [!__ASSUME_32BITUIDS]: Remove conditional code.
19658         * sysdeps/unix/sysv/linux/kernel-features.h
19659         (__ASSUME_SETRESUID_SYSCALL): Remove.
19660         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19661         (__ASSUME_32BITUIDS): Likewise.
19662         (__ASSUME_LDT_WORKS): Likewise.
19663         (__ASSUME_O_DIRECTORY): Likewise.
19664         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19665         architecture but not kernel version.
19666         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19667         (__ASSUME_MMAP2_SYSCALL): Likewise.
19668         (__ASSUME_STAT64_SYSCALL): Likewise.
19669         (__ASSUME_IPC64): Likewise.
19670         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19671         <kernel-features.h>.
19672         [__ASSUME_32BITUIDS]: Make code unconditional.
19673         [!__ASSUME_32BITUIDS]: Remove conditional code.
19674         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19675         <kernel-features.h>.
19676         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19677         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19678         132096]: Remove conditional code.
19679         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19680         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19681         <kernel-features.h>.
19682         [__ASSUME_32BITUIDS]: Make code unconditional.
19683         [!__ASSUME_32BITUIDS]: Remove conditional code.
19684         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19685         <kernel-features.h>.
19686         [__ASSUME_32BITUIDS]: Make code unconditional.
19687         [!__ASSUME_32BITUIDS]: Remove conditional code.
19688         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19689         <kernel-features.h>.
19690         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19691         unconditional.
19692         (__setresgid): Do not declare.
19693         [__ASSUME_32BITUIDS]: Make code unconditional.
19694         [!__ASSUME_32BITUIDS]: Remove conditional code.
19695         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19696         <kernel-features.h>.
19697         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19698         unconditional.
19699         (__setresuid): Do not declare.
19700         [__ASSUME_32BITUIDS]: Make code unconditional.
19701         [!__ASSUME_32BITUIDS]: Remove conditional code.
19702         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19703         <kernel-features.h>.
19704         [__ASSUME_32BITUIDS]: Make code unconditional.
19705         [!__ASSUME_32BITUIDS]: Remove conditional code.
19706         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19707         <kernel-features.h>.
19708         [__ASSUME_32BITUIDS]: Make code unconditional.
19709         [!__ASSUME_32BITUIDS]: Remove conditional code.
19711 2012-05-25  Richard Henderson  <rth@twiddle.net>
19713         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19714         dl_hwcap to ifunc resolver.
19715         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19716         elf_ifunc_invoke.
19717         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19718         dl_hwcap to ifunc resolver.
19719         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19721 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19723         [BZ #14153]
19724         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19725         for |x| <= 2**-26, not 2**-57.
19726         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19727         exception.
19729 2012-05-24  Jeff Law  <law@redhat.com>
19731         * stdio-common/Makefile (tests): Add bug25.
19732         * stdio-common/bug25.c: New test.
19734 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19736         [BZ #13576]
19737         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19738         multiple of MALLOC_ALIGNMENT in size.
19739         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19741 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19743         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19744         Require >= 256.
19745         (FILENAME_MAX): Use macro-int-constant.
19746         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19747         (_IOFBF): Use macro-int-constant.
19748         (_IOLBF): Likewise.
19749         (_IONBF): Likewise.
19750         (SEEK_CUR): Likewise.
19751         (SEEK_END): Likewise.
19752         (SEEK_SET): Likewise.
19753         (TMP_MAX): Likewise.
19754         (EOF): Use macro-int-constant.  Require < 0.
19755         (NULL): Use macro-constant.  Require == 0.
19756         (stdin): Require type to be FILE *.
19757         (stdout): Likewise.
19758         (stderr): Likewise.
19759         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19760         macro-int-constant.
19761         (EXIT_SUCCESS): Likewise.
19762         (NULL): Use macro-constant.  Require == 0.
19763         (RAND_MAX): Use macro-int-constant.
19764         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19765         [C99-based standards] (strtof): Require function.
19766         [C99-based standards] (strtold): Likewise.
19767         [C99-based standards] (strtoll): Likewise.
19768         [C99-based standards] (strtoull): Likewise.
19769         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19770         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19771         [ISO || ISO99 || ISO11] (math.h): Likewise.
19772         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19773         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19774         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19776 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19778         [BZ #14132]
19779         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19780         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19781         * intl/dgettext.c (DCGETTEXT): Likewise.
19782         * intl/gettext.c (DCGETTEXT): Likewise.
19783         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19784         * posix/regex_internal.h (gettext): Likewise.
19785         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19786         Remove declaration.
19787         * include/argz.h (__argz_count_internal)
19788         (__argz_stringify_internal): Remove declaration.
19789         (__argz_count, __argz_stringify): Declare hidden proto.
19790         * intl/dcgettext.c: Remove use of INTDEF.
19791         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19792         * string/argz-stringify.c: Likewise.
19793         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19794         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19795         Declare hidden proto.
19796         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19797         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19798         Declare hidden proto.
19799         * include/stdio.h (__asprintf_internal): Don't declare.
19800         (__asprintf): Don't define as macro.  Declare hidden proto.
19801         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19802         (__fsetlocking): Declare hidden proto.
19803         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19804         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19805         hidden proto.
19806         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19807         (_IO_setlinebuf): Remove use of INTUSE.
19808         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19809         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19810         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19811         Remove declaration.
19812         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19813         (_IO_do_flush): Remove use of INTUSE.
19814         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19815         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19816         (_IO_adjust_column, _IO_least_wmarker)
19817         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19818         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19819         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19820         (_IO_default_doallocate, _IO_wdefault_doallocate)
19821         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19822         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19823         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19824         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19825         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19826         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19827         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19828         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19829         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19830         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19831         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19832         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19833         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19834         proto.
19835         (_IO_flush_all_internal, _IO_adjust_column_internal)
19836         (_IO_default_uflow_internal, _IO_default_finish_internal)
19837         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19838         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19839         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19840         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19841         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19842         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19843         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19844         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19845         (_IO_file_close_internal, _IO_file_close_it_internal)
19846         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19847         (_IO_file_init_internal, _IO_file_attach_internal)
19848         (_IO_file_fopen_internal, _IO_file_read_internal)
19849         (_IO_file_sync_internal, _IO_file_seek_internal)
19850         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19851         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19852         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19853         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19854         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19855         (_IO_list_all_internal, _IO_link_in_internal)
19856         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19857         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19858         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19859         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19860         (_IO_do_write_internal, _IO_padn_internal)
19861         (_IO_getline_info_internal, _IO_getline_internal)
19862         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19863         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19864         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19865         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19866         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19867         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19868         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19869         with libc_hidden_ver, remove use of INTUSE.
19870         * libio/genops.c: Likewise.
19871         * libio/freopen.c: Likewise.
19872         * libio/freopen64.c: Likewise.
19873         * libio/iofclose.c: Likewise.
19874         * libio/iofdopen.c: Likewise.
19875         * libio/iofflush.c: Likewise.
19876         * libio/iofflush_u.c: Likewise.
19877         * libio/iofgets.c: Likewise.
19878         * libio/iofgets_u.c: Likewise.
19879         * libio/iofopen.c: Likewise.
19880         * libio/iofopncook.c: Likewise.
19881         * libio/iofread.c: Likewise.
19882         * libio/iofread_u.c: Likewise.
19883         * libio/ioftell.c: Likewise.
19884         * libio/iofwrite.c: Likewise.
19885         * libio/iogetline.c: Likewise.
19886         * libio/iogets.c: Likewise.
19887         * libio/iogetwline.c: Likewise.
19888         * libio/iopadn.c: Likewise.
19889         * libio/iopopen.c: Likewise.
19890         * libio/ioseekoff.c: Likewise.
19891         * libio/ioseekpos.c: Likewise.
19892         * libio/iosetbuffer.c: Likewise.
19893         * libio/iosetvbuf.c: Likewise.
19894         * libio/ioungetc.c: Likewise.
19895         * libio/ioungetwc.c: Likewise.
19896         * libio/iovdprintf.c: Likewise.
19897         * libio/iovsprintf.c: Likewise.
19898         * libio/iovsscanf.c: Likewise.
19899         * libio/memstream.c: Likewise.
19900         * libio/obprintf.c: Likewise.
19901         * libio/oldfileops.c: Likewise.
19902         * libio/oldiofclose.c: Likewise.
19903         * libio/oldiofdopen.c: Likewise.
19904         * libio/oldiofopen.c: Likewise.
19905         * libio/oldiopopen.c: Likewise.
19906         * libio/oldstdfiles.c: Likewise.
19907         * libio/putc.c: Likewise.
19908         * libio/setbuf.c: Likewise.
19909         * libio/setlinebuf.c: Likewise.
19910         * libio/stdfiles.c: Likewise.
19911         * libio/strops.c: Likewise.
19912         * libio/vasprintf.c: Likewise.
19913         * libio/vscanf.c: Likewise.
19914         * libio/vsnprintf.c: Likewise.
19915         * libio/vswprintf.c: Likewise.
19916         * libio/wfiledoalloc.c: Likewise.
19917         * libio/wfileops.c: Likewise.
19918         * libio/wgenops.c: Likewise.
19919         * libio/wmemstream.c: Likewise.
19920         * libio/wstrops.c: Likewise.
19921         * libio/__fpurge.c: Likewise.
19922         * libio/__fsetlocking.c: Likewise.
19923         * assert/assert.c: Likewise.
19924         * debug/fgets_chk.c: Likewise.
19925         * debug/fgets_u_chk.c: Likewise.
19926         * debug/fread_chk.c: Likewise.
19927         * debug/fread_u_chk.c: Likewise.
19928         * debug/gets_chk.c: Likewise.
19929         * debug/obprintf_chk.c: Likewise.
19930         * debug/vasprintf_chk.c: Likewise.
19931         * debug/vdprintf_chk.c: Likewise.
19932         * debug/vsnprintf_chk.c: Likewise.
19933         * debug/vsprintf_chk.c: Likewise.
19934         * malloc/mtrace.c: Likewise.
19935         * misc/error.c: Likewise.
19936         * misc/syslog.c: Likewise.
19937         * stdio-common/asprintf.c: Likewise.
19938         * stdio-common/fxprintf.c: Likewise.
19939         * stdio-common/getw.c: Likewise.
19940         * stdio-common/isoc99_fscanf.c: Likewise.
19941         * stdio-common/isoc99_scanf.c: Likewise.
19942         * stdio-common/isoc99_vfscanf.c: Likewise.
19943         * stdio-common/isoc99_vscanf.c: Likewise.
19944         * stdio-common/isoc99_vsscanf.c: Likewise.
19945         * stdio-common/printf-prs.c: Likewise.
19946         * stdio-common/printf_fp.c: Likewise.
19947         * stdio-common/printf_fphex.c: Likewise.
19948         * stdio-common/printf_size.c: Likewise.
19949         * stdio-common/putw.c: Likewise.
19950         * stdio-common/scanf.c: Likewise.
19951         * stdio-common/sprintf.c: Likewise.
19952         * stdio-common/tmpfile.c: Likewise.
19953         * stdio-common/vfprintf.c: Likewise.
19954         * stdio-common/vfscanf.c: Likewise.
19955         * stdlib/strfmon_l.c: Likewise.
19956         * sunrpc/openchild.c: Likewise.
19957         * sunrpc/xdr_stdio.c: Likewise.
19958         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19959         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19961 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19963         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19965         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19966         in the third column, to generate for the shared library an IFUNC
19967         that uses _dl_vdso_vsym.
19968         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19969         * Makeconfig (object-suffixes-noshared): New variable.
19971         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19972         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19973         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19974         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19976         [BZ #14132]
19977         * include/sys/time.h (__gettimeofday): Remove macro.
19978         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19979         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19980         Remove INTDEF.
19981         (__gettimeofday): Add libc_hidden_def.
19982         (gettimeofday): Add libc_hidden_weak.
19983         * sysdeps/mach/gettimeofday.c: Likewise.
19984         * sysdeps/posix/gettimeofday.c: Likewise.
19985         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19986         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19987         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19988         (__gettimeofday_internal): Remove strong_alias.
19989         (__gettimeofday): Add libc_hidden_def.
19990         (gettimeofday): Add libc_hidden_weak.
19991         * sysdeps/unix/syscalls.list (gettimeofday):
19992         Remove __gettimeofday_internal alias.
19994 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19995             H.J. Lu  <hongjiu.lu@intel.com>
19997         [BZ #12495]
19998         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19999         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20000         (largebin_index_32_big): New.
20001         (largebin_index): Use it for 16-byte alignment.
20002         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20003         correction with front_misalign.
20005 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20009         Likewise.
20010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20011         Likewise.
20012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20013         Likewise.
20014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20015         Likewise.
20016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20017         Likewise.
20018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20019         Likewise.
20020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20021         Likewise.
20022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20023         Likewise.
20024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20025         Likewise.
20026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20027         Likewise.
20028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20029         Likewise.
20030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20031         Likewise.
20033         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20034         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20036 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20038         [BZ #10846]
20039         [BZ #14036]
20040         * math/libm-test.inc (exp_test): Add test from bug 14036.
20041         (pow_test): Add test from bug 10846.
20043         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20044         and other flags.
20045         (special_function): Do not include flags in test name.
20046         (parse_args): Likewise.
20047         * sysdeps/i386/fpu/libm-test-ulps: Update.
20048         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20049         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20050         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20053         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20054         exceptions.
20055         * math/libm-test.inc ("Philosophy"): Update comment about
20056         exception testing.
20057         (UNDERFLOW_EXCEPTION): New macro.
20058         (UNDERFLOW_EXCEPTION_OK): Likewise.
20059         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20060         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20061         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20062         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20063         (INVALID_EXCEPTION_OK): Update value.
20064         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20065         (OVERFLOW_EXCEPTION_OK): Likewise.
20066         (IGNORE_ZERO_INF_SIGN): Likewise.
20067         (test_exceptions): Handle underflow exceptions.
20068         (acos_test): Update for underflow exception expectations.
20069         (cexp_test): Likewise.
20070         (clog_test): Likewise.
20071         (clog10_test): Likewise.
20072         (csqrt_test): Likewise.
20073         (ctan_test): Likewise.
20074         (ctanh_test): Likewise.
20075         (exp_test): Likewise.
20076         (exp10_test): Likewise.
20077         (exp2_test): Likewise.
20078         (expm1_test): Likewise.
20079         (fma_test): Likewise.
20080         (j0_test): Likewise.
20081         (jn_test): Likewise.
20082         (nexttoward_test): Likewise.
20083         (pow_test): Likewise.
20084         (scalbn_test): Likewise.
20085         (scalbln_test): Likewise.
20086         (tan_test): Likewise.
20087         (y1_test): Likewise.
20088         * sysdeps/i386/fpu/libm-test-ulps: Update.
20089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20091 2012-05-23  David S. Miller  <davem@davemloft.net>
20093         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20094         (__libc_sigaction): Remove unused local variables.
20096 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20098         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20100 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20102         mktime: avoid signed integer overflow
20103         * time/mktime.c (__mktime_internal): Do not mishandle the case
20104         where diff == INT_MIN.
20106         mktime: simplify computation of average
20107         * time/mktime.c (ranged_convert): Use new time_t_avg function
20108         instead of rolling our own (probably-slower) code.
20110         mktime: do not assume signed right shift propagates sign bit
20111         * time/mktime.c (isdst_differ): New static function.
20112         (__mktime_internal): No need to normalize tm_isdst now.
20113         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20114         tm_isdst values.
20116         mktime: merge another wrapv change from gnulib
20117         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20118         from some compilers.
20120         mktime: remove incorrect attempt at unusual arithmetics
20121         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20122         The code didn't really work on such machines anyway.
20123         (TYPE_MINIMUM): Assume two's complement.
20124         (twos_complement_arithmetic): Verify that long_int and time_t
20125         are two's complement (or unsigned, in the latter case).
20127         mktime: check signed shifts on long_int and time_t, too
20128         * time/mktime.c (SHR): Check that shifts work as desired
20129         on the types long_int and time_t too, as SHR is used on
20130         such types.
20132         mktime: do not assume 'long' is wide enough
20133         * time/mktime.c (verify): Move decl up.
20134         (long_int): New type.
20135         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20136         to remove assumption in the code that 'long' is wide enough to
20137         store year values.  This assumption is not true on x32 and on
20138         some non-glibc platforms.
20140         mktime: merge wrapv change from gnulib
20141         * time/mktime.c (WRAPV): New macro.
20142         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20143         (guess_time_tm, __mktime_internal): Do not assume that signed
20144         integer overflow wraps around; modern compilers generate code
20145         where this assumption is no longer valid.
20147 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20149         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20150         Replace "jmp L(pseudo_end)" with "ret".
20151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20152         Likewise.
20154 2012-05-23  Andreas Jaeger  <aj@suse.de>
20156         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20157         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20159 2012-05-23  Andreas Jaeger  <aj@suse.de>
20160             Maximilian Attems  <max@stro.at>
20162         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20163         New macros.
20165 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20167         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20168         code so that pseudo_end is just ret and the stack pointer is
20169         correct also for static library in error case.
20171 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20173         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20174         move to syscalls.list.
20175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20180         * manual/install.texi (Running make install): Do not mention Linux
20181         kernel version for which pt_chown is not needed.
20182         (Linux): Do not mention problems with nscd with 2.0 kernels.
20183         * INSTALL: Regenerated.
20185 2012-05-23  Andreas Jaeger  <aj@suse.de>
20187         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20188         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20189         macro.
20190         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20191         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20192         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20193         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20194         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20195         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20196         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20197         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20198         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20199         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20200         * sysdeps/unix/sysv/linux/bits/in.h
20201         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20203 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20205         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20206         (PREPARE_VERSION): Just use assert instead, it will be elided
20207         under [NDEBUG] anyway.
20209 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20211         * sysdeps/unix/sysv/linux/Makefile: Include
20212         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20213         (sysdep_routines): Remove sysctl.
20214         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20215         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20216         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20217         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20218         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20220 2012-05-22  Andreas Jaeger  <aj@suse.de>
20222         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20223         that pseudo_end is just ret and the stack pointer is correct also
20224         for static library in error case.
20226 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20228         [BZ #14122]
20229         * nss/nsswitch.c (defconfig_entries): New variable.
20230         (__nss_database_lookup): Don't leak defconfig entries.
20231         (nss_parse_service_list): Don't leak on error paths.
20232         (free_database_entries): New function.
20233         (free_defconfig): New function.
20234         (free_mem): Move common code to free_database_entries.
20236 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20238         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20239         Add arch_prctl.
20240         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20242         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20243         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20245         New macro.
20246         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20247         (INTERNAL_SYSCALL_TYPES): Likewise.
20248         (LOAD_ARGS_TYPES_[1-6]): Likewise.
20249         (LOAD_REGS_TYPES_[1-6]): Likewise.
20250         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20251         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20253 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20255         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20256         copysignl for GLIBC_2_0.
20257         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20258         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20259         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20260         logbl for GLIBC_2_0.
20261         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20262         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20264 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20266         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20267         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20269         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20270         Use "neg %eax".
20272         * time/mktime.c: Update copyright years.
20274 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20276         mktime: merge comment-quoting-style change from gnulib
20277         * time/mktime.c: Quote 'like this' in comments.
20278         The GNU coding standards suggest that we no longer quote `like this',
20279         as "`" and "'" are typically rendered asymmetrically nowadays.
20280         The typical gnulib style is to quote 'like this' when quoting
20281         code, and "like this" when quoting English.
20283         * time/mktime.c (compile-command): Add "-I.".
20285         mktime: merge mktime-internal.h change from gnulib
20286         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20288         mktime: merge time_r change from gnulib
20289         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20291         mktime: merge DEBUG change from gnulib
20292         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20293         case system <time.h> has a #define.
20295         mktime: merge <sys/types.h> change from gnulib
20296         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20297         since <time.t> is now guaranteed to define time_t.
20299         mktime: merge HAVE_CONFIG_H change from gnulib
20300         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20302 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20305         Use "neg %eax".
20307         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20308         __rlim_t cast.
20309         (struct rusage): Use anonymous union to pad each field to
20310         __syscall_slong_t.
20312 2012-05-21  David S. Miller  <davem@davemloft.net>
20314         * Makefules (o-iterator): Remove .s cases.
20315         (compile-command.s): Delete.
20316         (COMPILE.s): Delete.
20317         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20319 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20321         * configure.in (libc_cv_predef_stack_protector): Only consider
20322         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20323         * configure: Regenerated.
20325 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20327         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20328         New macro.  Use R*LP on int and pointer.
20329         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20330         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20331         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20332         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20334         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20335         [__WORDSIZE_TIME64_COMPAT32] instead of
20336         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20337         (struct utmp): Likewise.
20338         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20339         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20340         Renamed to ...
20341         (__WORDSIZE_TIME64_COMPAT32): This.
20342         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20343         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20344         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20345         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20346         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20347         (__WORDSIZE_TIME64_COMPAT32): New macro.
20349 2012-05-21  Andreas Jaeger  <aj@suse.de>
20351         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20352         only if [SHARED]. Add prototype for __wcschr_ia32.
20354 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20356         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20357         of %rbp unmolested in the jmp_buf while mangling the low bits.
20358         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20359         unmolested high bits of %rbp while demangling the low bits.
20360         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20362 2012-05-21  Andreas Jaeger  <aj@suse.de>
20364         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20365         * sunrpc/svc_simple.c: Use it for registerrpc.
20366         * sunrpc/xcrypt.c: Use it for passwd2des.
20368         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20370 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20372         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20373         Don't define if [__SYSCALL_WORDSIZE != 32].
20374         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20375         New macro.
20377 2012-05-21  Bruno Haible  <bruno@clisp.org>
20378             Andreas Jaeger  <aj@suse.de>
20380         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20381         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20382         inptr and inend for must_buffer_ch.
20383         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20384         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20385         * stdio-common/Makefile (tests): Remove bug15.
20386         (bug15-ENV): Remove macro.
20387         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20388         anymore.
20390 2012-05-19  Andreas Jaeger  <aj@suse.de>
20391             Roland McGrath  <roland@hack.frob.com>
20393         * manual/contrib.texi: Completely rewritten. It contains now an
20394         alphabetical list of contributors and their contributions.
20396 2012-05-21  Richard Henderson  <rth@twiddle.net>
20398         * misc/getauxval.c (__getauxval): Use unsigned long int.
20399         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20400         (getauxval): Use unsigned long int.
20402 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20404         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20406 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20408         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20409         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20410         __alignof__ (long double).
20412 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20416 2012-05-20  Richard Henderson  <rth@twiddle.net>
20418         * misc/getauxval.c: New file.
20419         * misc/sys/auxv.h: New file.
20420         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20421         (routines): Add getauxval.
20422         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20423         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20424         * elf/dl-sysdep.c (_dl_auxv): Remove.
20425         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20426         * elf/dl-support.c (_dl_auxv): New variable.
20427         (_dl_aux_init): Initialize it.
20428         * manual/startup.texi (Auxiliary Vector): New node.
20429         * sysdeps/generic/bits/hwcap.h: New file.
20430         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20431         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20432         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20433         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20434         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20435         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20437         Update.
20438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20441         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20447 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20451 2012-05-19  David S. Miller  <davem@davemloft.net>
20453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20455 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20457         [BZ #14123]
20458         * math/s_ccosh.c: Include <float.h>
20459         (__ccosh): Avoid internal overflow calculating sinh and cosh
20460         values before multiplying by sin and cos values.
20461         * math/s_ccoshf.c: Likewise.
20462         * math/s_ccoshl.c: Likewise.
20463         * math/s_csin.c: Likewise.
20464         * math/s_csinf.c: Likewise.
20465         * math/s_csinl.c: Likewise.
20466         * math/s_csinh.c: Likewise.
20467         * math/s_csinhf.c: Likewise.
20468         * math/s_csinhl.c: Likewise.
20469         * math/libm-test.inc (ccos_test): Add more tests.
20470         (ccosh_test): Likewise.
20471         (csin_test): Likewise.
20472         (csinh_test): Likewise.
20473         * sysdeps/i386/fpu/libm-test-ulps: Update.
20474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20476 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20478         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20479         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20481         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20483 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20485         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20486         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20487         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20488         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20489         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20490         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20491         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20492         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20493         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20494         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20495         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20496         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20497         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20498         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20499         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20500         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20501         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20502         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20503         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20504         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20505         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20506         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20507         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20508         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20509         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20510         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20511         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20512         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20513         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20514         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20515         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20517 2012-05-18  Andreas Jaeger  <aj@suse.de>
20519         * csu/.gitignore: Delete.
20521 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20523         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20524         (timex): Use __syscall_slong_t.
20526 2012-05-18  Andreas Jaeger  <aj@suse.de>
20527             Carlos O'Donell  <carlos_odonell@mentor.com>
20529         * manual/install.texi (Configuring and compiling): Update
20530         description about files modified in the source directory.
20531         * INSTALL: Regenerated.
20533 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20535         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20536         value.  Use "or" to set return value to -1.
20537         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20538         negate return value.
20540 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20542         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20543         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20544         failure if the compiler has Graphite support disabled.
20545         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20546         Likewise.
20547         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20548         CFLAGS-memmove.c): Likewise.
20549         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20550         Likewise.
20552 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20554         * sysdeps/x86_64/x32/_itoa.h: New file.
20556         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20557         getdents system call only if kernel and user dirents have the
20558         same d_ino and d_off.
20560         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20561         LLONG_MAX != LONG_MAX.
20562         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20563         (_fitoa_word): Likewise.
20565         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20566         years.
20567         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20568         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20569         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20571         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20572         include <bits/wordsize.h>.  Check __x86_64__ instead of
20573         __WORDSIZE.
20574         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20575         if __x86_64__ is defined.  Use anonymous union on fpstate.
20577         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20578         anonymous union.
20580 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20582         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20583         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20584         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20585         Refer to _rtld_local_ro instead of _rtld_global_ro.
20586         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20587         Likewise.
20588         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20589         Likewise.
20590         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20591         Likewise.
20592         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20593         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20594         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20596         * sysdeps/powerpc/powerpc32/dl-machine.c
20597         (__elf_machine_runtime_setup) [PROF]: Don't reference
20598         _dl_prof_resolve.
20600 2012-05-18  Andreas Jaeger  <aj@suse.de>
20602         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20603         function only available for GCCs before 3.4 since GCC 3.4
20604         introduced a builtin.
20605         (lrint): Likewise.
20606         (llrintf): Likewise.
20607         (llrint): Likewise.
20608         (fmaxf): Likewise.
20609         (fmax): Likewise.
20610         (fminf): Likewise.
20611         (fmin): Likewise.
20612         (rint): Likewise.
20613         (rintf): Likewise.
20614         (nearbyint): Likewise.
20615         (nearbyintf): Likewise.
20616         (ceil): Likewise.
20617         (ceilf): Likewise.
20618         (floor): Likewise.
20619         (floorf): Likewise.
20621 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20623         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20624         on both fields and cast pointer to __syscall_ulong_t.
20626         * bits/types.h (__fsword_t): New type.
20627         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20628         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20629         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20630         (__FSWORD_T_TYPE): Likewise.
20631         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20632         (__FSWORD_T_TYPE): Likewise.
20633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20634         (__FSWORD_T_TYPE): Likewise.
20635         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20636         (__FSWORD_T_TYPE): Likewise.
20637         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20638         __SWORD_TYPE with __fsword_t.
20639         (statfs64): Likewise.
20641 2012-05-17  David S. Miller  <davem@davemloft.net>
20643         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20645 2012-05-17  Andreas Jaeger  <aj@suse.de>
20647         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20648         warning.
20650 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20652         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20654 2012-05-17  Andreas Jaeger  <aj@suse.de>
20656         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20657         when it is used.
20659 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20661         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20663 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20665         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20666         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20668 2012-05-17  Andreas Jaeger  <aj@suse.de>
20669             Carlos O'Donell  <carlos_odonell@mentor.com>
20671         [BZ #14059]
20672         * sysdeps/x86_64/multiarch/init-arch.h
20673         (bit_YMM_Usable): Rename to...
20674         (bit_AVX_Usable): ... this.
20675         (bit_FMA4_Usable): New macro.
20676         (bit_XMM_state): New macro.
20677         (bit_YMM_state): New macro.
20678         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20679         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20680         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20681         (CPUID_OSXSAVE): New macro.
20682         (CPUID_AVX): New macro.
20683         (CPUID_FMA4): New macro.
20684         (index_YMM_Usable): Rename to...
20685         (index_AVX_Usable): ... this.
20686         (HAS_AVX): Use HAS_ARCH_FEATURE.
20687         (HAS_FMA4): Likewise.
20688         (HAS_YMM_USABLE): Remove.
20689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20690         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20691         are present.
20692         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20693         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20694         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20695         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20696         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20698 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20700         * math/libm-test.c: Support platforms without multiple rounding modes.
20701         * math/bug-nextafter.c: Support platforms without FP exceptions.
20702         * math/bug-nexttoward.c: Likewise.
20703         * math/test-fenv.c: Likewise.
20704         * math/test-misc.c: Likewise.
20705         * stdlib/bug-getcontext.c: Likewise.
20707 2012-05-17  Andreas Jaeger  <aj@suse.de>
20709         * manual/examples/search.c (critter_cmp): Change signature to
20710         avoid warnings.
20711         * manual/string.texi (Collation Functions): Likewise.
20713 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20715         * bits/types.h: Fold copyright years.
20716         * bits/typesizes.h: Likewise.
20717         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20718         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20719         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20720         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20721         * time/time.h: Likewise.
20723 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20725         [BZ #208]
20726         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20727         in instead of returning them.  Return void.
20728         (__libc_mallinfo): Accumulate over all arenas.
20729         (__malloc_stats): Adjust for change in int_mallinfo interface.
20731 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20733         [BZ #10375]
20734         * configure.in (NM): Add AC_CHECK_TOOL for it.
20735         (libc_extra_cflags): New substituted variable.
20736         Check for -fstack-protector being used implicitly.
20737         * configure: Regenerated.
20738         * config.make.in (config-extra-cflags): New variable,
20739         gets @libc_extra_cflags@.
20740         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20742         [BZ #10375]
20743         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20744         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20745         * configure: Regenerated.
20746         * config.make.in (CPPUNDEFS): New substituted variable.
20747         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20748         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20749         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20751 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20753         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20754         (mq_attr): Use __syscall_slong_t.
20756 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20758         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20759         Check __x86_64__ instead of __WORDSIZE.
20760         (_STAT_VER_LINUX): Likewise.
20761         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20762         __syscall_ulong_t and __syscall_slong_t.
20763         (stat64): Likewise.
20765 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20767         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20769 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20771         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20773 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20775         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20776         __syscall_ulong_t.
20778         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20779         include <bits/wordsize.h>.  Check __x86_64__ instead of
20780         __WORDSIZE.
20781         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20782         defined.
20783         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20785         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20786         include <bits/wordsize.h>.  Check __x86_64__ instead of
20787         __WORDSIZE.
20788         (user_regs_struct): Use "__extension__ unsigned long long"
20789         instead of "unsigned long" if __x86_64__ is defined.
20790         (user): Likewise.  Pad after pointer field if __ILP32__ is
20791         defined.
20793 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20795         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20796         versions 5 to 9.
20797         * configure: Regenerated.
20798         * manual/install.texi (texinfo): Increase version requirement to
20799         4.5 or later.
20800         * INSTALL: Regenerated.
20802         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20804 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20806         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20808         * sysdeps/x86_64/x32/ffs.c: New file.
20810         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20811         __syscall_ulong_t.
20812         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20813         defined.  Use __syscall_ulong_t.
20814         (shminfo): Use __syscall_ulong_t.
20815         (shm_info): Likewise.
20817         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20818         __syscall_ulong_t.
20820         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20821         <bits/wordsize.h>.
20822         (msgqnum_t): Use __syscall_ulong_t.
20823         (msglen_t): Likewise.
20824         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20825         __syscall_ulong_t.
20827         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20828         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20830         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20832         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20833         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20835         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20836         __syscall_slong_t.
20838         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20839         include <bits/wordsize.h>.  Check __x86_64__ instead of
20840         __WORDSIZE.
20842         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20843         "unsigned long long int" if __x86_64__ is defined.
20844         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20846         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20847         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20848         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20850         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20851         <stdint.h>.
20852         (GET_PC): Cast to uintptr_t first.
20853         (GET_FRAME): Likewise.
20854         (GET_STACK): Likewise.
20856         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20857         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20858         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20859         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20860         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20861         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20862         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20863         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20864         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20865         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20866         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20867         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20868         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20869         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20870         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20871         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20872         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20873         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20874         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20875         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20876         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20877         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20878         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20879         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20880         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20881         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20882         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20883         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20884         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20886 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20888         * Makerules (+depfiles): Also collect depfiles from .oS in
20889         $(extra-objs).
20890         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20891         .oS, $(libnldbl-routines)).
20893         * Makerules (native-compile-mkdep-flags): Define.
20894         * sunrpc/Makefile (extra-objs): Add $(addprefix
20895         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20896         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20897         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20898         calling $(make-target-directory).
20900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20902         * bits/types.h (__snseconds_t): Removed.
20903         * time/time.h (struct timespec): Replace __snseconds_t with
20904         __syscall_slong_t.
20905         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20906         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20907         Likewise.
20908         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20909         (__SNSECONDS_T_TYPE): Likewise.
20910         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20911         (__SNSECONDS_T_TYPE): Likewise.
20912         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20913         (__SNSECONDS_T_TYPE): Likewise.
20915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20917         * sysdeps/mach/hurd/bits/typesizes.h
20918         (__SYSCALL_SLONG_TYPE): New macro.
20919         (__SYSCALL_ULONG_TYPE): Likewise.
20921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20923         * bits/types.h (__syscall_slong_t): New type.
20924         (__syscall_ulong_t): Likewise.
20926         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20927         (__SYSCALL_ULONG_TYPE): Likewise.
20928         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20929         (__SYSCALL_SLONG_TYPE): Likewise.
20930         (__SYSCALL_ULONG_TYPE): Likewise.
20931         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20932         (__SYSCALL_SLONG_TYPE): Likewise.
20933         (__SYSCALL_ULONG_TYPE): Likewise.
20934         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20935         (__SYSCALL_SLONG_TYPE): Likewise.
20936         (__SYSCALL_ULONG_TYPE): Likewise.
20938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20940         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20941         Add sigaltstack-offsets.sym.
20942         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20943         <sigaltstack-offsets.h>.
20944         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20945         longjmp_msg pointer.
20946         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20947         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20948         signal stack.
20949         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20951 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20953         * elf/stackguard-macros.h: Remove file.
20954         * sysdeps/generic/stackguard-macros.h: New file.
20955         * sysdeps/i386/stackguard-macros.h: Likewise.
20956         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20957         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20958         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20959         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20960         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20961         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20962         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20963         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20964         <elf/stackguard-macros.h>.
20966         [BZ #14109]
20967         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20968         __aligned__ in attribute.
20969         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20970         (gregset_t): Likewise.
20972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20974         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20975         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20976         * sysdeps/x86_64/x32/Implies-after: New file.
20978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20980         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20981         and access return value for _dl_profile_fixup.  Use R10_LP to
20982         load frame size.
20984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20986         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20990         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20991         * sysdeps/x86_64/x32/sysdep.h: New file.
20993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20995         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20996         * sysdeps/x86_64/setjmp.S: Likewise.
20998 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21000         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21001         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21002         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21003         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21004         remove unused global constant.
21006 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21008         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21009         include of <not-cancel.h>.
21011 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21013         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21015 2012-05-15  Jeff Law  <law@redhat.com>
21016             Andreas Jaeger  <aj@suse.de>
21018         [BZ #13594]
21019         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21020         out from...
21021         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21022         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21023         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21024         code changing __hst_map_handle.map.
21026 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21028         * configure.in (sysnames): Look for Implies-before and Implies-after
21029         files.
21030         * configure: Regenerated.
21032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21034         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21035         8-byte data alignment with LP_SIZE alignment.
21037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21039         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21040         into R10_LP.
21042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21044         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21048         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21049         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21050         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21051         Likewise.
21052         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21056         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21057         (stackinfo_sub_sp): Likewise.
21059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21061         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21062         RAX_LP.
21064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21066         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21067         into R*_LP.
21069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21071         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21072         sizes into R*_LP.
21074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21076         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21080         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21081         into R11_LP and load __x86_64_shared_cache_size_half into
21082         R8_LP.
21084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21086         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21087         R8_LP.
21089 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21091         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21092         logb for POWER7.
21093         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21094         logbf for POWER7.
21095         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21096         logbl for POWER7.
21097         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21098         powerpc32/power7/fpu/s_logb.c via #include.
21099         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21100         powerpc32/power7/fpu/s_logbf.c via #include.
21101         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21102         powerpc32/power7/fpu/s_logbl.c via #include.
21104 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21106         * README.libm: Remove file.
21108 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21110         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21111         count for x32.  Use R*_LP and omit operand-size suffix.
21113 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21115         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21116         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21117         * sysdeps/x86_64/x32/shlib-versions: New file.
21119 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21121         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21122         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21123         Use _dl_fatal_printf instead.
21125 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21127         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21128         set if not set by the user.  Do not allow for being unset.
21129         * sysdeps/unix/sysv/linux/configure: Regenerated.
21131 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21133         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21134         the `q' suffix from lea and replace .quad with ASM_ADDR.
21136 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21139         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21140         instead of $17.
21141         (PTR_DEMANGLE): Likewise.
21143 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21145         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21146         (LP_OP): Likewise.
21147         (ASM_ADDR): Likewise.
21148         (RAX_LP): Likewise.
21149         (RBP_LP): Likewise.
21150         (RBX_LP): Likewise.
21151         (RCX_LP): Likewise.
21152         (RDI_LP): Likewise.
21153         (RSI_LP): Likewise.
21154         (RSP_LP): Likewise.
21155         (R8_LP): Likewise.
21156         (R9_LP): Likewise.
21157         (R10_LP): Likewise.
21158         (R10_LP): Likewise.
21159         (R11_LP): Likewise.
21160         (R12_LP): Likewise.
21161         (R13_LP): Likewise.
21162         (R14_LP): Likewise.
21163         (R15_LP): Likewise.
21165 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21167         * sysdeps/x86_64/x32/dl-machine.h: New file.
21169 2012-05-14  Andreas Jaeger  <aj@suse.de>
21171         * manual/Makefile (subdir): Remove export of subdir.
21172         (all): Remove target.
21173         (.PHONY): Remove all from list.
21174         (mkinstalldirs): Remove.
21175         (.PHONY): Remove installdirs from list.
21176         ($(inst_infodir)/libc.info): Use make-target-directory.
21177         (installdirs): Remove.
21178         (subdir_%): Remove.
21179         (glibc-targets): Remove.
21180         (lib): Remove.
21181         (stubs): Remove.
21182         ($(objpfx)stubs ../po/manual.pot): Remove.
21183         ($(objpfx)stamp%): Remove.
21184         (make-target-directory): Remove.
21185         (subdir_install): Remove.
21186         (routines): Remove.
21187         (aux): Remove.
21188         (sources): Remove.
21189         (objects): Remove.
21190         (headers): Remove.
21192         [BZ #13750]
21193         * manual/.gitignore: Remove, it's not needed anymore.
21194         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21195         all files in it.
21196         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21197         directory.
21198         (texis): Renamed to $(objpfx)texis.
21199         (texis-path): New, contains path to generated files.
21200         (chapters.%): Use texis-path for complete path, add extra argument
21201         libc-texinfo.sh.
21202         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21203         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21204         (summary,texi, stamp-summary): Use complete path of
21205         files. Generate files in build dir.
21206         (dir-add.texi): Build in build dir.
21207         (libm-err.texi,stamp-libm-err): Likewise.
21208         (version.texi, stamp-version): Likewise.
21209         (.%c.texi): Likewise.
21210         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21211         (mostlyclean): Remove target.
21212         (realclean): Remove target.
21213         (generated): Add new variable with contents from mostlyclean and
21214         realclean, remove entries duplicated in common-mostlyclean, add
21215         stamp-libm-err and stamp-version.
21216         (generated-dirs): Add libc directory.
21217         ($(inst_infodir)/libc.info): Install files from build dir.
21219         * manual/install.texi (Configuring and compiling): Adjust since
21220         the info files are not part of the tar ball anymore.
21222 2012-05-14  Andreas Jaeger  <aj@suse.de>
21224         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21225         variable.
21227 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21229         [BZ #13717]
21230         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21231         to 2.2.0 where earlier.
21232         * sysdeps/unix/sysv/linux/configure: Regenerated.
21233         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21234         Remove conditional code.
21235         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21236         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21237         Remove conditional code.
21238         [!__NR_lchown]: Likewise.
21239         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21240         [__NR_lchown]: Likewise.
21241         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21242         comment referencing __ASSUME_LCHOWN_SYSCALL.
21243         * sysdeps/unix/sysv/linux/i386/sigaction.c
21244         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21245         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21246         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21247         Remove conditional code.
21248         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21249         (__protocol_available): Remove #if 0 code.
21250         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21251         conditional code.
21252         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21253         * sysdeps/unix/sysv/linux/kernel-features.h
21254         (__ASSUME_GETCWD_SYSCALL): Don't define.
21255         (__ASSUME_REALTIME_SIGNALS): Likewise.
21256         (__ASSUME_PREAD_SYSCALL): Likewise.
21257         (__ASSUME_PWRITE_SYSCALL): Likewise.
21258         (__ASSUME_POLL_SYSCALL): Likewise.
21259         (__ASSUME_LCHOWN_SYSCALL): Likewise.
21260         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21261         non-SPARC.
21262         (__ASSUME_SIOCGIFNAME): Don't define.
21263         (__ASSUME_MSG_NOSIGNAL): Likewise.
21264         (__ASSUME_SENDFILE): Define unconditionally.
21265         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21266         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21267         conditional code.
21268         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21269         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21270         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21271         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21272         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21273         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21274         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21276         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21277         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21279         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21280         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21282         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21283         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21285         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21286         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21288         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21289         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21291         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21292         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21294         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21295         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21297         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21298         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21299         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21300         Remove conditional code.
21301         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21302         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21303         Remove conditional code.
21304         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21305         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21306         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21307         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21308         Remove conditional code.
21309         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21310         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21311         Remove conditional code.
21312         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21313         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21314         Remove conditional code.
21315         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21316         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21317         Remove conditional code.
21318         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21319         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21320         Remove conditional code.
21321         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21322         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21323         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21324         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21325         * sysdeps/unix/sysv/linux/sigaction.c
21326         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21327         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21328         * sysdeps/unix/sysv/linux/sigpending.c
21329         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21330         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21331         * sysdeps/unix/sysv/linux/sigprocmask.c
21332         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21333         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21334         * sysdeps/unix/sysv/linux/sigsuspend.c
21335         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21336         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21337         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21338         (__libc_missing_rt_sigs): Remove.
21339         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21340         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21341         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21342         Remove conditional code.
21343         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21344         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21345         return 1.
21346         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21347         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21348         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21349         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21351 2012-05-14  Andreas Jaeger  <aj@suse.de>
21353         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21354         it's not used in glibc.
21355         (__coshm1): Likewise.
21356         (__acosh1p): Likewise.
21357         (__sgn): Likewise.
21359         * manual/string.texi (Copying and Concatenation): Add missing
21360         variable in concat example.
21361         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21363 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21365         [BZ #14103]
21366         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21367         __builtin_clzl with __builtin_clzll.
21369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21371         [BZ #14104]
21372         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21373         libc_freeres_ptr.
21375 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21377         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21378         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21379         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21380         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21382 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21384         * NEWS: Update ia64 info.
21386 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21388         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21389         used as bcopy.
21391 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21393         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21394         * sysdeps/unix/syscalls.list (dup3): Likewise.
21395         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21396         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21398 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21400         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21401         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21403 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21405         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21406         thread pointer.
21407         (TLS_IE): Use mov/add instead of movq/addq to load thread
21408         pointer.
21409         (TLS_GD_PREFIX): New.
21410         (TLS_GD): Use it.
21412 2012-05-11  David S. Miller  <davem@davemloft.net>
21414         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21415         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21416         (_FPU_SETCW): Likewise.
21418 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21420         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21421         is 32-byte aligned.
21423 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21425         [BZ #11837]
21426         * iconvdata/gb18030.c: Update tables.
21427         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21428         characters specially.
21429         (BODY for TO_LOOP): Add encoding of missing ranges.
21431 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21433         [BZ #13673]
21434         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21435         * sysdeps/mach/hurd/dup3.c: Likewise.
21436         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21437         * sysdeps/powerpc/memmove.c:: Likewise.
21439 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21441         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21442         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21444 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21446         * elf/elf.h (R_X86_64_RELATIVE64): New.
21447         (R_X86_64_NUM): Updated.
21448         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21449         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21450         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21451         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21452         tst-quad1pie tst-quad2pie
21453         (modules-names): Add tst-quadmod1 tst-quadmod2.
21454         ($(objpfx)tst-quad1): New dependency.
21455         ($(objpfx)tst-quad2): Likewise.
21456         ($(objpfx)tst-quad1pie): Likewise.
21457         ($(objpfx)tst-quad2pie): Likewise.
21458         * sysdeps/x86_64/tst-quad1.c: New file.
21459         * sysdeps/x86_64/tst-quad1pie.c: New file.
21460         * sysdeps/x86_64/tst-quad2.c: Likewise.
21461         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21462         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21463         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21464         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21465         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21469         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21470         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21471         * streams/stropts.h (t_scalar_t): Define type.
21473         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21474         (_PATH_PRESERVE): Set to "/var/lib".
21475         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21477         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21478         instead of int.
21480         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21481         if __dir_mkfile succeeded.
21483         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21484         checking for _hurd_dtablesize.  Unlock it right after having
21485         finished _hurd_dtable allocation.
21487 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21489         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21490         * sysdeps/mach/hurd/configure: Regenerated.
21491         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21492         special-casing to...
21493         * sysdeps/gnu/configure.in: ... this new file.
21494         * sysdeps/unix/sysv/linux/configure: Regenerated.
21495         * sysdeps/gnu/configure: New generated file.
21497         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21498         for Linux: use nsec instead of usec, as well as:
21499         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21500         members of type struct timespec.
21501         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21502         New macros.
21503         (struct stat64): Likewise.
21504         (_STATBUF_ST_NSEC): New macro.
21505         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21507         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21508         __strtoul_internal rather than strtoul.
21510 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21512         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21513         and reject them.
21515 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21517         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21518         which preserves existing values.
21519         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21521 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21523         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21524         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21525         greater than FD_SETSIZE.
21527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21529         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21530         allocated, call __vm_protect to finish enabling the existing space, and
21531         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21532         allocate the remainder.
21534 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21536         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21537         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21541         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21542         sysdeps/mach/hurd/readlink.c.
21544         * posix/tst-sysconf.c (posix_options): Only use
21545         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21546         _POSIX_SYNCHRONIZED_IO when they are defined
21547         * sysdeps/mach/hurd/bits/posix_opt.h:
21548         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21549         (_XOPEN_REALTIME): Undefine macro.
21550         (_XOPEN_REALTIME_THREADS): Undefine macro.
21551         (_XOPEN_SHM): Undefine macro.
21552         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21553         macro to -1.
21554         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21555         macro to -1.
21556         (_POSIX_ASYNC_IO): Undefine macro.
21557         (_POSIX_PRIORITIZED_IO): Undefine macro.
21558         (_POSIX_SPIN_LOCKS): Define macro to -1.
21560         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21561         SA_NODEFER, SA_RESETHAND.
21562         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21563         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21564         F_DUPFD_CLOEXEC.
21566 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21568         * elf/Makefile (pldd-modules): Define unconditionally.
21570 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21572         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21574 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21576         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21577         Return ENOENT when name is empty.
21578         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21582         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21584         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21586 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21588         Fix mlock in all cases except non-readable pages.
21589         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21590         instead of VM_PROT_ALL as parameter to __vm_wire function.
21592         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21593         (__mkdir): When path is `/', just fail with EEXIST.
21594         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21598         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21599         <sys/uio.h> (for writev).
21600         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21601         and <sys/param.h> (for MIN).
21603 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21605         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21606         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21607         if interrupted.
21609 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21611         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21612         Depend on against $(link-rpcuserlibs).
21614 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21616         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21617         (__libc_stack_end): Do not use attribute_relro.
21618         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21619         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21620         to libthread-provided value.
21621         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21622         attribute_relro.
21624 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21626         [BZ #3748]
21627         * bits/libc-lock.h (__libc_once_get): New macro.
21628         * sysdeps/mach/bits/libc-lock.h: Likewise.
21629         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21630         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21631         instead of using implementation details.
21633         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21634         * libio/freopen.c: Likewise.
21635         * libio/freopen64.c: Likewise.
21636         * misc/syslog.c: Likewise.
21637         * nscd/connections.c: Likewise.
21638         * nscd/netgroupcache.c: Likewise.
21639         * sysdeps/posix/getcwd.c: Likewise.
21641 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21643         * math/w_ilogbf.c: Add #include <limits.h>.
21645 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21647         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21648         path instead of returning without unlocking.
21650         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21651         immediate-write ioctls.
21652         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21654 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21656         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21657         __builtin_frame_address instead of making assumptions about the
21658         location of the return address relative to DATA.  Force early load of
21659         the return address.
21660         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21661         __builtin_frame_address.
21663         dup3 for GNU Hurd.
21664         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21665         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21666         implement dup3 and do some further code clean-ups.
21667         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21668         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21672         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21674         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21675         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21676         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21677         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21678         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21679         d->port.lock.
21681         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21682         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21683         when handler == SIG_ERR, not when handler != SIG_ERR.
21685 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21687         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21688         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21689         definitions.
21691         accept4 for GNU Hurd.
21692         * include/sys/socket.h (__libc_accept4): New prototype.
21693         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21694         to implement __libc_accept4.
21695         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21696         __libc_accept4.
21697         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21699         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21700         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21701         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21702         signal-defines.sym.
21704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21706         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21708 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21710         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21711         assertion on O_CLOEXEC flag.
21712         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21713         * hurd/intern-fd.c: Likewise.
21714         * hurd/port2fd.c: Likewise.
21716 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21718         [BZ #3906]
21719         * bits/in.h (IPV6_PKTINFO): Define new macro.
21720         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21722 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21724         [BZ #13954]
21725         [BZ #13955]
21726         [BZ #13956]
21727         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21728         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21729         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21730         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21731         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21732         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21733         * math/libm-test.inc (logb_test) : Additional logb tests.
21735 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21736             Andreas Jaeger  <aj@suse.de>
21738         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21739         * configure: Regenerated.
21740         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21741         * config.make.in (link-obsolete-rpc): New substituted variable.
21742         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21743         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21744         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21745         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21746         so that libc.a contains the symbols.
21747         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21748         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21749         * sunrpc/auth_none.c: Likewise.
21750         * sunrpc/auth_unix.c: Likewise.
21751         * sunrpc/authdes_prot.c: Likewise.
21752         * sunrpc/authuxprot.c: Likewise.
21753         * sunrpc/clnt_gen.c: Likewise.
21754         * sunrpc/clnt_perr.c: Likewise.
21755         * sunrpc/clnt_raw.c: Likewise.
21756         * sunrpc/clnt_simp.c: Likewise.
21757         * sunrpc/clnt_tcp.c: Likewise.
21758         * sunrpc/clnt_udp.c: Likewise.
21759         * sunrpc/clnt_unix.c: Likewise.
21760         * sunrpc/des_crypt.c: Likewise.
21761         * sunrpc/des_soft.c: Likewise.
21762         * sunrpc/get_myaddr.c: Likewise.
21763         * sunrpc/key_call.c: Likewise.
21764         * sunrpc/key_prot.c: Likewise.
21765         * sunrpc/netname.c: Likewise.
21766         * sunrpc/pm_getmaps.c: Likewise.
21767         * sunrpc/pm_getport.c: Likewise.
21768         * sunrpc/pmap_clnt.c: Likewise.
21769         * sunrpc/pmap_prot.c: Likewise.
21770         * sunrpc/pmap_prot2.c: Likewise.
21771         * sunrpc/pmap_rmt.c: Likewise.
21772         * sunrpc/publickey.c: Likewise.
21773         * sunrpc/rpc_cmsg.c: Likewise.
21774         * sunrpc/rpc_common.c: Likewise.
21775         * sunrpc/rpc_dtable.c: Likewise.
21776         * sunrpc/rpc_prot.c: Likewise.
21777         * sunrpc/rpc_thread.c: Likewise.
21778         * sunrpc/rtime.c: Likewise.
21779         * sunrpc/svc.c: Likewise.
21780         * sunrpc/svc_auth.c: Likewise.
21781         * sunrpc/svc_raw.c: Likewise.
21782         * sunrpc/svc_run.c: Likewise.
21783         * sunrpc/svc_tcp.c: Likewise.
21784         * sunrpc/svc_udp.c: Likewise.
21785         * sunrpc/svc_unix.c: Likewise.
21786         * sunrpc/svcauth_des.c: Likewise.
21787         * sunrpc/xcrypt.c: Likewise.
21788         * sunrpc/xdr.c: Likewise.
21789         * sunrpc/xdr_array.c: Likewise.
21790         * sunrpc/xdr_float.c: Likewise.
21791         * sunrpc/xdr_intXX_t.c: Likewise.
21792         * sunrpc/xdr_mem.c: Likewise.
21793         * sunrpc/xdr_rec.c: Likewise.
21794         * sunrpc/xdr_ref.c: Likewise.
21795         * sunrpc/xdr_sizeof.c: Likewise.
21796         * sunrpc/xdr_stdio.c: Likewise.
21798 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21800         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21801         change.  Update copyright years.
21803 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21805         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21807 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21808             Joseph Myers  <joseph@codesourcery.com>
21809             Paul Pluzhnikov  <ppluzhnikov@google.com>
21811         [BZ #14012]
21812         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21813         requiring rpcgen.
21814         [cross-compiling] (extra-libs): Likewise.
21815         [cross-compiling] (extra-libs-others): Likewise.
21816         [cross-compiling] (librpcsvc-routines): Likewise.
21817         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21818         [cross-compiling] (omit-deps): Likewise.
21819         (sunrpc-CPPFLAGS): New variable.
21820         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21821         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21822         (cross-rpcgen-objs): New variable.
21823         (extra-objs): Append $(cross-rpcgen-objs).
21824         ($(cross-rpcgen-objs)): New rule.
21825         ($(objpfx)cross-rpcgen): Likewise.
21826         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21827         comment.
21828         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21829         ($(objpfx)x%.stmp): Likewise.
21830         * sunrpc/proto.h [IS_IN_build] (_): Define.
21831         [IS_IN_build] (_libc_intl_domainname): Likewise.
21833 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21835         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21836         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21837         and R_X86_64_TPOFF64.
21839 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21841         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21842         sysdeps/unix/sysv/syscalls.list.
21843         (stime): Likewise.
21844         (utime): Likewise.
21845         * sysdeps/unix/sysv/syscalls.list: Remove file.
21847 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21849         [BZ #3440]
21850         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21851         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21852         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21853         (__LC_IDENTIFICATION): Make these macros useful in #if
21854         expressions, as required by C99.
21856 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21858         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21859         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21860         after this.
21862 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21864         * stdlib/longlong.h: Updated from GCC.
21866 2012-05-09  Andreas Jaeger  <aj@suse.de>
21868         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21869         default is first entry.
21870         (run_mode): Set type.
21871         (main): Remove informal message about syslog.
21872         (options): Fix typo.
21874         [BZ #14053]
21875         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21876         to asm.
21877         (lrint): Likewise.
21878         (llrintf): Likewise.
21879         (llrint): Likewise.
21880         (rint): Likewise.
21881         (rintf): Likewise.
21882         (nearbyint): Likewise.
21883         (nearbyintf): Likewise.
21885 2012-05-09  Andreas Jaeger  <aj@suse.de>
21886             Pedro Alves  <palves@redhat.com>
21888         * nscd/nscd.c (run_mode): Use enum.
21889         (main): Cleanup coding style issue.
21891 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21892             Andreas Jaeger  <aj@suse.de>
21894         * nscd/nscd.c (go_background): Replaced with...
21895         (run_mode): ... this.
21896         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21897         (options): Add -F --foreground.
21898         (main): Implement it.
21899         (parse_opt): Parse it.
21901 2012-05-09  Andreas Jaeger  <aj@suse.de>
21903         [BZ #14083]
21904         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21905         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21906         -Wconversion warning.
21907         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21908         Likewise.
21910 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21912         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21913         == 0.
21914         (LC_ALL): Use macro-int-constant.
21915         (LC_COLLATE): Likewise.
21916         (LC_CTYPE): Likewise.
21917         (LC_MESSAGES): Likewise.
21918         (LC_MONETARY): Likewise.
21919         (LC_NUMERIC): Likewise.
21920         (LC_TIME): Likewise.
21921         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21922         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21923         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21924         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21925         Specify type.
21926         [C99-based standards] (float_t): Expect type.
21927         [C99-based standards] (double_t): Expect type.
21928         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21929         type.
21930         [C99-based standards] (HUGE_VALL): Likewise.
21931         [C99-based standards] (INFINITY): Likewise.
21932         [C99-based standards] (NAN): Likewise.
21933         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21934         [C99-based standards] (FP_NAN): Likewise.
21935         [C99-based standards] (FP_NORMAL): Likewise.
21936         [C99-based standards] (FP_SUBNORMAL): Likewise.
21937         [C99-based standards] (FP_ZERO): Likewise.
21938         [C99-based standards] (FP_FAST_FMA): Use
21939         optional-macro-int-constant.  Specify type.  Require == 1.
21940         [C99-based standards] (FP_FAST_FMAF): Likewise.
21941         [C99-based standards] (FP_FAST_FMAL): Likewise.
21942         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21943         [C99-based standards] (FP_ILOGBNAN): Likewise.
21944         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21945         Specify type.
21946         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21947         [C99-based standards] (math_errhandling): Specify type.
21948         [ISO99 || ISO11] (signgam): Do not allow.
21949         [non-C99-based standards] (copysignf): Do not allow.
21950         [non-C99-based standards] (exp2f): Likewise.
21951         [non-C99-based standards] (log2f): Likewise.
21952         [non-C99-based standards] (modff): Allow.
21953         [non-C99-based standards] (erff): Do not allow.
21954         [non-C99-based standards] (erfcf): Likewise.
21955         [non-C99-based standards] (gammaf): Likewise.
21956         [non-C99-based standards] (hypotf): Likewise.
21957         [non-C99-based standards] (j0f): Likewise.
21958         [non-C99-based standards] (j1f): Likewise.
21959         [non-C99-based standards] (jnf): Likewise.
21960         [non-C99-based standards] (lgammaf): Likewise.
21961         [non-C99-based standards] (tgammaf): Likewise.
21962         [non-C99-based standards] (y0f): Likewise.
21963         [non-C99-based standards] (y1f): Likewise.
21964         [non-C99-based standards] (ynf): Likewise.
21965         [non-C99-based standards] (isnanf): Likewise.
21966         [non-C99-based standards] (acoshf): Likewise.
21967         [non-C99-based standards] (asinhf): Likewise.
21968         [non-C99-based standards] (atanhf): Likewise.
21969         [non-C99-based standards] (cbrtf): Likewise.
21970         [non-C99-based standards] (expm1f): Likewise.
21971         [non-C99-based standards] (ilogbf): Likewise.
21972         [non-C99-based standards] (log1pf): Likewise.
21973         [non-C99-based standards] (logbf): Likewise.
21974         [non-C99-based standards] (nextafterf): Likewise.
21975         [non-C99-based standards] (remainderf): Likewise.
21976         [non-C99-based standards] (rintf): Likewise.
21977         [non-C99-based standards] (scalbf): Likewise.
21978         [non-C99-based standards] (copysignl): Likewise.
21979         [non-C99-based standards] (exp2l): Likewise.
21980         [non-C99-based standards] (log2l): Likewise.
21981         [non-C99-based standards] (modfl): Allow.
21982         [non-C99-based standards] (erfl): Do not allow.
21983         [non-C99-based standards] (erfcl): Likewise.
21984         [non-C99-based standards] (gammal): Likewise.
21985         [non-C99-based standards] (hypotl): Likewise.
21986         [non-C99-based standards] (j0l): Likewise.
21987         [non-C99-based standards] (j1l): Likewise.
21988         [non-C99-based standards] (jnl): Likewise.
21989         [non-C99-based standards] (lgammal): Likewise.
21990         [non-C99-based standards] (tgammal): Likewise.
21991         [non-C99-based standards] (y0l): Likewise.
21992         [non-C99-based standards] (y1l): Likewise.
21993         [non-C99-based standards] (ynl): Likewise.
21994         [non-C99-based standards] (isnanl): Likewise.
21995         [non-C99-based standards] (acoshl): Likewise.
21996         [non-C99-based standards] (asinhl): Likewise.
21997         [non-C99-based standards] (atanhl): Likewise.
21998         [non-C99-based standards] (cbrtl): Likewise.
21999         [non-C99-based standards] (expm1l): Likewise.
22000         [non-C99-based standards] (ilogbl): Likewise.
22001         [non-C99-based standards] (log1pl): Likewise.
22002         [non-C99-based standards] (logbl): Likewise.
22003         [non-C99-based standards] (nextafterl): Likewise.
22004         [non-C99-based standards] (remainderl): Likewise.
22005         [non-C99-based standards] (rintl): Likewise.
22006         [non-C99-based standards] (scalbl): Likewise.
22007         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22008         [non-C99-based standards] (FP_*): Do not allow.
22009         [C99-based standards] (FP_*): Change to
22010         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22011         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22012         allow.
22013         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22014         (SIG_ERR): Likewise.
22015         [X/Open-based standards] (SIG_HOLD): Likewise.
22016         (SIG_IGN): Likewise.
22017         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22018         positive value.
22019         (SIGFPE): Likewise.
22020         (SIGILL): Likewise.
22021         (SIGINT): Likewise.
22022         (SIGSEGV): Likewise.
22023         (SIGTER): Likewise.
22024         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22025         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22026         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22027         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22028         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22029         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22030         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22031         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22032         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22033         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22034         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22035         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22036         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22037         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22038         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22039         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22040         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22041         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22042         [X/Open-based standards] (SIGTRAP): Likewise.
22043         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22044         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22045         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22046         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22047         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22048         allow.
22050 2012-05-08  Ian Wienand  <ianw@vmware.com>
22052         [BZ #14080]
22053         * time/tzset.c (__tzset_parse_tz): Update default rules for
22054         daylight time changes in the Energy Policy Act of 2005.
22056 2012-05-09  Andreas Jaeger  <aj@suse.de>
22058         [BZ #13983]
22059         * elf/ldconfig.c (parse_conf): Change string to make clear that
22060         ldconfig only issued a warning if ld.so.conf does not exist.
22062 2012-05-08  David S. Miller  <davem@davemloft.net>
22064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22065         movxtod instead of popping the value on the stack.
22067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22069 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22071         * config.h.in: Add HAVE_ARM_PCS_VFP.
22073 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22075         [BZ #13979]
22076         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22077         checking but the checks are disabled for any reason.
22079 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22081         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22082         and ELF64_R_TYPE with ELFW(R_TYPE).
22084 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22086         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22087         (ulimit): Likewise.
22089         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22090         (settimeofday): Likewise.
22092 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22094         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22095         a struct th_u2 inside the union, and move tu_block/tu_code into
22096         a new th_u3 union of tu_block/tu_code inside of that.  Move
22097         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22098         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22099         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22100         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22101         (th_stuff): Change to th_u1.tu_stuff.
22102         (th_data): Define.
22103         (th_msg): Change to th_u1.th_u2.tu_data.
22105 2012-05-07  David S. Miller  <davem@davemloft.net>
22107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22109         [BZ #14074]
22110         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22111         (SETUP_PIC_REG): Use it.
22112         (SETUP_PIC_REG_LEAF): Use it.
22114 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22116         [BZ #13885]
22117         [BZ #13923]
22118         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22119         USE_AS_EXPM1L.
22120         (EXPL_FINITE): Likewise.
22121         (FLDLOG): Likewise.
22122         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22123         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22124         e_expl.S.
22125         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22126         USE_AS_EXPM1L.
22127         (EXPL_FINITE): Likewise.
22128         (FLDLOG): Likewise.
22129         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22130         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22131         e_expl.S.
22132         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22133         test of -max_value argument for long double.
22134         * sysdeps/i386/fpu/libm-test-ulps: Update.
22135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22137 2012-05-06  David S. Miller  <davem@davemloft.net>
22139         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22140         quad soft-float symbols whose references which are compiler
22141         generated.
22142         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22144 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22146         [BZ #13884]
22147         [BZ #13914]
22148         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22149         USE_AS_EXP10L.
22150         (EXPL_FINITE): Likewise.
22151         (FLDLOG): Likewise.
22152         (c0): Likewise.
22153         (c1): Likewise.
22154         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22155         Adjust comments for base varying.
22156         (__expl_finite): Change alias to EXPL_FINITE.
22157         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22158         e_expl.S.
22159         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22160         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22161         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22162         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22163         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22164         USE_AS_EXP10L.
22165         (EXPL_FINITE): Likewise.
22166         (FLDLOG): Likewise.
22167         (c0): Likewise.
22168         (c1): Likewise.
22169         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22170         Adjust comments for base varying.
22171         (__expl_finite): Change alias to EXPL_FINITE.
22172         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22173         tests for bugs.
22174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22176         [BZ #14064]
22177         * math/libm-test.inc (check_float_internal): Correct ulp
22178         calculation for subnormal expected results.
22180 2012-05-06  Andreas Jaeger  <aj@suse.de>
22182         * Makeconfig (+math-flags): New, set to -frounding-math.
22183         (+cflags): Add +math-flags so that all of glibc gets compiled with
22184         it.
22186         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22188 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22190         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22191         Disable one test.
22193         [BZ #13787]
22194         [BZ #13922]
22195         [BZ #14036]
22196         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22197         (__ieee754_expl): Allow for and saturate large arguments.
22198         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22199         (u_threshold): Likewise.
22200         (__exp): Call __ieee754_exp before checking for overflow and
22201         underflow.
22202         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22203         (u_threshold): Likewise.
22204         (__expf): Call __ieee754_expf before checking for overflow and
22205         underflow.
22206         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22207         (u_threshold): Likewise.
22208         (__expl): Call __ieee754_expl before checking for overflow and
22209         underflow.
22210         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22211         (__ieee754_expl): Allow for and saturate large arguments.
22212         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22213         missing overflow exception on overflow.
22214         (expm1_test): Do not allow missing overflow exception on overflow.
22216         * sysdeps/i386/fpu/e_expl.c: Move to ...
22217         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22218         rather than using inline asm.
22219         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22220         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22221         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22223         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22224         (nice): Likewise.
22225         (poll): Likewise.
22226         (signal): Likewise.
22227         (time): Likewise.
22228         (times): Likewise.
22230 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22232         * sysdeps/unix/syscalls.list (adjtime): Add entry from
22233         sysdeps/unix/common/syscalls.list.
22234         (fchmod): Likewise.
22235         (fchown): Likewise.
22236         (ftruncate): Likewise.
22237         (getrusage): Likewise.
22238         (gettimeofday): Likewise.
22239         (setpgid): Likewise.
22240         (setregid): Likewise.
22241         (setreuid): Likewise.
22242         (sigaction): Likewise.
22243         (truncate): Likewise.
22244         (vhangup): Likewise.
22245         * sysdeps/unix/common/syscalls.list: Remove file.
22246         * sysdeps/unix/bsd/Implies: Don't include unix/common.
22247         * sysdeps/unix/sysv/linux/Implies: Likewise.
22249 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
22251         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22253         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22254         Moved to ...
22255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22256         Here.
22257         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22258         to ...
22259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22260         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22261         to ...
22262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22263         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22264         to ...
22265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22266         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22267         to ...
22268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22269         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22270         to ...
22271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22272         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22273         to ...
22274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22275         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22276         to ...
22277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22278         Here.
22279         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22280         to ...
22281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22282         Here.
22283         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22284         to ...
22285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22286         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22287         Moved to ...
22288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22289         Here.
22290         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22291         to ...
22292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22294 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22296         * sysdeps/unix/common/bits/dirent.h: Remove file.
22297         * sysdeps/unix/common/bits/fcntl.h: Likewise.
22299         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22300         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22301         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22302         * sysdeps/unix/bsd/isatty.c: Likewise.
22303         * sysdeps/unix/bsd/tcdrain.c: Likewise.
22304         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22305         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22307 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22309         [BZ #13563]
22310         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22311         long double comparison inaccuracies.
22312         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22315 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22317         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22318         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22320 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22322         [BZ #14049]
22323         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22324         nonzero digits before rounding a hex value.
22325         * stdlib/tst-strtod.c (tests): Add another test.
22327 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22329         * sysdeps/s390/fpu/libm-test-ulps: Update.
22331 2012-05-03  Andreas Jaeger  <aj@suse.de>
22333         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22334         does not get optimized out.
22335         (malloc_opt_barrier): New.
22337 2012-05-03  Andreas Jaeger  <aj@suse.de>
22338             Roland McGrath  <roland@hack.frob.com>
22340         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22341         intermediate file deletion.
22342         (generated): Add .symlist files.
22344 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22346         [BZ #13775]
22347         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22348         Redirect under this condition.
22349         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22350         [__USE_GNU] (__dprintf_chk): Not under this condition.
22351         [__USE_GNU] (__vdprintf_chk): Likewise.
22352         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22353         under this condition.
22354         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22355         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22356         [__USE_XOPEN2K8] (vdprintf): Likewise.
22357         [__USE_GNU] (__dprintf_chk): Not under this condition.
22358         [__USE_GNU] (__vdprintf_chk): Likewise.
22359         [__USE_GNU] (dprintf): Likewise.
22360         [__USE_GNU] (vdprintf): Likewise.
22362 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22364         * elf/Makefile (common-generated): Set this instead of generated for
22365         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22366         $(all-built-dso)-derived lists.
22368 2012-05-03  Andreas Jaeger  <aj@suse.de>
22370         * sysdeps/i386/fpu/libm-test-ulps: Update.
22372         * FAQ: Removed.
22373         * FAQ.in: Likewise.
22374         * scripts/gen-FAQ.pl: Likewise.
22375         * manual/install.texi (Installation): Point to online location of
22376         FAQ.
22377         * Makefile (files-for-dist): Remove FAQ.
22378         (FAQ): Remove.
22380 2012-05-02  Allan McRae  <allan@archlinux.org>
22382         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22383         (LDFLAGS-reldepmod5.so): Likewise.
22384         (LDFLAGS-reldep6mod1.so): Likewise.
22385         (LDFLAGS-reldep6mod4.so): Likewise.
22386         (LDFLAGS-reldep8mod3.so): Likewise.
22387         (LDFLAGS-unload4mod1.so): Likewise.
22388         (LDFLAGS-unload4mod2.so): Likewise.
22389         (LDFLAGS-tst-initorder): Likewise.
22390         (LDFLAGS-tst-initordera2.so): Likewise.
22391         (LDFLAGS-tst-initordera3.so): Likewise.
22392         (LDFLAGS-tst-initordera4.so): Likewise.
22393         (LDFLAGS-tst-initorderb2.so): Likewise.
22394         (LDFLAGS-noload): Likewise.
22395         (LDFLAGS-next): Likewise.
22396         (LDFLAGS-order2mod1.so): Likewise.
22397         (LDFLAGS-order2mod2.so): Likewise.
22398         (LDFLAGS-tst-initorder2): Likewise.
22399         (LDFLAGS-tst-initorder2a.so): Likewise.
22400         (LDFLAGS-tst-initorder2b.so): Likewise.
22401         (LDFLAGS-tst-initorder2c.so): Likewise.
22402         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22404 2012-05-02  David S. Miller  <davem@davemloft.net>
22406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22408 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22410         [BZ #14055]
22411         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22413 2012-05-02  Andreas Jaeger  <aj@suse.de>
22415         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22416         since we manipulate rounding mode.
22417         (CPPFLAGS-test-idouble.c): Likewise.
22418         (CPPFLAGS-test-ifloat.c): Likewise.
22419         (CFLAGS-test-ldouble.c): Likewise.
22420         (CFLAGS-test-double.c): Likewise.
22421         (CFLAGS-test-float.c): Likewise.
22422         (CFLAGS-test-misc.c): Likewise.
22423         (CFLAGS-test-test-fenv.c): Likewise.
22425 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22427         [BZ #2550]
22428         [BZ #2570]
22429         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22430         comparisons to determine direction to adjust input.
22432 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22434         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22435         output to the target.
22437         * scripts/localplt.awk: New file.
22438         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22439         (check-localplt-CFLAGS): Variable removed.
22440         ($(all-built-dso:=.jmprel)): New static pattern rule.
22441         (generated): Add those targets.
22442         (localplt-built-dso): New variable.
22443         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22445         * elf/check-localplt.c: File removed.
22447         * scripts/check-execstack.awk: New file.
22448         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22449         (check-execstack-CFLAGS): Variable removed.
22450         ($(objpfx)check-execstack.h): Target removed.
22451         ($(objpfx)execstack-default): New target.
22452         (generated): Add that instead of check-execstack.h.
22453         ($(all-built-dso:=.phdr)): New static pattern rule.
22454         (generated): Add those targets.
22455         * elf/check-execstack.c: File removed.
22457         * scripts/check-textrel.awk: New file.
22458         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22459         (check-textrel-CFLAGS): Variable removed.
22460         (all-built-dso): Use := to define.o
22461         ($(all-built-dso:=.dyn)): New static pattern rule.
22462         (generated): Add those targets.
22463         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22464         * config.make.in (READELF): New substituted variable.
22465         * elf/check-textrel.c: File removed.
22467 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22469         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22470         allow.
22471         * conform/data/ctype.h-data [C99-based standards] (isblank):
22472         Expect function.
22473         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22474         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22475         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22476         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22477         Specify type.  Require positive value.
22478         (EILSEQ): Likewise.
22479         (ERANGE): Likewise.
22480         [ISO || POSIX] (EILSEQ): Do not expect.
22481         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22482         Specify type.  Require positive value.
22483         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22484         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22485         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22486         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22487         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22488         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22489         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22490         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22491         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22492         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22493         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22494         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22495         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22496         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22497         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22498         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22499         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22500         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22501         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22502         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22503         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22504         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22505         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22506         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22507         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22508         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22509         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22510         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22511         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22512         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22513         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22514         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22515         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22516         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22517         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22518         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22519         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22520         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22521         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22522         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22523         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22524         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22525         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22526         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22527         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22528         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22529         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22530         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22531         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22532         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22533         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22534         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22535         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22536         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22537         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22538         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22539         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22540         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22541         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22542         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22543         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22544         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22545         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22546         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22547         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22548         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22549         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22550         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22551         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22552         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22553         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22554         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22555         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22556         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22557         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22558         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22559         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22560         Require >= 2.
22561         (FLT_ROUNDS): Expect as macro, not constant.
22562         (FLT_MANT_DIG): Use macro-int-constant.
22563         (DBL_MANT_DIG): Likewise.
22564         (LDBL_MANT_DIG): Likewise.
22565         (FLT_DIG): Likewise.
22566         (DBL_DIG): Likewise.
22567         (LDBL_DIG): Likewise.
22568         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22569         (DBL_MIN_EXP): Likewise.
22570         (LDBL_MIN_EXP): Likewise.
22571         (FLT_MAX_EXP): Use macro-int-constant.
22572         (DBL_MAX_EXP): Likewise.
22573         (LDBL_MAX_EXP): Likewise.
22574         (FLT_MAX_10_EXP): Likewise.
22575         (DBL_MAX_10_EXP): Likewise.
22576         (LDBL_MAX_10_EXP): Likewise.
22577         (FLT_MAX): Use macro-constant.
22578         (DBL_MAX): Likewise.
22579         (LDBL_MAX): Likewise.
22580         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22581         (DBL_EPSILON): Likewise.
22582         (LDBL_EPSILON): Likewise.
22583         (FLT_MIN): Likewise.
22584         (DBL_MIN): Likewise.
22585         (LDBL_MIN): Likewise.
22586         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22587         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22588         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22589         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22590         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22591         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22592         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22593         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22594         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22595         [ISO11] (FLT_TRUE_MIN): Likewise.
22596         [ISO11] (LDBL_TRUE_MIN): Likewise.
22597         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22598         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22599         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22600         (SCHAR_MAX): Likewise.
22601         (UCHAR_MAX): Likewise.
22602         (CHAR_MIN): Likewise.
22603         (CHAR_MAX): Likewise.
22604         (MB_LEN_MAX): Use macro-int-constant.
22605         (SHRT_MIN): Use macro-int-constant.  Specify type.
22606         (SHRT_MAX): Likewise.
22607         (USHRT_MAX): Likewise.
22608         (INT_MAX): Likewise.
22609         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22610         bound negative.
22611         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22612         bound with "U".
22613         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22614         bound with "L".
22615         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22616         bound negative.  Suffix upper bound with "L".
22617         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22618         bound with "UL".
22619         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22620         Specify type.
22621         [C99-based standards] (LLONG_MAX): Likewise.
22622         [C99-based standards] (ULLONG_MAX): Likewise.
22623         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22624         == 0.
22625         [ISO11] (max_align_t): Require type.
22626         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22628         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22629         from $CFLAGS, without defining away __attribute__ calls.
22630         (checknamespace): Use $CFLAGS_namespace.
22632         * conform/conformtest.pl (@keywords): Only include C99 keywords
22633         for standards based on C99 or C11.
22635         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22636         Disable tests.
22637         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22638         UNIX98]: Likewise.
22640         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22641         usability of symbols in #if.
22643         * conform/conformtest.pl: If macro or constant types start
22644         "promoted:", expect the symbol to be of the following type
22645         promoted by the integer promotions.
22647         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22648         in one place.  Also handle "macro-constant".
22650         * conform/conformtest.pl: Only accept expected macro values with
22651         "==".  Parse all "macro" lines in one place.
22652         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22654         * conform/conformtest.pl: Handle braced types on "constant" lines
22655         instead of handling "typed-constant".
22656         * conform/data/signal.h-data: Use "constant" instead of
22657         "typed-constant".
22659         * conform/conformtest.pl: Handle "optional-" at start of lines in
22660         one place rather than duplicating several cases.  Handle each
22661         format of "macro" line with initial "optional-".
22663         * conform/conformtest.pl: Only accept expected constant or
22664         optional-constant values with "==".  Parse all "constant" lines in
22665         one place.  Parse all "optional-constant" lines in one place.
22666         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22667         * conform/data/fmtmsg.h-data: Likewise.
22668         * conform/data/netinet/in.h-data: Likewise.
22669         * conform/data/tar.h-data: Likewise.
22670         * conform/data/limits.h-data: Use "==" form on "constant" and
22671         "optional-constant" lines.
22673         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22674         Use -std=c99 for XOPEN2K.
22675         (@knownproblems): Remove.
22676         (newtoken): Don't check %isknown.
22678         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22679         Do not expect macro.
22680         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22681         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22682         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22683         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22684         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22685         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22686         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22687         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22688         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22689         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22690         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22691         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22692         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22693         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22694         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22695         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22696         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22697         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22698         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22699         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22700         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22701         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22702         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22703         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22704         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22705         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22706         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22707         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22708         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22709         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22710         [XPG3] (acosh): Likewise.
22711         [XPG3] (asinh): Likewise.
22712         [XPG3] (atanh): Likewise.
22713         [XPG3] (cbrt): Likewise.
22714         [XPG3] (expm1): Likewise.
22715         [XPG3] (ilogb): Likewise.
22716         [XPG3] (log1p): Likewise.
22717         [XPG3] (logb): Likewise.
22718         [XPG3] (nextafter): Likewise.
22719         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22720         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22721         [XPG3] (remainder): Likewise.
22722         [XPG3] (rint): Likewise.
22723         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22724         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22725         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22726         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22727         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22728         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22729         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22730         [UNIX98 || XOPEN2K] (scalb): Expect.
22731         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22732         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22733         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22734         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22735         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22736         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22737         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22738         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22739         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22740         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22741         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22742         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22743         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22744         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22745         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22746         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22747         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22748         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22749         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22750         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22751         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22752         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22753         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22754         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22755         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22756         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22757         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22758         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22759         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22760         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22761         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22762         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22763         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22764         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22765         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22766         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22767         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22768         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22769         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22770         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22771         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22772         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22773         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22774         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22775         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22776         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22777         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22778         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22779         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22780         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22781         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22782         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22783         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22784         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22785         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22786         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22787         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22788         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22789         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22790         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22791         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22792         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22793         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22794         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22795         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22796         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22797         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22798         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22799         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22800         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22801         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22802         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22803         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22804         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22805         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22806         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22807         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22808         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22809         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22810         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22811         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22812         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22813         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22814         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22815         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22816         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22817         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22818         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22819         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22820         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22821         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22822         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22823         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22824         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22825         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22826         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22827         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22828         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22829         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22830         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22831         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22832         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22833         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22834         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22835         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22836         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22837         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22838         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22839         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22840         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22841         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22842         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22843         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22844         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22845         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22846         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22847         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22848         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22849         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22850         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22851         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22852         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22853         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22854         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22855         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22856         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22857         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22858         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22859         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22860         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22861         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22862         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22863         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22864         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22865         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22866         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22867         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22869         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22870         _XOPEN_SOURCE_EXTENDED for XPG4.
22872         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22874         * Makeconfig (localtime): Remove variable.
22875         (inst_localtime-file): Likewise.
22877 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22880         Update.
22881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22882         Update.
22883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22884         Update.
22885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22886         Update.
22887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22888         Update.
22889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22890         Update.
22891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22892         Update.
22893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22894         Update.
22895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22896         Update.
22898 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22900         [BZ #2550]
22901         [BZ #2570]
22902         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22903         comparisons to determine direction to adjust input.
22904         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22905         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22906         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22907         Likewise.
22908         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22909         Likewise.
22910         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22911         Likewise.
22912         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22913         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22914         Likewise.
22915         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22916         Likewise.
22917         * math/libm-test.inc (nexttoward_test): Add more tests.
22919 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22921         [BZ #14040]
22922         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22923         in version GLIBC_2.1, not GLIBC_2.0.
22924         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22925         Likewise.
22927 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22929         [BZ #13942]
22930         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22931         (1 - x) * (1 + x).
22932         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22933         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22934         * math/libm-test.inc (acos_test): Add more tests.
22935         (asin_test): Likewise.
22936         * sysdeps/i386/fpu/libm-test-ulps: Update.
22937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22939         [BZ #14034]
22940         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22941         of square root.
22942         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22943         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22944         * math/libm-test.inc (acos_test_tonearest): New function.
22945         (acos_test_towardzero): Likewise.
22946         (acos_test_downward): Likewise.
22947         (acos_test_upward): Likewise.
22948         (asin_test_tonearest): Likewise.
22949         (asin_test_towardzero): Likewise.
22950         (asin_test_downward): Likewise.
22951         (asin_test_upward): Likewise.
22952         (main): Call the new functions.
22953         * sysdeps/i386/fpu/libm-test-ulps: Update.
22954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22956         [BZ #13884]
22957         [BZ #13924]
22958         * math/e_exp10.c: Include <float.h>.
22959         (__ieee754_exp10): Handle underflow here rather than multiplying
22960         large negative argument by M_LN10.
22961         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22962         of __ieee754_expf.
22963         * math/e_exp10l.c: Include <float.h>.
22964         (__ieee754_exp10l): Handle underflow here rather than multiplying
22965         large negative argument by M_LN10l.
22966         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22967         spurious overflow exception on underflow.
22969 2012-04-29  Marek Polacek  <polacek@redhat.com>
22971         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22972         (__fortify_function): New macro.
22973         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22974         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22975         __extern_always_inline.
22976         * libio/bits/stdio2.h: Likewise.
22977         * libio/bits/stdio.h: Likewise.
22978         * string/string.h: Likewise.
22979         * string/bits/string3.h: Likewise.
22980         * include/stdio.h: Likewise.
22981         * stdlib/bits/stdlib.h: Likewise.
22982         * stdlib/stdlib.h: Likewise.
22983         * rt/bits/mqueue2.h: Likewise.
22984         * rt/mqueue.h: Likewise.
22985         * posix/bits/unistd.h: Likewise.
22986         * posix/unistd.h: Likewise.
22987         * io/bits/poll2.h: Likewise.
22988         * io/bits/fcntl2.h: Likewise.
22989         * io/fcntl.h: Likewise.
22990         * io/sys/poll.h: Likewise.
22991         * misc/bits/syslog.h: Likewise.
22992         * misc/bits/syslog-ldbl.h: Likewise.
22993         * misc/sys/syslog.h: Likewise.
22994         * socket/bits/socket2.h: Likewise.
22995         * socket/sys/socket.h: Likewise.
22996         * debug/tst-chk1.c: Likewise.
22997         * wcsmbs/bits/wchar2.h: Likewise.
22998         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22999         * wcsmbs/wchar.h: Likewise.
23001 2012-04-29  Andreas Jaeger  <aj@suse.de>
23003         * Makerules (tests): Remove enable-check-abi protection.
23004         (check-abi-warn): Remove.
23005         (check-abi-%): Remove check-abi-warn usage.
23007         * configure.in: Remove check-abi configure option.
23008         * configure: Regenerated.
23009         * config.make.in (enable-check-abi): Remove.
23011 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23013         [BZ #14033]
23014         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23015         double functions to double *_finite functions.
23017         [BZ #13941]
23018         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23019         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23020         LDBL_MIN_EXP.
23021         * stdio-common/Makefile (tests): Add tst-sprintf3.
23022         * stdio-common/tst-sprintf3.c: New file.
23024         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23025         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23027 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23029         * conform/conformtest.pl: Remove duplicate typed-constant
23030         handling.
23032 2012-04-28  David S. Miller  <davem@davemloft.net>
23034         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23035         (check-abi-%): Remove AWK script prerequisite and explicit
23036         abilist directory.
23037         (check-abi): Rewrite to just diff the symlist with the abilist.
23038         (config-tls, config-abi-config): Delete, no longer used.
23039         (update-abi-%): Remove AWK script and explicit abilist directory.
23040         (update-abi): Rewrite to simply compare and conditionally copy the
23041         symlist and the sysdep abilist file.  Remove update-abi-config
23042         checks.
23043         * abilist/ld.abilist: Remove.
23044         * abilist/libBrokenLocale.abilist: Remove.
23045         * abilist/libanl.abilist: Remove.
23046         * abilist/libcrypt.abilist: Remove.
23047         * abilist/libdl.abilist: Remove.
23048         * abilist/librt.abilist: Remove.
23049         * abilist/libthread_db.abilist: Remove.
23050         * abilist/libutil.abilist: Remove.
23051         * scripts/extract-abilist.awk: Remove.
23052         * scripts/merge-abilist.awk: Remove.
23053         * sysdeps/generic/libcidn.abilist: New file.
23054         * sysdeps/generic/libnss_compat.abilist: New file.
23055         * sysdeps/generic/libnss_db.abilist: New file.
23056         * sysdeps/generic/libnss_dns.abilist: New file.
23057         * sysdeps/generic/libnss_files.abilist: New file.
23058         * sysdeps/generic/libnss_hesiod.abilist: New file.
23059         * sysdeps/generic/libnss_nis.abilist: New file.
23060         * sysdeps/generic/libnss_nisplus.abilist: New file.
23061         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23062         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23063         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23064         file.
23065         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23066         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23067         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23068         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23069         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23070         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23071         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23072         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23073         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23074         file.
23075         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23076         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23077         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23078         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23079         file.
23080         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23081         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23082         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23083         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23084         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23085         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23086         file.
23087         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23088         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23089         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23090         file.
23091         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23092         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23093         New file.
23094         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23095         New file.
23096         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23097         New file.
23098         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23099         New file.
23100         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23101         New file.
23102         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23103         New file.
23104         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23105         New file.
23106         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23107         New file.
23108         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23109         New file.
23110         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23111         New file.
23112         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23113         New file.
23114         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23115         New file.
23116         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23117         New file.
23118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23119         file.
23120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23121         New file.
23122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23123         New file.
23124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23125         file.
23126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23127         New file.
23128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23129         New file.
23130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23131         file.
23132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23133         New file.
23134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23135         New file.
23136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23137         New file.
23138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23139         New file.
23140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23141         New file.
23142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23143         New file.
23144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23146         file.
23147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23148         New file.
23149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23150         file.
23151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23152         file.
23153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23154         file.
23155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23156         file.
23157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23158         file.
23159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23160         New file.
23161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23162         file.
23163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23164         file.
23165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23166         New file.
23167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23168         file.
23169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23171         file.
23172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23173         New file.
23174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23175         file.
23176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23177         file.
23178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23179         file.
23180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23181         file.
23182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23183         file.
23184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23185         New file.
23186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23187         file.
23188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23189         file.
23190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23191         New file.
23192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23193         file.
23194         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23195         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23196         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23197         file.
23198         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23199         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23200         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23201         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23202         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23203         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23204         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23205         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23206         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23207         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23210         file.
23211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23212         New file.
23213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23214         file.
23215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23216         file.
23217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23218         file.
23219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23220         file.
23221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23222         file.
23223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23224         New file.
23225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23226         New file.
23227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23228         file.
23229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23230         New file.
23231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23232         file.
23233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23235         file.
23236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23237         New file.
23238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23239         file.
23240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23241         file.
23242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23243         file.
23244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23245         file.
23246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23247         file.
23248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23249         New file.
23250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23251         New file.
23252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23253         file.
23254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23255         New file.
23256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23257         file.
23259 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23261         * conform/conformtest.pl: Fix typo in handling typed-constant from
23262         allow-header.
23264 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23266         * README: Cut down references to pre-2.6 Linux kernels and
23267         Linuxthreads.  Update lists of configurations in libc and ports
23268         and sort alphabetically.  Say "or newer" with Linux kernel version
23269         requirements.
23271         * config.h.in [IS_IN_build]: Allow compiling without optimization.
23273 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23275         [BZ #887]
23276         * math/libm-test.inc (logb_test_downward): New test to expose
23277         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23278         rounding mode.
23280 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23282         [BZ #14027]
23283         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23284         to be done.
23285         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23286         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23288 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
23290         * sysdeps/unix/i386/brk.S: Remove file.
23291         * sysdeps/unix/i386/dl-brk.S: Likewise.
23292         * sysdeps/unix/i386/pipe.S: Likewise.
23293         * sysdeps/unix/i386/sigreturn.S: Likewise.
23294         * sysdeps/unix/i386/syscall.S: Likewise.
23295         * sysdeps/unix/i386/vfork.S: Likewise.
23296         * sysdeps/unix/i386/wait.S: Likewise.
23298         * sysdeps/unix/common/tcsendbrk.c: Move to ...
23299         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23301         * configure.in (arm*-none*): Do not allow without
23302         --enable-hacker-mode.
23303         (netbsd*): Remove case setting base_os.
23304         (386bsd*): Likewise.
23305         (freebsd*): Likewise.
23306         (bsdi*): Likewise.
23307         (osf*): Likewise.
23308         (sunos*): Likewise.
23309         (ultrix*): Likewise.
23310         (newsos*): Likewise.
23311         (dynix*): Likewise.
23312         (*bsd*): Likewise.
23313         (sysv*): Likewise.
23314         (isc*): Likewise.
23315         (esix*): Likewise.
23316         (sco*): Likewise.
23317         (minix*): Likewise.
23318         (irix4*): Likewise.
23319         (irix6*): Likewise.
23320         (solaris[2-9]*): Likewise.
23321         (none): Likewise.
23322         * configure: Regenerated.
23324 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23326         [BZ #11521]
23327         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23328         overflow or cancellation in calculating denominator.
23329         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23330         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23331         down expression to avoid unexpected rounding in newer GCCs.
23332         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23334 2012-04-26  David S. Miller  <davem@davemloft.net>
23336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23337         long-double compat symbols.
23338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23352 2012-04-25  David S. Miller  <davem@davemloft.net>
23354         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23355         HWCAP_* values only after the memory barriers have been defined.
23356         (atomic_full_barrier): Define.
23357         (atomic_read_barrier): Define.
23358         (atomic_write_barrier): Define.
23360 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23362         * shlib-versions: Add libgcc_s version information.
23363         * sysdeps/generic/libgcc_s.h: Remove.
23364         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23365         libgcc_s.h.
23366         * sysdeps/gnu/unwind-resume.c: Likewise.
23367         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23369 2012-04-25  David S. Miller  <davem@davemloft.net>
23371         * sysdeps/unix/sparc/brk.S: Delete.
23372         * sysdeps/unix/sparc/dl-brk.S: Delete.
23373         * sysdeps/unix/sparc/pipe.S: Delete.
23374         * sysdeps/unix/sparc/sysdep.S: Delete.
23375         * sysdeps/unix/sparc/sysdep.h: Delete.
23376         * sysdeps/unix/sparc/vfork.S: Delete.
23377         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23378         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23379         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23380         ret_ERRVAL, r0, r1, MOVE): Define.
23381         (JUMPTARGET): Remove.
23382         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23383         sysdeps/unix/sparc/sysdep.h
23384         (ENTRY, END): Remove.
23385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23387 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23389         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23390         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23391         -DIS_IN_build.
23393         * timezone/README: Update upstream location and email address for
23394         tzcode and tzdata.
23395         * timezone/zdump.c: Update from tzcode 2012b.
23396         * timezone/zic.c: Likewise.
23398         * configure.in (libc_cv_as_needed): Remove test.
23399         * configure: Regenerated.
23400         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23401         conditional definition.
23402         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23403         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23404         * config.make.in (have-as-needed): Remove variable.
23406 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23407             Paul Pluzhnikov  <ppluzhnikov@google.com>
23409         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23410         strings correctly.
23412 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23414         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23415         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23416         * sysdeps/sh/strlen.S: Likewise.
23418 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23420         * sysdeps/unix/fork.S: Remove file.
23421         * sysdeps/unix/i386/fork.S: Likewise.
23422         * sysdeps/unix/sparc/fork.S: Likewise.
23424         * sysdeps/unix/system.c: Remove file.
23425         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23427         * sysdeps/unix/getegid.S: Remove file.
23428         * sysdeps/unix/geteuid.S: Likewise.
23430 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23432         * scripts/check-localplt.awk: New file.
23433         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23434         of diff.
23435         * scripts/data/localplt-generic.data: Add a comment.
23437         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23438         NODE when __dir_mkfile failed.
23439         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23440         Reported by Ludovic Courtès <ludo@gnu.org>.
23442 2012-04-24  Andreas Jaeger  <aj@suse.de>
23444         * Makerules (common-clean): Also remove gen-as-const-headers
23445         files.
23447 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23449         * Makerules (native-compile): Do not change working directory for
23450         build.  Use $(OUTPUT_OPTION) in command.
23451         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23453 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23455         [BZ #13886]
23456         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23457         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23458         * math/libm-test.inc (floor_test): Add more tests.
23459         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23461 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23463         * sysdeps/unix/getdents.c: Remove file.
23464         * sysdeps/unix/sysv/getdents.c: Likewise.
23465         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23467         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23468         sysdeps/unix/mman/syscalls.list.
23469         (mmap): Likewise.
23470         (mprotect): Likewise.
23471         (msync): Likewise.
23472         (munmap): Likewise.
23473         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23474         * sysdeps/unix/mman/syscalls.list: Remove.
23475         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23477         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23478         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23479         * configure: Regenerated.
23480         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23481         $(libgcc_s_suffix).
23482         * config.make.in (libgcc_s_suffix): Remove variable.
23484 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23486         * sysdeps/unix/sysv/gethostname.c: Move to ...
23487         * sysdeps/posix/gethostname.c: ... here.
23489         * sysdeps/unix/execve.S: Remove file.
23491         * sysdeps/unix/_exit.S: Remove file.
23493 2012-04-23  Andreas Jaeger  <aj@suse.de>
23495         [BZ #13739]
23496         * manual/Makefile: Remove make dist support, there's no
23497         need for a stand-alone documentation tar ball.
23498         (TEXI2DVI): Define always, it's not in Makeconfig.
23499         (dist): Removed.
23500         (tar-it): Removed.
23501         (edition): Removed.
23502         (glibc-doc-$(edition).tar): Removed
23503         (%.Z): Removed.
23504         (%.gz): Removed.
23505         (%.uu): Removed.
23506         (ETAGS): Remove, it's in Makeconfig.
23507         (move-if-change): Remove, it's in Makeconfig.
23509 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23511         [BZ #13970]
23512         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23513         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23514         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23515         (strtod_l, strtof_l, strtold_l): Remove __wur.
23516         It is not necessarily an error to ignore strtol's return value.
23517         One can reliably look at the stored endptr to decide whether
23518         the number had valid syntax.
23520 2012-04-21  Andreas Jaeger  <aj@suse.de>
23522         [BZ #13739]
23523         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23525 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23527         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23528         * sysdeps/unix/sysv/Versions: Remove file.
23530 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23532         [BZ #13927]
23533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23535 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23537         [BZ #7064]
23538         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23539         version from __vm86.
23541 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23543         * sysdeps/unix/common/lxstat.c: Remove file.
23544         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23546         * sysdeps/unix/sysv/Makefile: Remove file.
23548         * sysdeps/unix/sysv/direct.h: Remove file.
23550         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23551         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23552         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23553         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23554         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23555         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23556         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23558         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23560         * sysdeps/unix/xmknod.c: Remove file.
23561         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23563         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23565         * sysdeps/unix/sysv/i386/time.S: Remove file.
23567         * sysdeps/unix/fxstat.c: Remove file.
23568         * sysdeps/unix/xstat.c: Likewise.
23569         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23571         * sysdeps/unix/sysv/sigaction.c: Remove file.
23573         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23574         (sysdep_headers): Remove variable.
23575         [termio.h not in sysdep_headers] (generated): Likewise.
23576         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23577         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23578         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23579         * sysdeps/unix/sysv/tcflow.c: Likewise.
23580         * sysdeps/unix/sysv/tcflush.c: Likewise.
23581         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23582         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23583         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23584         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23585         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23587         * sysdeps/unix/siglist.c: Remove file.
23589         * sysdeps/unix/getppid.S: Remove file.
23591         * sysdeps/unix/mkdir.c: Remove file.
23592         * sysdeps/unix/rmdir.c: Likewise.
23594 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23596         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23597         ERR_MAX value.
23598         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23599         errlist-compat value.
23601 2012-04-18  David S. Miller  <davem@davemloft.net>
23603         * sysdeps/generic/memcopy.h (reg_char): Delete.
23604         * debug/strcat_chk.c: Use char, not reg_char.
23605         * debug/strcpy_chk.c: Likewise.
23606         * debug/strncat_chk.c: Likewise.
23607         * debug/strncpy_chk.c: Likewise.
23608         * string/memchr.c: Likewise.
23609         * string/memrchr.c: Likewise.
23610         * string/rawmemchr.c: Likewise.
23611         * string/strcat.c: Likewise.
23612         * string/strchr.c: Likewise.
23613         * string/strchrnul.c: Likewise.
23614         * string/strcmp.c: Likewise.
23615         * string/strcpy.c: Likewise.
23616         * string/strncat.c: Likewise.
23617         * string/strncmp.c: Likewise.
23618         * string/strncpy.c: Likewise.
23620 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23622         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23623         __builtin_memcopy is called when src and dest ranges are known to not
23624         overlap.
23626 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23628         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23629         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23630         fwd_align_merge macro call.
23631         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23632         bwd_align_merge macro call.
23633         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23635 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23637         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23638         bwd_align_merge macros.
23639         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23640         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23641         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23643 2012-04-18  David S. Miller  <davem@davemloft.net>
23645         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23647 2012-04-18  Andreas Jaeger  <aj@suse.de>
23649         [BZ# 6794]
23650         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23651         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23652         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23654         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23655         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23656         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23658         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23659         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23660         Adjust for changed ldbl-128 files.
23662         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23663         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23664         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23666 2012-04-17  David S. Miller  <davem@davemloft.net>
23668         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23670 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23672         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23673         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23674         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23675         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23676         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23677         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23679 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23681         [BZ #6794]
23682         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23683         * math/libm-test.inc: Add ilogb errno and exception tests.
23684         * math/w_ilogb.c: New file: ilogb wrapper.
23685         * math/w_ilogbf.c: New file: ilogbf wrapper.
23686         * math/w_ilogbl.c: New file: ilogbl wrapper.
23687         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23688         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23689         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23690         exception being thrown with 0.0 as argument.
23691         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23692         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23693         exception being thrown with 0.0 as argument.
23694         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23695         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23696         exception being thrown with 0.0 as argument.
23697         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23698         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23699         exception being thrown with 0.0 as argument.
23700         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23701         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23702         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23703         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23704         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23705         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23706         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23707         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23708         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23710 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23712         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23713         with altivec.
23715 2012-04-16  Marek Polacek  <polacek@redhat.com>
23717         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23719 2012-04-16  Marek Polacek  <polacek@redhat.com>
23721         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23722         operands of fdivp instruction.
23724 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23726         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23727         * elf/tst-auditmod3b.c: Likewise.
23728         * elf/tst-auditmod4b.c: Likewise.
23729         * elf/tst-auditmod5b.c: Likewise.
23730         * elf/tst-auditmod6b.c: Likewise.
23731         * elf/tst-auditmod6c.c: Likewise.
23732         * elf/tst-auditmod7b.c: Likewise.
23733         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23734         * sysdeps/x86_64/preconfigure.in: Likewise.
23735         * sysdeps/x86_64/preconfigure: Regenerated.
23737 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23739         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23740         __ILP32__.
23742 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23744         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23745         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23747 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23749         [BZ #13973]
23750         * locale/iso-639.def: Fix gl language name. Spotted by
23751         Yaron Shahrabani.
23753 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23755         [BZ #2074]
23756         * libio/libio.h (__io_write_fn): Update comment.
23758 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23760         [BZ #2074]
23761         * stdio.texi (Hook Functions): The user provided writer function
23762         is not allowed to return -1.
23764 2012-04-11  David S. Miller  <davem@davemloft.net>
23766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23768 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23770         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23771         Add a leading slash to rtkaio.
23773 2012-04-11  Jim Meyering  <meyering@redhat.com>
23775         [BZ #11959]
23776         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23777         It is not necessarily an error to ignore fwrite's return
23778         value.  One can reliably use ferror to test for errors after
23779         the fact.
23781 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23783         * bits/types.h (__snseconds_t): New type.
23784         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23786         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23787         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23788         (__SNSECONDS_T_TYPE): Likewise.
23789         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23790         (__SNSECONDS_T_TYPE): Likewise.
23791         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23792         (__SNSECONDS_T_TYPE): Likewise.
23794 2012-04-10  Andreas Jaeger  <aj@suse.de>
23796         [BZ #2636]
23797         * manual/time.texi (Processor Time): Return type of times is
23798         elapsed real time since an arbitrary point in the past.
23799         (CPU Time): Move CLK_TCK from here...
23800         (Processor Time): ...to here.  Correct description.
23801         * manual/conf.texi (Constants for Sysconf): Correct description of
23802         _SC_CLK_TCK.
23804 2012-04-10  David S. Miller  <davem@davemloft.net>
23806         [BZ #13967]
23807         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23808         where the is a gap between DT_REL(A) and DT_JMPREL.
23810 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23812         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23813         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23814         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23816 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23818         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23819         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23820         (dl_main): Handle --inhibit-cache.
23821         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23822         _dl_inhibit_cache.
23823         * elf/dl-load.c (_dl_map_object): Use it.
23824         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23826 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23828         [BZ #13872]
23829         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23830         (__ieee754_powl): Saturate large exponents rather than testing for
23831         overflow of y*log2(x).
23832         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23833         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23834         exceptions.
23836         [BZ #11521]
23837         * math/s_ctan.c: Include <float.h>.
23838         (__ctan): Avoid internal overflow or cancellation in calculating
23839         denominator.
23840         * math/s_ctanf.c: Likewise.
23841         * math/s_ctanl.c: Likewise.
23842         * math/s_ctanh.c: Likewise.
23843         * math/s_ctanhf.c: Likewise.
23844         * math/s_ctanhl.c: Likewise.
23845         * math/libm-test.inc (ctan_test): Add more tests.
23846         (ctanh_test): Likewise.
23847         * sysdeps/i386/fpu/libm-test-ulps: Update.
23848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23850 2012-04-09  Andreas Jaeger  <aj@suse.de>
23852         [BZ #6894]
23853         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23854         is an optional BSD extension.
23856         [BZ #10254]
23857         * manual/stdio.texi (Opening Streams): Document additional fopen
23858         parameters.
23860 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23862         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23863         %eax without telling the compiler.
23865 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23867         [BZ # 13963]
23868         * manual/install.texi: Use sourceware.org.
23870 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23872         [BZ #13873]
23873         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23874         (__ieee754_pow): Generate overflow and underflow using huge*huge
23875         and tiny*tiny rather than just returning constant infinity or zero
23876         for large exponents.
23877         * math/libm-test.inc (pow_test): Require overflow exceptions for
23878         applicable cases of large exponents.
23880         [BZ #706]
23881         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23882         (__ieee754_pow): Use iterative multiplication algorithm only for
23883         integer exponents with absolute value below 1024.  Check for odd
23884         integer exponents when using algorithm for real exponents.
23885         * math/libm-test.inc (pow_test): Add more tests.
23886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23888 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23890         [BZ #13705]
23891         * math/libm-test.inc (exp_test): Do not allow overflow exception
23892         on underflow test.
23894 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23896         [BZ #13705]
23897         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23898         instead of __kernel_standard_f.
23900 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23902         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23903         * sysdeps/x86_64/memset_chk.S: Likewise.
23905 2012-04-08  Andreas Jaeger  <aj@suse.de>
23907         [BZ #10153]
23908         * manual/startup.texi (Environment Access): Describe return value
23909         for putenv and setenv.
23911         [BZ #6895]
23912         * manual/filesys.texi (Directory Entries): Add description for
23913         DT_LNK.
23915         [BZ #6890]
23916         * manual/filesys.texi (Directory Entries): Clarify that it's file
23917         system not operating system in the description of DT_UNKNOWN.
23919         [BZ #6578]
23920         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23922 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23924         [BZ #6649]
23925         * manual/llio.texi (Opening and Closing Files): Add cross
23926         reference to explain mode argument.
23928 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23930         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23931         * sysdeps/x86_64/memset_chk.S: Likewise.
23933 2012-04-07  David S. Miller  <davem@davemloft.net>
23935         * elf/elf.h (R_SPARC_WDISP10): Define.
23936         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23937         R_SPARC_SIZE32.
23938         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23939         R_SPARC_SIZE64 and R_SPARC_H34.
23941 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23943         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23944         conditions and remove no longer applicable assertion.
23946 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23948         * bits/byteswap.h: Include <features.h>.
23949         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23950         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23952 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23954         * bits/byteswap.h (__bswap_16): Removed.
23955         Include <bits/byteswap-16.h> to get __bswap_16.
23956         * sysdeps/i386/bits/byteswap.h: Likewise.
23957         * sysdeps/s390/bits/byteswap.h: Likewise.
23958         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23959         * bits/byteswap-16.h: New file.
23960         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23961         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23962         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23963         * string/Makefile (headers): Add bits/byteswap-16.h.
23965 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23967         [BZ #13895]
23968         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23969         extra indirection.
23970         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23971         * nss/tst-nss-static.c: New.
23973 2012-04-06  Robert Millan  <rmh@gnu.org>
23975         [BZ #6486]
23976         * manual/llio.texi (File Position Primitive): lseek
23977         refers to WHENCE when it really means OFFSET.
23979 2012-04-06  Andreas Jaeger  <aj@suse.de>
23981         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23982         strncmp declarations.
23984         * abilist/libc.abilist: Add __poll and __ppoll.
23986 2012-04-05  David S. Miller  <davem@davemloft.net>
23988         * scripts/check-local-headers.sh: Accept a host triplet in the
23989         path matched by the exclude regexp.
23991         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23992         definition.
23993         * sysdeps/powerpc/powerpc32/dl-machine.h
23994         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23995         * sysdeps/s390/s390-32/dl-machine.h
23996         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23997         * sysdeps/sparc/sparc32/dl-machine.h
23998         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23999         * sysdeps/sparc/sparc64/dl-machine.h
24000         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24002         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24003         lazy binding.
24004         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24005         undefined symbol errors.
24007         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24008         DT_NEEDED entries.
24010 2012-04-05  Michael Matz  <matz@suse.de>
24012         [BZ #13592]
24013         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24015 2012-04-05  Andreas Jaeger  <aj@suse.de>
24017         [BZ #13908]
24018         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24019         comment.
24021 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24023         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24024         which ROUND is no valid rounding mode.
24026 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24028         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24029         read again.
24030         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24032 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24034         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24035         an exception using FPU order intentionally.
24037 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24039         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24040         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24041         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24042         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24044 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24046         [BZ #12340]
24047         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24048         EINVAL when BUFLEN is too smal.
24050 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24052         [BZ #13553]
24053         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24054         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24056 2012-04-03  Andreas Jaeger  <aj@suse.de>
24058         [BZ #13938]
24059         * manual/setjmp.texi (System V contexts): Fix sentence.
24061         [BZ #13926]
24062         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24063         New macro for this case.
24064         [!__GNUC__] (__bswap_64): New inline function for this case.
24065         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24066         * bits/byteswap.h: Likewise.
24067         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24068         ull, guard with __GLIBC_HAVE_LONG_LONG.
24070         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24071         __GLIBC_HAVE_LONG_LONG.
24073         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24074         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24076 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24078         [BZ #13691]
24079         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24080         inptr and inend, rather than using last_ch.
24082 2012-04-02  David S. Miller  <davem@davemloft.net>
24084         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24085         * stdio-common/printf-parse.h (read_int): Change return type to
24086         'int', return -1 on INT_MAX overflow.
24087         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24088         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24089         overflows INT_MAX.  Check for overflow of in-format-string precision
24090         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24091         SIZE_MAX not INT_MAX for integer overflow test.
24092         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24093         skip the construct in the format string but do not record anything.
24094         * stdio-common/bug22.c: Adjust to test both width/prevision
24095         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24096         explicitly for proper errno values.
24098 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24100         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24101         CHAR_MAX.
24102         * string/test-strcmp.c [! WIDE]: Likewise.
24103         * time/tst-mktime2.c: Likewise for INT_MAX.
24104         * string/test-string.h: #include <sys/param.h> for MIN.
24106         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24107         * sysdeps/i386/init-first.c (init): Likewise.
24108         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24109         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24110         * sysdeps/sh/init-first.c (init): Likewise.
24112 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24114         * po/ru.po: Update from translation team.
24115         * po/vi.po: Likewise.
24117 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24119         * resolv/nss_dns/dns-host.c: Merge copyright years.
24121 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24123         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24124         Optimize memcpy with prefetch if
24125         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24126         src, dst pointers have unequal 16 byte alignments.
24128 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24130         [BZ #13928]
24131         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24132         from a CNAME entry and return the minimum ttl for the query.
24133         (gaih_getanswer_slice): Likewise.
24135 2012-03-30  Jeff Law  <law@redhat.com>
24137         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24138         due to long keys.
24139         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24140         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24142         * resolv/nss_dns/dns-host.c: Update copyright year.
24144 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24146         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24147         requests to save a system call.  Fix check that all bytes are sent.
24149         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24150         comments for sendmmsg.
24152 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24154         [BZ #13691]
24155         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24156         with only 1 character between 0x0041 and 0x01b0.
24157         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24158         * wcsmbs/tst-mbsnrtowcs.c: New file.
24160 2012-03-29  David S. Miller  <davem@davemloft.net>
24162         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24163         small copies by hand.
24165 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24167         [BZ #13761]
24168         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24169         _nss_compat_initgroups_dyn): Fall back to malloc/free
24170         for large group memberships.
24172 2012-03-28  David S. Miller  <davem@davemloft.net>
24174         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24175         that branches into memcpy.
24176         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24177         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24178         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24179         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24180         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24181         bits.
24182         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24183         implementation too.
24184         * sysdeps/sparc/mempcpy.S: New file.
24186         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24187         the IFUNC routine in the libc case.
24188         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24190         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24191         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24192         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24193         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24194         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24195         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24196         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24197         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24199         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24200         loop to 256 bytes instead of 64 bytes and fix test signedness.
24202         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24203         * sysdeps/sparc/sparc32/Makefile: rather than here...
24204         * sysdeps/sparc/sparc64/Makefile: and here.
24206 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24208         * malloc/mallocbug.c: Avoid warnings about unused variables.
24210 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24212         [BZ #13760]
24213         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24214         in the right place. Discard and retry query if response is
24215         larger than input buffer size.
24217 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24219         [BZ #369]
24220         [BZ #2678]
24221         [BZ #3866]
24222         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24223         x for large integer exponent.
24224         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24225         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
24226         sign of result as needed afterwards.
24227         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24228         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24229         result for underflowing pow the same as for overflow.
24230         (__kernel_standard_l): Handle powl overflow and underflow here
24231         rather than calling __kernel_standard.
24232         * math/libm-test.inc (pow_test): Add more tests.
24234         [BZ #3868]
24235         [BZ #13879]
24236         [BZ #13910]
24237         [BZ #13911]
24238         [BZ #13912]
24239         [BZ #13913]
24240         [BZ #13915]
24241         [BZ #13916]
24242         [BZ #13917]
24243         [BZ #13918]
24244         [BZ #13919]
24245         [BZ #13920]
24246         [BZ #13921]
24247         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24248         * sysdeps/ieee754/k_standard.c: Include <float.h>.
24249         (__kernel_standard_l): New function.
24250         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24251         __kernel_standard.
24252         * math/w_acosl.c (__acosl): Likewise.
24253         * math/w_asinl.c (__asinl): Likewise.
24254         * math/w_atan2l.c (__atan2l): Likewise.
24255         * math/w_atanhl.c (__atanhl): Likewise.
24256         * math/w_coshl.c (__coshl): Likewise.
24257         * math/w_exp10l.c (__exp10l): Likewise.
24258         * math/w_exp2l.c (__exp2l): Likewise.
24259         * math/w_fmodl.c (__fmodl): Likewise.
24260         * math/w_hypotl.c (__hypotl): Likewise.
24261         * math/w_j0l.c (__j0l, __y0l): Likewise.
24262         * math/w_j1l.c (__j1l, __y1l): Likewise.
24263         * math/w_jnl.c (__jnl, __ynl): Likewise.
24264         * math/w_lgammal.c (__lgammal): Likewise.
24265         * math/w_log10l.c (__log10l): Likewise.
24266         * math/w_log2l.c (__log2l): Likewise.
24267         * math/w_logl.c (__logl): Likewise.
24268         * math/w_powl.c (__powl): Likewise.
24269         * math/w_remainderl.c (__remainderl): Likewise.
24270         * math/w_scalbl.c (sysv_scalbl): Likewise.
24271         * math/w_sinhl.c (__sinhl): Likewise.
24272         * math/w_sqrtl.c (__sqrtl): Likewise.
24273         * math/w_tgammal.c (__tgammal): Likewise.
24274         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24275         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24276         * math/libm-test.inc (acos_test): Add more tests.
24277         (acosh_test): Likewise.
24278         (asin_test): Likewise.
24279         (atanh_test): Likewise.
24280         (exp_test): Likewise.
24281         (exp10_test): Likewise.
24282         (exp2_test): Likewise.
24283         (expm1_test): Likewise.
24284         (lgamma_test): Likewise.
24285         (log_test): Likewise.
24286         (log10_test): Likewise.
24287         (log1p_test): Likewise.
24288         (log2_test): Likewise.
24289         (pow_test): Do not allow some spurious overflow exceptions.
24290         (sqrt_test): Add more tests.
24291         (tgamma_test): Likewise.
24292         (y0_test): Likewise.
24293         (y1_test): Likewise.
24294         (yn_test): Likewise.
24296 2012-03-27  Anton Blanchard  <anton@samba.org>
24298         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24299         MAP_HUGETLB.
24300         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24301         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24302         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24304 2012-03-27  David S. Miller  <davem@davemloft.net>
24306         * conform/Makefile: Run run-conformtest.sh using $(BASH).
24308         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24309         have-as-vis3 check.
24311 2012-03-27  Andreas Jaeger  <aj@suse.de>
24313         * sysdeps/x86_64/elf/configure.in: Moved to ...
24314         * sysdeps/x86_64/configure.in: ... here.
24315         * sysdeps/x86_64/elf/start.S: Moved to ...
24316         * sysdeps/x86_64/start.S: ... here.
24317         * sysdeps/x86_64/elf/configure: Delete.
24319         * sysdeps/x86_64/configure.in: Merge contents from
24320         sysdeps/i386/configure.in (without i686 check).
24322         * sysdeps/i386/elf/Versions: Merge into ...
24323         * sysdeps/i386/Versions: ... this.
24324         * sysdeps/i386/elf/Versions: Delete file.
24325         * sysdeps/i386/elf/start.S: Moved to ...
24326         * sysdeps/i386/start.S: ...here.
24327         * sysdeps/i386/elf/configure.in: Merge into...
24328         * sysdeps/i386/configure.in: ...here.
24329         * sysdeps/i386/elf/configure.in: Delete file.
24330         * sysdeps/i386/elf/configure: Delete file.
24332         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24333         * debug/backtracesyms.c: ... here.
24334         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24335         * debug/backtracesymsfd.c: ... here.
24336         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24337         * sysdeps/generic/ifunc-sel.h: ... here.
24339         * sysdeps/unix/i386/start.c: Delete file.
24340         * sysdeps/unix/sparc/start.c: Delete file.
24341         * sysdeps/unix/start.c: Delete file.
24343         * sysdeps/sh/elf/configure.in: Moved to ...
24344         * sysdeps/sh/configure.in: ... here.
24345         * sysdeps/sh/elf/start.S: Moved to ...
24346         * sysdeps/sh/start.S: ... here.
24347         * sysdeps/sh/elf/configure: Delete file.
24349         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24350         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24351         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24352         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24353         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24354         * sysdeps/powerpc/powerpc64/start.S: here.
24355         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24356         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24357         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24358         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24359         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24361         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24362         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24363         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24364         * sysdeps/powerpc/powerpc32/start.S: ... here.
24365         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24366         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24367         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24369         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24370         * sysdeps/powerpc/ifunc-sel.h: ... here.
24371         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24372         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24374         * sysdeps/sparc/elf/configure.in: Moved to ...
24375         * sysdeps/sparc/configure.in: ... here.
24376         * sysdeps/sparc/elf/configure: Delete file.
24377         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24378         * sysdeps/sparc/sparc32/start.S: ... here.
24379         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24380         * sysdeps/sparc/sparc64/start.S: ... here.
24381         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24382         * sysdeps/sparc/sparc32/Makefile: ... this.
24383         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24384         * sysdeps/sparc/sparc64/Makefile: ... this.
24386         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24387         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24388         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24389         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24390         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24391         * sysdeps/s390/s390-32/setjmp.S: ... here.
24392         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24393         * sysdeps/s390/s390-32/configure.in: ... here.
24394         * sysdeps/s390/s390-32/elf/configure: Delete file.
24395         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24396         * sysdeps/s390/s390-32/start.S: ... here.
24398         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24399         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24400         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24401         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24402         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24403         * sysdeps/s390/s390-64/setjmp.S: ... here.
24404         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24405         * sysdeps/s390/s390-64/configure.in: ... here
24406         * sysdeps/s390/s390-64/elf/configure: Delete file.
24407         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24408         * sysdeps/s390/s390-64/start.S: ... here.
24409         * sysdeps/s390/s390-64/elf/configure: Delete.
24411         * configure.in: Remove support for elf directories in sysdeps.
24413         * configure: Regenerated.
24414         * sysdeps/i386/configure: Regenerated.
24415         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24416         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24417         * sysdeps/s390/s390-32/configure: Regenerated.
24418         * sysdeps/s390/s390-64/configure: Regenerated.
24419         * sysdeps/sh/configure: Regenerated.
24420         * sysdeps/sparc/configure: Regenerated.
24421         * sysdeps/x86_64/configure: Regenerated.
24423 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24427         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24428         denormal result into account.
24430 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24432         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24433         Reported by Allan McRae <allan@archlinux.org>.
24435 2012-03-23  Jeff Law  <law@redhat.com>
24437         * nss/getnssent.c (__nss_getent): Fix typo.
24439 2012-03-23  David S. Miller  <davem@davemloft.net>
24441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24443 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24445         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24446         to pad to uint64_t for each field.
24447         (dl_tls_index): Replace unsigned long with uint64_t.
24449 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24450         Paul Pluzhnikov  <ppluzhnikov@google.com>
24452         [BZ #6528]
24453         * grp/Makefile (otherlibs): Don't set it.
24454         * inet/Makefile (otherlibs): Likewise.
24455         * login/Makefile (otherlibs): Likewise.
24456         * nscd/Makefile (otherlibs): Likewise.
24457         * posix/Makefile (otherlibs): Likewise.
24458         * pwd/Makefile (otherlibs): Likewise.
24459         * rt/Makefile (otherlibs): Likewise.
24460         * sunrpc/Makefile (otherlibs): Likewise.
24461         * nss/Makefile (otherlibs): Likewise.
24462         Add libnss_files to routines and static-only-routines.
24463         ($(objpfx)getent): Remove rule.
24464         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24465         static-only-routines.
24467 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24469         [BZ #13892]
24470         * math/s_cexp.c: Include <float.h>.
24471         (__cexp): Handle exp result overflowing not necessarily
24472         overflowing both real and imaginary parts of result.
24473         * math/s_cexpf.c: Likewise.
24474         * math/s_cexpl.c: Likewise.
24475         * math/libm-test.inc (cexp_test): Add more tests.
24476         * sysdeps/i386/fpu/libm-test-ulps: Update.
24477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24479 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24481         * include/link.h (ELFW): New macro.
24482         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24483         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24485 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24487         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24488         with uint64_t.
24490 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24492         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24493         declaration.
24494         (struct La_x32_retval): Likewise.
24496 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24498         * sysdeps/x86_64/preconfigure.in: New file.
24499         * sysdeps/x86_64/preconfigure: New generated file.
24501 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24503         [BZ #13824]
24504         * math/e_exp2l.c: Include <float.h>.
24505         (__ieee754_exp2l): Handle overflow and underflow cases
24506         separately.  Only pass fractional part of argument to
24507         __ieee754_expl.
24508         * math/libm-test.inc (exp2_test): Add more tests.
24510         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24511         negating x to take absolute value.
24512         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24513         Likewise.
24514         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24515         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24516         Likewise.
24517         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24518         computing low part if x was negated.
24519         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24521 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24523         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24524         la_x32_gnu_pltexit.
24525         (pltexit): Cast int_retval to ptrdiff_t.
24526         * elf/tst-auditmod3b.c: Likewise.
24527         * elf/tst-auditmod4b.c: Likewise.
24528         * elf/tst-auditmod5b.c: Likewise.
24529         * elf/tst-auditmod6b.c: Likewise.
24530         * elf/tst-auditmod6c.c: Likewise.
24531         * elf/tst-auditmod7b.c: Likewise.
24533         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24534         and x32_gnu_pltexit.
24536         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24537         __ELF_NATIVE_CLASS.
24538         (La_x32_regs): New macro.
24539         (La_x32_retval): Likewise.
24540         (la_x32_gnu_pltenter): New function prototype.
24541         (la_x32_gnu_pltexit): Likewise.
24543 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24545         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24546         exponent.
24548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24550         * configure.in (libc_cv_cc_nofma): Check for option to disable
24551         generation of FMA instructions.
24552         * configure: Regenerate.
24553         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24554         * sysdeps/ieee754/dbl-64/Makefile: New file.
24555         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24556         Remove brandred-fma4.
24557         (CFLAGS-brandred-fma4.c): Remove.
24558         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24559         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24560         define.
24561         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24562         define.
24564 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24566         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24567         LLONG_MAX != LONG_MAX.
24568         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24569         (_fitoa_word): Likewise.
24570         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24571         LLONG_MAX != LONG_MAX.
24572         * stdio-common/_itowa.h: Include <_itoa.h>.
24573         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24574         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24575         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24576         only if not defined.
24577         (_ITOA_WORD_TYPE): Likewise.
24578         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24579         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24581 2012-03-21  David S. Miller  <davem@davemloft.net>
24583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24585 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24587         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24588         of x86_64 when setting libc_cv_slibdir, libdir and
24589         libc_cv_localedir.
24590         * sysdeps/unix/sysv/linux/configure: Regenerated.
24592 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24594         * manual/lang.texi (Old Varargs): Remove section.
24595         (How Variadic): Update menu.
24596         (va_start): Do not mention varargs.h.
24598 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24599             Joseph Myers  <joseph@codesourcery.com>
24601         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24602         link test.
24603         * configure: Regenerated.
24605 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24607         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24608         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24609         conformtest.pl
24611 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24613         * NOTES: Remove.
24614         * Makefile (files-for-dist): Remove NOTES.
24615         (NOTES): Remove rule.
24616         * README: Don't refer to NOTES.
24617         * manual/creature.texi: Don't include macros.texi.
24618         * manual/intro.texi (creature.texi): Remove comment referring to
24619         NOTES.
24621         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24622         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24623         * configure: Regenerated.
24624         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24625         LIBC_TRY_CC_OPTION.
24626         (libc_cv_as_i686): Likewise.
24627         (libc_cv_cc_avx): Likewise.
24628         (libc_cv_cc_sse2avx): Likewise.
24629         (libc_cv_cc_fma4): Likewise.
24630         (libc_cv_cc_novzeroupper): Likewise.
24631         * sysdeps/i386/configure: Regenerated.
24633         [BZ #13883]
24634         * sysdeps/i386/fpu/s_cexp.S: Remove.
24635         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24636         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24637         * math/libm-test.inc (cexp_test): Add more tests.
24638         * sysdeps/i386/fpu/libm-test-ulps: Update.
24639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24641 2012-03-21  Allan McRae  <allan@archlinux.org>
24643         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24645 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24647         [BZ #13871]
24648         * math/w_exp2.c: Do not include <float.h>.
24649         (o_threshold, u_threshold): Remove.
24650         (__exp2): Calculate result before checking finiteness and calling
24651         __kernel_standard.
24652         * math/w_exp2f.c: Likewise.
24653         * math/w_exp2l.c: Likewise.
24654         * math/libm-test.inc (exp2_test): Require overflow exception for
24655         1e6 input.
24657         [BZ #3866]
24658         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24659         range of signed 64-bit integers before using fistpll.  Remove
24660         checks for whether integers fit in mantissa bits.
24661         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24662         the range of signed 32-bit integers before using fistpl.  Remove
24663         checks for whether integers fit in mantissa bits.
24664         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24665         (__ieee754_powl): Test for y outside the range of signed 64-bit
24666         integers before using fistpll.  Reduce 64-bit values to 63-bit
24667         ones as needed.
24668         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24669         divide-by-zero is raised for zero to large negative powers.
24670         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24671         (__ieee754_powl): Test for y outside the range of signed 64-bit
24672         integers before using fistpll.  Reduce 64-bit values to 63-bit
24673         ones as needed.
24674         * math/libm-test.inc (pow_test): Add more tests.
24676 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24678         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24679         <stdio-common/_itoa.h>.
24680         * debug/segfault.c: Likewise.
24681         * elf/dl-cache.c: Likewise.
24682         * elf/dl-minimal.c: Likewise.
24683         * elf/dl-misc.c: Likewise.
24684         * elf/dl-sysdep.c: Likewise.
24685         * elf/dl-version.c: Likewise.
24686         * elf/rtld.c: Likewise.
24687         * hurd/hurdsock.c: Likewise.
24688         * hurd/lookup-retry.c: Likewise.
24689         * malloc/malloc.c: Likewise.
24690         * malloc/mtrace.c: Likewise.
24691         * nscd/nscd_getgr_r.c: Likewise.
24692         * nscd/nscd_getpw_r.c: Likewise.
24693         * nscd/nscd_getserv_r.c: Likewise.
24694         * posix/getopt_init.c: Likewise.
24695         * posix/wordexp.c: Likewise.
24696         * stdio-common/_itoa.c: Likewise.
24697         * stdio-common/printf_fphex.c: Likewise.
24698         * stdio-common/vfprintf.c: Likewise.
24699         * string/_strerror.c: Likewise.
24700         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24701         * sysdeps/i386/i686/hp-timing.h: Likewise.
24702         * sysdeps/mach/_strerror.c: Likewise.
24703         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24704         * sysdeps/mach/hurd/sethostid.c: Likewise.
24705         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24706         * sysdeps/mach/xpg-strerror.c: Likewise.
24707         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24708         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24709         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24710         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24711         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24712         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24713         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24714         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24715         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24716         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24717         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24718         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24719         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24720         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24721         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24722         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24723         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24724         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24725         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24726         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24727         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24729         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24731         * stdio-common/_itoa.h: Moved to ...
24732         * sysdeps/generic/_itoa.h: Here.
24734         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24736         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24737         instead of "_itoa.h" and "_itowa.h".
24738         * stdio-common/vfprintf.: Likewise.
24740 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24742         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24743         <bits/wordsize.h>.
24744         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24745         (__signbit): Likwise.
24746         (llrintf): Likwise.
24747         (llrint): Likwise.
24749 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24751         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24752         __WORDSIZE != 64.
24754 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24756         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24757         OVERFLOW_EXCEPTION_OK.
24758         * math/libm-test.inc ("Philosophy"): Update comment about
24759         exception testing.
24760         (OVERFLOW_EXCEPTION): Define.
24761         (OVERFLOW_EXCEPTION_OK): Likewise.
24762         (INVALID_EXCEPTION_OK): Renumber.
24763         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24764         (IGNORE_ZERO_INF_SIGN): Likewise.
24765         (test_exceptions): Handle FE_OVERFLOW.
24766         (exp10_test): Expect overflow exceptions.
24767         (exp2_test): Likewise.
24768         (expm1_test): Likewise.
24769         (nextafter_test): Likewise.
24770         (pow_test): Likewise.
24771         (scalbn_test): Likewise.
24772         (scalbln_test): Likewise.
24774 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24776         * sysdeps/x86_64/bits/atomic.h
24777         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24778         64bit integer.
24779         (atomic_exchange_acq): Likewise.
24780         (__arch_exchange_and_add_body): Likewise.
24781         (__arch_add_body): Likewise.
24782         (atomic_add_negative): Likewise.
24783         (atomic_add_zero): Likewise.
24785 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24787         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24788         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24790 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24792         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24793         Check __x86_64__ instead of __WORDSIZE.
24795 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24797         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24799 2012-03-19  David S. Miller  <davem@davemloft.net>
24801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24803         * sysdeps/sparc/fpu/fenv_private.h: New file.
24804         * sysdeps/sparc/fpu/math_private.h: Use it.
24805         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24806         Remove.
24807         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24808         (libc_feholdexcept_setroundl): Remove.
24809         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24810         Remove.
24811         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24812         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24814 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24816         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24817         int64_t instead of long int.
24818         (INSERT_WORDS64): Likwise.
24820 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24822         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24823         _Unwind_GetCFA return to _Unwind_Ptr first.
24825 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24827         [BZ #13629]
24828         * math/s_clog.c: Include <float.h>.
24829         (__clog): Scale large or subnormal inputs.
24830         * math/s_clogf.c: Likewise.
24831         * math/s_clogl.c: Likewise.
24832         * math/s_clog10.c: Include <float.h>.
24833         (M_LOG10_2): Define.
24834         (__clog10): Scale large or subnormal inputs.
24835         * math/s_clog10f.c: Likewise.
24836         * math/s_clog10l.c: Likewise.
24837         * math/libm-test.inc (clog_test): Add more tests.
24838         (clog10_test): Likewise.
24839         * sysdeps/i386/fpu/libm-test-ulps: Update.
24840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24842         [BZ #11451]
24843         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24844         x and y.
24845         * math/libm-test.inc (atan2_test): Add another test.
24847         * Makerules (common-objdir-compile): Remove.
24848         * sysdeps/unix/Makefile (config-generated): Do not add
24849         $(unix-generated) to variable.
24850         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24851         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24852         Remove rule.
24853         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24854         Likewise.
24855         [generic bits/local_lim.h] (before-compile): Do not append to
24856         variable.
24857         [generic bits/local_lim.h] (common-generated): Likewise.
24858         [generic sys/param.h] (before-compile): Do not append to variable.
24859         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24860         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24861         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24862         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24863         include.
24864         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24865         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24866         [generic sys/param.h] ($(addprefix
24867         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24868         [generic sys/param.h] (common-generated): Do not append to
24869         variable.
24870         [generic sys/param.h] (sysdep_headers): Likewise.
24871         [generic bits/errno.h] (before-compile): Do not append to
24872         variable.
24873         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24874         rule.
24875         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24876         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24877         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24878         [generic bits/errno.h] (common-generated): Do not append to
24879         variable.
24880         [generic bits/ioctls.h] (before-compile): Do not append to
24881         variable.
24882         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24883         rule.
24884         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24885         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24886         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24887         rule.
24888         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24889         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24890         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24891         [generic bits/ioctls.h] (common-generated): Do not append to
24892         variable.
24893         [generic sys/syscall.h] (syscall.h): Remove variable.
24894         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24895         rule.
24896         [generic sys/syscall.h] (before-compile): Do not append to
24897         variable.
24898         [generic sys/syscall.h] (common-generated): Likewise.
24899         * sysdeps/unix/errnos-tmpl.c: Remove file.
24900         * sysdeps/unix/errnos.awk: Likewise.
24901         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24902         * sysdeps/unix/ioctls.awk: Likewise.
24903         * sysdeps/unix/mk-local_lim.c: Likewise.
24904         * sysdeps/unix/snarf-ioctls: Likewise.
24906 2012-03-19  Richard Henderson  <rth@twiddle.net>
24908         * sysdeps/i386/fpu/fenv_private.h: New file.
24909         * sysdeps/i386/fpu/math_private.h: Use it.
24910         (math_opt_barrier, math_force_eval): Remove.
24911         (libc_feholdexcept_setround_53bit): Remove.
24912         (libc_feupdateenv_53bit): Remove.
24913         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24914         (math_opt_barrier, math_force_eval): Remove.
24915         (libc_feholdexcept): Remove.
24916         (libc_feholdexcept_setround): Remove.
24917         (libc_fetestexcept, libc_fesetenv): Remove.
24918         (libc_feupdateenv_test): Remove.
24919         (libc_feupdateenv, libc_feholdsetround): Remove.
24920         (libc_feresetround): Remove.
24922         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24923         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24925         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24926         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24927         (libc_feupdateenv_testl): New.
24928         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24929         (libc_feupdateenv_testf): New.
24930         (libc_feupdateenv): Use libc_feupdateenv_test.
24931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24932         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24934         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24935         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24936         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24937         (libc_feresetround_noex): New.
24938         (libc_feresetround_noexf): New.
24939         (libc_feresetround_noexl): New.
24940         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24941         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24942         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24943         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24944         SET_RESTORE_ROUND.
24945         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24946         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24947         (__cos): Likewise.
24948         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24949         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24950         SET_RESTORE_ROUND_NOEX.
24951         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24952         SET_RESTORE_ROUND_NOEXF.
24953         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24954         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24955         (libc_feholdsetroundf): New.
24956         (libc_feresetround, libc_feresetroundf): New.
24958         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24959         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24960         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24962         * sysdeps/generic/math_private.h: Include <fenv.h>.
24963         (default_libc_feholdexcept): New.
24964         (default_libc_feholdexcept_setround): New.
24965         (default_libc_fesetenv, default_libc_feupdateenv): New.
24966         (libc_feholdexcept): Only define if undefined.
24967         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24968         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24969         (libc_feholdexcept_setroundl): Likewise.
24970         (libc_feholdexcept_setround_53bit): Likewise.
24971         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24972         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24973         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24974         (libc_feupdateenv_53bit): Likewise.
24975         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24976         (libc_feholdexcept): Convert from macro to inline function.
24977         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24978         (libc_fesetenv, libc_feupdateenv): Likewise.
24980         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24981         not previously defined.
24982         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24983         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24984         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24985         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24986         * sysdeps/ieee754/flt-32/math_private.h: New file.
24987         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24988         math_private.h below SET_FLOAT_WORD.
24989         (__isnan, __isinf_ns, __finite): Remove.
24990         (__isnanf, __isinf_nsf, __finitef): Remove.
24992 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24996 2012-03-17  David S. Miller  <davem@davemloft.net>
24998         [BZ #6471]
24999         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25000         for 2.16.
25002 2012-03-16  David S. Miller  <davem@davemloft.net>
25004         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25005         warnings.
25007         [BZ #6471]
25008         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25009         properly.
25010         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25011         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25012         sysdep_routines when subdir is sysvipc.
25013         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25014         __getshmlba helper.
25016         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25018 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25020         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25021         [__LP64__].
25023 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25025         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25026         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25027         (__lround): Renamed to ...
25028         (__llround): This.  Replace long int with long long int.
25029         Define lround functions as aliases of llround functions.
25030         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25032 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25034         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25035         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25036         adresses to uintptr_t.  Replace "long int" and "unsigned long
25037         int" with "greg_t" on va_arg.
25039 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25041         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25042         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25044         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25045         Move e_machine check before EI_CLASS check.  Handle x32
25046         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25047         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25048         SKIP_EM_IA_64 and include
25049         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25051         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25052         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25053         (add_system_dir): New macro.
25055         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25056         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25058 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25060         [BZ #2551]
25061         [BZ #2552]
25062         [BZ #2553]
25063         [BZ #2554]
25064         [BZ #2562]
25065         [BZ #2563]
25066         [BZ #2565]
25067         [BZ #2566]
25068         [BZ #2576]
25069         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25070         (y0): Likewise.
25071         * math/w_j0f.c (j0f): Likewise.
25072         (y0f): Likewise.
25073         * math/w_j0l.c (__j0l): Likewise.
25074         (__y0l): Likewise.
25075         * math/w_j1.c (j1): Likewise.
25076         (y1): Likewise.
25077         * math/w_j1f.c (j1f): Likewise.
25078         (y1f): Likewise.
25079         * math/w_j1l.c (__j1l): Likewise.
25080         (__y1l): Likewise.
25081         * math/w_jn.c (jn): Likewise.
25082         (yn): Likewise.
25083         * math/w_jnf.c (jnf): Likewise.
25084         (ynf): Likewise.
25085         * math/w_jnl.c (__jnl): Likewise.
25086         (__ynl): Likewise.
25087         * math/libm-test.inc (j0_test): Add more tests.
25088         (j1_test): Likewise.
25089         (jn_test): Likewise.  Add trailing semicolon to existing test.
25090         (y0_test): Likewise.
25091         (y1_test): Likewise.
25092         * sysdeps/i386/fpu/libm-test-ulps: Update.
25093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25095         [BZ #13851]
25096         [BZ #13854]
25097         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25098         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25099         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25100         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25101         (__tanl): Set errno for infinite argument.
25102         * sysdeps/i386/fpu/mptan.c: Remove.
25103         * sysdeps/i386/fpu/s_tan.S: Likewise.
25104         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25105         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25106         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25107         * math/libm-test.inc (tan_test): Add more tests and enable more
25108         tests for double and long double.
25109         * sysdeps/i386/fpu/libm-test-ulps: Update.
25110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25112 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25114         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25115         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25117 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25119         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25120         * configure.in: Use it for both main tree and add-ons.
25121         * configure: Regenerated.
25123 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25125         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25127 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25129         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25130         in comment.
25132         [BZ #13851]
25133         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25134         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25135         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25136         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25137         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25138         infinite argument.
25139         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25140         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25141         != 0 for prec == 2.
25142         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25143         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25144         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25145         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25146         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25147         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25148         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25149         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25150         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25151         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25152         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25153         * math/libm-test.inc (cos_test): Add more tests and enable more
25154         tests for long double.
25155         (sin_test): Likewise.
25156         (sincos_test): Likewise.
25157         * sysdeps/i386/fpu/libm-test-ulps: Update.
25158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25160 2012-03-16  David S. Miller  <davem@davemloft.net>
25162         * sysdeps/sparc/fpu/math_private.h: New file.
25164 2012-03-15  David S. Miller  <davem@davemloft.net>
25166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25167         file.
25168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25170         file.
25171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25176         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25177         sysdep routines.
25178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25180         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25181         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25183         * sysdeps/sparc/sparc-ifunc.h: New file.
25184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25185         sparc-ifunc.h
25186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25188         Likewise.
25189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25190         Likewise.
25191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25195         Likewise.
25196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25201         Likewise.
25202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25203         Likewise.
25204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25209         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25210         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25211         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25213         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25216         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25217         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25219         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25220         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25221         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25222         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25223         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25224         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25225         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25226         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25227         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25229 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25231         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25232         scaling.
25233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25235 2012-03-15  Andreas Jaeger  <aj@suse.de>
25237         [BZ #13852]
25238         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25239         ieee754/flt-32 implementation for sin, cos and sincos.
25240         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25241         * sysdeps/i386/fpu/s_cosf.S: Likewise.
25242         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25243         * sysdeps/i386/fpu/s_sinf.S: Likewise.
25244         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25245         ieee754/flt-32 implementation for tan.
25247         * math/libm-test.inc (cos_test): Enable some large input tests for
25248         float as well
25249         (sin_test): Likewise.
25250         (sincos_test): Likewise.
25251         (tan_test): Add tests for large input.
25253         * sysdeps/i386/fpu/libm-test-ulps: Update.
25255 2012-03-15  Andreas Jaeger  <aj@suse.de>
25257         [BZ #13658]
25258         * math/libm-test.inc (cos_test): Add more test cases.
25259         (sin_test): Likewise.
25260         (sincos_test): Likewise.
25262 2012-03-15  Andreas Jaeger  <aj@suse.de>
25264         [BZ #13837]
25265         * math/libm-test.inc (cos_test): Add a test case for large input
25266         value.
25267         (sin_test): Likewise.
25268         (sincos_test): Likewise.
25270 2012-03-15  Andreas Jaeger  <aj@suse.de>,
25271         Joseph Myers  <joseph@codesourcery.com>
25273         [BZ #13658]
25274         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25275         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25276         * sysdeps/i386/fpu/branred.c: Likewise.
25277         * sysdeps/i386/fpu/dosincos.c: Likewise.
25278         * sysdeps/i386/fpu/mpa.c: Likewise.
25279         * sysdeps/i386/fpu/s_cos.S: Likewise.
25280         * sysdeps/i386/fpu/s_sin.S: Likewise.
25281         * sysdeps/i386/fpu/s_sincos.S: Likewise.
25282         * sysdeps/i386/fpu/sincos32.c: Likewise.
25284         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25285         Define.
25286         (libc_feupdateenv_53bit): Define.
25287         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25288         Define.
25289         (libc_feupdateenv_53bit): Define.
25291         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25292         53 bit (without extend i386 double precision).
25294         * math/libm-test.inc (sincos_test): Add tests for large input.
25295         (sin): Likewise.
25296         (cos): Likewise.
25298         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25300 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25304 2012-03-15  David S. Miller  <davem@davemloft.net>
25306         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25307         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25308         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25309         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25320         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25322         file.
25323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25325         file.
25326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25328         file.
25329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25331         file.
25332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25333         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25334         fmin/fmax sysdep routines.
25335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25337 2012-03-14  David S. Miller  <davem@davemloft.net>
25339         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25340         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25341         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25342         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25343         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25344         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25345         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25346         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25347         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25348         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25349         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25350         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25351         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25352         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25353         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25354         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25355         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25356         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25357         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25358         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25359         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25360         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25361         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25362         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25363         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25364         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25365         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25366         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25367         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25368         routines.
25369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25370         file.
25371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25373         file.
25374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25376         file.
25377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25379         file.
25380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25382         file.
25383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25385         file.
25386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25387         file.
25388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25389         file.
25390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25391         file.
25392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25393         New file.
25394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25395         file.
25396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25397         file.
25398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25400         file.
25401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25403         file.
25404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25406         file.
25407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25409         VIS3 routines.
25411         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25412         New file.
25414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25416         * sysdeps/sparc/configure.in: New file.
25417         * sysdeps/sparc/configure: Generate.
25418         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25419         * configure: Regenerate.
25420         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25421         * config.make.in (have-as-vis3): New.
25422         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25423         available use -Av9d instead of -Av9a.
25424         * sysdeps/sparc/sparc64/Makefile: Likewise.
25425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25427         New file.
25428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25429         file.
25430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25431         New file.
25432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25433         file.
25434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25435         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25436         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25437         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25438         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25440         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25441         fzeros/fnegs to load 0x80000000 into a float register instead of
25442         using the stack.
25443         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25445 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25447         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25448         bits/syscall.h.
25449         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25450         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25451         ($(inst_includedir)/bits/syscall.h): Remove rule.
25452         ($(objpfx)bits/syscall.d): Include instead of
25453         $(objpfx)syscall-list.d.
25454         (generated): Change syscall-list.h and syscall-list.d to
25455         bits/syscall.h and bits/syscall.d.
25457 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25459         [BZ #13846]
25460         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25462 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25464         [BZ #13841]
25465         * math/s_csqrt.c: Include <float.h>.
25466         (__csqrt): Scale large or subnormal inputs.
25467         * math/s_csqrtf.c: Likewise.
25468         * math/s_csqrtl.c: Likewise.
25469         * math/libm-test.inc (csqrt_test): Add more tests.
25470         * sysdeps/i386/fpu/libm-test-ulps: Update.
25471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25473         [BZ #13840]
25474         * math/libm-test.inc (hypot_test): Add more tests.
25476 2012-03-13  David S. Miller  <davem@davemloft.net>
25478         [BZ #13840]
25479         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25480         double-precision for the calculation instead of scaling.
25482 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25484         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25485         manipulate bits before adding and subtracting TWO52[sx].
25486         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25487         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25488         Likewise.
25489         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25491 2012-03-13  David S. Miller  <davem@davemloft.net>
25493         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25494         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25495         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25496         rtld-global-offsets.h
25497         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25499         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25500         large parameters.
25502         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25504         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25505         'err' in the ifdef scope in which it is actually used.
25507         * nss/nss_db/db-init.c: Include string.h
25509 2012-03-12  David S. Miller  <davem@davemloft.net>
25511         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25512         masking out of the most significant byte of random value used.
25513         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25514         Fix coding style in previous change.
25516         * sysdeps/unix/sysv/linux/kernel-features.h
25517         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25518         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25519         expression.
25520         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25521         later.
25523 2012-03-11  David S. Miller  <davem@davemloft.net>
25525         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25526         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25527         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25528         for 'resultvar' otherwise things get truncated on 64-bit.
25530         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25531         Fix masking out of the most significant byte of random value used.
25533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25535 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25539 2012-03-09  David S. Miller  <davem@davemloft.net>
25541         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25542         variables with appropriate CPP guards.
25543         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25544         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25545         on resulting framesize and the management of the outregs buffer for pltexit.
25546         Preserve floating point return values across _dl_call_pltexit call.
25547         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25548         framesize and the management of the outregs buffer for pltexit.
25549         Preserve floating point return values across _dl_call_pltexit
25550         call.
25551         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25552         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25553         (print_exit): Fix format string for return register value.
25555 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25557         * sunrpc/Makefile (others): Add rpcgen.
25558         ($(objpfx)rpcgen): Remove special build rule and dependency on
25559         libc.
25560         * sunrpc/rpcgen.c: New file.
25562 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25564         [BZ #13673]
25565         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25566         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25567         * sysdeps/i386/crti.S: Likewise.
25568         * sysdeps/i386/crtn.S: Likewise.
25569         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25570         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25571         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25572         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25573         * sysdeps/sh/crti.S: Likewise.
25574         * sysdeps/sh/crtn.S: Likewise.
25575         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25577         [BZ #13673]
25578         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25579         with URL.
25580         * locale/programs/locfile-kw.gperf: Likewise.
25581         * locale/programs/charmap-kw.h: Regenerated.
25582         * locale/programs/locfile-kw.h: Likewise.
25584         [BZ #13673]
25585         * intl/plural.y: Replace FSF snail mail address with URL.
25586         * intl/plural.c: Regenerated.
25588 2012-03-09  Richard Henderson  <rth@twiddle.net>
25590         * include/math_private.h: Remove file.
25591         * math/math_private.h: Move file ...
25592         * sysdeps/generic/math_private.h: ... here.
25594         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25595         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25596         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25598         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25599         and <math_private.h>.
25600         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25601         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25602         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25603         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25604         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25605         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25606         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25607         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25608         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25609         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25611         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25612         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25613         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25614         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25615         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25616         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25617         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25618         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25619         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25620         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25621         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25622         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25623         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25624         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25625         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25626         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25627         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25628         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25629         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25630         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25631         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25632         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25633         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25634         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25635         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25636         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25637         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25638         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25639         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25640         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25641         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25642         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25643         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25644         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25645         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25646         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25647         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25648         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25649         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25650         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25651         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25652         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25653         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25654         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25655         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25656         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25657         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25658         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25659         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25660         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25661         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25662         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25663         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25664         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25665         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25666         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25667         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25668         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25669         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25670         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25671         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25672         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25673         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25674         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25675         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25676         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25677         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25678         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25679         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25680         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25681         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25682         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25683         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25684         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25685         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25686         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25687         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25688         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25689         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25690         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25691         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25692         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25693         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25694         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25695         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25696         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25697         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25698         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25699         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25700         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25701         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25702         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25703         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25704         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25705         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25706         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25707         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25708         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25709         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25710         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25711         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25712         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25713         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25714         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25715         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25716         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25717         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25718         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25719         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25720         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25721         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25722         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25723         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25724         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25725         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25726         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25727         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25728         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25729         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25730         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25731         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25732         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25733         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25734         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25735         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25736         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25737         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25738         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25739         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25740         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25741         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25742         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25743         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25744         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25745         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25746         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25747         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25748         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25749         * sysdeps/ieee754/k_standard.c: Likewise.
25750         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25751         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25752         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25753         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25754         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25755         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25756         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25757         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25758         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25759         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25760         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25761         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25762         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25763         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25764         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25765         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25766         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25767         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25768         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25769         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25770         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25771         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25772         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25773         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25774         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25775         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25776         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25777         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25778         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25779         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25780         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25781         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25782         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25783         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25784         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25785         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25786         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25787         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25788         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25789         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25790         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25791         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25792         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25793         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25794         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25795         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25796         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25797         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25798         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25799         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25800         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25801         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25802         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25803         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25804         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25805         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25806         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25807         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25808         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25809         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25810         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25811         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25812         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25813         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25814         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25815         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25816         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25817         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25818         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25819         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25820         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25821         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25822         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25823         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25824         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25825         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25826         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25827         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25828         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25829         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25830         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25831         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25832         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25833         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25834         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25835         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25836         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25837         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25838         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25839         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25840         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25841         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25842         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25843         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25844         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25845         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25846         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25847         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25848         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25849         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25850         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25851         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25852         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25853         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25854         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25855         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25856         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25857         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25858         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25859         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25860         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25861         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25862         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25863         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25864         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25865         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25866         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25867         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25868         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25869         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25870         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25871         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25872         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25873         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25874         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25875         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25876         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25877         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25878         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25879         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25880         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25881         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25882         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25883         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25884         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25885         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25886         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25887         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25888         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25889         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25890         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25891         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25892         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25893         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25894         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25895         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25896         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25897         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25898         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25899         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25900         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25901         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25902         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25903         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25904         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25905         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25906         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25907         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25908         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25909         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25910         * sysdeps/ieee754/s_lib_version.c: Likewise.
25911         * sysdeps/ieee754/s_matherr.c: Likewise.
25912         * sysdeps/ieee754/s_signgam.c: Likewise.
25913         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25914         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25915         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25916         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25917         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25918         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25919         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25920         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25921         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25922         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25923         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25924         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25925         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25926         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25927         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25928         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25929         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25930         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25931         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25932         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25933         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25935 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25937         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25938         * sunrpc/rpc_main.c: Likewise.
25939         * sunrpc/rpc_svcout.c: Likewise.
25941 2012-03-09  David S. Miller  <davem@davemloft.net>
25943         * include/math_private.h: New file.
25945 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25947         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25948         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25949         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25950         from <bits/socket_type.h>.
25951         (enum __socket_type): Don't define here.
25952         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25953         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25954         bits/socket_type.h.
25956         [BZ #13566]
25957         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25958         checking __USE_GNU.
25960         * Makerules ($(inst_includedir)/%.h): New rule.
25961         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25962         (install-others): Remove variable setting.
25963         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25965 2012-03-08  Richard Henderson  <rth@twiddle.net>
25967         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25968         from macro to inline function; merge with the
25969         !__LIBC_INTERNAL_MATH_INLINES version.
25970         (__ieee754_sqrtf): Likewise.
25972         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25973         to inline function.
25974         (__rintf, __floor, __floorf): Likewise.
25976         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25977         macro to inline function.
25978         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25980         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25981         not <math/math_private.h>.
25983 2012-03-08  David S. Miller  <davem@davemloft.net>
25985         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25986         copyright year.
25987         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25989 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25991         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25992         normalization.
25993         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25994         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25996 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25998         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25999         be defined individually, they must be defined as a block.  Define
26000         S for printing a string instead of hidint the different by using a
26001         macro for adding the 'l'.
26002         * stdio-common/tst-fphex-wide.c: Adjust.
26004 2012-03-07  Marek Polacek  <polacek@redhat.com>
26006         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26008 2012-03-08  Marek Polacek  <polacek@redhat.com>
26010         [BZ #13806]
26011         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26012         * stdio-common/tst-fphex.c: Define a few macros to make the
26013         test reusable.  Use them.
26014         * stdio-common/tst-fphex-wide.c: New file.
26016 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26018         [BZ #6911]
26019         * manual/macros.texi (gnusystems): New macro.
26020         (nongnusystems): Likewise.
26021         (gnulinuxhurdsystems): Likewise.
26022         (gnuhurdsystems): Likewise..
26023         (gnulinuxsystems): Likewise.
26024         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26025         variants of the GNU system, not "GNU system".
26026         * manual/conf.texi: Likewise.
26027         * manual/errno.texi: Likewise.  Update example of errno macro
26028         expansion.
26029         * manual/filesys.texi: Likewise.
26030         (getumask): Document as specific to GNU/Hurd.
26031         * manual/install.texi: Likewise.  Reword some references to
26032         GNU/Linux.
26033         * manual/intro.texi: Likewise.
26034         * manual/io.texi: Likewise.
26035         (File Name Portability): Detail which constraints are inapplicable
26036         to all GNU systems and which are only inapplicable to GNU/Hurd.
26037         * manual/job.texi: Likewise.
26038         * manual/llio.texi: Likewise.
26039         (O_NOCTTY): Document as present on GNU/Linux.
26040         * manual/maint.texi: Likewise.
26041         * manual/memory.texi: Likewise.
26042         * manual/pattern.texi: Likewise.
26043         * manual/pipe.texi: Likewise.
26044         * manual/process.texi: Likewise.
26045         * manual/resource.texi: Likewise.
26046         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26047         child on GNU/Hurd.
26048         * manual/setjmp.texi: Likewise.
26049         * manual/signal.texi: Likewise.
26050         * manual/startup.texi: Likewise.
26051         * manual/stdio.texi: Likewise.
26052         * manual/terminal.texi: Likewise.
26053         (ONLCR): Document as POSIX.
26054         (OXTABS): Document availability on GNU/Linux as XTABS.
26055         (ONOEOT): Document availability separately from other bits.
26056         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26057         * manual/time.texi: Likewise.
26058         * manual/users.texi: Likewise.
26059         * INSTALL: Regenerated.
26060         * sysdeps/gnu/errlist.c: Regenerated.
26062         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26063         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26064         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26065         puts.
26066         * configure: Regenerated.
26068 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26070         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26071         default includes instead of AC_HEADER_CHECK.
26072         * sysdeps/i386/configure: Regenerated.
26074         [BZ #10716]
26075         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26076         * math/s_cacoshf.c (__cacoshf): Likewise.
26077         * math/s_cacoshl.c (__cacoshl): Likewise.
26078         * math/s_casinh.c (__casinh): Set signs of result from argument.
26079         * math/s_casinhf.c (__casinhf): Likewise.
26080         * math/s_casinhl.c (__casinhl): Likewise.
26081         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26082         (casinh_test): Add more tests.
26083         * sysdeps/i386/fpu/libm-test-ulps: Update.
26084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26086 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26088         * po/zh_TW.po: Update from translation team.
26090         * login/Makefile (distribute): Remove variable.
26091         * catgets/Makefile: Likewise.
26092         * mach/Makefile: Likewise.
26093         * malloc/Makefile: Likewise.
26094         * misc/Makefile: Likewise.
26095         * iconv/Makefile: Likewise.
26096         * nscd/Makefile: Likewise.
26097         * hurd/Makefile: Likewise.
26098         * manual/Makefile: Likewise.
26099         * locale/Makefile: Likewise.
26100         * intl/Makefile: Likewise.
26101         * conform/Makefile: Likewise.
26102         * nss/Makefile: Likewise.
26103         * time/Makefile: Likewise.
26104         * soft-fp/Makefile: Likewise.
26105         * dirent/Makefile: Likewise.
26106         * gmon/Makefile: Likewise.
26107         * po/Makefile: Likewise.
26108         * rt/Makefile: Likewise.
26109         * socket/Makefile: Likewise.
26110         * math/Makefile: Likewise.
26111         * signal/Makefile: Likewise.
26112         * debug/Makefile: Likewise.
26113         * elf/Makefile: Likewise.
26114         * timezone/Makefile: Likewise.
26115         * stdlib/Makefile: Likewise.
26116         * iconvdata/Makefile: Likewise.
26117         * sunrpc/Makefile: Likewise.
26118         * io/Makefile: Likewise.
26119         * argp/Makefile: Likewise.
26120         * inet/Makefile: Likewise.
26121         * hesiod/Makefile: Likewise.
26122         * grp/Makefile: Likewise.
26123         * csu/Makefile: Likewise.
26124         * wctype/Makefile: Likewise.
26125         * crypt/Makefile: Likewise.
26126         * libio/Makefile: Likewise.
26127         * string/Makefile: Likewise.
26128         * nis/Makefile: Likewise.
26129         * resolv/Makefile: Likewise.
26130         * stdio-common/Makefile: Likewise.
26131         * wcsmbs/Makefile: Likewise.
26132         * dlfcn/Makefile: Likewise.
26133         * posix/Makefile: Likewise.
26135         [BZ #6959]
26136         * timezone/Makefile: Don't install timezone files, just the programs
26137         and scripts.
26139 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26141         * nss/databases.def: Add missing gshadow entry.
26143         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26145 2012-03-06  Marek Polacek  <polacek@redhat.com>
26147         [BZ #13726]
26148         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26149         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26150         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26151         * stdio-common/tst-long-dbl-fphex.c: New file.
26153 2012-03-06  David S. Miller  <davem@davemloft.net>
26155         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26156         (set_obp_int): New function.
26157         (get_obp_int): New function.
26158         (__get_clockfreq_via_dev_openprom): Likewise.
26159         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26160         Avoid unused variable warnings on 'val' and use builtin_expect.
26161         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26162         __builtin_expect.
26163         (INLINE_CLONE_SYSCALL): Likewise.
26165 2012-03-05  David S. Miller  <davem@davemloft.net>
26167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26169 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26173         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26174         only for |x| >= 40.
26175         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26177 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26179         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26180         Replace gettimeofday with __vdso_gettimeofday.
26182         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26183         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26184         __vdso_clock_gettime and __vdso_getcpu.
26186         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26187         time with __vdso_time.
26189 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26191         * manual/lang.texi (size_t): Note types to which size_t may be
26192         equivalent with the GNU C Library, but do not describe when
26193         differences between them are significant.
26195 2012-03-05  Andreas Jaeger  <aj@suse.de>
26197         * sysdeps/i386/fpu/libm-test-ulps: Update.
26199 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26201         [BZ #3976]
26202         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26203         (__ieee754_pow): Save and restore rounding mode and use
26204         round-to-nearest for main computations.
26205         * math/libm-test.inc (pow_test_tonearest): New function.
26206         (pow_test_towardzero): Likewise.
26207         (pow_test_downward): Likewise.
26208         (pow_test_upward): Likewise.
26209         (main): Call the new functions.
26210         * sysdeps/i386/fpu/libm-test-ulps: Update.
26211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26213         [BZ #3976]
26214         * math/libm-test.inc (cosh_test_tonearest): New function.
26215         (cosh_test_towardzero): Likewise.
26216         (cosh_test_downward): Likewise.
26217         (cosh_test_upward): Likewise.
26218         (sinh_test_tonearest): Likewise.
26219         (sinh_test_towardzero): Likewise.
26220         (sinh_test_downward): Likewise.
26221         (sinh_test_upward): Likewise.
26222         (main): Call the new functions.
26223         * sysdeps/i386/fpu/libm-test-ulps: Update.
26224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26226 2012-03-05  Tom de Vries  <tom@codesourcery.com>
26228         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26229         default stack guard is set in last bytes.
26230         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26232 2012-03-05  Kees Cook  <keescook@chromium.org>
26234         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26236         [BZ #13656]
26237         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26238         possibly allocate from heap instead of stack.
26239         * stdio-common/bug-vfprintf-nargs.c: New file.
26240         * stdio-common/Makefile (tests): Add nargs overflow test.
26242 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
26244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26246 2012-03-03  Marek Polacek  <polacek@redhat.com>
26248         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26249         * math/math_private.h: Likewise.
26250         * stdlib/tst-strtod.c: Likewise.
26251         * sysdeps/i386/i486/bits/atomic.h: Likewise.
26252         * sysdeps/x86_64/bits/atomic.h: Likewise.
26254 2012-03-02  David S. Miller  <davem@davemloft.net>
26256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26260         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26261         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26262         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26263         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26265 2012-03-02  Roland McGrath  <roland@hack.frob.com>
26267         [BZ #13792]
26268         * manual/examples/README: New file, says the example source files
26269         can be used under GPL>=2.
26270         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26271         line containing just "*/".
26272         * manual/examples/add.c: Add copyright header (GPL>=2).
26273         * manual/examples/argp-ex1.c: Likewise.
26274         * manual/examples/argp-ex2.c: Likewise.
26275         * manual/examples/argp-ex3.c: Likewise.
26276         * manual/examples/argp-ex4.c: Likewise.
26277         * manual/examples/atexit.c: Likewise.
26278         * manual/examples/db.c: Likewise.
26279         * manual/examples/dir.c: Likewise.
26280         * manual/examples/dir2.c: Likewise.
26281         * manual/examples/execinfo.c: Likewise.
26282         * manual/examples/filecli.c: Likewise.
26283         * manual/examples/filesrv.c: Likewise.
26284         * manual/examples/fmtmsgexpl.c: Likewise.
26285         * manual/examples/genpass.c: Likewise.
26286         * manual/examples/inetcli.c: Likewise.
26287         * manual/examples/inetsrv.c: Likewise.
26288         * manual/examples/isockad.c: Likewise.
26289         * manual/examples/longopt.c: Likewise.
26290         * manual/examples/memopen.c: Likewise.
26291         * manual/examples/memstrm.c: Likewise.
26292         * manual/examples/mkfsock.c: Likewise.
26293         * manual/examples/mkisock.c: Likewise.
26294         * manual/examples/mygetpass.c: Likewise.
26295         * manual/examples/pipe.c: Likewise.
26296         * manual/examples/popen.c: Likewise.
26297         * manual/examples/rprintf.c: Likewise.
26298         * manual/examples/search.c: Likewise.
26299         * manual/examples/select.c: Likewise.
26300         * manual/examples/setjmp.c: Likewise.
26301         * manual/examples/sigh1.c: Likewise.
26302         * manual/examples/sigusr.c: Likewise.
26303         * manual/examples/stpcpy.c: Likewise.
26304         * manual/examples/strdupa.c: Likewise.
26305         * manual/examples/strftim.c: Likewise.
26306         * manual/examples/strncat.c: Likewise.
26307         * manual/examples/subopt.c: Likewise.
26308         * manual/examples/swapcontext.c: Likewise.
26309         * manual/examples/termios.c: Likewise.
26310         * manual/examples/testopt.c: Likewise.
26311         * manual/examples/testpass.c: Likewise.
26312         * manual/examples/timeval_subtract.c: Likewise.
26314         [BZ #13792]
26315         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26316         function to ...
26317         * manual/timeval_subtract.c.texi: ... here, new file.
26319 2012-03-02  David S. Miller  <davem@davemloft.net>
26321         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26323 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26325         [BZ #3976]
26326         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26327         (__sin): Save and restore rounding mode and use round-to-nearest
26328         for all computations.
26329         (__cos): Save and restore rounding mode and use round-to-nearest
26330         for all computations.
26331         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26332         <fenv.h>.
26333         (tan): Save and restore rounding mode and use round-to-nearest for
26334         all computations.
26335         * math/libm-test.inc (cos_test_tonearest): New function.
26336         (cos_test_towardzero): Likewise.
26337         (cos_test_downward): Likewise.
26338         (cos_test_upward): Likewise.
26339         (sin_test_tonearest): Likewise.
26340         (sin_test_towardzero): Likewise.
26341         (sin_test_downward): Likewise.
26342         (sin_test_upward): Likewise.
26343         (tan_test_tonearest): Likewise.
26344         (tan_test_towardzero): Likewise.
26345         (tan_test_downward): Likewise.
26346         (tan_test_upward): Likewise.
26347         (main): Call the new functions.
26348         * sysdeps/i386/fpu/libm-test-ulps: Update.
26349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26351         [BZ #10135]
26352         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26353         small n, then large n, before computing and testing k+n.
26354         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26355         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26356         Likewise.
26357         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26358         Likewise.
26359         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26360         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26361         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26362         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26363         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26364         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26365         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26366         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26367         * math/libm-test.inc (scalbn_test): Add more tests.
26368         (scalbln_test): Likewise.
26370         * manual/filesys.texi (mode_t): Describe constraints on size and
26371         signedness, not exact equivalence to a particular type.
26372         (ino_t): Likewise.
26373         (ino64_t): Likewise.
26374         (dev_t): Likewise.
26375         (nlink_t): Likewise.
26376         (blkcnt_t): Likewise.
26377         (blkcnt64_t): Likewise.
26378         * manual/llio.texi (off_t): Likewise.
26380         [BZ #3976]
26381         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26382         (__ieee754_exp): Save and restore rounding mode and use
26383         round-to-nearest for all computations.
26384         * math/libm-test.inc (exp_test_tonearest): New function.
26385         (exp_test_towardzero): Likewise.
26386         (exp_test_downward): Likewise.
26387         (exp_test_upward): Likewise.
26388         (main): Call the new functions.
26389         * sysdeps/i386/fpu/libm-test-ulps: Update.
26390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26392 2012-03-01  Chris Demetriou  <cgd@google.com>
26394         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26395         have predictable order.
26397 2012-03-01  David S. Miller  <davem@davemloft.net>
26399         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26401         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26402         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26403         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26404         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26406         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26407         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26408         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26410         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26411         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26412         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26413         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26414         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26418         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26419         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26420         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26422         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26423         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26424         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26425         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26426         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26427         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26428         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26429         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26430         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26431         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26432         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26433         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26434         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26435         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26436         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26438         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26439         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26440         * sysdeps/sparc/elf/configure: Regenerated.
26442 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26444         * configure.in (AS, LD): Require binutils 2.20 or later.
26445         * configure: Regenerated.
26446         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26447         as required minimum version.
26448         * INSTALL: Regenerated.
26450         [BZ #2541]
26451         [BZ #4108]
26452         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26453         before squaring exponent.
26454         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26455         bottom long double and 27 bits of top long double before squaring
26456         exponent.
26457         * math/libm-test.inc (erfc_test): Add more tests.
26458         * sysdeps/i386/fpu/libm-test-ulps: Update.
26459         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26462 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26464         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26465         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26466         containing bit-fields.
26467         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26468         * soft-fp/single.h (_FP_UNION_S): Likewise.
26469         * soft-fp/double.h (_FP_UNION_D): Likewise.
26471 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26473         [BZ #13786]
26474         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26475         not include ../strcmp.S.
26476         [USE_AS_STRNCASECMP_L]: Likewise.
26477         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26478         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26479         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26480         (__strncasecmp_l_ia32): Define as alias to
26481         __strncasecmp_l_nonascii.
26483         [BZ #5794]
26484         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26485         * sysdeps/i386/fpu/libm-test-ulps: Update.
26486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26488         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26491 2012-02-29  Jeff Law  <law@redhat.com>
26493         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26494         out of bounds read.
26496 2012-02-29  Marek Polacek  <polacek@redhat.com>
26498         [BZ #13706]
26499         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26500         * elf/Makefile: Add rules to run tst-unused-dep.out.
26502 2012-02-28  David S. Miller  <davem@davemloft.net>
26504         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26505         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26506         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26507         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26508         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26509         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26511 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26513         * math/libm-test.inc (llround_test): Move one test from
26514         lround_test.  Use TEST_f_L in moved test.
26515         (lround_test): Move misplaced test to llround_test.  Add testcase
26516         from bug 2561.
26518 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26520         * sysdeps/x86_64/fpu/e_expf.S: New file.
26521         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26523 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26525         [BZ #13637]
26526         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26527         of remain_len that may cause incomplete multi-byte character and
26528         false match.
26529         * posix/bug-regex33.c: New file.
26530         * posix/Makefile (tests): Add bug-regex33.
26532 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26534         * manual/macros.texi: New file.
26535         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26536         * manual/libc.texinfo: Include macros.texi.
26537         * manual/creatute.texi: Likewise.
26538         * manual/install.texi: Likewise.
26539         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26540         @glibcadj{} in references to the GNU C Library.
26541         * manual/charset.texi: Likewise.
26542         * manual/conf.texi: Likewise.
26543         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26544         when not using those macros.
26545         * manual/creature.texi: Likewise.
26546         * manual/crypt.texi: Likewise.
26547         * manual/errno.texi: Likewise.
26548         * manual/filesys.texi: Likewise.
26549         * manual/header.texi: Likewise.
26550         * manual/install.texi: Likewise.
26551         * manual/intro.texi: Likewise.
26552         * manual/io.texi: Likewise.
26553         * manual/job.texi: Likewise.
26554         * manual/lang.texi: Likewise.
26555         * manual/libc.texiinfo: Likewise.
26556         * manual/llio.texi: Likewise.
26557         * manual/locale.texi: Likewise.
26558         * manual/maint.texi: Likewise.
26559         * manual/math.texi: Likewise.
26560         * manual/memory.texi: Likewise.
26561         * manual/message.texi: Likewise.
26562         * manual/nss.texi: Likewise.
26563         * manual/pattern.texi: Likewise.
26564         * manual/process.texi: Likewise.
26565         * manual/resource.texi: Likewise.
26566         * manual/search.texi: Likewise.
26567         * manual/setjmp.texi: Likewise.
26568         * manual/signal.texi: Likewise.
26569         * manual/socket.texi: Likewise.
26570         * manual/startup.texi: Likewise.
26571         * manual/stdio.texi: Likewise.
26572         * manual/string.texi: Likewise.
26573         * manual/sysinfo.texi: Likewise.
26574         * manual/syslog.texi: Likewise.
26575         * manual/terminal.texi: Likewise.
26576         * manual/time.texi: Likewise.
26577         * manual/users.texi: Likewise.
26578         * INSTALL: Regenerated.
26579         * NOTES: Regenerated.
26580         * sysdeps/gnu/errlist.c: Regenerated.
26582 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26584         * include/dirent.h: Include <dirstream.h> before
26585         <dirent/dirent.h>.
26587 2012-02-28  David S. Miller  <davem@davemloft.net>
26589         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26590         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26591         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26592         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26594 2012-02-27  David S. Miller  <davem@davemloft.net>
26596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26598         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26599         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26602         frame pointer instead of stack pointer relative arg slot.
26603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26604         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26605         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26607 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26609         [BZ #3992]
26610         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26612 2012-02-27  David S. Miller  <davem@davemloft.net>
26614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26618         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26619         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26620         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26621         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26623 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26625         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26626         later.  Allow versions 5-9.
26627         * configure: Regenerated.
26628         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26629         required minimum version and 4.6 as recommended version.  Do not
26630         mention bugs in GCC 2.7 and 2.8.
26631         * INSTALL: Regenerated.
26633 2012-02-27  David S. Miller  <davem@davemloft.net>
26635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26639         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26640         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26641         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26642         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26644         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26645         manipulate bits before adding and subtracting TWO112[sx].
26646         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26648 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26650         [BZ #13775]
26651         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26652         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26653         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26654         being in POSIX, because they are in 1003.1-2008.
26656         * rt/tst-aio.c: Include <fcntl.h>.
26657         * rt/tst-aio7.c: Likewise.
26658         * rt/tst-aio64.c: Likewise.
26660         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26662 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26664         * manual/install.texi (--with-headers): Describe headers as
26665         interface headers, not private headers.
26666         (Specific advice for GNU/Linux systems): Describe use of headers
26667         from "make headers_install", not private headers from older
26668         kernels.
26669         * INSTALL: Regenerated.
26670         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26671         Change to 2.6.19.
26672         * sysdeps/unix/sysv/linux/configure: Regenerated.
26674         * manual/llio.texi (fclean): Remove documentation.
26676         * manual/Makefile (libc-texi-generated): New variable.  Include
26677         version.texi.
26678         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26679         $(libc-texi-generated), not duplicated list of files.
26680         (version.texi, stamp-version): New rules.
26681         (realclean): Remove $(libc-texi-generated), not individual files
26682         from that list.  Do not remove dir-add.texinfo.
26683         * manual/libc.texinfo: Comment out uses of edition numbers and
26684         references to printed manual.  Remove last-updated dates.
26685         (EDITION): Comment out.
26686         (ISBN): Likewise.
26687         (VERSION, UPDATED): Remove.
26688         (version.texi): Include.
26690 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26692         * sysdeps/posix/spawni.c: Include <signal.h>.
26693         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26694         * sysdeps/pthread/aio_fsync.c: Likewise.
26696 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26698         * conform/Makefile (tests): Run only when not cross-compiling and
26699         when fast-check is not defined.
26701         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26702         * conform/data/limits.h-data: Fixes for POSIX2008.
26703         * conform/run-conformtest.sh: Run all tests.
26704         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26705         headers.
26706         * include/bits/dlfcn.h: Likewise.
26707         * include/langinfo.h: Likewise.
26708         * include/monetary.h: Likewise.
26709         * include/sys/poll.h: Likewise.
26711         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26712         for __USE_GNU.
26713         * posix/spawn.h: Define __need_sigset_t.
26714         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26715         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26716         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26717         to get sigevent_t only.
26718         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26719         only for __USE_GNU.
26720         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26721         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26722         process_vm_writev only for __USE_GNU.
26723         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26725         * conform/Makefile: For now ignore errors from run-conformtest.
26726         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26727         POSIX to avoid namespace pollution.  Don't prepend headers.
26728         * conform/data/aio.h-data: Fixes for POSIX testing.
26729         * conform/data/fcntl.h-data: Likewise.
26730         * conform/data/glob.h-data: Likewise.
26731         * conform/data/grp.h-data: Likewise.
26732         * conform/data/pthread.h-data: Likewise.
26733         * conform/data/pwd.h-data: Likewise.
26734         * conform/data/signal.h-data: Likewise.
26735         * conform/data/spawn.h-data: Likewise.
26736         * conform/data/stdio.h-data: Likewise.
26737         * conform/data/stdlib.h-data: Likewise.
26738         * conform/data/stropts.h-data: Likewise.
26739         * conform/data/sys/mman.h-data: Likewise.
26740         * conform/data/sys/stat.h-data: Likewise.
26741         * conform/data/sys/types.h-data: Likewise.
26742         * conform/data/sys/wait.h-data: Likewise.
26743         * conform/data/time.h-data: Likewise.
26744         * conform/data/unistd.h-data: Likewise.
26745         * conform/data/utime.h-data: Likewise.
26747         * io/sys/stat.h: fchmod was always in POSIX.
26748         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26749         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26750         * rt/aio.h: Define __need_timespec before including <time.h>.
26751         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26752         struct.  Add forward declaration of pthread_attr_t and use it in
26753         sigevent.
26754         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26755         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26756         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26757         always remove CLK_TCK definition.
26759 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26761         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26763 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26765         * conform/run-conformtest.sh: New file.
26766         * conform/Makefile: Run run-conformtest for tests.
26767         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26768         support.
26770         * conform/data/uchar.h-data: New file.
26771         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26772         * conform/data/arpa/inet.h-data: Likewise.
26773         * conform/data/assert.h-data: Likewise.
26774         * conform/data/complex.h-data: Likewise.
26775         * conform/data/cpio.h-data: Likewise.
26776         * conform/data/ctype.h-data: Likewise.
26777         * conform/data/dirent.h-data: Likewise.
26778         * conform/data/dlfcn.h-data: Likewise.
26779         * conform/data/errno.h-data: Likewise.
26780         * conform/data/fcntl.h-data: Likewise.
26781         * conform/data/float.h-data: Likewise.
26782         * conform/data/fmtmsg.h-data: Likewise.
26783         * conform/data/fnmatch.h-data: Likewise.
26784         * conform/data/ftw.h-data: Likewise.
26785         * conform/data/glob.h-data: Likewise.
26786         * conform/data/grp.h-data: Likewise.
26787         * conform/data/iconv.h-data: Likewise.
26788         * conform/data/inttypes.h-data: Likewise.
26789         * conform/data/langinfo.h-data: Likewise.
26790         * conform/data/libgen.h-data: Likewise.
26791         * conform/data/limits.h-data: Likewise.
26792         * conform/data/locale.h-data: Likewise.
26793         * conform/data/math.h-data: Likewise.
26794         * conform/data/monetary.h-data: Likewise.
26795         * conform/data/mqueue.h-data: Likewise.
26796         * conform/data/ndbm.h-data: Likewise.
26797         * conform/data/net/if.h-data: Likewise.
26798         * conform/data/netdb.h-data: Likewise.
26799         * conform/data/netinet/in.h-data: Likewise.
26800         * conform/data/nl_types.h-data: Likewise.
26801         * conform/data/poll.h-data: Likewise.
26802         * conform/data/pthread.h-data: Likewise.
26803         * conform/data/pwd.h-data: Likewise.
26804         * conform/data/regex.h-data: Likewise.
26805         * conform/data/sched.h-data: Likewise.
26806         * conform/data/search.h-data: Likewise.
26807         * conform/data/semaphore.h-data: Likewise.
26808         * conform/data/setjmp.h-data: Likewise.
26809         * conform/data/signal.h-data: Likewise.
26810         * conform/data/spawn.h-data: Likewise.
26811         * conform/data/stdarg.h-data: Likewise.
26812         * conform/data/stdio.h-data: Likewise.
26813         * conform/data/stdlib.h-data: Likewise.
26814         * conform/data/string.h-data: Likewise.
26815         * conform/data/strings.h-data: Likewise.
26816         * conform/data/stropts.h-data: Likewise.
26817         * conform/data/sys/ipc.h-data: Likewise.
26818         * conform/data/sys/mman.h-data: Likewise.
26819         * conform/data/sys/msg.h-data: Likewise.
26820         * conform/data/sys/resource.h-data: Likewise.
26821         * conform/data/sys/select.h-data: Likewise.
26822         * conform/data/sys/sem.h-data: Likewise.
26823         * conform/data/sys/shm.h-data: Likewise.
26824         * conform/data/sys/socket.h-data: Likewise.
26825         * conform/data/sys/stat.h-data: Likewise.
26826         * conform/data/sys/statvfs.h-data: Likewise.
26827         * conform/data/sys/time.h-data: Likewise.
26828         * conform/data/sys/timeb.h-data: Likewise.
26829         * conform/data/sys/times.h-data: Likewise.
26830         * conform/data/sys/types.h-data: Likewise.
26831         * conform/data/sys/uio.h-data: Likewise.
26832         * conform/data/sys/un.h-data: Likewise.
26833         * conform/data/sys/utsname.h-data: Likewise.
26834         * conform/data/sys/wait.h-data: Likewise.
26835         * conform/data/syslog.h-data: Likewise.
26836         * conform/data/tar.h-data: Likewise.
26837         * conform/data/termios.h-data: Likewise.
26838         * conform/data/utime.h-data: Likewise.
26839         * conform/data/utmpx.h-data: Likewise.
26840         * conform/data/varargs.h-data: Likewise.
26841         * conform/data/wchar.h-data: Likewise.
26842         * conform/data/wctype.h-data: Likewise.
26843         * conform/data/wordexp.h-data: Likewise.
26845         * include/stropts.h: New file.
26846         * include/uchar.h: New file.
26847         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26848         * include/assert.h: Likewise.
26849         * include/ctype.h: Likewise.
26850         * include/dirent.h: Likewise.
26851         * include/dlfcn.h: Likewise.
26852         * include/fcntl.h: Likewise.
26853         * include/fnmatch.h: Likewise.
26854         * include/glob.h: Likewise.
26855         * include/grp.h: Likewise.
26856         * include/libio.h: Likewise.
26857         * include/locale.h: Likewise.
26858         * include/math.h: Likewise.
26859         * include/net/if.h: Likewise.
26860         * include/netdb.h: Likewise.
26861         * include/netinet/in.h: Likewise.
26862         * include/pthread.h: Likewise.
26863         * include/pwd.h: Likewise.
26864         * include/regex.h: Likewise.
26865         * include/sched.h: Likewise.
26866         * include/search.h: Likewise.
26867         * include/setjmp.h: Likewise.
26868         * include/signal.h: Likewise.
26869         * include/stdio.h: Likewise.
26870         * include/stdlib.h: Likewise.
26871         * include/string.h: Likewise.
26872         * include/sys/cdefs.h: Likewise.
26873         * include/sys/mman.h: Likewise.
26874         * include/sys/msg.h: Likewise.
26875         * include/sys/resource.h: Likewise.
26876         * include/sys/select.h: Likewise.
26877         * include/sys/socket.h: Likewise.
26878         * include/sys/stat.h: Likewise.
26879         * include/sys/statvfs.h: Likewise.
26880         * include/sys/time.h: Likewise.
26881         * include/sys/times.h: Likewise.
26882         * include/sys/uio.h: Likewise.
26883         * include/sys/utsname.h: Likewise.
26884         * include/sys/wait.h: Likewise.
26885         * include/termios.h: Likewise.
26886         * include/time.h: Likewise.
26887         * include/ulimit.h: Likewise.
26888         * include/unistd.h: Likewise.
26889         * include/utime.h: Likewise.
26890         * include/wchar.h: Likewise.
26891         * include/wctype.h: Likewise.
26892         * include/wordexp.h: Likewise.
26894         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26896         * time/time.h: TIME_UTC must be a macro.
26897         Make timespec_get available for ISO C11 only as well.
26899 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26901         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26902         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26904 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26906         * configure.in: Use -o not -a in test for unsupported multi-arch.
26908 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26910         * manual/texinfo.tex: Update to version 2012-01-19.16.
26912 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26914         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26916 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26918         [BZ #13738]
26919         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26920         * manual/fdl-1.3.texi: New file.
26921         * manual/fdl-1.1.texi: File removed.
26923         [BZ #13738]
26924         * manual/libc.texinfo (FDL_VERSION): New @set.
26925         Use it for mention of FDL in cover text.
26926         (Documentation License): Use it in @include file name.
26928 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26929             Roland McGrath  <roland@hack.frob.com>
26931         [BZ #5461]
26932         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26933         not LONG_LONG_MAX and LONG_LONG_MIN.
26934         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26935         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26936         name.
26937         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26939 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26941         [BZ #2547]
26942         [BZ #11365]
26943         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26944         manipulate bits before adding and subtracting TWO23[sx].
26945         * math/libm-test.inc (nearbyint_test): Add more tests.
26947 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26949         [BZ #2548]
26950         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26951         bits before adding and subtracting TWO23[sx].
26952         * math/libm-test.inc (rint_test): Add more tests.
26953         (rint_test_tonearest): Likewise.
26954         (rint_test_towardzero): Likewise.
26955         (rint_test_downward): Likewise.
26956         (rint_test_upward: Likewise.
26958 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26960         [BZ #10110]
26961         * include/stdc-predef.h: New file.  Extracted from features.h.
26962         * include/features.h: Include stdc-predef.h.
26963         * Makefile (headers): Add stdc-predef.h.
26964         * CONFORMANCE (Compiler limitations): Update.
26966 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26968         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26970 2012-02-21  David S. Miller  <davem@davemloft.net>
26972         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26973         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26975 2012-02-20  David S. Miller  <davem@davemloft.net>
26977         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26978         using a normal save/restore sequence, rather than allocating a
26979         dummy stack frame just to store a frame pointer and restore.
26980         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26982 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26984         * manual/install.texi: Fix stray word in line-wrapped comment.
26986 2012-02-20  David S. Miller  <davem@davemloft.net>
26988         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26989         both binutils and gcc support GOTDATA.
26991         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26992         "rd %pc" in the PIC register setup sequences.
26994         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26995         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26996         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26997         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26998         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26999         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27000         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27001         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27002         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27003         (SYSCALL_ERROR_HANDLER): Likewise.
27004         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27005         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27006         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27007         (SYSCALL_ERROR_HANDLER): Likewise.
27009         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27010         (HAVE_GCC_GOTDATA): New.
27011         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27012         relocation support in both binutils and gcc.
27013         * sysdeps/sparc/elf/configure: Regenerate.
27015         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27016         * sysdeps/sparc/sparc32/elf/configure: Delete.
27017         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27018         * sysdeps/sparc/sparc64/elf/configure: Delete.
27019         * sysdeps/sparc/elf/configure.in: New file.
27020         * sysdeps/sparc/elf/configure: Generate.
27022         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27023         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27024         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27025         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27026         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27028 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27030         * manual/install.texi: Do not mention specific glibc version
27031         numbers.
27032         * manual/libc.texinfo (VERSION, UPDATED): Update.
27033         (@copying): Use @copyright{} and range of years.
27035 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27037         [BZ #13695]
27038         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27039         [crti.S not in sysdirs] (generated): Do not append.
27040         [crti.S not in sysdirs] (omit-deps): Likewise.
27041         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27042         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27043         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27044         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27045         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27046         Likewise.
27047         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27048         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27049         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27050         * csu/defs.awk: Remove file.
27051         * sysdeps/generic/initfini.c: Likewise.
27052         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27053         variable.
27054         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27055         Likewise.
27057 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27059         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27060         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27061         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27062         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27063         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27064         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27065         <bits/epoll.h>.
27066         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27067         (__EPOLL_PACKED): Define to empty if not defined by
27068         <bits/epoll.h>.
27069         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27070         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27071         bits/epoll.h.
27073 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27075         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27076         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27077         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27078         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27079         <bits/timerfd.h>.
27080         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27081         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27082         bits/timerfd.h.
27084 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27086         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27087         in C locale.
27088         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27089         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27090         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27093 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27095         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27096         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27098 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27100         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27101         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27102         defined.
27103         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27104         Likewise.
27105         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27106         entry for 2.16.
27108 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27110         * math/w_acos.c: Use non-signaling floating-point comparisons.
27111         * math/w_acosf.c: Likewise.
27112         * math/w_acosh.c: Likewise.
27113         * math/w_acoshf.c: Likewise.
27114         * math/w_acoshl.c: Likewise.
27115         * math/w_acosl.c: Likewise.
27116         * math/w_asin.c: Likewise.
27117         * math/w_asinf.c: Likewise.
27118         * math/w_asinl.c: Likewise.
27119         * math/w_atanh.c: Likewise.
27120         * math/w_atanhf.c: Likewise.
27121         * math/w_atanhl.c: Likewise.
27122         * math/w_exp2.c: Likewise.
27123         * math/w_exp2f.c: Likewise.
27124         * math/w_exp2l.c: Likewise.
27125         * math/w_j0.c: Likewise.
27126         * math/w_j0f.c: Likewise.
27127         * math/w_j0l.c: Likewise.
27128         * math/w_j1.c: Likewise.
27129         * math/w_j1f.c: Likewise.
27130         * math/w_j1l.c: Likewise.
27131         * math/w_jn.c: Likewise.
27132         * math/w_jnf.c: Likewise.
27133         * math/w_log.c: Likewise.
27134         * math/w_log10.c: Likewise.
27135         * math/w_log10f.c: Likewise.
27136         * math/w_log10l.c: Likewise.
27137         * math/w_log2.c: Likewise.
27138         * math/w_log2f.c: Likewise.
27139         * math/w_log2l.c: Likewise.
27140         * math/w_logf.c: Likewise.
27141         * math/w_logl.c: Likewise.
27142         * math/w_sqrt.c: Likewise.
27143         * math/w_sqrtf.c: Likewise.
27144         * math/w_sqrtl.c: Likewise.
27145         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27146         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27147         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27148         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27149         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27151 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27153         [BZ #9739]
27154         * manual/string.texi (strnlen): Use correct parameter name in
27155         equivalent expression.
27157 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27159         [BZ #11174]
27160         * manual/users.texi (seteuid): Consistently use neweuid for
27161         argument name.
27163 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27165         [BZ #13704]
27166         * manual/nss.texi (Services in the NSS configuration): Correct
27167         list of services in example configuration file.
27169 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27171         [BZ #11322]
27172         * manual/arith.texi: Remove statements about negative zero
27173         behaving identically to zero.
27175 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27177         [BZ #5993]
27178         * manual/install.texi: Do not document upgrading from libc5.
27180 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27182         [BZ #4596]
27183         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27185 2012-02-18  David S. Miller  <davem@davemloft.net>
27187         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27188         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27189         %o7 across the call.
27190         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27191         instead.
27192         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27193         SETUP_PIC_REG_LEAF.
27194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27195         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27196         * sysdeps/sparc/crtn.S: Likewise.
27198 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27200         * aout/Makefile: Remove.
27202 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27204         [BZ #13058]
27205         * manual/examples/argp-ex1.c (main): Format definition in GNU
27206         style.
27207         * manual/examples/argp-ex2.c (main): Likewise.
27208         * manual/examples/argp-ex3.c (main): Likewise.
27209         * manual/examples/argp-ex4.c (main): Likewise.
27210         * manual/examples/longopt.c (main): Use new-style prototype
27211         definition.
27212         * manual/examples/strncat.c (main): Specify return type and use
27213         (void) for arguments.
27214         * manual/examples/subopt.c (main): Use char **argv argument.
27216 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27218         [BZ #5077]
27219         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27220         rounding modes.
27222 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
27224         [BZ #6907]
27225         * manual/string.texi (strchr): Change when strchrnul is
27226         recommended.
27228 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
27230         [BZ #174]
27231         * manual/locale.texi (setlocale): Document LOCPATH.
27233 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27235         [BZ #10210]
27236         * manual/process.texi (execle): Move @dots{} before last argument.
27238 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
27240         [BZ #12047]
27241         * manual/charset.texi (Generic Charset Conversion): Fix typo
27242         (LC_TYPE -> LC_CTYPE).
27244 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
27246         [BZ #5805]
27247         * manual/arith.texi (scalbn): Use @var{} on parameter names.
27248         (scalbnf): Likewise.
27249         (scalbnl): Likewise.
27250         (scalbln): Likewise.
27251         (scalblnf): Likewise.
27252         (scalblnl): Likewise.
27253         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27254         (vwarnx): Likewise.
27255         (verr): Likewise.
27256         (verrx): Likewise.
27257         * manual/filesys.texi (telldir): Use braces around return type.
27258         * manual/llio.texi (mmap): Add space after comma.
27259         (mmap64): Likewise.
27260         * manual/math.texi (jn): Use @var{} on parameter names.
27261         (jnf): Likewise.
27262         (jnl): Likewise.
27263         (yn): Likewise.
27264         (ynf): Likewise.
27265         (ynl): Likewise.
27266         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27267         line.
27268         * manual/resource.texi (ulimit): Use @dots{} instead of literal
27269         "...".
27270         (sched_get_priority_min): Remove semicolon on @deftypefun line.
27271         (sched_get_priority_max): Likewise.
27272         * manual/signal.texi (sigvec): Add space after comma.
27273         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27274         names.
27275         (if_indextoname): Likewise.
27276         (if_freenameindex): Likewise.
27277         (sendto): Use ',' instead of '.' in prototype.
27278         * manual/startup.texi (syscall): Use @dots{} instead of literal
27279         "...".
27280         * manual/stdio.texi (__fpending): Separate initial words of
27281         paragraph from @deftypefun line.
27282         * manual/syslog.texi (syslog): Use @dots{} instead of literal
27283         "...".
27284         (vsyslog): Use @var{} on parameter names.
27285         * manual/terminal.texi (stty): Use @var{} on parameter names.
27286         * manual/users.texi (getutmp): Use @var{} on parameter names.
27287         (getutmpx): Likewise.
27289 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27291         [BZ #6884]
27292         * manual/stdio.texi (fopen): Fix typos in description of
27293         ",ccs=STRING".
27295 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
27297         [BZ #4026]
27298         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27299         get clock_id definition.
27301 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
27303         [BZ #4822]
27304         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27305         (madvise): Cast every argument to void on its own.
27307 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27309         [BZ #9902]
27310         * manual/startup.texi (Exit Status): Fix typo.
27312 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27314         [BZ #10140]
27315         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27316         * manual/examples/argp-ex2.c: Likewise.
27317         * manual/examples/argp-ex3.c: Likewise.
27319 2012-02-16  Richard Henderson  <rth@redhat.com>
27321         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27322         * sysdeps/s390/s390-32/initfini.c: Remove.
27323         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27324         * sysdeps/s390/s390-64/initfini.c: Remove.
27326 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27328         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27329         compiler output for sysdeps/generic/initfini.c.
27330         * sysdeps/sh/elf/initfini.c: Remove file.
27332 2012-02-16  David S. Miller  <davem@davemloft.net>
27334         [BZ #11494]
27335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27337         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27338         * sysdeps/sparc/crti.S: New file.
27339         * sysdeps/sparc/crtn.S: New file.
27340         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27341         * sysdeps/sparc/sparc64/Makefile: Likewise.
27343 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27345         [BZ #3335]
27346         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27348 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27350         [BZ #4822]
27351         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27353         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27354         (write, read, close): Likewise.
27355         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27357 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27359         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27360         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27361         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27362         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27363         <bits/signalfd.h>.
27364         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27365         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27366         bits/signalfd.h.
27368 2012-02-14  Marek Polacek  <polacek@redhat.com>
27370         * sysdeps/x86_64/crti.S: New file.
27371         * sysdeps/x86_64/crtn.S: New file.
27372         * sysdeps/x86_64/elf/initfini.c: Remove file.
27374 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27376         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27377         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27378         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27379         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27380         <bits/inotify.h>.
27381         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27383         bits/inotify.h.
27385 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27387         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27388         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27389         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27390         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27391         <bits/eventfd.h>.
27392         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27394         bits/eventfd.h.
27396 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27398         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27399         __feraiseexcept instead of feraiseexcept.
27401         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27402         nanosleep invocations.
27403         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27404         strings, and add error checking for a nanosleep invocations.
27406 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27408         Replace FSF snail mail address with URLs, as per GNU coding standards.
27409         Most of the snail mail addresses were wrong anyway, and omitting
27410         them makes the source code easier to maintain.  Almost all of the
27411         changes are to license notices and to locale LC_IDENTIFICATION
27412         addresses, except for this one:
27413         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27414         not its snail mail address.
27416 2012-02-09  Richard Henderson  <rth@twiddle.net>
27418         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27419         of kernel-features.h.
27421         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27423 2012-02-08  Marek Polacek  <polacek@redhat.com>
27425         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27426         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27427         * sysdeps/gnu/_G_config.h: Likewise.
27428         * sysdeps/generic/_G_config.h: Likewise.
27430 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27432         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27433         tests.
27434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27436         * sysdeps/powerpc/powerpc32/crti.S: New file.
27437         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27438         * sysdeps/powerpc/powerpc64/crti.S: New file.
27439         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27441         * Makeconfig (have-initfini): Don't set.
27442         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27443         * configure.in (nopic_initfini): Don't substitute.
27444         * config.h.in (HAVE_INITFINI): Don't #undef.
27445         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27446         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27448 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27450         Support crti.S and crtn.S provided directly by architectures.
27451         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27452         [crti.S in sysdirs] (omit-deps): Likewise.
27453         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27454         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27455         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27456         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27457         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27458         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27459         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27460         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27461         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27462         compiler output for sysdeps/generic/initfini.c.
27463         * sysdeps/i386/elf/Makefile: Remove file.
27464         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27466 2012-02-07  Marek Polacek  <polacek@redhat.com>
27468         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27469         * sysdeps/gnu/_G_config.h: Likewise.
27470         * sysdeps/mach/hurd/_G_config.h: Likewise.
27472 2012-02-07  Marek Polacek  <polacek@redhat.com>
27474         * math/Makefile (tests): Add tst-CMPLX2.
27475         * math/tst-CMPLX2.c: New file.
27477 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27479         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27481         * math/libm-test.inc (jn_test): Add missing L suffix.
27483 2012-02-06  Marek Polacek  <polacek@redhat.com>
27485         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27486         * sysdeps/i386/fpu/e_powf.S: Likewise.
27487         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27488         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27489         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27490         * sysdeps/i386/fpu/e_pow.S: Likewise.
27491         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27492         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27493         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27494         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27495         * sysdeps/i386/fpu/e_log2.S: Likewise.
27496         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27497         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27498         * sysdeps/i386/fpu/e_powl.S: Likewise.
27499         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27500         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27501         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27502         * sysdeps/i386/fpu/e_logl.S: Likewise.
27503         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27504         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27505         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27506         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27507         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27508         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27509         * sysdeps/i386/fpu/e_log.S: Likewise.
27510         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27511         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27512         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27513         * sysdeps/i386/fpu/e_logf.S: Likewise.
27514         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27515         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27516         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27517         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27518         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27519         * sysdeps/i386/fpu/e_log10.S: Likewise.
27520         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27521         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27522         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27523         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27524         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27525         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27526         * sysdeps/i386/asm-syntax.h: Likewise.
27527         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27528         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27529         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27530         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27531         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27532         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27533         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27534         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27535         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27536         * sysdeps/powerpc/sysdep.h: Likewise.
27537         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27538         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27540 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27542         [BZ #411]
27543         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27545 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27547         * sysdeps/i386/sysdep.h: Include <features.h>.
27548         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27549         version.
27551 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27553         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27554         Define.
27555         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27556         LOAD_PIC_REG_STR.
27558 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27560         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27561         (SETUP_PIC_REG): Use GET_PC_THUNK.
27562         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27563         macro.
27565 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27567         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27568         for non-PIC compilation.
27569         (SETUP_PIC_REG): Add .p2align directive.
27570         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27571         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27572         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27573         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27574         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27575         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27576         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27577         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27578         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27579         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27580         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27581         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27582         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27583         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27584         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27585         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27586         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27587         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27588         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27589         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27590         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27591         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27592         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27593         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27594         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27595         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27596         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27597         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27598         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27599         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27600         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27601         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27602         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27603         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27604         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27605         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27606         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27607         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27608         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27609         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27610         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27612 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27614         * math/tst-CMPLX.c: Include <stdio.h>.
27616 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27618         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27619         float.
27620         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27621         * sysdeps/sparc/bits/mathdef.h: Likewise.
27623 2012-01-31  Marek Polacek  <polacek@redhat.com>
27625         * libio/libio.h: Don't define _PARAMS.
27626         * locale/programs/config.h: Don't define PARAMS.
27627         * stdlib/strtol_l.c: Likewise.
27628         (__strtol_l): Remove PARAMS from the prototype.
27630 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27632         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27633         names.  Just use the correct names.  Remove unnecessary wrapper
27634         functions.
27635         * malloc/arena.c: Likewise.
27636         * malloc/hooks.c: Likewise.
27638         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27639         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27640         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27642 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27644         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27645         into tail calls.
27646         (update_get_addr): New function.
27647         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27648         GET_ADDR_MODULE parameter.
27650 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27652         * crypt/cert.c: Remove __STDC__ conditionals.
27653         * crypt/crypt-entry.c: Likewise.
27654         * crypt/crypt_util.c: Likewise.
27655         * libio/filedoalloc.c: Likewise.
27656         * libio/fileops.c: Likewise.
27657         * libio/genops.c: Likewise.
27658         * libio/iofclose.c: Likewise.
27659         * libio/iofdopen.c: Likewise.
27660         * libio/iofopen.c: Likewise.
27661         * libio/iofopen64.c: Likewise.
27662         * libio/iogetdelim.c: Likewise.
27663         * libio/iopopen.c: Likewise.
27664         * libio/obprintf.c: Likewise.
27665         * libio/oldfileops.c: Likewise.
27666         * libio/oldiofclose.c: Likewise.
27667         * libio/oldiofdopen.c: Likewise.
27668         * libio/oldiofopen.c: Likewise.
27669         * libio/oldiopopen.c: Likewise.
27670         * libio/wfiledoalloc.c: Likewise.
27671         * libio/wgenops.c: Likewise.
27672         * locale/programs/xmalloc.c: Likewise.
27673         * misc/syslog.c: Likewise.
27674         * stdio-common/xbug.c: Likewise.
27675         * string/memchr.c: Likewise.
27676         * string/memcmp.c: Likewise.
27677         * string/memrchr.c: Likewise.
27678         * string/rawmemchr.c: Likewise.
27679         * sysdeps/posix/getcwd.c: Likewise.
27680         * time/strftime_l.c: Likewise.
27682 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27684         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27685         * config.make.in (config-cflags-sse2avx): Define.
27686         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27687         Fix typo.
27689 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27691         * scripts/config.guess: Update from upstream config git repository.
27692         * scripts/config.sub: Likewise.
27694 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27696         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27697         (EM_NUM): Update.
27698         (R_TILEPRO_*, R_TILEGX_*): New macros.
27700         * scripts/firstversions.awk: Fix bug in version range handling.
27702         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27704         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27706         * include/sys/epoll.h: New file.
27707         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27708         libc_hidden_def.
27710 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27712         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27713         Avoid unnecessary __WORDSIZE == 64 test.
27714         (fmaxf): Use VEX format if possible.
27715         (fmax): Likewise.
27716         (fminf): Likewise.
27717         (fmin): Likewise.
27719         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27720         * math/math_private.h: Remove libc_fegetround* and
27721         libc_fesetround*.
27722         * sysdeps/i386/configure.in: Check for -msse2avx.
27723         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27724         also if SSE2AVX is defined.
27725         Remove libc_fegetround* and libc_fesetround*.
27726         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27727         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27728         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27729         of HAS_YMM_USABLE.
27730         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27731         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27732         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27733         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27734         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27736         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27738 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27740         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27741         size is not set.
27742         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27744 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27746         [BZ #13618]
27747         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27748         relocation.
27749         * Makeconfig (libm): Define.
27750         * elf/Makefile: Add rules to build and run tst-relsort1.
27751         * elf/tst-relsort1.c: New file.
27752         * elf/tst-relsort1mod1.c: New file.
27753         * elf/tst-relsort1mod2.c: New file.
27755 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27757         * math/s_ldexp.c: Remove __STDC__ conditionals.
27758         * math/s_ldexpf.c: Likewise.
27759         * math/s_ldexpl.c: Likewise.
27760         * math/s_nextafter.c: Likewise.
27761         * math/s_nexttowardf.c: Likewise.
27762         * math/s_significand.c: Likewise.
27763         * math/s_significandf.c: Likewise.
27764         * math/s_significandl.c: Likewise.
27765         * math/w_jnl.c: Likewise.
27766         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27767         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27768         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27769         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27770         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27771         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27772         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27773         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27774         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27775         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27776         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27777         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27778         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27779         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27780         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27781         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27782         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27783         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27784         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27785         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27786         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27787         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27788         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27789         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27790         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27791         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27792         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27793         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27794         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27795         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27796         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27797         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27798         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27799         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27800         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27801         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27802         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27803         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27804         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27805         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27806         * sysdeps/ieee754/k_standard.c: Likewise.
27807         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27808         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27809         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27810         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27811         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27812         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27813         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27814         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27815         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27816         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27817         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27818         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27819         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27820         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27821         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27822         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27823         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27824         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27825         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27826         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27827         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27828         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27829         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27830         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27831         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27832         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27833         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27834         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27835         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27836         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27837         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27838         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27839         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27840         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27841         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27842         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27843         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27844         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27845         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27846         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27847         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27848         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27849         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27850         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27851         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27852         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27853         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27854         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27855         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27856         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27857         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27858         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27859         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27860         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27861         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27862         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27863         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27864         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27865         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27866         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27867         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27868         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27869         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27870         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27871         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27872         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27873         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27874         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27875         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27876         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27877         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27878         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27879         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27880         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27881         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27882         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27883         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27884         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27885         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27886         * sysdeps/ieee754/s_matherr.c: Likewise.
27887         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27888         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27889         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27890         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27892 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27894         * crypt/md5.h: Remove __STDC__ conditionals.
27895         * libio/libioP.h: Likewise.
27896         * locale/programs/config.h: Likewise.
27897         * sysdeps/generic/sysdep.h: Likewise.
27898         * sysdeps/i386/asm-syntax.h: Likewise.
27899         * sysdeps/s390/asm-syntax.h: Likewise.
27900         * sysdeps/unix/sysdep.h: Likewise.
27901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27904 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27906         * libio/libio.h: Remove __STDC__ conditionals.
27907         * malloc/obstack.h: Likewise.
27908         * math/complex.h: Likewise.
27909         * math/math.h: Likewise.
27910         * sysdeps/generic/_G_config.h: Likewise.
27911         * sysdeps/gnu/_G_config.h: Likewise.
27912         * sysdeps/mach/hurd/_G_config.h: Likewise.
27913         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27914         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27915         * sysdeps/sparc/bits/mathdef.h: Likewise.
27917 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27919         [BZ #13583]
27920         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27921         Clean up HAS_* macros.
27922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27923         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27924         possible.
27925         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27926         HAS_AVX.
27927         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27928         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27929         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27930         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27931         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27933 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27935         * elf/tst-unique3.cc (gets): Remove declaration.
27936         * elf/tst-unique3lib.cc (gets): Likewise.
27937         * elf/tst-unique3lib2.cc (gets): Likewise.
27938         * elf/tst-unique4.cc (gets): Likewise.
27940 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27942         * include/stdio.h: Add C++ protection.  Add gets declarations and
27943         definitions.
27944         * debug/tst-chk1.c: Don't declare gets here.
27945         * stdio-common/tst-gets.c: Likewise.
27947 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27949         * posix/glob: Remove directory.
27951 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27953         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27955 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27957         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27958         of the non-standard EPFNOSUPPORT.
27960 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27962         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27963         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27964         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27966 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27968         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27970 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27972         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27973         transient errors.
27974         * nscd/grpcache.c (cache_addgr): Likewise.
27975         * nscd/hstcache.c (cache_addhst): Likewise.
27976         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27977         * nscd/pwdcache.c (cache_addpw): Likewise.
27978         * nscd/servicescache.c (cache_addserv): Likewise.
27980 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27982         * malloc/malloc.c: Various cleanups.
27983         * malloc/hooks.c: Likewise.
27985         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27986         * stdlib/bug-fmtmsg1.c: New file.
27988         * stdlib/fmtmsg.c (init): Add missing unlock.
27989         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27991 2012-01-12  Marek Polacek  <polacek@redhat.com>
27993         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27994         and _GNU_SOURCE.
27996 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27998         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27999         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28000         macro to ensure uniqueness of label name.
28001         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28002         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28004 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28006         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28008         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28009         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28010         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28011         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28013 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28015         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28017         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28018         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28019         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28021         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28023         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28024         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28025         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28026         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28028         * math/bits/math-finite.h: Add ldexp support.
28030 2012-01-10  Marek Polacek  <polacek@redhat.com>
28032         * locale/programs/localedef.h (show_archive_content): Add noreturn
28033         attribute.
28035 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28037         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28039 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28041         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28043         * io/Makefile (headers): Add bits/poll2.h.
28045 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28048         typo #include statement.
28050 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28052         * include/sys/cdefs.h: Define __attribute_alloc_size.
28053         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28054         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28055         * elf/pldd.c: Likewise.
28056         * iconv/iconv_charmap.c: Likewise.
28057         * iconv/iconvconfig.c: Likewise.
28058         * iconv/strtab.c: Likewise.
28059         * locale/programs/locale.c: Likewise.
28060         * locale/programs/localedef.h: Likewise.
28061         * locale/programs/simple-hash.c: Likewise.
28062         * nscd/nscd.h: Likewise.
28063         * nss/makedb.c: Likewise.
28064         * sysdeps/generic/ldconfig.h: Likewise.
28065         * locale/programs/localedef.c: Remove xmalloc prototype.
28066         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28068 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28070         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28071         appropriate.
28073 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28075         * math/Makefile (tests): Add tst-CMPLX.
28076         * math/tst-CMPLX.c: New file.
28078         * math/complex.h (CMPLXL): Fix typo.
28080         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28081         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28082         GLIBC_2.16.
28083         * debug/tst-chk1.c: Add poll and ppoll tests.
28084         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28085         * include/sys/poll.h: Add hidden proto for ppoll.
28086         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28087         * sysdeps/mach/hurd/ppoll.c: Likewise.
28088         * io/ppoll.c: Likewise.
28089         * debug/poll_chk.c: New file.
28090         * debug/ppoll_chk.c: New file.
28091         * include/bits/poll2.h: New file.
28092         * io/bits/poll2.h: New file.
28094         [BZ #1350]
28095         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28097         * configure.in: static is always set to yes.  Remove.
28098         * config.make.in: Don't set build-static.
28099         * Makeconfig: Remove use of build-static.
28100         * dlfcn/Makefile: Likewise.
28101         * elf/Makefile: Likewise.
28102         * math/Makefile: Likewise.
28103         * misc/Makefile: Likewise.
28104         * nptl/Makefile: Likewise.
28105         * sysdeps/mach/hurd/Makefile: Likewise.
28107         * configure.in: PWD_P is not used anymore.
28108         * config.make.in: Remove PWD_P entry.
28110         * configure.in: Remove last remnants of RANLIB.
28111         No need to check for signed size_t anymore.
28112         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28113         and IA-64.
28114         Remove __builtin_expect test because we require at least gcc 3.4.
28115         * aclocal.m4: Likewise.
28117         * wcsmbs/mbrtoc16.c: Implement using towc function.
28118         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28119         * wcsmbs/wcsmbsload.c: Likewise.
28120         * iconv/gconv_simple.c: Likewise.
28121         * iconv/gconv_int.h: Likewise.
28122         * iconv/gconv_builtin.h: Likewise.
28123         * iconv/iconv_prog.c: Remove CHAR16 handling.
28125         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28127         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28129         * configure.in: Remove --with-elf and --enable-bounded options.
28130         Dont set base_machine for ia64.  More non-ELF conditions removed.
28131         Remove testing and setting of leading underscore information.
28132         * config.make.in (build-bounded): Set to no.
28133         * config.h.in: Remove NO_UNDERSCORES entry.
28134         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28135         them.
28136         * csu/start.c: Remove !NO_UNDERSCORE code.
28137         * locale/localeinfo.h: Likewise.
28138         * sysdeps/generic/machine-gmon.h: Likewise.
28139         * sysdeps/generic/sysdep.h: Likewise.
28140         * sysdeps/i386/sysdep.h: Likewise.
28141         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28142         * sysdeps/mach/sysdep.h: Likewise.
28143         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28144         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28145         * sysdeps/sh/sysdep.h: Likewise.
28146         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28147         * sysdeps/unix/i386/sysdep.S: Likewise.
28148         * sysdeps/unix/sparc/start.c: Likewise.
28149         * sysdeps/unix/sparc/sysdep.S: Likewise.
28150         * sysdeps/unix/sparc/sysdep.h: Likewise.
28151         * sysdeps/unix/start.c: Likewise.
28152         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28153         * sysdeps/x86_64/sysdep.h: Likewise.
28155 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28157         [BZ #13553]
28158         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28159         for non-gcc.
28160         * argp/argp-fmtstream.h: Use const instead __const.
28161         * argp/argp.h: Likewise.
28162         * assert/assert.h: Likewise.
28163         * bits/fenv.h: Likewise.
28164         * bits/sched.h: Likewise.
28165         * bits/sigset.h: Likewise.
28166         * bits/sigthread.h: Likewise.
28167         * catgets/nl_types.h: Likewise.
28168         * conform/data/pthread.h-data: Likewise.
28169         * crypt/crypt-private.h: Likewise.
28170         * crypt/crypt.h: Likewise.
28171         * crypt/crypt_util.c: Likewise.
28172         * ctype/ctype.h: Likewise.
28173         * debug/execinfo.h: Likewise.
28174         * debug/mbsnrtowcs_chk.c: Likewise.
28175         * debug/mbsrtowcs_chk.c: Likewise.
28176         * debug/wcsnrtombs_chk.c: Likewise.
28177         * debug/wcsrtombs_chk.c: Likewise.
28178         * debug/wcstombs_chk.c: Likewise.
28179         * dirent/dirent.h: Likewise.
28180         * dlfcn/dlfcn.h: Likewise.
28181         * elf/neededtest4.c: Likewise.
28182         * grp/grp.h: Likewise.
28183         * gshadow/gshadow.h: Likewise.
28184         * iconv/gconv.h: Likewise.
28185         * iconv/gconv_int.h: Likewise.
28186         * iconv/gconv_simple.c: Likewise.
28187         * iconv/iconv.h: Likewise.
28188         * iconv/loop.c: Likewise.
28189         * iconv/skeleton.c: Likewise.
28190         * include/aio.h: Likewise.
28191         * include/aliases.h: Likewise.
28192         * include/argz.h: Likewise.
28193         * include/arpa/inet.h: Likewise.
28194         * include/assert.h: Likewise.
28195         * include/dirent.h: Likewise.
28196         * include/dlfcn.h: Likewise.
28197         * include/execinfo.h: Likewise.
28198         * include/fcntl.h: Likewise.
28199         * include/fenv.h: Likewise.
28200         * include/glob.h: Likewise.
28201         * include/grp.h: Likewise.
28202         * include/libintl.h: Likewise.
28203         * include/mntent.h: Likewise.
28204         * include/netdb.h: Likewise.
28205         * include/pwd.h: Likewise.
28206         * include/rpc/netdb.h: Likewise.
28207         * include/sched.h: Likewise.
28208         * include/search.h: Likewise.
28209         * include/shadow.h: Likewise.
28210         * include/signal.h: Likewise.
28211         * include/stdio.h: Likewise.
28212         * include/stdlib.h: Likewise.
28213         * include/string.h: Likewise.
28214         * include/sys/socket.h: Likewise.
28215         * include/sys/stat.h: Likewise.
28216         * include/sys/statfs.h: Likewise.
28217         * include/sys/statvfs.h: Likewise.
28218         * include/sys/syslog.h: Likewise.
28219         * include/sys/time.h: Likewise.
28220         * include/sys/uio.h: Likewise.
28221         * include/time.h: Likewise.
28222         * include/unistd.h: Likewise.
28223         * include/utmp.h: Likewise.
28224         * include/wchar.h: Likewise.
28225         * include/wctype.h: Likewise.
28226         * inet/aliases.h: Likewise.
28227         * inet/arpa/inet.h: Likewise.
28228         * inet/netinet/ether.h: Likewise.
28229         * inet/netinet/in.h: Likewise.
28230         * intl/libintl.h: Likewise.
28231         * io/bits/fcntl2.h: Likewise.
28232         * io/fcntl.h: Likewise.
28233         * io/ftw.h: Likewise.
28234         * io/sys/poll.h: Likewise.
28235         * io/sys/stat.h: Likewise.
28236         * io/sys/statfs.h: Likewise.
28237         * io/sys/statvfs.h: Likewise.
28238         * io/utime.h: Likewise.
28239         * libio/bits/stdio.h: Likewise.
28240         * libio/bits/stdio2.h: Likewise.
28241         * libio/libio.h: Likewise.
28242         * libio/libioP.h: Likewise.
28243         * libio/stdio.h: Likewise.
28244         * locale/lc-ctype.c: Likewise.
28245         * locale/locale.h: Likewise.
28246         * login/utmp.h: Likewise.
28247         * malloc/arena.c: Likewise.
28248         * malloc/malloc.c: Likewise.
28249         * malloc/malloc.h: Likewise.
28250         * malloc/mcheck.c: Likewise.
28251         * malloc/mtrace.c: Likewise.
28252         * math/bits/mathcalls.h: Likewise.
28253         * math/fenv.h: Likewise.
28254         * math/math_private.h: Likewise.
28255         * misc/bits/error.h: Likewise.
28256         * misc/bits/syslog.h: Likewise.
28257         * misc/err.h: Likewise.
28258         * misc/error.h: Likewise.
28259         * misc/fstab.h: Likewise.
28260         * misc/mntent.h: Likewise.
28261         * misc/regexp.h: Likewise.
28262         * misc/search.h: Likewise.
28263         * misc/sgtty.h: Likewise.
28264         * misc/sys/mman.h: Likewise.
28265         * misc/sys/syslog.h: Likewise.
28266         * misc/sys/uio.h: Likewise.
28267         * misc/sys/xattr.h: Likewise.
28268         * misc/ttyent.h: Likewise.
28269         * nis/rpcsvc/ypclnt.h: Likewise.
28270         * nss/nss.h: Likewise.
28271         * posix/bits/unistd.h: Likewise.
28272         * posix/fnmatch.h: Likewise.
28273         * posix/glob.h: Likewise.
28274         * posix/sched.h: Likewise.
28275         * posix/spawn.h: Likewise.
28276         * posix/sys/wait.h: Likewise.
28277         * posix/unistd.h: Likewise.
28278         * posix/wordexp.h: Likewise.
28279         * pwd/pwd.h: Likewise.
28280         * resolv/netdb.h: Likewise.
28281         * resource/sys/resource.h: Likewise.
28282         * rt/aio.h: Likewise.
28283         * rt/bits/mqueue2.h: Likewise.
28284         * rt/mqueue.h: Likewise.
28285         * shadow/shadow.h: Likewise.
28286         * signal/signal.h: Likewise.
28287         * socket/send.c: Likewise.
28288         * socket/sendto.c: Likewise.
28289         * socket/sys/socket.h: Likewise.
28290         * stdio-common/printf.h: Likewise.
28291         * stdlib/bits/stdlib.h: Likewise.
28292         * stdlib/fmtmsg.h: Likewise.
28293         * stdlib/monetary.h: Likewise.
28294         * stdlib/stdlib.h: Likewise.
28295         * stdlib/ucontext.h: Likewise.
28296         * streams/stropts.h: Likewise.
28297         * string/argz.h: Likewise.
28298         * string/bits/string2.h: Likewise.
28299         * string/string.h: Likewise.
28300         * string/strings.h: Likewise.
28301         * sunrpc/rpc/auth.h: Likewise.
28302         * sunrpc/rpc/auth_des.h: Likewise.
28303         * sunrpc/rpc/clnt.h: Likewise.
28304         * sunrpc/rpc/netdb.h: Likewise.
28305         * sunrpc/rpc/pmap_clnt.h: Likewise.
28306         * sunrpc/rpc/xdr.h: Likewise.
28307         * sysdeps/generic/inttypes.h: Likewise.
28308         * sysdeps/generic/net/if.h: Likewise.
28309         * sysdeps/generic/sys/swap.h: Likewise.
28310         * sysdeps/gnu/net/if.h: Likewise.
28311         * sysdeps/gnu/utmpx.h: Likewise.
28312         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28313         * sysdeps/i386/i486/bits/string.h: Likewise.
28314         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28315         * sysdeps/s390/bits/string.h: Likewise.
28316         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28317         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28318         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28319         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28320         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28321         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28322         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28323         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28324         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28325         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28326         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28327         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28328         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28329         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28330         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28331         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28332         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28333         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28334         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28335         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28336         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28337         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28338         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28339         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28340         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28341         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28342         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28343         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28344         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28345         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28346         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28347         * sysvipc/sys/ipc.h: Likewise.
28348         * sysvipc/sys/msg.h: Likewise.
28349         * sysvipc/sys/sem.h: Likewise.
28350         * sysvipc/sys/shm.h: Likewise.
28351         * termios/termios.h: Likewise.
28352         * time/sys/time.h: Likewise.
28353         * time/time.h: Likewise.
28354         * wcsmbs/bits/wchar2.h: Likewise.
28355         * wcsmbs/uchar.h: Likewise.
28356         * wcsmbs/wchar.h: Likewise.
28357         * wctype/wctype.h: Likewise.
28359         [BZ #13551]
28360         * Makeconfig: Remove all but ELF support including AIX support.
28361         * Makerules: Likewise.
28362         * config.h.in: Likewise.
28363         * config.make.in: Likewise.
28364         * configure: Likewise.
28365         * configure.in: Likewise.
28366         * csu/Makefile: Likewise.
28367         * csu/version.c: Likewise.
28368         * debug/Makefile: Likewise.
28369         * dlfcn/Makefile: Likewise.
28370         * elf/Makefile: Likewise.
28371         * extra-lib.mk: Likewise.
28372         * iconv/Makefile: Likewise.
28373         * include/libc-symbols.h: Likewise.
28374         * include/shlib-compat.h: Likewise.
28375         * resolv/Makefile: Likewise.
28376         * resolv/res_libc.c: Likewise.
28377         * rt/Makefile: Likewise.
28378         * sysdeps/i386/asm-syntax.h: Likewise.
28379         * sysdeps/i386/sysdep.h: Likewise.
28380         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28381         * sysdeps/mach/sysdep.h: Likewise.
28382         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28383         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28384         * sysdeps/s390/asm-syntax.h: Likewise.
28385         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28386         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28387         * sysdeps/sh/sysdep.h: Likewise.
28388         * sysdeps/unix/sparc/sysdep.h: Likewise.
28389         * sysdeps/wordsize-32/divdi3.c: Likewise.
28390         * sysdeps/x86_64/sysdep.h: Likewise.
28392         * argp/Versions: Remove _argp_unlock_xxx.
28394         [BZ #13559]
28395         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28396         * abilist/libBrokenLocale.abilist: Likewise.
28397         * abilist/libanl.abilist: Likewise.
28398         * abilist/libc.abilist: Likewise.
28399         * abilist/libcrypt.abilist: Likewise.
28400         * abilist/libdl.abilist: Likewise.
28401         * abilist/libm.abilist: Likewise.
28402         * abilist/libnsl.abilist: Likewise.
28403         * abilist/libpthread.abilist: Likewise.
28404         * abilist/libresolv.abilist: Likewise.
28405         * abilist/librt.abilist: Likewise.
28406         * abilist/libthread_db.abilist: Likewise.
28407         * abilist/libutil.abilist: Likewise.
28408         * abilist/libnss_db.abilist: New file.
28410         * scripts/abilist.awk: Add support for indirect functions.
28412         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28414         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28416         * shlib-versions: Remove entries for ports architectures.
28418         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28419         files in ports.
28420         * elf/stackguard-macros.h: Remove support for IA-64.
28421         * elf/tst-auditmod1.c: Likewise.
28422         * sysdeps/generic/ldsodefs.h: Likewise.
28424         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28425         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28426         configure files.
28428         [BZ #13552]
28429         * configure.in: Remove --enable-omitfp support.
28430         * FAQ.in: Adjust.
28431         * config.make.in: Likewise.
28432         * Makeconfig: Likewise.
28433         * manual/install.texi: Likewise.
28435         In case anyone cares, the IA-64 architecture could move to ports.
28436         * sysdeps/ia64/*: Removed.
28437         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28438         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28440         [BZ #13555]
28441         * configure.in: Remove entries for unsupported architectures.
28443         [BZ #13533]
28444         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28445         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28446         routines.
28447         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28448         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28449         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28450         fall back to using wcrtomb.
28451         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28452         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28453         renaming.
28454         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28455         * wcsmbs/tst-c16c32-1.c: New file.
28457         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28458         local variable.
28460         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28462         * elf/tst-unique3.cc: Add explicit declaration of gets.
28463         * elf/tst-unique3lib.cc: Likewise.
28464         * elf/tst-unique3lib2.cc: Likewise.
28465         * elf/tst-unique4.cc: Likewise.
28467         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28469 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28471         [BZ #13566]
28472         * assert/assert.h (static_assert): Don't define for C++.
28473         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28474         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28476 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28478         * iconv/loop.c (single loop): Fix assertion in storing of
28479         remaining bytes.
28481         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28483 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28485         * posix/getconf.c: Update copyright year.
28486         * nss/getent.c: Likewise.
28487         * nss/makedb.c: Likewise.
28488         * iconv/iconvconfig.c: Likewise.
28489         * iconv/iconv_prog.c: Likewise.
28490         * elf/ldconfig.c: Likewise.
28491         * elf/pldd.c: Likewise.
28492         * elf/sotruss.ksh: Likewise.
28493         * catgets/gencat.c: Likewise.
28494         * csu/version.c: Likewise.
28495         * elf/ldd.bash.in: Likewise.
28496         * elf/sprof.c (print_version): Likewise.
28497         * locale/programs/locale.c: Likewise.
28498         * locale/programs/localedef.c: Likewise.
28499         * login/programs/pt_chown.c: Likewise.
28500         * nscd/nscd.c (print_version): Likewise.
28501         * debug/xtrace.sh: Likewise.
28502         * malloc/memusage.sh: Likewise.
28503         * malloc/mtrace.pl: Likewise.
28504         * debug/catchsegv.sh: Likewise.
28506 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28508         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28509         pure attribute.
28511 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28513         [BZ #13533]
28514         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28515         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28516         transformations.
28517         * iconv/gconv_int.h: Likewise.
28518         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28519         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28520         from libc for GLIBC_2.16.
28521         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28522         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28523         * wcsmbs/uchar.h: Really define mbstate_t.
28524         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28525         * wcsmbs/c16rtomb.c: New file.
28526         * wcsmbs/mbrtoc16.c: New file.
28527         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28528         for C/POSIX locale.
28529         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28530         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28532         * wcsmbs/wchar.h: Add missing __restrict.
28534 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28536         [BZ #13532]
28537         * time/Makefile (routines): Add timespec_get.
28538         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28539         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28540         timespec for ISO C11.
28541         * time/timespec_get.c: New file.
28542         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28543         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28545         [BZ #13531]
28546         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28547         * stdlib/stdlib.h: Declare aligned_alloc.
28548         * Versions.def: Add GLIBC_2.16 for libc.
28549         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28551         [BZ 13527]
28552         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28553         ISO C11.
28555         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28556         code.
28558         [BZ #13528]
28559         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28561         [BZ #13529]
28562         * assert/assert.h (static_assert): Define.
28564         * version.h: Update for 2.16 development version.
28566         [BZ #13526]
28567         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28568         _ISOC11_SOURCE.
28570         * version.h (RELEASE): Bump for 2.15 release.
28571         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28573         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28574         Patch by Marek Polacek <mpolacek@redhat.com>.
28576         * bits/byteswap.h: Protect long long constants with __extension__.
28577         * sysdeps/i386/bits/byteswap.h: Likewise.
28578         * sysdeps/ia64/bits/byteswap.h: Likewise.
28579         * sysdeps/s390/bits/byteswap.h: Likewise.
28580         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28582 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28584         [BZ #13540]
28585         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28586         destination buffer.
28587         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28589 2011-12-23  Marek Polacek  <polacek@redhat.com>
28591         * elf/dl-addr.c (determine_info): Add inline keyword.
28592         * elf/tst-auditmod4b.c (check_avx): Likewise.
28593         * elf/tst-auditmod6b.c (check_avx): Likewise.
28594         * elf/tst-auditmod6c.c (check_avx): Likewise.
28595         * elf/tst-auditmod7b.c (check_avx): Likewise.
28597 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28599         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28600         !__SSE_MATH__.
28602 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28604         [BZ #13540]
28605         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28606         processing for last bytes.
28608 2011-08-06  Bruno Haible  <bruno@clisp.org>
28610         [BZ #13061]
28611         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28612         U+0385, not to U+1FEE.
28614         [BZ #13062]
28615         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28616         entry for U+00A5 U+0301.
28618 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28620         [BZ #13166]
28621         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28622         buffer for the output is too small.
28624         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28625         optimization.
28627         [BZ #13185]
28628         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28629         SSE flags if possible.
28631 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28633         [BZ #13540]
28634         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28635         processing for last bytes.
28637 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28639         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28640         (syscall-list-default-options, syscall-list-default-condition)
28641         (syscall-list-includes): Define.
28642         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28643         list of ABIs and options and #if conditions for each ABI.  Do not
28644         handle common syscalls between ABIs specially.
28645         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28646         Remove.
28647         (syscall-list-variants, syscall-list-32bit-options)
28648         (syscall-list-32bit-condition, syscall-list-64bit-options)
28649         (syscall-list-64bit-condition): Define.
28650         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28651         (syscall-list-variants, syscall-list-32bit-options)
28652         (syscall-list-32bit-condition, syscall-list-64bit-options)
28653         (syscall-list-64bit-condition): Define.
28654         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28655         Remove.
28656         (syscall-list-variants, syscall-list-32bit-options)
28657         (syscall-list-32bit-condition, syscall-list-64bit-options)
28658         (syscall-list-64bit-condition): Define.
28659         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28660         Remove.
28661         (syscall-list-variants, syscall-list-32bit-options)
28662         (syscall-list-32bit-condition, syscall-list-64bit-options)
28663         (syscall-list-64bit-condition): Define.
28665 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28667         * locale/iso-639.def: Add brx entry.
28669         [BZ #13328]
28670         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28671         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28673         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28674         __feraiseexcept_renamed.
28676 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28678         [BZ #13538]
28679         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28680         EPOLLET with unsigned values.
28681         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28682         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28684         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28685         to large cancellation.
28686         * math/s_cacoshf.c: Likewise.
28687         * math/s_cacoshl.c: Likewise.
28689 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28691         [BZ #13305]
28692         [BZ #12786]
28693         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28694         * math/s_cacoshf.c: Likewise.
28695         * math/s_cacoshl.c: Likewise.
28697 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28699         [BZ #13439]
28700         * iconv/gconv.h: Define __GCONV_SWAP.
28701         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28702         * iconvdata/utf-16.c: Likewise.
28703         * iconvdata/utf-32.c: Likewise.
28705 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28707         [BZ #13524]
28708         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28709         numerator after shifting it by one limb.
28711 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28713         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28714         under [__USE_EXTERN_INLINES].
28716 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28718         [BZ #13446]
28719         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28721 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28723         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28724         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28725         optimized code.
28726         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28727         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28728         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28729         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28730         for strncasecmp/strncasecmp_l compilation.
28731         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28732         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28734 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28736         [BZ #13484]
28737         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28738         of __asm__.
28740 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28742         [BZ #13506]
28743         * time/tzfile.c (__tzfile_read): Check values from file header.
28745 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28747         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28748         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28749         * powerpc/powerpc32/dl-start.S: Likewise.
28750         * powerpc/powerpc32/elf/start.S: Likewise.
28751         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28752         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28753         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28754         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28755         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28756         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28757         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28758         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28759         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28760         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28761         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28762         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28763         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28764         * powerpc/powerpc32/memset.S: Likewise.
28765         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28766         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28767         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28768         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28769         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28770         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28771         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28772         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28773         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28774         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28775         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28776         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28777         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28779 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28781         * math/libm-test.inc: Added more nearbyint tests.
28782         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28783         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28784         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28785         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28787 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28789         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28790         FD_CLOEXEC.
28792 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28794         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28795         Add wcscpy-ssse3 wcscpy-c.
28796         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28797         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28798         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28799         * sysdeps/x86_64/wcschr.S: New file.
28800         * sysdeps/x86_64/wcsrchr.S: New file.
28801         * string/test-strcmp.c: Remove checking of wcscmp function for
28802         wrong alignments.
28803         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28804         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28805         wcsrchr-sse2 wcsrchr-c.
28806         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28807         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28808         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28809         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28810         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28811         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28812         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28813         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28814         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28815         * wcsmbc/wcschr.c (WCSCHR): New macro.
28817 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28819         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28820         * wcsmbs/test-wcsrchr.c: New file.
28821         * string/test-strrchr.c: Add wcsrchr support.
28822         (WIDE): New macro.
28823         * wcsmbs/test-wcscpy.c: New file.
28824         * string/test-strcpy.c: Add wcscpy support.
28825         (WIDE): New macro.
28827 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28829         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28830         the inner loop.
28832 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28834         [BZ #13472]
28835         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28837 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28839         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28840         Minor optimizations.
28842         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28843         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28844         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28846 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28848         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28849         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28850         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28851         for gcc to avoid warnings.
28852         * inet/Makefile (tests): Add tst-checks.
28853         * inet/tst-checks.c: New file.
28855         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28856         warning.
28858         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28859         __wmemcmp_sse2.
28861         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28862         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28864         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28866 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28868         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28869         problem.
28871         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28873 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28875         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28876         conditional on GCC version.
28877         (__arch_compare_and_exchange_val_8_acq)
28878         (__arch_compare_and_exchange_val_16_acq)
28879         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28880         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28881         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28883 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28885         * sysdeps/sh/backtrace.c: New file.
28887 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28889         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28890         parenthesis.
28892 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28894         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28895         falling back to utime.
28897 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28899         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28900         expectations for float.
28902 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28904         * locale/weight.h (findidx): Add parameter len.
28905         * locale/weightwc.h (findidx): Likewise.
28906         * posix/fnmatch_loop.c (FCT): Adjust caller.
28907         * posix/regcomp.c (build_equiv_class): Likewise.
28908         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28909         * posix/regexec.c (check_node_accept_bytes): Likewise.
28910         * string/strcoll_l.c (STRCOLL): Likewise.
28911         * string/strxfrm_l.c (STRXFRM): Likewise.
28913 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28915         * Makefile.in: Remove CVSOPT handling.
28916         * configure.in: Remove use of AC_REVISION.
28917         * iconvdata/Makefile (distribute): No need to filter out CVS.
28918         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28919         handling.
28921 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28923         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28924         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28925         [USE_AS_STRNCASECMP_L]: Likewise.
28926         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28927         NO_TLS_DIRECT_SEG_REFS.
28928         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28929         Fix argument offsets for non-PIC.
28930         [USE_AS_STRNCASECMP_L]: Likewise.
28931         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28932         NO_TLS_DIRECT_SEG_REFS.
28934 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28936         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28937         O_CLOEXEC.
28938         * locale/loadlocale.c (_nl_load_locale): Likewise.
28940 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28942         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28943         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28944         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28945         (SYSCALL_GETTIME): Set errno on error.
28947         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28948         count references to noai6ai_cached.
28950 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28952         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28954         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28955         FD_CLOEXEC for /proc/self/maps.
28957         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28958         FD_CLOEXEC for /proc/meminfo.
28960         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28961         gai.conf.
28963         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28964         FD_CLOEXEC for given file.
28966         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28968         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28969         FD_CLOEXEC for /etc/hosts.
28970         (_gethtent): Likewise.
28972         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28974         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28975         cancellation and set FD_CLOEXEC for /etc/netgroup.
28977         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28978         reading /etc/publickey.
28980         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28981         allow cancellation when reading /etc/group.
28983         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28984         cancellation.
28985         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28987         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28988         when using data file.
28990         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28992         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28993         (write_nis_obj): Use "c" and "e" in fopen.
28995         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28997         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28999         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29001         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29003         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29004         locale.alias.
29006         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29008         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29010         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29012         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29013         file parsing and set FD_CLOEXEC.
29015 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29017         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29019 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29021         * malloc/arena.c (arena_get2): Don't call reused_arena when
29022         _int_new_arena failed.
29024 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29026         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29027         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29028         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29029         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29030         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29031         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29032         to compile strcasecmp and strncasecmp.
29033         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29034         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29036         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29038 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29040         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29041         locale-defines.sym to gen-as-const-headers.
29042         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29043         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29044         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29045         to compile strcasecmp and strncasecmp.
29046         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29047         strcasecmp_l and strncasecmp_l.
29048         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29049         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29050         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29051         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29052         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29053         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29054         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29055         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29056         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29057         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29058         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29060 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29062         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29063         result of SYSDEP_GETTIME_CPU to retval.
29064         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29065         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29067         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29068         variable.
29070         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29071         mantissa words.
29072         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29074         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29075         from unused variable.
29077         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29078         DWARF definitions.
29079         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29080         for assembling.
29082         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29083         over namespaces.
29085         * sunrpc/rpc_prot.c (rejected): Fix case value.
29087         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29088         unsigned long long int to avoid warnings in shift.
29090         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29091         of use of trans.
29092         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29093         variable tmp.
29095         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29096         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29097         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29099         * nis/nis_table.c (nis_list): Use variable of correct type for
29100         result of __follow_path call.
29102 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29104         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29105         of math functions ceil, trunc, floor, round, and sqrt, when
29106         avaliable on the platform.
29107         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29108         name clash.
29109         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29110         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29111         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29113 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29115         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29116         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29118 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29120         * include/unistd.h: Fix __readlink return type.
29121         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29123 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29125         * stdlib/ucontext.h: Undo last change for makecontext.
29127 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29129         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29131         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29132         * setjmp/setjmp.h: Mark functions as non-leaf.
29133         * setjmp/bits/setjmp2.h: Likewise.
29134         * stdlib/ucontext.h: Likewise.
29136 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29138         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29139         (reused_arena): Don't check arena limit.
29140         (arena_get2): Atomically check arena limit.
29142 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29144         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29145         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29147         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29148         instructions.
29150 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29152         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29153         handler when locking.
29155         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29156         Fix size of allocated buffer.
29158 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29160         [BZ #10103]
29161         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29162         declarations for long double functions.
29163         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29165         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29167 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29169         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29170         installed.
29172         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29173         is disabled.
29175 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29177         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29179 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29181         * include/alloca.h (stackinfo_alloca_round): Define.
29182         (extend_alloca): Use it.
29183         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29184         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29185         here.
29187         * scripts/check-local-headers.sh: Ignore libaudit.h.
29189         * nscd/Makefile (extra-objs): Make recursively expanded.
29191 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29193         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29194         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29196         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29197         * posix/tst-rfc3484-2.c: Likewise.
29198         * posix/tst-rfc3484-3.c: Likewise.
29200         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29201         process_vm_writev.
29202         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29203         process_vm_writev.
29204         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29205         process_vm_writev from libc using GLIBC_2.15 version.
29207         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29209 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29211         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29212         stack usage.
29214 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29216         [BZ #13367]
29217         * nss/getent.c (initgroups_keys): Show error message in case no group
29218         names are given.
29220         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29221         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29222         __bump_nl_timestamp.
29223         * nscd/connections (nscd_init): When host database is served open
29224         netlink socket and request notification about configuration changes.
29225         (main_loop_poll): Track netlink file descriptor and bump timestamp
29226         in case data becomes available.
29227         (main_loop_epoll): Likewise.
29228         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29229         (database_pers_head): Add extra_data fileds.
29230         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29231         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29232         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29233         Adjust caller.
29234         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29235         in6ai data, call __free_in6ai.
29236         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29237         Add -DHAVE_NETLINK.
29238         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
29239         interface information.  Reuse previous data if netlink timestamp
29240         is not changed.
29241         (__bump_nl_timestamp): New function.
29242         (__free_in6ai): New function.
29244 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
29246         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29247         close_not_cancel_no_status here.
29248         (__check_pf): Reorganize code a bit to not call close twice if OOM.
29250 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29252         [BZ #13276]
29253         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29254         return value.
29256         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29257         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29258         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29260 2011-07-03  Andreas Jaeger  <aj@suse.de>
29262         [BZ #10709]
29263         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29264         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29265         * math/libm-test.inc (sin_test): Add test case.
29267 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29269         [BZ #13337]
29270         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29271         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29273         * elf/chroot_canon.c (chroot_canon): Cleanups.
29275         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29277         [BZ #13335]
29278         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29279         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29281         * string/test-strchr.c: Make usable for strchrnul testing.
29282         * string/test-strchrnul.c: New file.
29283         * string/Makefile (strop-tests): Add strchrnul.
29285         * po/it.po: Update from translation team.
29286         * po/es.po: Likewise.
29288 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
29290         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29291         the three constants needed as parameters.  Drop the others.
29292         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29293         __m128i_strloadu_tolower.
29294         Create and initialize variable zero and use it in all the places
29295         where _mm_setzero_si128 was used.
29297         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29298         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29299         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29300         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29301         anymore.
29302         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29303         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29304         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29305         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29306         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29307         __mpranred, __mptan.
29308         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29309         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29310         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29311         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29312         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29313         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29314         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29315         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29316         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29318 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29320         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29321         redefine if SHARED.
29322         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29324         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29325         wide char related routines to wcsmbs subdir.
29327 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29329         [BZ #13344]
29330         * misc/sys/cdefs.h (__THROWNL): Define.
29331         * posix/unistd.h: Use __THREADNL instead of __THREAD
29332         for memory synchronization functions.
29334 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29336         [BZ #13349]
29337         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29338         doesn't exist.
29339         * manual/stdio.texi (Obstack Streams): Node removed.
29341 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29343         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29344         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29345         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29347         * math/math_private.h (math_force_eval): Allow non-addressable
29348         arguments.
29349         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29351 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29353         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29354         file is not needed.
29356         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29357         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29358         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29359         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29360         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29361         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29362         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29363         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29364         Add AVX variants.
29365         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29366         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29367         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29368         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29369         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29370         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29371         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29372         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29373         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29374         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29375         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29376         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29377         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29378         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29379         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29380         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29381         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29382         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29383         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29385         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29386         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29388         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29389         place.  Use VEX encoding when compiling for AVX.
29391 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29393         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29394         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29396         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29398 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29400         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29401         useless if() expression.
29402         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29403         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29404         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29405         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29406         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29407         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29408         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29409         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29410         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29411         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29412         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29413         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29414         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29415         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29416         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29417         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29418         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29419         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29420         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29422         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29424 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29426         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29427         condition.
29428         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29430 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29432         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29433         .text section.  Avoid duplicate constants.
29434         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29435         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29436         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29437         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29438         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29440         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29441         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29442         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29443         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29444         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29445         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29446         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29447         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29448         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29449         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29450         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29451         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29452         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29453         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29454         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29455         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29456         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29457         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29458         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29459         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29460         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29461         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29462         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29463         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29464         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29465         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29466         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29467         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29468         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29469         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29470         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29471         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29472         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29473         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29474         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29475         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29476         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29477         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29478         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29480 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29482         * sysdeps/x86_64/dla.h: Move to ...
29483         * sysdeps/x86_64/fpu/dla.h: ...here.
29484         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29485         situations.  Use __builtin_fma only for gcc 4.6 and up.
29487         * config.make.in: Add have-mfma4 entry.
29488         * configure.in: Substitute libc_cv_cc_fma4.
29489         * math/Makefile (dbl-only-routines): Add sincostab.
29490         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29491         Use __sincostab not sincos.
29492         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29493         name is a macro.
29494         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29495         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29496         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29497         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29498         using __copysign.
29499         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29500         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29501         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29502         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29503         and __inv.
29504         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29505         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29506         __copysign.
29507         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29508         define aliases when function name is a macro.
29509         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29510         sysdeps/ieee754/dbl-64/sincos.tbl.
29511         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29512         fma4-enabled routines.
29513         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29514         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29515         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29516         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29517         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29518         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29519         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29520         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29521         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29522         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29523         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29524         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29525         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29526         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29527         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29528         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29529         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29530         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29531         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29532         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29533         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29534         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29535         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29536         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29537         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29538         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29539         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29540         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29541         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29542         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29544         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29545         rename.
29546         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29547         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29548         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29549         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29550         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29551         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29552         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29553         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29555 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29557         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29559 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29561         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29563         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29564         prediction.
29565         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29567         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29568         Remove unused variable magic_bits.
29569         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29571         * string/strnlen.c: Define and use STRNLEN macro.
29572         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29573         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29574         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29575         * wcsmbs/wcslen.c: Define and use WCSLEN.
29576         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29577         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29578         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29579         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29580         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29581         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29582         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29584 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29587         strnlen-sse2-no-bsf.
29588         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29589         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29590         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29591         Add strnlen support.
29592         (USE_AS_STRNLEN): New macro.
29593         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29594         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29595         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29596         * sysdeps/x86_64/wcslen.S: New file.
29598 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29600         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29601         XMM-moves are used for copying on small sizes.
29603 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29605         * wcsmbs/Makefile (strop-tests): Add wcschr.
29606         * wcsmbs/test-wcschr.c: New file.
29607         * string/test-strchr.c: Update.
29608         Add wcschr support.
29609         (WIDE): New macro.
29611 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29613         * wcsmbs/Makefile (strop-tests): Add wcslen.
29614         * wcsmbs/test-wcslen.c: New file.
29615         * string/test-strlen.c: Update.
29616         Add wcslen support.
29617         (WIDE): New macro.
29619 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29621         * po/it.po: Update from translation team.
29623 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29625         * sysdeps/x86_64/wcscmp.S: Update.
29626         Fix wrong comparison semantics.
29627         wcscmp shall use signed comparison not unsigned.
29628         Don't use substraction to avoid overflow bug.
29629         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29630         * wcsmbc/wcscmp.c: Likewise.
29631         * string/test-strcmp.c: Likewise.
29632         Add new tests to check cases with negative values.
29634 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29636         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29637         * sysdeps/x86_64/dla.h: ...here.  New file.
29638         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29639         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29640         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29641         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29642         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29643         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29645         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29646         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29648 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29650         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29651         __ynl_finite aliases.
29653 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29657         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29658         define DLA_FMA.
29659         [DLA_FMA] (EMULV): Use DLA_FMA.
29660         [DLA_FMA] (MUL12): Use EMULV.
29661         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29662         that are not needed.
29663         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29664         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29665         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29666         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29667         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29668         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29669         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29671 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29673         * math/s_nan.c: Undef __nan.
29674         * math/s_nanf.c: Undef __nanf.
29675         * math/s_nanl.c: Undef __nanl.
29676         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29677         "math_private.h".
29679 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29681         * math/s_catan.c: Add branch predictions.
29682         * math/s_catanf.c: Likewise.
29683         * math/s_catanh.c: Likewise.
29684         * math/s_catanhf.c: Likewise.
29685         * math/s_catanhl.c: Likewise.
29686         * math/s_catanl.c: Likewise.
29687         * math/s_cexp.c: Likewise.
29688         * math/s_cexpf.c: Likewise.
29689         * math/s_cexpl.c: Likewise.
29690         * math/s_clog.c: Likewise.
29691         * math/s_clog10.c: Likewise.
29692         * math/s_clog10f.c: Likewise.
29693         * math/s_clog10l.c: Likewise.
29694         * math/s_clogf.c: Likewise.
29695         * math/s_clogl.c: Likewise.
29696         * math/s_csqrt.c: Likewise.
29697         * math/s_csqrtf.c: Likewise.
29698         * math/s_csqrtl.c: Likewise.
29699         * math/s_ctanf.c: Likewise.
29700         * math/s_ctanh.c: Likewise.
29701         * math/s_ctanhf.c: Likewise.
29702         * math/s_ctanhl.c: Likewise.
29703         * math/s_ctanl.c: Likewise.
29705         * math/math_private.h: Define __nan, __nanf, __nanl.
29706         * math/s_cacosh.c: Include <math_private.h>.
29707         * math/s_cacoshl.c: Likewise.
29708         * math/s_casinh.c: Likewise.
29709         * math/s_casinhf.c: Likewise.
29710         * math/s_casinhl.c: Likewise.
29711         * math/s_ccos.c: Rely entire on ccosh.
29712         * math/s_ccosf.c: Rely entire on ccoshf.
29713         * math/s_ccosl.c: Rely entirely on ccoshl.
29714         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29715         Remove tests for FE_INVALID.
29716         * math/s_ccoshf.c: Likewise.
29717         * math/s_ccoshl.c: Likewise.
29718         * math/s_csin.c: Likewise.
29719         * math/s_csinf.c: Likewise.
29720         * math/s_csinh.c Likewise.
29721         * math/s_csinhf.c: Likewise.
29722         * math/s_csinhl.c: Likewise.
29723         * math/s_csinl.c: Likewise.
29724         * math/s_ctan.c: Likewise.
29725         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29726         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29727         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29729 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29732         compilation problems.
29734         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29735         __builtin_expect.
29737 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29739         * sysdeps/i386/configure.in: Test for -mfma4 option.
29740         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29741         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29742         COMMON_CPUID_INDEX_80000001.
29743         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29744         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29745         use it if FMA3 is not supported.
29746         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29748         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29749         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29751 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29753         [BZ #12892]
29754         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29755         it would create a cycle with a link time dependency.
29757 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29759         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29760         instruction.
29761         * string/Makefile (strop-tests): Add rawmemchr.
29762         * string/test-rawmemchr.c: New file.
29764         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29765         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29766         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29767         when compiling str{,n}casecmp and when AVX is available.  Hook up
29768         new optimized code in initializers.
29770 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29772         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29773         __feraiseexcept instead of feraiseexcept.
29775 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29777         * math/math_private.h: Define defaults for libc_fetestexcept and
29778         libc_feupdateenv.
29779         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29780         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29781         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29782         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29783         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29784         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29785         libc_fetestexcept and libc_feupdateenv.
29787         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29788         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29789         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29790         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29791         libc_feholdexcept_setround.
29793         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29794         Add s_nearbyint-c and s_nearbyintf-c.
29795         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29796         nearbyintf inlines.
29797         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29798         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29799         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29800         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29802         * math/math_private.h: Define defaults for libc_fegetround,
29803         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29804         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29805         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29806         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29807         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29808         standard functions.
29809         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29810         Remove comments and hacks for old compiler versions.
29811         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29812         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29813         libc_feholdexceptl.
29815 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29817         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29818         (__feraiseexcept_renamed): Add __NTH.
29819         (feraiseexcept): Add __NTH.  Rename local variables to fix
29820         namespace violations.
29822 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29824         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29826         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29828         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29829         recently added interfaces.
29830         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29832         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29833         about macro parameter expansion.
29835         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29836         __NO_MATH_INLINES is defined.  Cleanups.
29838         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29839         and __floorf is target has SSE4.1.
29840         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29841         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29842         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29843         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29845         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29846         name.
29847         (floorf): Likewise.
29849         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29851 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29853         * misc/sys/cdefs.h: Fix last change.
29855         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29856         database lookup.
29858 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29860         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29862         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29863         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29864         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29865         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29866         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29867         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29868         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29869         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29870         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29871         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29872         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29873         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29874         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29875         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29876         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29877         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29878         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29879         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29880         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29881         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29882         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29883         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29885         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29886         ceil, ceilf, floor, floorf.
29888         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29889         Perform IRELATIVE relocations last.
29891         * elf/do-rel.h: Add another parameter nrelative, replacing the
29892         local variable with the same name.  Change name of the function
29893         to end in Rel or Rela (uppercase).
29894         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29895         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29896         elf_dynamic_do_##reloc function.
29898 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29900         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29901         is sufficient, at least on modern CPUs.
29903         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29905         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29906         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29908         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29909         __expl_finite.
29910         * math/bits/math-finite.h: Add entries for exp.
29911         * math/e_expl.c: Add __*_finite alias.
29912         * sysdeps/i386/fpu/e_exp.S: Likewise.
29913         * sysdeps/i386/fpu/e_expf.S: Likewise.
29914         * sysdeps/i386/fpu/e_expl.c: Likewise.
29915         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29916         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29917         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29918         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29919         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29920         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29921         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29923         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29924         is sufficient, at least on modern CPUs.
29926         * ctype/ctype-info.c (__ctype_init): Define.
29927         * include/ctype.h (__ctype_init): Declare.
29928         (__ctype_b_loc): The variable is always initialized.
29929         (__ctype_toupper_loc): Likewise.
29930         (__ctype_tolower_loc): Likewise.
29931         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29932         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29934 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29936         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29938         * configure.in: Also look in $cxxmachine/include for C++ system
29939         headers.
29941 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29943         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29944         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29945         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29946         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29947         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29948         (USE_AS_WMEMCMP): New macro.
29949         Fixing indents.
29950         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29951         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29952         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29953         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29954         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29955         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29956         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29957         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29958         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29959         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29960         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29961         (USE_AS_WMEMCMP): New macro.
29962         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29963         * sysdeps/string/test-memcmp.c: Update.
29964         Fix simple_wmemcmp.
29965         Add new tests.
29966         * wcsmbs/wmemcmp.c: Update.
29967         (WMEMCMP): New macro.
29968         Fix overflow bug.
29970 2011-10-12  Andreas Jaeger  <aj@suse.de>
29972         [BZ #13268]
29973         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29975 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29977         * libio/iofwide.c (do_length): Avoid warning.
29979         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29981 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29983         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29985         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29986         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29987         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29988         * sysdeps/i386/i686/fpu/e_log.S: New file.
29989         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29990         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29992         * ctype/ctype.h: Add support for inlined isXXX functions when
29993         compiling C++ code.
29995 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29997         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29999         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30001 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30003         [BZ #13291]
30004         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30006 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30008         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30009         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30010         feraiseexcept.
30012         * sysdeps/x86_64/memrchr.S: Check for zero size.
30014         * string/stratcliff.c: Add memrchr tests.
30016 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30018         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30019         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30020         rawmemchr-sse2 rawmemchr-sse2-bsf.
30021         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30022         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30023         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30024         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30025         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30026         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30027         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30028         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30029         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30030         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30031         * string/memrchr.c (MEMRCHR): New macro.
30033 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30035         Add integration with gcc's -ffinite-math-only and optimize wrapper
30036         functions in libm.
30037         * Versions.def: Define GLIBC_2.15 version for libm.
30038         * math/Makefile (headers): Add bits/math-finite.h.
30039         * math/bits/math-finite.h: New file.
30040         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30041         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30042         * math/e_acoshl.c: Add __*_finite alias.
30043         * math/e_acosl.c: Likewise.
30044         * math/e_asinl.c: Likewise.
30045         * math/e_atan2l.c: Likewise.
30046         * math/e_atanhl.c: Likewise.
30047         * math/e_coshl.c: Likewise.
30048         * math/e_exp10.c: Likewise.
30049         * math/e_exp10f.c: Likewise.
30050         * math/e_exp10l.c: Likewise.
30051         * math/e_exp2l.c: Likewise.
30052         * math/e_fmodl.c: Likewise.
30053         * math/e_gammal_r.c: Likewise.
30054         * math/e_hypotl.c: Likewise.
30055         * math/e_j0l.c: Likewise.
30056         * math/e_j1l.c: Likewise.
30057         * math/e_jnl.c: Likewise.
30058         * math/e_lgammal_r.c: Likewise.
30059         * math/e_log10l.c: Likewise.
30060         * math/e_log2l.c: Likewise.
30061         * math/e_logl.c: Likewise.
30062         * math/e_powl.c: Likewise.
30063         * math/e_sinhl.c: Likewise.
30064         * math/e_sqrtl.c: Likewise.
30065         * math/e_scalb.c: Completely rewritten and optimized.
30066         * math/e_scalbf.c: Likewise.
30067         * math/e_scalbl.c: Likewise.
30068         * math/w_acos.c: Likewise.
30069         * math/w_acosf.c: Likewise.
30070         * math/w_acosl.c: Likewise.
30071         * math/w_acosh.c: Likewise.
30072         * math/w_acoshf.c: Likewise.
30073         * math/w_acoshl.c: Likewise.
30074         * math/w_asin.c: Likewise.
30075         * math/w_asinf.c: Likewise.
30076         * math/w_asinl.c: Likewise.
30077         * math/w_atan2.c: Likewise.
30078         * math/w_atan2f.c: Likewise.
30079         * math/w_atan2l.c: Likewise.
30080         * math/w_atanh.c: Likewise.
30081         * math/w_atanhf.c: Likewise.
30082         * math/w_atanhl.c: Likewise.
30083         * math/w_exp10.c: Likewise.
30084         * math/w_exp10f.c: Likewise.
30085         * math/w_exp10l.c: Likewise.
30086         * math/w_fmod.c: Likewise.
30087         * math/w_fmodf.c: Likewise.
30088         * math/w_fmodl.c: Likewise.
30089         * math/w_j0.c: Likewise.
30090         * math/w_j0f.c: Likewise.
30091         * math/w_j0l.c: Likewise.
30092         * math/w_j1.c: Likewise.
30093         * math/w_j1f.c: Likewise.
30094         * math/w_j1l.c: Likewise.
30095         * math/w_jn.c: Likewise.
30096         * math/w_jnf.c: Likewise.
30097         * math/w_log.c: Likewise.
30098         * math/w_logf.c: Likewise.
30099         * math/w_logl.c: Likewise.
30100         * math/w_log10.c: Likewise.
30101         * math/w_log10f.c: Likewise.
30102         * math/w_log10l.c: Likewise.
30103         * math/w_log2.c: Likewise.
30104         * math/w_log2f.c: Likewise.
30105         * math/w_log2l.c: Likewise.
30106         * math/w_pow.c: Likewise.
30107         * math/w_powf.c: Likewise.
30108         * math/w_powl.c: Likewise.
30109         * math/w_remainder.c: Likewise.
30110         * math/w_remainderf.c: Likewise.
30111         * math/w_remainderl.c: Likewise.
30112         * math/w_scalb.c: Likewise.
30113         * math/w_scalbf.c: Likewise.
30114         * math/w_scalbl.c: Likewise.
30115         * math/w_sqrt.c: Likewise.
30116         * math/w_sqrtf.c: Likewise.
30117         * math/w_sqrtl.c: Likewise.
30118         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30119         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30120         used.
30121         * math/math_private.h: Declare __kernel_standard_f.
30122         * math/w_cosh.c: Remove cruft and optimize a bit.
30123         * math/w_coshf.c: Likewise.
30124         * math/w_coshl.c: Likewise.
30125         * math/w_exp2.c: Likewise.
30126         * math/w_exp2f.c: Likewise.
30127         * math/w_exp2l.c: Likewise.
30128         * math/w_hypot.c: Likewise.
30129         * math/w_hypotf.c: Likewise.
30130         * math/w_hypotl.c: Likewise.
30131         * math/w_lgamma.c: Likewise.
30132         * math/w_lgamma_r.c: Likewise.
30133         * math/w_lgammaf.c: Likewise.
30134         * math/w_lgammaf_r.c: Likewise.
30135         * math/w_lgammal.c: Likewise.
30136         * math/w_lgammal_r.c: Likewise.
30137         * math/w_sinh.c: Likewise.
30138         * math/w_sinhf.c: Likewise.
30139         * math/w_sinhl.c: Likewise.
30140         * math/w_tgamma.c: Likewise.
30141         * math/w_tgammaf.c: Likewise.
30142         * math/w_tgammal.c: Likewise.
30143         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30144         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30145         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30146         Minor optimizations.  Pretty printing.  Remove cruft.
30147         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30148         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30149         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30150         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30151         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30152         * sysdeps/i386/fpu/e_asin.S: Likewise.
30153         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30154         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30155         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30156         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30157         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30158         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30159         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30160         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30161         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30162         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30163         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30164         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30165         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30166         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30167         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30168         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30169         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30170         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30171         * sysdeps/i386/fpu/e_log.S: Likewise.
30172         * sysdeps/i386/fpu/e_log10.S: Likewise.
30173         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30174         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30175         * sysdeps/i386/fpu/e_log2.S: Likewise.
30176         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30177         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30178         * sysdeps/i386/fpu/e_logf.S: Likewise.
30179         * sysdeps/i386/fpu/e_logl.S: Likewise.
30180         * sysdeps/i386/fpu/e_pow.S: Likewise.
30181         * sysdeps/i386/fpu/e_powf.S: Likewise.
30182         * sysdeps/i386/fpu/e_powl.S: Likewise.
30183         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30184         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30185         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30186         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30187         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30188         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30189         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30190         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30191         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30192         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30193         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30194         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30195         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30196         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30197         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30198         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30199         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30200         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30201         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30202         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30203         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30204         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30205         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30206         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30207         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30208         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30209         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30210         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30211         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30212         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30213         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30214         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30215         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30216         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30217         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30218         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30219         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30220         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30221         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30222         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30223         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30224         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30225         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30226         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30227         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30228         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30229         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30230         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30231         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30232         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30233         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30234         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30235         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30236         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30237         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30238         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30239         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30240         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30241         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30242         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30243         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30244         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30245         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30246         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30247         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30248         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30249         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30250         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30251         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30252         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30253         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30254         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30255         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30256         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30257         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30258         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30259         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30260         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30261         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30262         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30263         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30264         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30265         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30266         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30267         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30268         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30269         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30270         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30271         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30272         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30273         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30274         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30275         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30276         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30277         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30278         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30279         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30280         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30281         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30282         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30283         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30284         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30285         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30286         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30287         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30288         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30289         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30290         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30291         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30292         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30293         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30294         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30295         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30296         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30297         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30298         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30299         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30300         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30301         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30302         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
30303         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30304         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30305         (__isnanf): Likewise.
30306         (__isinf_ns): Likewise.
30307         (__isinf_nsf): Likewise.
30308         (__finite): Likewise.
30309         (__finitef): Likewise.
30310         (__ieee754_sqrt): Define as macro.
30311         (__ieee754_sqrtf): Define as macro.
30312         (__ieee754_sqrtl): Define as macro.
30313         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30314         inlined copy.
30315         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30316         __FINITE_MATH_ONLY__ consistent.
30317         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30319 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30321         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30322         of rawmemchr.
30324         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30326 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30328         * po/ja.po: Update from translation team.
30330 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30332         * locale/programs/locarchive.c (prepare_address_space): New function.
30333         (create_archive, enlarge_archive, open_archive): Use it.
30335         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30336         inside [SHARED], where it is used.
30338         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30340         * nss/getent.c (netgroup_keys): Remove unused variable.
30341         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30343 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30345         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30346         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30347         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30348         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30349         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30350         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30351         * math/Makefile (libm-calls): Add s_isinf_ns.
30352         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30353         * math/multc3.c: Likewise.
30354         * math/s_casin.c: Likewise.
30355         * math/s_casinf.c: Likewise.
30356         * math/s_casinl.c: Likewise.
30357         * math/s_ccos.c: Likewise.
30358         * math/s_ccosf.c: Likewise.
30359         * math/s_ccosl.c: Likewise.
30360         * math/s_ctan.c: Likewise.
30361         * math/s_ctanf.c: Likewise.
30362         * math/s_ctanh.c: Likewise.
30363         * math/s_ctanhf.c: Likewise.
30364         * math/s_ctanhl.c: Likewise.
30365         * math/s_ctanl.c: Likewise.
30366         * math/w_fmod.c: Likewise.
30367         * math/w_fmodf.c: Likewise.
30368         * math/w_fmodl.c: Likewise.
30369         * math/w_remainder.c: Likewise.
30370         * math/w_remainderf.c: Likewise.
30371         * math/w_remainderl.c: Likewise.
30372         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30373         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30374         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30375         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30376         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30377         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30378         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30379         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30381         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30382         of the number.
30383         * stdio-common/printf_fphex.c: Likewise.
30384         * stdio-common/printf_size.c: Likewise.
30386         * math/e_exp10.c: Include math_private.h using <...> not "...".
30387         * math/e_exp10f.c: Likewise.
30388         * math/e_exp10l.c: Likewise.
30389         * math/e_exp2l.c: Likewise.
30390         * math/e_j0l.c: Likewise.
30391         * math/e_j1l.c: Likewise.
30392         * math/e_jnl.c: Likewise.
30393         * math/e_lgammal_r.c: Likewise.
30394         * math/e_rem_pio2l.c: Likewise.
30395         * math/e_scalb.c: Likewise.
30396         * math/e_scalbf.c: Likewise.
30397         * math/e_scalbl.c: Likewise.
30398         * math/k_cosl.c: Likewise.
30399         * math/k_sinl.c: Likewise.
30400         * math/k_tanl.c: Likewise.
30401         * math/s_cacoshf.c: Likewise.
30402         * math/s_catan.c: Likewise.
30403         * math/s_catanf.c: Likewise.
30404         * math/s_catanh.c: Likewise.
30405         * math/s_catanhf.c: Likewise.
30406         * math/s_catanhl.c: Likewise.
30407         * math/s_catanl.c: Likewise.
30408         * math/s_ccosh.c: Likewise.
30409         * math/s_ccoshf.c: Likewise.
30410         * math/s_ccoshl.c: Likewise.
30411         * math/s_cexp.c: Likewise.
30412         * math/s_cexpf.c: Likewise.
30413         * math/s_cexpl.c: Likewise.
30414         * math/s_clog.c: Likewise.
30415         * math/s_clog10.c: Likewise.
30416         * math/s_clog10f.c: Likewise.
30417         * math/s_clog10l.c: Likewise.
30418         * math/s_clogf.c: Likewise.
30419         * math/s_clogl.c: Likewise.
30420         * math/s_csin.c: Likewise.
30421         * math/s_csinf.c: Likewise.
30422         * math/s_csinh.c: Likewise.
30423         * math/s_csinhf.c: Likewise.
30424         * math/s_csinhl.c: Likewise.
30425         * math/s_csinl.c: Likewise.
30426         * math/s_csqrt.c: Likewise.
30427         * math/s_csqrtf.c: Likewise.
30428         * math/s_csqrtl.c: Likewise.
30429         * math/s_ctan.c: Likewise.
30430         * math/s_ctanf.c: Likewise.
30431         * math/s_ctanh.c: Likewise.
30432         * math/s_ctanhf.c: Likewise.
30433         * math/s_ctanhl.c: Likewise.
30434         * math/s_ctanl.c: Likewise.
30435         * math/s_ldexp.c: Likewise.
30436         * math/s_ldexpf.c: Likewise.
30437         * math/s_ldexpl.c: Likewise.
30438         * math/s_significand.c: Likewise.
30439         * math/s_significandf.c: Likewise.
30440         * math/s_significandl.c: Likewise.
30441         * math/w_acos.c: Likewise.
30442         * math/w_acosf.c: Likewise.
30443         * math/w_acosh.c: Likewise.
30444         * math/w_acoshf.c: Likewise.
30445         * math/w_acoshl.c: Likewise.
30446         * math/w_acosl.c: Likewise.
30447         * math/w_asin.c: Likewise.
30448         * math/w_asinf.c: Likewise.
30449         * math/w_asinl.c: Likewise.
30450         * math/w_atan2.c: Likewise.
30451         * math/w_atan2f.c: Likewise.
30452         * math/w_atan2l.c: Likewise.
30453         * math/w_atanh.c: Likewise.
30454         * math/w_atanhf.c: Likewise.
30455         * math/w_atanhl.c: Likewise.
30456         * math/w_cosh.c: Likewise.
30457         * math/w_coshf.c: Likewise.
30458         * math/w_coshl.c: Likewise.
30459         * math/w_dremf.c: Likewise.
30460         * math/w_exp10.c: Likewise.
30461         * math/w_exp10f.c: Likewise.
30462         * math/w_exp10l.c: Likewise.
30463         * math/w_exp2.c: Likewise.
30464         * math/w_exp2f.c: Likewise.
30465         * math/w_fmod.c: Likewise.
30466         * math/w_fmodf.c: Likewise.
30467         * math/w_fmodl.c: Likewise.
30468         * math/w_hypot.c: Likewise.
30469         * math/w_hypotf.c: Likewise.
30470         * math/w_hypotl.c: Likewise.
30471         * math/w_j0.c: Likewise.
30472         * math/w_j0f.c: Likewise.
30473         * math/w_j0l.c: Likewise.
30474         * math/w_j1.c: Likewise.
30475         * math/w_j1f.c: Likewise.
30476         * math/w_j1l.c: Likewise.
30477         * math/w_jn.c: Likewise.
30478         * math/w_jnf.c: Likewise.
30479         * math/w_jnl.c: Likewise.
30480         * math/w_lgamma.c: Likewise.
30481         * math/w_lgamma_r.c: Likewise.
30482         * math/w_lgammaf.c: Likewise.
30483         * math/w_lgammaf_r.c: Likewise.
30484         * math/w_lgammal.c: Likewise.
30485         * math/w_lgammal_r.c: Likewise.
30486         * math/w_log.c: Likewise.
30487         * math/w_log10.c: Likewise.
30488         * math/w_log10f.c: Likewise.
30489         * math/w_log10l.c: Likewise.
30490         * math/w_log2.c: Likewise.
30491         * math/w_log2f.c: Likewise.
30492         * math/w_log2l.c: Likewise.
30493         * math/w_logf.c: Likewise.
30494         * math/w_logl.c: Likewise.
30495         * math/w_pow.c: Likewise.
30496         * math/w_powf.c: Likewise.
30497         * math/w_powl.c: Likewise.
30498         * math/w_remainder.c: Likewise.
30499         * math/w_remainderf.c: Likewise.
30500         * math/w_remainderl.c: Likewise.
30501         * math/w_scalb.c: Likewise.
30502         * math/w_scalbf.c: Likewise.
30503         * math/w_scalbl.c: Likewise.
30504         * math/w_sinh.c: Likewise.
30505         * math/w_sinhf.c: Likewise.
30506         * math/w_sinhl.c: Likewise.
30507         * math/w_sqrt.c: Likewise.
30508         * math/w_sqrtf.c: Likewise.
30509         * math/w_sqrtl.c: Likewise.
30510         * math/w_tgamma.c: Likewise.
30511         * math/w_tgammaf.c: Likewise.
30512         * math/w_tgammal.c: Likewise.
30514         * po/ja.po: Update from translation team.
30516 2011-09-29  Andreas Jaeger  <aj@suse.de>
30518         [BZ #13179]
30519         * sunrpc/netname.c (netname2host): Fix logic.
30521         [BZ #6779]
30522         [BZ #6783]
30523         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30524         correctly.
30525         * math/w_remainder.c (__remainder): Likewise.
30526         * math/w_remainderf.c (__remainderf): Likewise.
30527         * math/libm-test.inc (remainder_test): Add test cases.
30529 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30531         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30532         sdiv_qrnnd.
30534 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30536         * string/test-memcmp.c: Avoid unncessary #defines.
30537         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30539 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30541         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30542         Use new sse2 version for core i3 - i7 as it's faster
30543         than sse42 version.
30544         (bit_Prefer_PMINUB_for_stringop): New.
30545         * sysdeps/x86_64/rawmemchr.S: Update.
30546         Replace with faster SSE2 version.
30547         * sysdeps/x86_64/memrchr.S: New file.
30548         * sysdeps/x86_64/memchr.S: Update.
30549         Replace with faster SSE2 version.
30551 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30553         * elf/dl-load.c (lose): Add cast to avoid warning.
30555 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30557         * po/ca.po: Update from translation team.
30559         * inet/getnetgrent_r.c: Hook up nscd.
30560         * nscd/Makefile (routines): Add nscd_netgroup.
30561         (nscd-modules): Add netgroupcache.
30562         (CFLAGS-netgroupcache.c): Define.
30563         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30564         (cache_search): Add const to second parameter.
30565         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30566         INNETGR.
30567         (dbs): Add netgrdb entry.
30568         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30569         (verify_persistent_db): Handle netgrdb.
30570         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30571         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30572         GETFDNETGR.
30573         (netgroup_response_header): Define.
30574         (innetgroup_response_header): Define.
30575         (datahead): Add netgroup_response_header and innetgroup_response_header
30576         elements.
30577         * nscd/nscd.conf: Add entries for netgroup cache.
30578         * nscd/nscd.h (dbtype): Add netgrdb.
30579         (_PATH_NSCD_NETGROUP_DB): Define.
30580         (netgroup_iov_disabled): Declare.
30581         (xmalloc, xcalloc, xrealloc): Move declarations here.
30582         (cache_search): Adjust prototype.
30583         Add netgroup-related prototypes.
30584         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30585         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30586         (__nscd_innetgr): Declare.
30587         * nscd/selinux.c (perms): Use access_vector_t as element type and
30588         add netgroup-related initializers.
30589         * nscd/netgroupcache.c: New file.
30590         * nscd/nscd_netgroup.c: New file.
30591         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30592         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30593         For four parameters use innetgr.
30594         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30595         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30596         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30597         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30599         * nscd/connections.c (register_traced_file): Don't register file
30600         for disabled databases.
30602 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30604         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30606         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30607         from tree and freeing node.
30609 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30611         * nss/nsswitch.c (__nss_database_lookup): Handle
30612         nss_parse_service_list out of memory case.
30614 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30616         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30617         out of memory case.
30619 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30621         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30622         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30623         pass it down.
30624         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30625         elf_machine_rela, elf_machine_lazy_rel.
30626         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30627         (ELF_DYNAMIC_DO_REL): Likewise.
30628         (ELF_DYNAMIC_DO_RELA): Likewise.
30629         (ELF_DYNAMIC_RELOCATE): Likewise.
30630         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30631         to ELF_DYNAMIC_DO_REL.
30632         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30633         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30634         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30635         elf_machine_rela.
30636         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30637         skip_ifunc, don't call ifunc function if non-zero.
30638         (elf_machine_rela): Likewise.
30639         (elf_machine_lazy_rel): Likewise.
30640         (elf_machine_lazy_rela): Likewise.
30641         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30642         (elf_machine_lazy_rel): Likewise.
30643         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30644         Likewise.
30645         (elf_machine_lazy_rel): Likewise.
30646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30647         Likewise.
30648         (elf_machine_lazy_rel): Likewise.
30649         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30650         (elf_machine_lazy_rel): Likewise.
30651         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30652         (elf_machine_lazy_rel): Likewise.
30653         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30654         (elf_machine_lazy_rel): Likewise.
30655         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30656         (elf_machine_lazy_rel): Likewise.
30657         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30658         (elf_machine_lazy_rel): Likewise.
30659         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30660         (elf_machine_lazy_rel): Likewise.
30662 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30664         * nss/nss_files/files-init.c (_nss_files_init): Use static
30665         initialization for all the *_traced_file variables.
30667 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30669         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30671 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30673         [BZ #13226]
30674         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30676 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30678         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30679         Reread the line before reparsing it.
30681 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30683         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30685 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30686             Maxim Kuvyrkov  <maxim@codesourcery.com>
30687             Joseph Myers  <joseph@codesourcery.com>
30689         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30690         if needed for __stack_chk_guard.
30692 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30694         * sysdeps/posix/spawni.c (script_execute): Always define it.
30695         It will be optimized away if unused.
30696         (maybe_script_execute): New function.
30697         (__spawni): Call it.
30699         * Makerules: Don't include tls.make.
30700         (config-tls): Always set to thread.
30701         * tls.make.c: File removed.
30703 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30705         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30706         * config.make.in (CPPFLAGS-config): New substituted variable.
30708 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30710         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30712         [BZ #13192]
30713         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30714         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30716 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30718         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30719         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30720         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30721         (CALL_FAIL): Likewise.
30722         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30723         (CALL_FAIL): Macro removed.
30724         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30726 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30728         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30729         for __FINITE_MATH_ONLY__ == 1.
30731 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30733         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30734         __ieee754_sqrt instead of sqrt.
30735         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30736         __ieee754_sqrtf instead of sqrtf.
30737         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30738         __floorf instead of floorf.
30739         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30740         __floorf, __truncf instead of floorf, truncf.
30742 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30744         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30746         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30747         __extern_always_inline.
30748         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30749         32-bit.
30751 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30753         * elf/rtld.c (dl_main): Also relocate in dependency order when
30754         doing symbol dependency testing.
30756 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30758         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30759         Always define `refsym'.
30761 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30763         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30764         (__FD_ELT): Renamed from __FDELT.
30765         * misc/bits/select2.h (__FD_ELT): Likewise.
30766         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30767         __FD_MASK instead of __FDELT, __FDMASK.
30768         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30769         Likewise.
30770         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30771         Likewise.
30773         * elf/Makefile (gen-ldd): Fix pattern.
30775         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30776         (init_tls): Likewise.
30778 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30780         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30782 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30784         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30785         `struct cmsghdr *' instead of `void *'.
30786         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30787         Likewise.
30789 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30791         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30792         if non-absolute.
30793         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30794         ldd_rewrite_script.
30796 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30798         * configure.in: Remove --with-tls option.
30799         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30800         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30801         out in case it is missing.
30802         * sysdeps/ia64/elf/configure.in: Likewise.
30803         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30804         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30805         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30806         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30807         * sysdeps/sh/elf/configure.in: Likewise.
30808         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30809         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30810         * sysdeps/x86_64/elf/configure.in: Likewise.
30811         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30812         * sysdeps/mach/hurd/tls.h: Likewise.
30814         [BZ #13067]
30815         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30817         [BZ #13090]
30818         * configure.in: Fix use of AC_INIT.
30820         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30822 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30824         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30825         __set_errno.
30826         * malloc/hooks.c: Likewise.
30828         [BZ #11929]
30829         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30830         variables statically.
30831         (narenas): Initialize.
30832         (list_lock): Initialize.
30833         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30834         initializtion of main_arena and list_lock.  Small cleanups.
30835         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30836         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30837         Add initializers to main_arena and mp_.
30838         (malloc_state): Remove pagesize member.  Change all users to use
30839         GLRO(dl_pagesize).
30841         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30842         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30843         is always initialized.
30845         * malloc/malloc.c: Removed unused configurations and dead code.
30846         * malloc/arena.c: Likewise.
30847         * malloc/hooks.c: Likewise.
30848         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30850         * include/tls.h: Removed.  USE___THREAD must always be defined.
30851         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30852         * elf/dl-libc.c: Likewise.
30853         * elf/dl-tsd.c: Likewise.
30854         * include/errno.h: Likewise.
30855         * include/netdb.h: Likewise.
30856         * include/resolv.h: Likewise.
30857         * inet/herrno-loc.c: Likewise.
30858         * inet/herrno.c: Likewise.
30859         * malloc/arena.c: Likewise.
30860         * malloc/hooks.c: Likewise.
30861         * malloc/malloc.c: Likewise.
30862         * resolv/res-state.c: Likewise.
30863         * resolv/res_libc.c: Likewise.
30864         * sysdeps/i386/dl-machine.h: Likewise.
30865         * sysdeps/ia64/dl-machine.h: Likewise.
30866         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30867         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30868         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30869         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30870         * sysdeps/sh/dl-machine.h: Likewise.
30871         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30872         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30873         * sysdeps/unix/i386/sysdep.S: Likewise.
30874         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30875         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30876         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30877         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30878         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30879         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30880         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30881         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30882         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30884         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30885         * sysdeps/x86_64/dl-machine.h: Likewise.
30886         * tls.make.c: Likewise.
30888         * configure.in: Remove --with-__thread option.  Make tests for
30889         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30890         tls_model attribute fail if no support is available.  Remove
30891         USE_IN_LIBIO.
30892         * Makeconfig: Adjust for dropped configure option.  All features are
30893         now mandatory.
30894         * Makerules: Likewise.
30895         * Versions.def: Likewise.
30896         * argp/argp-fmtstream.c: Likewise.
30897         * argp/argp-fmtstream.h: Likewise.
30898         * argp/argp-help.c: Likewise.
30899         * assert/assert.c: Likewise.
30900         * config.h.in: Likewise.
30901         * config.make.in: Likewise.
30902         * configure: Likewise.
30903         * configure.in: Likewise.
30904         * csu/Versions: Likewise.
30905         * csu/init.c: Likewise.
30906         * elf/tst-audit2.c: Likewise.
30907         * elf/tst-tls10.c: Likewise.
30908         * elf/tst-tls10.h: Likewise.
30909         * elf/tst-tls11.c: Likewise.
30910         * elf/tst-tls12.c: Likewise.
30911         * elf/tst-tls14.c: Likewise.
30912         * elf/tst-tlsmod11.c: Likewise.
30913         * elf/tst-tlsmod12.c: Likewise.
30914         * elf/tst-tlsmod13.c: Likewise.
30915         * elf/tst-tlsmod13a.c: Likewise.
30916         * elf/tst-tlsmod14a.c: Likewise.
30917         * elf/tst-tlsmod15b.c: Likewise.
30918         * elf/tst-tlsmod16a.c: Likewise.
30919         * elf/tst-tlsmod16b.c: Likewise.
30920         * elf/tst-tlsmod7.c: Likewise.
30921         * elf/tst-tlsmod8.c: Likewise.
30922         * elf/tst-tlsmod9.c: Likewise.
30923         * gmon/gmon.c: Likewise.
30924         * grp/fgetgrent_r.c: Likewise.
30925         * grp/putgrent.c: Likewise.
30926         * hurd/fopenport.c: Likewise.
30927         * include/libc-symbols.h: Likewise.
30928         * include/tls.h: Likewise.
30929         * intl/gettextP.h: Likewise.
30930         * intl/loadinfo.h: Likewise.
30931         * locale/global-locale.c: Likewise.
30932         * locale/localeinfo.h: Likewise.
30933         * mach/devstream.c: Likewise.
30934         * malloc/arena.c: Likewise.
30935         * malloc/set-freeres.c: Likewise.
30936         * misc/err.c: Likewise.
30937         * misc/getttyent.c: Likewise.
30938         * misc/mntent_r.c: Likewise.
30939         * posix/getopt.c: Likewise.
30940         * posix/wordexp.c: Likewise.
30941         * pwd/fgetpwent_r.c: Likewise.
30942         * resolv/Versions: Likewise.
30943         * resolv/res_hconf.c: Likewise.
30944         * shadow/fgetspent_r.c: Likewise.
30945         * shadow/putspent.c: Likewise.
30946         * stdio-common/printf_fphex.c: Likewise.
30947         * stdio-common/tmpfile.c: Likewise.
30948         * stdlib/abort.c: Likewise.
30949         * stdlib/fmtmsg.c: Likewise.
30950         * sunrpc/auth_unix.c: Likewise.
30951         * sunrpc/clnt_perr.c: Likewise.
30952         * sunrpc/clnt_tcp.c: Likewise.
30953         * sunrpc/clnt_udp.c: Likewise.
30954         * sunrpc/clnt_unix.c: Likewise.
30955         * sunrpc/openchild.c: Likewise.
30956         * sunrpc/svc_simple.c: Likewise.
30957         * sunrpc/svc_tcp.c: Likewise.
30958         * sunrpc/svc_udp.c: Likewise.
30959         * sunrpc/svc_unix.c: Likewise.
30960         * sunrpc/xdr.c: Likewise.
30961         * sunrpc/xdr_array.c: Likewise.
30962         * sunrpc/xdr_rec.c: Likewise.
30963         * sunrpc/xdr_ref.c: Likewise.
30964         * sunrpc/xdr_stdio.c: Likewise.
30966 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30968         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30970 2011-07-03  Andreas Jaeger  <aj@suse.de>
30972         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30973         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30974         regenerate with gen-libm-tests.pl.
30976 2010-05-12  Petr Baudis  <pasky@suse.cz>
30978         [BZ #11589]
30979         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30980         around j0() zero points by switching to j1().
30981         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30982         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30984         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30986 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30988         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30989         instead of 0.
30990         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30991         instead of 0.
30992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30993         Patch in part by Pavel Roskin <proski@gnu.org>.
30995         [BZ #13138]
30996         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30997         realloc.
30998         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30999         Free memory block if necessary.
31001         [BZ #12847]
31002         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31003         be NULL.  Don't lock in this case.
31005 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31007         * elf/elf.h (ELFOSABI_GNU): New macro.
31008         (ELFOSABI_LINUX): Define to that.
31010 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31012         * string/strncat.c (strncat): Undef the symbol in case it has been
31013         defined in bits/string.h.
31015 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31017         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31019         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31020         link map.
31022 2011-08-17  Andreas Jaeger  <aj@suse.de>
31024         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31026 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31027             Ian Lance Taylor  <iant@google.com>
31029         * math/libm-test.inc (lround_test): New testcase.
31030         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31032 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31034         * Makefile: Remove support for automatic cvs check-ins.
31035         * Makerules: Likewise.
31036         * config.make.in: Likewise.
31037         * configure.in: Likewise.
31038         * intl/Makefile: Likewise.
31039         * locale/Makefile: Likewise.
31040         * po/Makefile: Likewise.
31041         * posix/Makefile: Likewise.
31042         * sysdeps/gnu/Makefile: Likewise.
31043         * sysdeps/mach/hurd/Makefile: Likewise.
31044         * sysdeps/sparc/sparc32/Makefile: Likewise.
31046         [BZ #13118]
31047         * posix/Makefile (bug-regex32-ENV): Define.
31048         Patch by John Stanley <jpsinthemix@verizon.net>.
31050         * misc/Makefile (headers): Add bits/select2.h.
31051         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31052         * misc/bits/select2.h: New file.
31053         * include/bits/select2.h: New file.
31054         * debug/Makefile (routines): Add fdelt_chk.
31055         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31056         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31057         FD_ISSET.
31058         * debug/fdelt_chk.c: New file.
31060         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31061         * wcsmbs/test-wmemcmp.c: Likewise.
31062         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31063         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31065 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31067         * string/Makefile (strop-tests): Add memcmp.
31068         * string/test-wmemcmp.c: New file.
31069         * string/test-memcmp.c: Add wmemcmp support.
31071 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31073         [BZ #13153]
31074         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31075         2011-07-19 change.
31077         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31078         garbage value in a __mach_port_mod_refs call in the cases of the
31079         task-self and thread-self ports.
31081 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31083         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31085 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31087         * elf/dl-load.c (lose): Check for non-null L.
31089 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31091         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31093         * elf/dl-libc.c (dlerror_run): Pass back error code from
31094         dl_catch_error.
31096         [BZ #13123]
31097         * elf/dl-load.c (lose): Free l_origin if it is valid.
31099         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31100         names.
31101         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31102         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31103         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31104         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31105         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31106         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31108 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31110         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31111         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31112         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31113         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31114         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31115         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31116         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31117         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31118         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31119         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31121 2011-08-15  Alan Modra  <amodra@gmail.com>
31123         [BZ #13092]
31124         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31125         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31126         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31127         ppc_mcount to static-only-routines.
31128         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31129         __mcount_internal.
31130         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31131         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31133 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31135         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31136         for finite and infinity parameters.
31138 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31140         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31141         and add nop instructions for throughput optimization.
31142         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31144 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31146         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31147         aligned copy for power7 with vector-scalar instructions.
31148         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31150 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31152         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31153         AVX check.
31155 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31157         [BZ #13144]
31158         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31159         last change.
31161 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31163         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31164         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31165         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31166         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31167         clock_gettime.
31169 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31171         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31172         Forgot to demangle the pointer.
31174         * sysdeps/i386/sysdep.h: Define atom_text_section.
31175         * sysdeps/x86_64/sysdep.h: Likewise.
31176         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31177         section with atom_text_section.
31178         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31179         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31180         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31181         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31182         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31184         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31185         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31186         already be defined.  Change to take two parameters and don't assign
31187         result to variable.  Adjust all users.
31188         Define INTERNAL_GETTIME if not already defined.
31189         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31190         call.
31191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31192         HAVE_CLOCK_GETTIME_VSYSCALL.
31193         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31195         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31196         gettimeofday vsyscall, just use time.
31198 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31200         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31201         <errno.h>.
31203 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31205         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31206         syscall on x86-64.
31207         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31208         syscall.
31209         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31210         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31211         syscall if possible.
31213 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31215         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31216         e_ident.  Don't pass to find_mapsXX.
31217         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31219 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31222         strchr-sse2-no-bsf strrchr-sse2-no-bsf
31223         * sysdeps/x86_64/multiarch/strchr.S: Update.
31224         Check bit_slow_BSF bit.
31225         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31226         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31227         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31229 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31231         [BZ #13134]
31232         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31233         before glibc 2.15.
31234         (tryshell): Define.
31235         (__spawni): Change last parameter to be flag.  Test
31236         SPAWN_XFLAGS_USE_PATH flag to use path or not.
31237         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31238         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31239         * posix/spawni.c: Likewise.
31240         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31241         * posix/spawnp.c: Likewise.  Change normal version to use
31242         SPAWN_XFLAGS_USE_PATH.
31243         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31244         SPAWN_XFLAGS_TRY_SHELL.
31246         [BZ #13150]
31247         * posix/glob.h: Remove gcc 1.x support.
31249         [BZ #13068]
31250         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31252 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31254         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31255         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31256         strrchr-sse2-bsf
31257         * sysdeps/i386/i686/multiarch/strchr.S: New file.
31258         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31259         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31260         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31261         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31262         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31264 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31266         * sysdeps/x86_64/wcscmp.S: New file.
31268         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31269         wcscmp-c wcscmp-sse2
31270         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31271         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31272         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31273         * wcsmbs/wcscmp.c: Allow renaming.
31275 2011-09-05  David S. Miller  <davem@davemloft.net>
31277         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31278         stack slot, rather than the struct return pointer slot.
31279         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31280         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31282         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31284 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31286         * po/ja.po: Update from translation team.
31288         [BZ #13144]
31289         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31290         kernel in 64-bit binaries.
31292 2011-09-01  David S. Miller  <davem@davemloft.net>
31294         * elf/elf.h (HWCAP_SPARC_*): Move to..
31295         * sysdeps/sparc/sysdep.h: this new file and add new values.
31296         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31297         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31298         _DL_HWCAP_COUNT to 24.
31299         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31300         entries.
31301         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31302         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31303         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31304         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31305         instead of magic constants.
31306         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31308 2011-08-31  David S. Miller  <davem@davemloft.net>
31310         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31311         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31312         Reimplement to do errno handling inline.
31313         (SYSCALL_ERROR_HANDLER): New macro.
31314         (__SYSCALL_STRING): Do not do errno handling in asm.
31315         (__CLONE_SYSCALL_STRING): Delete.
31316         (__INTERNAL_SYSCALL_STRING): Delete.
31317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31318         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31319         (PSEUDO): Reimplement to do errno handling inline.
31320         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31321         (SYSCALL_ERROR_HANDLER): New macro.
31322         (__SYSCALL_STRING): Do not do errno handling in asm.
31323         (__CLONE_SYSCALL_STRING): Delete.
31324         (__INTERNAL_SYSCALL_STRING): Delete.
31325         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31326         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31327         i386.
31328         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31329         (inline_syscall*): Add 'err' argument.
31330         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31331         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31332         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31333         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31335         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31336         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31338 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31340         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31342 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31344         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31345         directive.
31347 2011-08-24  David S. Miller  <davem@davemloft.net>
31349         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31351 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31353         * elf/Makefile: Add rules to build and run unload8 test.
31354         * elf/unload8.c: New file.
31355         * elf/unload8mod1.c: New file.
31356         * elf/unload8mod1x.c: New file.
31357         * elf/unload8mod2.c: New file.
31358         * elf/unload8mod3.c: New file.
31360         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31361         it wasn't used.
31363 2011-08-23  David S. Miller  <davem@davemloft.net>
31365         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31366         subtract stack bias.
31367         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31368         %sp not %fp in calculations.
31369         (_JMPBUF_UNWINDS_ADJ): Likewise.
31371         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31372         (aio_suspend): Call it to force an exception region around the
31373         AIO_MISC_WAIT() invocation.
31375 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31377         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31378         backslash.
31380 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31382         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31383         protection macro.
31384         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31385         and <dl-machine.h>.
31386         (Elf64_FuncDesc): Remove.
31388 2011-08-22  David S. Miller  <davem@davemloft.net>
31390         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31391         sigaltstack check, add missing cfi directives.
31392         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31393         missing cfi directives, and sigaltstack handling.
31395 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31397         [BZ #11724]
31398         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31399         object is seen twice.
31400         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31402         * elf/Makefile (distribute): Add tst-initorder2.c.
31403         (tests): Add tst-initorder2.
31404         (modules-names): Add tst-initorder2a tst-initorder2b
31405         tst-initorder2c tst-initorder2d.  Add rules to build them.
31406         ($(objpfx)tst-initorder2.out): New rule.
31407         * elf/tst-initorder2.c: New file.
31408         * elf/tst-initorder2.exp: New file.
31410 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31412         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31414         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31415         dependencies back to end of function.
31417         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31418         $(elfobjdir)/ld.so.
31420 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31422         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31423         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31424         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31425         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31426         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31427         of __vdso_gettimeofday.
31428         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31429         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31430         attribute_hidden.
31431         (_libc_vdso_platform_setup): Remove initialization of
31432         __vdso_gettimeofday and __vdso_time.
31434 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31436         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31437         and fgetc_unlocked.
31438         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31439         getc_unlocked.
31441         * elf/dl-open.c (add_to_global): Report additions to the global scope
31442         for LD_DEBUG=scopes.
31443         (dl_open_worker): Also print scope of newly loaded dependencies.
31444         (_dl_show_scope): Indicate if there is no scope.
31446         [BZ #13114]
31447         * stdio-common/Makefile (tests): Add bug24.
31448         * stdio-common/bug24.c: New file.
31450 2011-08-19  Andreas Jaeger  <aj@suse.de>
31452         [BZ #13114]
31453         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31454         non-existant file when using close-on-exec mode.
31456 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31458         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31459         the very first instruction.
31461         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31462         the CFI state in the end.
31463         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31464         inclusion of dl-trampoline.h.
31465         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31467 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31469         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31470         expectations for long double.
31472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31473         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31475 2011-08-14  David S. Miller  <davem@davemloft.net>
31477         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31478         artificual limit depends upon the system page size.
31480 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31482         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31483         * resolv/Makefile: Define CFLAGS-libresolv.
31485 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31487         * nss/makedb.c (compute_tables): Make variables used in nested
31488         function static.
31490 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31492         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31493         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31494         if buffer was too small.
31496         * elf/pldd.c (main): Attach to all threads in the process.
31497         Rewrite /proc handling to use *at functions.
31499 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31501         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31502         specifies first scope to show.
31503         (dl_open_worker): Update callers.  Move printing scope of new
31504         object to before the relocation.
31505         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31506         * sysdeps/generic/ldsodefs.h: Update declaration.
31508         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31509         string for the scope number.
31511 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31513         * nscd/servicescache.c (cache_addserv): Make sure written is always
31514         initialized.
31516 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31518         * sysdeps/i386/i486/bits/atomic.h
31519         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31520         statement expression, so as to suppress "set but not used" warning.
31521         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31523         * string/strncat.c (STRNCAT): Use prototype definition.
31525         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31526         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31527         -Iprograms here.
31528         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31529         (localedef-modules): Add localedef.
31530         (locale-modules): Add locale.
31532         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31533         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31534         to avoid a warning.
31536 2011-08-14  David S. Miller  <davem@davemloft.net>
31538         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31539         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31541 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31543         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31544         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31545         * elf/rtld.c (dl_main): Set l_name of vDSO.
31546         Call _dl_show_scope when DL_DEBUG_SCOPES.
31547         (process_dl_debug): Recognize scopes flag and also set it for all.
31548         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31549         Declare _dl_show_scope.
31551         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31552         (do_dlopen): Pass caller_dlopen to dl_open.
31553         (__libc_dlopen_mode): Initialize caller_dlopen.
31555         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31556         of libc.  Make tolower call locale-independent.  Optimize a bit by
31557         using isdigit instead of isalnum.
31558         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31560 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31562         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31563         was a dependency or dynamically loaded.
31565 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31567         * intl/l10nflist.c: Allow architecture-specific pop function.
31568         * sysdeps/x86_64/l10nflist.c: New file.
31570         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31571         classification.
31573 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31575         * include/dirent.h: Add libc_hidden_proto for scandirat and
31576         scandirat64.  Don't declare __scandirat64.
31577         * dirent/scandirat.c: Add libc_hidden_def.
31578         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31579         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31581 2011-08-10  David S. Miller  <davem@davemloft.net>
31583         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31584         enum.
31585         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31586         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31587         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31589 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31591         * Versions.def [libc]: Add GLIBC_2.15.
31592         * dirent/Makefile (routines): Add scandirat and scandirat64.
31593         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31594         GLIBC_2.15.
31595         * dirent/dirent.h: Declare scandirat and scandirat64.
31596         * dirent/scandirat.c: New file.
31597         * dirent/scandirat64.c: New file.
31598         * sysdeps/wordsize-64/scandirat.c: New file.
31599         * sysdeps/wordsize-64/scandirat64.c: New file.
31600         * dirent/opendir.c: Define opendirat.
31601         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31602         using scandirat.
31603         * dirent/scandir64.c: Adjust for scandir.c change.
31604         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31605         __scandirat64, and __scandir_cancel_handler.
31606         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31607         additional parameter and use openat instead of open (outside of ld.so).
31608         Add new __opendir as wrapper around __opendirat.
31609         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31610         here without requiring old scandirat implementation.
31612 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31614         * dirent/scandir.c (cancel_handler): Renamed to
31615         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31616         defined.  Adjust users.
31617         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31618         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31620 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31622         * string/test-string.h (IMPL): Use __STRING to expand name and then
31623         stringify it.
31625         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31626         of cleanups.
31628 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31630         * string/Makefile: Update.
31631         (strop-tests): Append strncat.
31632         * string/test-wcscmp.c: New file.
31633         New comprehensive test for wcscmp.
31634         * string/test-strcmp.c: Update.
31635         (WIDE): New define.
31637 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31639         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31640         line.
31642 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31645         encoding to ACE if AI_IDN.
31647 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31649         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31650         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31652 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31654         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31655         Fix overflow bug in strncat.
31656         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31658         * string/test-strncat.c: Update.
31659         Add new tests for checking overflow bugs.
31661 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31663         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31664         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31665         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31666         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31667         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31668         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31669         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31670         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31671         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31673         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31674         (USE_AS_STRCAT): Define.
31675         Add strcat and strncat support.
31676         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31678 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31680         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31681         __n bigger than INT_MAX+1.
31682         (__strncmp_g): Likewise.
31684 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31686         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31687         * libio/stido.h: Likewise.
31689         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31690         (AF_NFC): Define.
31691         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31692         (AF_NFC): Define.
31694         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31695         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31696         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31697         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31698         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31700         [BZ #13021]
31701         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31702         installed.
31704         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31705         typo.
31706         (_dl_x86_64_save_sse): Likewise.
31708 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31711         OSXSAVE.
31712         (_dl_x86_64_save_sse): Likewise.
31714         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31716         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31718 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31720         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31721         change.
31722         (_dl_x86_64_save_sse): Use correct AVX check.
31724 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31726         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31727         bug in strncpy/strncat.
31728         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31730 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31732         * string/tester.c (test_strcat): Add tests for different alignments
31733         of source and destination.
31734         (test_strncat): Likewise.
31736 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31738         [BZ #12852]
31739         * posix/glob.c (glob): Check passed in values before using them in
31740         expressions to avoid some overflows.
31741         (glob_in_dir): Likewise.
31743         [BZ #13007]
31744         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31745         check for AVX enablement so that we don't crash with old kernels and
31746         new hardware.
31747         * elf/tst-audit4.c: Add same checks here.
31748         * elf/tst-audit6.c: Likewise.
31750         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31752 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31754         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31756 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31758         * po/cs.po: Update from translation team.
31759         * po/bg.po: Likewise.
31761 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31763         * misc/sys/cdefs.h: Add support for const attribute.
31764         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31765         to gnu_dev_{major,minor,makedev} functions.
31767 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31769         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31771 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31773         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31774         strlen results.
31776 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31778         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31779         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31780         register in order to avoid conflicts with the soft frame pointer
31781         being held in r11 when necessary.
31782         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31783         (INTERNAL_VSYSCALL_NCS): Likewise.
31785 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31787         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31788         * elf/dl-fini.c (_dl_fini): Adjust caller.
31789         * elf/dl-close.c (_dl_close_worker): Likewise.
31790         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31792 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31794         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31795         "aux_cache->nlibs < 0".
31797         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31798         in the reload-count case.
31800 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31803         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31804         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31805         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31806         * sysdeps/x86_64/multiarch/strcat.S: New file.
31807         * sysdeps/x86_64/multiarch/strncat.S: New file.
31808         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31809         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31810         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31811         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31812         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31813         (USE_AS_STRCAT): Define.
31814         Add strcat and strncat support.
31815         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31816         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31817         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31818         * string/strncat.c: Update.
31819         (USE_AS_STRNCAT): Define.
31820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31821         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31822         and i7.
31823         * sysdeps/x86_64/multiarch/init-arch.h
31824         (bit_Prefer_PMINUB_for_stringop): New.
31825         (index_Prefer_PMINUB_for_stringop): Likewise.
31826         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31827         bit_Prefer_PMINUB_for_stringop.
31829 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31831         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31832         buffer64.
31833         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31834         of casting of buffer.
31835         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31836         buffer32 and buffer64.
31837         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31838         writes instead of casting of buffer.
31839         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31840         buffer32.
31841         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31842         casting of buffer.
31844 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31846         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31848 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31850         * nscd/nscd.c (termination_handler): Don't do anything for a database
31851         if it has not yet been initialized.
31853 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31855         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31857 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31859         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31861 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31863         * po/nl.po: Update from translation team.
31864         * po/sv.po: Likewise.
31866 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31868         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31869         now disallowed by GCC.
31871         * configure.in (use-default-link): Default to yes if a test -shared
31872         link meets our qualifications.
31873         * configure: Regenerated.
31875         * config.make.in (output-format): New variable.
31876         * configure.in: Check for ld --print-output-format support.
31877         * configure: Regenerated.
31878         * Makerules ($(common-objpfx)format.lds)
31879         [$(output-format) != unknown]: Just use $(output-format),
31880         instead of the linker-script munging.
31882 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31884         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31885         of $(common-objpfx)shlib.lds.
31886         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31888         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31889         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31891         * configure.in (-z relro check): Adjust test code to add a large
31892         writable data section after it.
31893         * configure: Regenerated.
31895 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31897         * configure.in (-z relro check): Fix test code to make the variable
31898         truly const.
31899         * configure: Regenerated.
31901 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31903         * nscd/nscd.h (struct traced_file): Define.
31904         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31905         elements.  Add traced_files.
31906         (inotify_fd): Declare.
31907         (register_traced_file): Declare.
31908         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31909         (inotify_fd): Export.
31910         (resolv_conf_descr): Remove.
31911         (nscd_init): Move inotify descriptor creation to main.
31912         Don't register files for notification here.
31913         (register_traced_file): New function.
31914         (invalidate_cache): Don't use reset_res to determine whether to call
31915         res_init, go through the list of registered files.
31916         (main_loop_poll): The inotify descriptors are now stored in the
31917         structures for the traced files.
31918         (main_loop_epoll): Likewise
31919         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31920         to __nss_disable_nscd.
31921         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31922         for a database anymore.  Check the records for all the registered
31923         files instead.
31924         * nss/Makefile (libnss_files-routines): Add files-init.
31925         (libnss_db-routines): Add db-init.
31926         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31927         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31928         * nss/nss_db/db-init.c: New file.
31929         * nss/nss_files/files-init.c: New file.
31930         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31931         __nss_lookup_function.
31932         (__nss_lookup_function): Call nss_load_library.
31933         (nss_load_all_libraries): New function.
31934         (__nss_disable_nscd): Take parameter with callback function for files
31935         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31936         used for the cached services.
31937         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31938         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31939         options for features to all the files in nscd.
31941         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31943 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31945         * csu/elf-init.c (__libc_csu_init): Comment typo.
31947 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31949         * po/pl.po: Update from translation team.
31950         * po/ja.po: Likewise.
31951         * po/ru.po: Likewise.
31952         * po/ko.po: Likewise.
31953         * po/fr.po: Likewise.
31955 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31957         * configure.in (.ctors/.dtors header and trailer check):
31958         Use an empirical test on a built program.
31959         * configure: Regenerated.
31961         * configure.in (-z relro check): Use an empirical test on a built DSO.
31962         Detect, but do not require, on ia64.
31963         * configure: Regenerated.
31965         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31966         Update tests that use readelf to use $READELF instead.
31967         * configure: Regenerated.
31969 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31971         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31972         if the result is not used.
31974 2011-07-05  Andreas Jaeger  <aj@suse.de>
31976         [BZ#9696]
31977         * stdlib/tst-strtod.c: Add testcase.
31979 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31981         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31982         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31983         The latter has a higher limit.  Take additional parameter to pass to
31984         the new function.
31985         (__pathconf): Pass file to __statfs_link_max.
31986         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31987         __statfs_link_max.
31988         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31989         __statfs_link_max.
31991         [BZ #12868]
31992         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31993         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31994         Handle Lustre.
31995         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31996         (__statfs_filesize_max): Likewise.
31997         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31999 2011-07-05  Andreas Jaeger  <aj@suse.de>
32001         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32003 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32005         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32006         `status' variable.
32007         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32008         Likewise.
32010 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32012         * Makefile (strop-tests): Add strncat.
32013         * string/test-strncat.c: New file.
32015 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32017         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32019 2011-06-21  Andreas Jaeger  <aj@suse.de>
32021         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32022         Copy rule from iconvdata/Makefile.
32024 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32026         [BZ #12922]
32027         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32028         but no long options are defined, just return 'W'.
32030 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32032         [BZ #9696]
32033         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32035 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32037         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32038         netgroups to read.
32039         (innetgr): Likewise.
32041 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32043         * config.make.in (install_root): Default to $(DESTDIR).
32045 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32049 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32051         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32053         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32054         containing directory rather than embedding absolute directory names.
32056         * scripts/check-local-headers.sh: Rewritten using awk.
32057         Match by word, not by line.  Print error messages for matches.
32058         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32060         * Makerules [shlib-lds-flags empty]:
32061         ($(common-objpfx)libc_pic.opts): New target.
32062         ($(common-objpfx)libc_pic.os.clean): New target.
32063         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32065         * config.make.in (OBJCOPY): New variable.
32066         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32067         * configure: Regenerated.
32069         * config.make.in (use-default-link): New variable.
32070         * configure.in (use_default_link): Grok --with-default-link to set it.
32071         * configure: Regenerated.
32072         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32073         (shlib-lds, shlib-lds-flags): Define to empty.
32075         * Makerules (shlib-lds): New variable.
32076         (shlib-lds-flags): New variable.
32077         (build-shlib, build-moduile, build-module-asneeded): Use it.
32078         ($(common-objpfx)libc.so): Use $(shlib-lds).
32079         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32080         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32082         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32083         DT_FLAGS/DT_FLAGS_1 with zero flags.
32085         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32086         linker script munging.
32088 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32090         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32091         as 128-bit value.
32092         * crypt/sha512.c (sha512_process_block): Perform total addition using
32093         128-bit if possible.
32094         (__sha512_finish_ctx): Likewise.
32095         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32096         as 64-bit value.
32097         * crypt/sha256.c (SWAP64): Define.
32098         (sha256_process_block): Perform total addition using 64-bit if
32099         possible.
32100         (__sha256_finish_ctx): Likewise.
32102 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32104         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32105         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32106         * nscd/hstcache.c (cache_addhst): Likewise.
32107         * nscd/grpcache.c (cache_addgr): Likewise.
32108         * nscd/aicache.c (addhstaiX): Likewise
32109         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32111 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32113         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32114         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32115         * nscd/hstcache.c (cache_addhst): Likewise.
32116         * nscd/grpcache.c (cache_addgr): Likewise.
32117         * nscd/aicache.c (addhstaiX): Likewise
32119 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32121         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32122         domain only when needed.
32124 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32127         is always restored.
32129 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32131         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32132         are re-adding the entry.
32133         * nscd/servicescache.c (cache_addserv): Likewise.
32135 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32137         * sysdeps/generic/dl-irel.h: fix protection against multiple
32138         inclusions.
32139         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32141 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32143         [BZ #12935]
32144         * malloc/memusage.sh: Fix quoting in message.
32145         * debug/xtrace.sh: Likewise.
32147         * configure.in: Remove support for --experimental-malloc option, make
32148         it the default.
32149         * config.make.in: Likewise.
32150         * malloc/Makefile: Likewise.
32152 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32154         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32155         two-byte characters.
32157 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32159         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32160         AC_CACHE_CHECK invocation.
32161         * configure: Regenerated.
32163         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32165 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32167         [BZ #12350]
32168         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32169         bit from old_res_options.
32171         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32173         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32174         value type for setfct.
32176 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32179         __gettimeofday instead of gettimeofday.
32181 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32183         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32185 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32187         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32189         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32190         info.
32192 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32195         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32196         strcpy-sse2-unaligned strncpy-sse2-unaligned
32197         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32198         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32199         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32200         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32201         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32202         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32203         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32204         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32205         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32206         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32207         (STRCPY): Support SSE2 and SSSE3 versions.
32209 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32211         [BZ #12874]
32212         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32213         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32214         kernels which artificially limit size of requests.
32216 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32218         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32219         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32220         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32221         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32222         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32223         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32224         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32225         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32226         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32227         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32228         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32229         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32230         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32231         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32232         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32234         Enable unaligned load optimization for Intel Core i3, i5 and i7
32235         processors.
32236         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32237         Define.
32238         (index_Fast_Unaligned_Load): Define.
32239         (HAS_FAST_UNALIGNED_LOAD): Define.
32241 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
32243         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32245 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32247         [BZ #12907]
32248         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32249         until it is clear that the information is realy needed.
32250         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32252 2011-06-22  Andreas Schwab  <schwab@redhat.com>
32254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32256 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32258         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32259         /sys/devices/system/cpu/online if it is usable.
32261         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32262         reading the information from the /proc filesystem to once a second.
32264 2011-06-21  Andreas Jaeger  <aj@suse.de>
32266         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32267         NULL after inclusion of kernel headers.
32269 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
32271         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32272         calls to internal_setent.
32274         [BZ #12885]
32275         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32276         addresses using gethostbyname4_r ignore IPv4 addresses.
32278         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32279         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
32281         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32283 2011-06-20  David S. Miller  <davem@davemloft.net>
32285         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32286         inclusions.
32287         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32289         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32290         (elf_irel): Use it.
32291         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32292         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32293         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32294         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32295         * sysdeps/x86_64/dl-irel.h: Likewise.
32297         * elf/dl-runtime.c: Use elf_ifunc_invoke.
32298         * elf/dl-sym.c: Likewise.
32300 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32302         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
32303         need to dereference resplen2.
32305 2011-06-14  Andreas Schwab  <schwab@redhat.com>
32307         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32309 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32311         * Makeconfig: Define vardbdir and inst_vardbdir.
32312         * nss/Makefile: Add rules to install db-Makefile.
32314         * nss/nss_db/db-XXX.c: Cleanup.
32316         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32317         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32318         GLIBC_PRIVATE.
32319         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32320         * nss/makedb.c: Implement -g option to specify that value strings
32321         are generated and should not be added to table iterated over for
32322         get*ent calls.
32323         * nss/nss_db/db-initgroups.c: New file.
32325         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32326         interface.
32328         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32329         (internal_getgrouplist): Adjust to name change.
32330         Update use_initgroups_entry if this is not the first call.
32331         * nss/databases.def: Add initgroups entry.
32333         * nss/makedb.c (compute_tables): Check result of multiple hash table
32334         sizes to minimize maximum chain length.
32336 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32338         * Versions.def: Add entry for libnss_db.
32339         * shlib-versions: Likewise.
32340         * nss/Makefile: Add rules to build libnss_db.
32341         * nss/Versions: Add libnss_db information.  Organize libnss_files
32342         entries better.
32343         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32344         makedb progra.  Some minor improvements to generate smaller files.
32345         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32346         here from...
32347         * nss/makedb.c: ...here.
32348         Improve database format to be smaller and require less memory at
32349         runtime.
32350         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32351         db anymore.
32352         * nss/nss_db/db-netgrp.c: Likewise.
32353         * nss/nss_db/db-open.c: Likewise.
32354         * nss/nss_files/flies-XXX.x: Adjust comments.
32355         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32356         * nss/nss_files/files-grp.c: Likewise.
32357         * nss/nss_files/files-hosts.c: Likewise.
32358         * nss/nss_files/files-network.c: Likewise.
32359         * nss/nss_files/files-proto.c: Likewise.
32360         * nss/nss_files/files-pwd.c: Likewise.
32361         * nss/nss_files/files-rpc.c: Likewise.
32362         * nss/nss_files/files-service.c: Likewise.
32363         * nss/nss_files/files-sgrp.c: Likewise.
32364         * nss/nss_files/files-spwd.c: Likewise.
32365         * nss/nss_db/db-alias.c: Removed.
32366         * nss/nss_db/dummy-db.h: Removed.
32368 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32370         * nss/makedb.c: Rewritten to not use database library.
32371         * nss/Makefile: Update to build new makedb program.
32373 2011-06-14  Andreas Jaeger  <aj@suse.de>
32375         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32376         memset declaration.
32378 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32381         tmpbuf.
32383 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32385         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32386         * elf/Makefile ($(objpfx)ld.so): Likewise.
32388         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32389         Don't list ld.so twice in dependencies.
32391         * posix/bug-regex31.c: Include <stdlib.h>.
32393         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32395         * nis/nss_compat/compat-spwd.c
32396         (getspent_next_nss_netgr): Remove unused variable.
32397         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32399         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32400         nonmembers" output to use the right array.
32402         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32404         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32406         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32407         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32408         * catgets/gencat.c (read_input_file): Likewise.
32409         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32411         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32412         variable definition inside #if's controlling its use.
32414         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32416         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32418         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32420         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32421         unreachable code.
32423         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32425         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32426         * configure: Regenerated.
32428         * Makerules: Revert last change.
32429         * elf/Makefile: Likewise.
32431 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32433         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32434         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32435         (reloc-link): Likewise.
32437 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32439         * elf/Makefile: Add rules to build pldd.
32440         * elf/pldd.c: New file.
32441         * elf/pldd-xx.c: New file.
32443 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32445         * version.h: Update for 2.15 development version.
32447 2011-06-07  David S. Miller  <davem@davemloft.net>
32449         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32450         ifuncs.
32451         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32452         elf_machine_lazy_rel): Likewise.
32453         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32454         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32455         elf_machine_lazy_rel): Likewise.
32456         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32457         dl_hwcap via passed in argument.
32458         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32459         Likewise.
32461 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32463         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32465 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32467         [BZ #12849]
32468         * manual/fdl-1.1.texi: New file, verbatim from:
32469         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32470         * manual/lgpl-2.1.texi: New file, verbatim from:
32471         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32472         * manual/Makefile (licenses): New variable, list those new file names.
32473         (texis): Use it.
32474         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32476         * manual/fdl.texi: File removed.
32477         * manual/lesser.texi: File removed.
32478         * manual/libc.texinfo (Copying, Documentation License):
32479         Use new @include file names, put @appendix directive before @include.
32481 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32483         [BZ #12841]
32484         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32485         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32486         (mq_open): Add __NTH.
32488 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32491         Assume Intel Core i3/i5/i7 processor if AVX is available.
32493 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32495         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32496         typo.
32498 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32500         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32501         memory.  Use alloca_account.  Fix memory leak when retrying.
32503 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32505         * version.h (RELEASE): Bump for 2.14 release.
32506         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32508         * config.make.in (RANLIB): Remove entry.
32510 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32512         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32513         (libc.pot): Work around missing support for .ksh extension in xgettext.
32515         [BZ #12684]
32516         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32517         if both request failed.
32518         (send_dg): In case of server errors clear resplen or *resplen2.
32520         [BZ #12454]
32521         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32522         when there are multiple maps.
32523         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32524         (_dl_fini): Remove test here.
32526         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32528 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32530         [BZ #12350]
32531         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32532         bit from old_res_options.
32533         (gaih_inet): Likewise.
32535         [BZ #11099]
32536         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32537         as signed.
32539         * resolv/res_init.c (res_setoptions): Make the code more compact.
32541         [BZ #11558]
32542         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32543         set RES_USEVC.
32545         [BZ #11634]
32546         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32548         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32550         [BZ #11781]
32551         * malloc/malloc.h: Declare malloc hook variables as volatile.
32553         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32554         in last patch.
32556         [BZ #11799]
32557         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32558         raise in the comment.
32559         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32560         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32561         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32563 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32565         [BZ #12811]
32566         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32567         grow the buffers more if it already has to be sufficient.
32568         (build_wcs_upper_buffer): Likewise.
32569         * posix/regexec.c (check_matching): Likewise.
32570         (clean_state_log_if_needed): Likewise.
32571         (extend_buffers): Don't enlarge buffers beyond size of the input
32572         buffer.
32573         Patches mostly by Emil Wojak <emil@wojak.eu>.
32574         * posix/bug-regex32.c: New file.
32575         * posix/Makefile (tests): Add bug-regex32.
32577         * locale/findlocale.c (_nl_find_locale): Return right away if
32578         _nl_explode_name failed.
32579         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32581         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32583         * debug/xtrace.sh: Unify messages.
32584         * malloc/memusage.sh: Likewise.
32586         [BZ #12813]
32587         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32588         time symbol from vDSO.  Substitute with vsyscall if not available.
32589         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32590         __vdso_time.
32592         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32593         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32594         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32595         Add sendmmsg and internal_sendmmsg.
32596         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32597         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32598         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32600         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32601         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32602         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32604 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32606         [BZ #12813]
32607         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32608         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32609         available.
32610         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32611         __vdso_getcpu.
32613         [BZ #12814]
32614         * iconvdata/Makefile (tests): Add bug-iconv9.
32615         * iconvdata/bug-iconv9.c: New file.
32617 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32619         [BZ #12814]
32620         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32622 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32624         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32625         (struct user_regs_struct): Change intcs field back to cs.
32627 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32629         * po/ja.po: Update from translation team.
32631 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32633         [BZ #12795]
32634         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32635         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32637 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32639         * stdlib/longlong.h: Update from GCC.
32641 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32643         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32644         parameter name.
32645         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32646         Add parameter name.
32647         (__sysconf): Pass it down.
32649 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32651         [BZ #12671]
32652         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32653         some situations.
32654         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32655         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32656         add in in __libc_use_alloca calls.  Adjust callers.
32657         (glob): Use malloc in some situations.
32659         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32660         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32661         pltexit.
32663 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32665         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32666         and CLOCK_BOOTTIME_ALARM.
32668         [BZ #12782]
32669         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32670         is returned.
32672         * string/_strerror.c (__strerror_r): Print negative errors as signed
32673         numbers.
32675         [BZ #12777]
32676         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32677         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32678         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32680         * configure.in: Fix typo in redirection and correct removal of test
32681         files in two cases.
32683         [BZ #12788]
32684         * locale/setlocale.c (new_composite_name): Fix test to check for
32685         identical name of all categories.
32687         [BZ #12792]
32688         * libio/filedoalloc.c (local_isatty): New function.
32689         (_IO_file_doallocate): Use local_isatty.
32690         * stdio-common/perror.c (perror): In case a new stream is used
32691         forward the stream error.
32692         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32693         error flag.
32695 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32697         [BZ #11869]
32698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32699         alloca.
32700         * include/alloca.h (extend_alloca_account): Define.
32702         [BZ #11857]
32703         * posix/regex.h: Fix comments with documentation of user-accessible
32704         fields after compilation and describe correct free'ing of pattern
32705         after re_compile_pattern.
32706         Patch by Reuben Thomas <rrt@sc3d.org>.
32708 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32710         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32711         and -mno-altivec to prevent the compiler from using Altivec and/or
32712         VSX instructions when the corresponding registers are not available.
32714 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32716         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32718 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32720         * libio/freopen.c (freopen): Use __dup2, not dup2.
32721         * libio/freopen64.c (freopen64): Likewise.
32723 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32725         [BZ #12775]
32726         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32727         * math/Makefile (tests): Add test-powl.
32728         (CFLAGS-test-powl.c): Define.
32729         * math/test-powl.c: New file.
32731 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32733         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32735 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32737         [BZ #11837]
32738         * iconvdata/gb18030.c: Update to GB18020-2005.
32740 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32742         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32743         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32744         Patch by Aharon Robbins <arnold@skeeve.com>.
32746         [BZ #11892]
32747         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32748         on the stack.
32750         [BZ #11895]
32751         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32752         through underflows.
32754         [BZ #12766]
32755         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32756         point to strings before performing equality test for error_one_per_line
32757         mode.
32759         [BZ #11697]
32760         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32762         [BZ #11820]
32763         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32764         (struct user_fpregs_struct): Avoid __uint*_t types.
32766         [BZ #6420]
32767         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32768         symbol info.  Use it instead of calling _dl_addr locally.
32769         (lock_and_info): New function.
32770         (tr_freehook): Call lock_and_info and pass symbol info as additional
32771         parameter to tr_where.
32772         (tr_mallochook): Likewise.
32773         (tr_reallochook): Likewise.
32774         (tr_memalignhook): Likewise.
32776         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32777         used and couldn't be at all thread-safe.
32779 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32781         * libio/freopen.c (freopen): Don't close old file descriptor
32782         before the new one is opened.  Instead dup the new file descriptor
32783         to the old one after the new stream is created.
32784         * libio/freopen64.c (freopen64): Likewise.
32785         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32786         * libio/fileops.c (_IO_new_file_close_it): Handle new
32787         _IO_FLAGS2_NOCLOSE flag.
32788         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32789         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32790         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32791         _IO_FLAGS2_NOCLOSE flag.
32792         * include/unistd.h: Add hidden_proto for dup3.
32793         Define __have_dup3.
32794         * io/dup3.c: Define hidden symbol.
32795         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32797         [BZ #7101]
32798         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32799         when an incomplete long option is used.
32800         * posix/tst-getopt_long1.c: New file.
32801         * posix/Makefile (tests): Add tst-getopt_long1.
32803         [BZ #10138]
32804         * scripts/config.guess: Update from autoconf-2.68.
32805         * scripts/config.sub: Likewise.
32807         [BZ #10157]
32808         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32809         tests into ...
32810         (has_cpuclock): ...this.  New function.
32811         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32812         macro here based on has_cpuclock code.
32814         [BZ #10149]
32815         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32816         First byte (not low byte) is now always NUL.
32817         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32819         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32820         Use non-cancelable interfaces.
32822         [BZ #9809]
32823         * locale/iso-639.def: Add entry for Sorani.
32825         [BZ #11901]
32826         * include/stdlib.h: Move include protection to the right place.
32827         Define abort_msg_s.  Declare __abort_msg with it.
32828         * stdlib/abort.c (__abort_msg): Adjust type.
32829         * assert/assert.c (__assert_fail_base): New function.  Majority
32830         of code from __assert_fail.  Allocate memory for __abort_msg with
32831         mmap.
32832         (__assert_fail): Now call __assert_fail_base.
32833         * assert/assert-perr.c: Remove bulk of implementation.  Use
32834         __assert_fail_base.
32835         * include/assert.hL Declare __assert_fail_base.
32836         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32837         mmap.
32838         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32840 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32842         [BZ #11952]
32843         [BZ #12453]
32844         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32845         until all modules are registered in the DTV.
32846         * elf/Makefile: Add rules to build and run tst-tls19.
32847         * elf/tst-tls19.c: New file.
32848         * elf/tst-tls19mod1.c: New file.
32849         * elf/tst-tls19mod2.c: New file.
32850         * elf/tst-tls19mod3.c: New file.
32851         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32853         [BZ #12083]
32854         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32855         correctly.
32857         [BZ #12601]
32858         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32859         two-byte sequence errors.
32860         * iconvdata/Makefile (tests): Add bug-iconv8.
32861         * iconvdata/bug-iconv8.c: New file.
32863         [BZ #12626]
32864         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32865         buf2 definition.
32867         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32869         [BZ #12432]
32870         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32871         (dummy_getcfa): New function.
32872         (init): Get _Unwind_GetCFA address, use dummy if not found.
32873         (backtrace_helper): In recursion check, also check whether CFA changes.
32874         (__backtrace): Completely initialize arg.
32876         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32877         storing incomplete byte sequence in state object.  Avoid testing for
32878         guaranteed too small input if we know there is enough data available.
32880 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32882         * Makeconfig (+link-pie): Indent.
32883         * Rules (binaries-pie): Define if $(have-fpie) and
32884         $(build-shared).
32885         (binaries-shared): Also filter out $(binaries-pie).
32886         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32887         * nscd/Makefile (others-pie): Add nscd.
32888         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32889         ($(objpfx)nscd): Remove command override.
32890         * login/Makefile (others-pie): Add pt_chown.
32891         ($(objpfx)pt_chown): Remove command override.
32892         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32893         remove command overrides.
32895 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32897         * libio/tst_putwc.c: Fix error messages.
32899         [BZ #12724]
32900         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32901         currently writing and seek to current position when not.
32902         * libio/Makefile (tests): Add bug-fclose1.
32903         * libio/bug-fclose1.c: New file.
32905 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32907         [BZ #12511]
32908         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32909         don't set DF_1_NODELETE here.
32910         (do_lookup_x): When entering new entry test for copy relocation
32911         and if necessary set DF_1_NODELETE flag.
32912         * elf/tst-unique4.cc: New file.
32913         * elf/tst-unique4.h: New file.
32914         * elf/tst-unique4lib.cc: New file.
32915         * elf/Makefile: Add rules to build and run tst-unique4.
32916         Patch by Piotr Bury <pbury@goahead.com>.
32918 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32920         [BZ #12052]
32921         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32923         [BZ #12625]
32924         * misc/mntent_r.c (addmntent): Flush the stream after the output
32926         [BZ #12393]
32927         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32928         (is_trusted_path_normalize): Skip initial colon.  Append slash
32929         to empty buffer.  Duplicate is_trusted_path code but allow
32930         constructed patch to be prefix.
32931         (is_dst): Allow $ORIGIN followed by /.
32932         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32933         Correct testing of result of is_trusted_path_normalize
32934         (decompose_rpath): Fix warning.
32936 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32938         [BZ #11257]
32939         * grp/initgroups.c (internal_getgrouplist): When we found the service
32940         list through the initgroups entry in nsswitch.conf do not always
32941         continue on a successful lookup.  Don't always use the
32942         __nss_group_database value if it is set.
32943         * nss/nsswitch.conf (initgroups): Change action for successful db
32944         lookup to continue for compatibility.
32946 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32948         [BZ #11532]
32949         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32950         and CP774 modules.
32951         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32952         and CP774 modules.
32953         * iconvdata/tst-tables.sh: Likewise.
32954         * iconvdata/cp770.c: New file.
32955         * iconvdata/cp771.c: New file.
32956         * iconvdata/cp772.c: New file.
32957         * iconvdata/cp773.c: New file.
32958         * iconvdata/cp774.c: New file.
32959         * iconvdata/testdata/CP770: New file.
32960         * iconvdata/testdata/CP770..UTF8: New file.
32961         * iconvdata/testdata/CP771: New file.
32962         * iconvdata/testdata/CP771..UTF8: New file.
32963         * iconvdata/testdata/CP772: New file.
32964         * iconvdata/testdata/CP772..UTF8: New file.
32965         * iconvdata/testdata/CP773: New file.
32966         * iconvdata/testdata/CP773..UTF8: New file.
32967         * iconvdata/testdata/CP774: New file.
32968         * iconvdata/testdata/CP774..UTF8: New file.
32970         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32971         END CHARMAP line.
32972         * iconvdata/gen-8bit-gap.sh: Likewise.
32973         * iconvdata/gen-8bit.sh: Likewise.
32975         * locale/iso-639.def: Add ary entry.
32977         [BZ #11258]
32978         * locale/C-translit.h.in: Add U20A1 transliteration.
32980         [BZ #12178]
32981         * locale/iso-639.def: Add wae entry.
32982         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32984         [BZ #12545]
32985         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32986         for n.
32988         [BZ #12711]
32989         * locale/C-translit.h.in: Add entry for U20B9.
32990         Patch by pravin.d.s@gmail.com.
32992 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32994         [BZ #12713]
32995         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32996         ENAMETOOLONG use generic getcwd.
32997         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32998         in rtld.  Use *stat64.
32999         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33000         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33001         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33002         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33003         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33004         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33005         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33006         __fstatat64 macros.
33007         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33008         * dirent/rewinddir.c: Add libc_hidden_def.
33009         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33010         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33012         * include/dirent.h (__alloc_dir): Add flags parameter.
33013         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33014         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33015         __alloc_dir.
33016         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33017         from fdopendir if O_CLOEXEC is already set.
33019 2011-03-15  Alan Modra  <amodra@gmail.com>
33021         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33022         l_tls_firstbyte_offset non-zero.  Save padding offset in
33023         l_tls_firstbyte_offset for later use.
33024         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33025         freeing static tls block.
33027 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33029         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33030         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33031         being defined by the kernel headers.
33033 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33035         [BZ #12734]
33036         * resolv/resolv.h: Define RES_NOTLDQUERY.
33037         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33038         no-tld-query and set RES_NOTLDQUERY.
33039         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33040         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33041         modern BIND to search name as TLD unless forbidden.
33043 2011-05-07  Petr Baudis  <pasky@suse.cz>
33044             Ulrich Drepper  <drepper@gmail.com>
33046         [BZ #12393]
33047         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33048         (is_trusted_path): ...to here.
33049         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33050         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33051         using is_trusted_path_normalize() in setuid scripts.
33053 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33055         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33056         __BEGIN/__END_DECLS.
33058 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33060         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33061         NSS_STATUS_NOTFOUND if no record was found.
33063 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33065         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33066         (headers-not-in-tirpc): Remove rpc/netdb.h
33067         * resolv/netdb.h: Revert last change.
33069 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33071         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33072         circular dependency between libgcc.a and libc.a.
33074 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33076         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33077         * nis/Makefile: Don't install rpcsvc/*.
33078         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33079         instead of <rpc/types.h>.
33080         (MAXHOSTNAMELEN): Define.
33082 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33084         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33086 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33088         [BZ #12714]
33089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33090         gethostbyname4_r when IPv6 results are possible.
33092 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33094         [BZ #12723]
33095         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33096         _PC_PIPE_BUF handling.
33098 2011-04-30  Bruno Haible  <bruno@clisp.org>
33100         [BZ #12717]
33101         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33102         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33103         to 'int'.
33104         * inet/getnameinfo.c (getnameinfo): Likewise.
33106 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33108         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33109         to groups setting in database lookup.
33110         * nss/nsswitch.conf: Add initgroups entry.
33112 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33114         [BZ #12685]
33115         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33116         mode string.
33117         Patch by Eric Blake <eblake@redhat.com>.
33119 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33121         * sunrpc/Makefile (need-export-routines): Add svc_run.
33122         (routines): Remove svc_run.
33123         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33124         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33125         * sunrpc/svc_run.c (svc_run): Likewise.
33126         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33128 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33130         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33131         problem in reallocation in last patch.
33133 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33135         * sunrpc/Makefile: Move inclusion of Rules.
33137 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33139         * nss/nss_files/files-initgroups.c: New file.
33140         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33141         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33142         _nss_files_initgroups_dyn.
33144 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33146         * elf/elf.h (R_ARM_IRELATIVE): Define.
33148 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33150         * po/ru.po: Update from translation team.
33152 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33154         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33155         dependencies.
33157 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33159         [BZ #12653]
33160         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33161         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33162         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33163         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33164         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33166 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33168         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33169         differing bytes.
33170         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33171         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33172         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33174 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33176         [BZ #12420]
33177         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33178         storing it.
33179         * stdlib/bug-getcontext.c: New file.
33180         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33182 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33184         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33185         instructions into .machine "z9-109".
33186         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33187         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33189 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33191         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33192         between environment variables and auxiliary vector.
33194 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33196         * Makefile: Add rules to build linkobj/libc.so.
33197         * include/libc-symbols.h: Define libc_hidden_nolink.
33198         * include/rpc/auth.h: Mark functions which are to be hidden.
33199         * include/rpc/auth_des.h: Likewise.
33200         * include/rpc/auth_unix.h: Likewise.
33201         * include/rpc/clnt.h: Likewise.
33202         * include/rpc/des_crypt.h: Likewise.
33203         * include/rpc/key_prot.h: Likewise.
33204         * include/rpc/pmap_clnt.h: Likewise.
33205         * include/rpc/pmap_prot.h: Likewise.
33206         * include/rpc/pmap_rmt.h: Likewise.
33207         * include/rpc/rpc_msg.h: Likewise.
33208         * include/rpc/svc.h: Likewise.
33209         * include/rpc/svc_auth.h: Likewise.
33210         * include/rpc/xdr.h: Likewise.
33211         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33212         * nss/Makefile: Likewise.
33213         * sunrpc/Makefile: Don't install headers.  Build library with normal
33214         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33215         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33216         for the compat linking library.  Remove use of INTDEF/INTUSE.
33217         * sunrpc/auth_none.c: Likewise.
33218         * sunrpc/auth_unix.c: Likewise.
33219         * sunrpc/authdes_prot.c: Likewise.
33220         * sunrpc/authuxprot.c: Likewise.
33221         * sunrpc/clnt_gen.c: Likewise.
33222         * sunrpc/clnt_perr.c: Likewise.
33223         * sunrpc/clnt_raw.c: Likewise.
33224         * sunrpc/clnt_simp.c: Likewise.
33225         * sunrpc/clnt_tcp.c: Likewise.
33226         * sunrpc/clnt_udp.c: Likewise.
33227         * sunrpc/clnt_unix.c: Likewise.
33228         * sunrpc/des_crypt.c: Likewise.
33229         * sunrpc/des_soft.c: Likewise.
33230         * sunrpc/get_myaddr.c: Likewise.
33231         * sunrpc/key_call.c: Likewise.
33232         * sunrpc/key_prot.c: Likewise.
33233         * sunrpc/netname.c: Likewise.
33234         * sunrpc/pm_getmaps.c: Likewise.
33235         * sunrpc/pm_getport.c: Likewise.
33236         * sunrpc/pmap_clnt.c: Likewise.
33237         * sunrpc/pmap_prot.c: Likewise.
33238         * sunrpc/pmap_prot2.c: Likewise.
33239         * sunrpc/pmap_rmt.c: Likewise.
33240         * sunrpc/publickey.c: Likewise.
33241         * sunrpc/rpc_cmsg.c: Likewise.
33242         * sunrpc/rpc_common.c: Likewise.
33243         * sunrpc/rpc_dtable.c: Likewise.
33244         * sunrpc/rpc_prot.c: Likewise.
33245         * sunrpc/rpc_thread.c: Likewise.
33246         * sunrpc/rtime.c: Likewise.
33247         * sunrpc/svc.c: Likewise.
33248         * sunrpc/svc_auth.c: Likewise.
33249         * sunrpc/svc_authux.c: Likewise.
33250         * sunrpc/svc_raw.c: Likewise.
33251         * sunrpc/svc_run.c: Likewise.
33252         * sunrpc/svc_simple.c: Likewise.
33253         * sunrpc/svc_tcp.c: Likewise.
33254         * sunrpc/svc_udp.c: Likewise.
33255         * sunrpc/svc_unix.c: Likewise.
33256         * sunrpc/svcauth_des.c: Likewise.
33257         * sunrpc/xcrypt.c: Likewise.
33258         * sunrpc/xdr.c: Likewise.
33259         * sunrpc/xdr_array.c: Likewise.
33260         * sunrpc/xdr_float.c: Likewise.
33261         * sunrpc/xdr_intXX_t.c: Likewise.
33262         * sunrpc/xdr_mem.c: Likewise.
33263         * sunrpc/xdr_rec.c: Likewise.
33264         * sunrpc/xdr_ref.c: Likewise.
33265         * sunrpc/xdr_sizeof.c: Likewise.
33266         * sunrpc/xdr_stdio.c: Likewise.
33268 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
33270         [BZ #12650]
33271         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33272         * sysdeps/ia64/dl-tls.h: Likewise.
33273         * sysdeps/powerpc/dl-tls.h: Likewise.
33274         * sysdeps/s390/dl-tls.h: Likewise.
33275         * sysdeps/sh/dl-tls.h: Likewise.
33276         * sysdeps/sparc/dl-tls.h: Likewise.
33277         * sysdeps/x86_64/dl-tls.h: Likewise.
33278         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33280 2011-03-14  Andreas Schwab  <schwab@redhat.com>
33282         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33283         rpath element also skip the following colon.
33284         (expand_dynamic_string_token): Add is_path parameter and pass
33285         down to DL_DST_REQUIRED and _dl_dst_substitute.
33286         (decompose_rpath): Call expand_dynamic_string_token with
33287         non-zero is_path.  Ignore empty rpaths.
33288         (_dl_map_object_from_fd): Call expand_dynamic_string_token
33289         with zero is_path.
33291 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
33293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33294         Make cancelable.
33296 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
33298         [BZ #12655]
33299         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33300         Patch by Filipe David Manana <fdmanana@apache.org>.
33302 2011-04-07  Andreas Schwab  <schwab@redhat.com>
33304         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33305         Maintain aligned stack.
33306         (CHECK_RSP): Remove unused macro.
33308 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
33310         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33311         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33313 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33315         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33317         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33319 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33321         [BZ #12518]
33322         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33323         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33324         * sysdeps/x86_64/memmove.c: New file.
33325         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33326         (memcpy): Renamed to ...
33327         (__new_memcpy): This.
33328         (memcpy): Provide GLIBC_2_14 memcpy.
33329         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33330         (memcpy): Provide GLIBC_2_2_5 memcpy.
33332 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33334         [BZ #12631]
33335         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33337 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33339         * misc/syncfs.c: New file.
33340         * misc/Makefile (routines): Add syncfs.
33341         * posix/unistd.h: Declare syncfs.
33342         * sysdeps/unix/syscalls.list: Add syncfs.
33344 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33346         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33347         open_by_handle_at.
33348         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33349         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33350         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33351         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33353         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33354         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33356 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33358         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33359         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33360         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33361         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33362         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33364         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33366         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33367         sync_file_range.c with -fexceptions.
33368         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33369         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33370         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33371         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33372         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33373         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33374         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33375         sync_file_range as cancellation point
33376         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33377         now a wrapper around __call_sync_file_range with cancellation handling.
33378         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33379         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33380         function name to __call_sync_file_range.
33381         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33382         Add call_sync_file_range.
33384 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33387         bits/timex.h.
33389 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33391         * iconv/iconv.h: Fix typo in comment.
33392         * io/fcntl.h: Likewise.
33393         * libio/stdio.h: Likewise.
33394         * posix/spawn.h: Likewise.
33395         * posix/unistd.h: Likewise.
33396         * stdlib/stdlib.h: Likewise.
33397         * time/time.h: Likewise.
33398         * wcsmbs/wchar.h: Likewise.
33400         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33401         open_by_handle): Add.
33402         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33403         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33404         Augment a few comments.
33405         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33406         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33407         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33408         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33409         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33410         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33411         open_by_handle.
33413         * io/fcntl.h (AT_EMPTY_PATH): Define.
33415 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33417         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33418         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33419         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33420         to...
33421         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33422         * Versions.def: Add GLIBC_2.14.
33423         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33424         Export.
33426 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33428         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33429         round counter.
33430         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33432 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33434         [BZ #12597]
33435         * string/test-strncmp.c (do_page_test): New function.
33436         (check2): Likewise.
33437         (test_main): Call check2.
33438         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33440 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33442         [BZ #12587]
33443         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33444         Handle cache information in CPU leaf 4.
33445         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33447 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33449         [BZ #12583]
33450         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33451         character representation.
33452         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33454 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33456         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33457         END(__isnan) to END(__isnanf) to match function entry point/label
33458         EALIGN(__isnanf,...).
33460 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33462         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33464 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33466         [BZ #12510]
33467         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33468         copy from the symbol referenced in the relocation to initialize the
33469         used variable.
33470         Patch by Piotr Bury <pbury@goahead.com>.
33471         * elf/Makefile: Add rules to build and tst-unique3.
33472         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33473         * elf/tst-unique3.cc: New file.
33474         * elf/tst-unique3.h: New file.
33475         * elf/tst-unique3lib.cc: New file.
33476         * elf/tst-unique3lib2.cc: New file.
33478         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33480 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33482         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33483         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33484         to _start.
33486 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33488         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33489         to-be-loaded object along a path to loader is ld.so.
33491 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33492             Ulrich Drepper  <drepper@gmail.com>
33494         * sysdeps/x86_64/memset.S: After aligning destination, code
33495         branches to different locations depending on the value of
33496         misalignment, when multiarch is enabled. Fix this.
33498 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33500         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33501         Set _x86_64_preferred_memory_instruction for AMD processsors.
33502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33503         Set bit_Prefer_SSE_for_memop for AMD processors.
33505 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33507         * libio/fmemopen.c (fmemopen): Optimize a bit.
33509 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33511         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33513 2011-03-03  Roland McGrath  <roland@redhat.com>
33515         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33517 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33519         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33520         __bzero_ultra1 instead of __memset_ultra1.
33522 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33523             Ulrich Drepper  <drepper@gmail.com>
33525         [BZ #12509]
33526         * include/link.h (struct link_map): Add l_orig_initfini.
33527         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33528         returning unsuccessfully.
33529         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33530         close of a file loaded at startup, restore the original l_initfini
33531         list.
33532         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33533         list, store the pointer.
33534         * elf/Makefile ($(objpfx)noload-mem): New rule.
33535         (noload-ENV): Define.
33536         (tests): Add $(objpfx)noload-mem.
33537         * elf/noload.c: Include <memcheck.h>.
33538         (main): Call mtrace.  Close all opened handles.
33540 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33542         [BZ #12454]
33543         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33544         dependencies are missing.
33546 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33548         Fix __if_freereq crash: Unlike the generic version which uses free,
33549         Hurd needs munmap.
33550         * sysdeps/mach/hurd/ifreq.h: New file.
33552 2011-01-27  Petr Baudis  <pasky@suse.cz>
33553             Ulrich Drepper  <drepper@gmail.com>
33555         [BZ 12445]#
33556         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33557         to extend_alloca().
33558         * stdio-common/bug23.c: New file.
33559         * stdio-common/Makefile (tests): Add bug23.
33561 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33562             Ulrich Drepper  <drepper@gmail.com>
33564         [BZ #12489]
33565         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33566         before performing relro protection.  At old place add assertion
33567         to make sure nothing changed.
33569 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33570             Glauber de Oliveira Costa  <glommer@gmail.com>
33572         * elf/elf.h: Add new ARM TLS relocs.
33574 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33577         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33578         cast from r3.
33579         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33580         'tests' variable.
33581         * sysdeps/wordsize-64/tst-writev.c: New file.
33583 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33585         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33586         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33587         insns in _dl_start to prevent a TOC reference before relocs are
33588         resolved.
33590 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33592         [BZ #12469]
33593         * Makeconfig: Remove RANLIB definition.
33594         * Makerules: Don't use RANLIB.
33595         * aclocal.m4: Remove ranlib test.
33596         * configure.in: No need to check for ranlib.
33597         * elf/rtld-Rules: Don't use RANLIB.
33599 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33601         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33602         protection macro.
33603         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33604         inclusion protection macro.
33606         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33607         SIGRTMIN and SIGRTMAX and print information in that case only when
33608         SIGRTMIN is defined.
33610 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33612         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33613         arginfo fn returning -1.
33615         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33616         and thousands string is zero terminated.
33618 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33620         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33621         sysdeps/unix/sysv/linux/bits/socket.h.
33623 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33625         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33626         (__CPU_COUNT): Remove old macros.
33627         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33628         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33629         (__CPU_ALLOC, __CPU_FREE): Add macros.
33630         (__sched_cpualloc, __sched_cpufree): Add declarations.
33632 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33634         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33635         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33636         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33637         (readdhstai): Return value of addhstaiX call.
33638         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33639         (addgrbyX): Return value returned by cache_addgr.
33640         (readdgrbyname): Return value returned by addgrbyX.
33641         (readdgrbygid): Likewise.
33642         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33643         (addpwbyX): Return value returned by cache_addpw.
33644         (readdpwbyname): Return value returned by addhstbyX.
33645         (readdpwbyuid): Likewise.
33646         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33647         (addservbyX): Return value returned by cache_addserv.
33648         (readdservbyname): Return value returned by addservbyX:
33649         (readdservbyport): Likewise.
33650         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33651         (addhstbyX): Return value returned by cache_addhst.
33652         (readdhstbyname): Return value returned by addhstbyX.
33653         (readdhstbyaddr): Likewise.
33654         (readdhstbynamev6): Likewise.
33655         (readdhstbyaddrv6): Likewise.
33656         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33657         (readdinitgroups): Return value returned by addinitgroupsX.
33658         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33659         (prune_cache): Keep track of timeout value of re-added entries.
33660         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33661         * nscd/nscd.h: Adjust prototypes of readd* functions.
33663 2011-02-04  Roland McGrath  <roland@redhat.com>
33665         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33666         (nis_stats): Likewise.
33667         * nis/nis_modify.c (nis_modify): Likewise.
33668         * nis/nis_remove.c (nis_remove): Likewise.
33669         * nis/nis_add.c (nis_add): Likewise.
33671         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33673         * posix/fnmatch_loop.c: Add some consts.
33675         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33677 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33679         [BZ #12460]
33680         * config.make.in (config-cflags-novzeroupper): Define.
33681         * configure.in: Substitute libc_cv_cc_novzeroupper.
33682         * elf/Makefile (AVX-CFLAGS): Define.
33683         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33684         (CFLAGS-tst-auditmod4a.c): Likewise.
33685         (CFLAGS-tst-auditmod4b.c): Likewise.
33686         (CFLAGS-tst-auditmod6b.c): Likewise.
33687         (CFLAGS-tst-auditmod6c.c): Likewise.
33688         (CFLAGS-tst-auditmod7b.c): Likewise.
33689         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33691 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33693         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33694         function to the callback.
33695         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33697 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33699         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33700         of errno.
33702 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33704         [BZ #11724]
33705         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33706         of constructors.
33707         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33708         of destructors.
33709         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33711         [BZ #11724]
33712         * elf/Makefile: Add rules to build and run new test.
33713         * elf/tst-initorder.c: New file.
33714         * elf/tst-initorder.exp: New file.
33715         * elf/tst-initordera1.c: New file.
33716         * elf/tst-initordera2.c: New file.
33717         * elf/tst-initordera3.c: New file.
33718         * elf/tst-initordera4.c: New file.
33719         * elf/tst-initorderb1.c: New file.
33720         * elf/tst-initorderb2.c: New file.
33721         * elf/tst-order-a1.c: New file.
33722         * elf/tst-order-a2.c: New file.
33723         * elf/tst-order-a3.c: New file.
33724         * elf/tst-order-a4.c: New file.
33725         * elf/tst-order-b1.c: New file.
33726         * elf/tst-order-b2.c: New file.
33727         * elf/tst-order-main.c: New file.
33728         New test case by George Gensure <werkt0@gmail.com>.
33730 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33733         decoding ACE if AI_CANONIDN.
33735 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33737         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33739 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33741         * version.h (RELEASE): Bump for 2.13 release.
33742         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33744         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33746         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33747         MADV_NOHUGEPAGE.
33748         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33749         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33750         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33751         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33752         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33753         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33755         * posix/getconf.c: Update copyright year.
33756         * catgets/gencat.c: Likewise.
33757         * csu/version.c: Likewise.
33758         * debug/catchsegv.sh: Likewise.
33759         * debug/xtrace.sh: Likewise.
33760         * elf/ldconfig.c: Likewise.
33761         * elf/ldd.bash.in: Likewise.
33762         * elf/sprof.c (print_version): Likewise.
33763         * iconv/iconv_prog.c: Likewise.
33764         * iconv/iconvconfig.c: Likewise.
33765         * locale/programs/locale.c: Likewise.
33766         * locale/programs/localedef.c: Likewise.
33767         * malloc/memusage.sh: Likewise.
33768         * malloc/mtrace.pl: Likewise.
33769         * nscd/nscd.c (print_version): Likewise.
33770         * nss/getent.c: Likewise.
33772         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33773         PF_CAIF, and PF_ALG.
33774         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33776 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33778         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33779         (modules-names): Use them.
33780         (ifunc-test-modules, ifunc-pie-tests): Define.
33781         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33782         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33783         (test-extras): Likewise.
33784         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33785         $(compile-command.c).
33786         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33787         (all-built-dso): Define.
33788         (check-textrel.out, check-execstack.out): Depend on it.
33790         * configure.in: Don't override --enable-multi-arch.
33792 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33794         [BZ #6812]
33795         * nscd/hstcache.c (tryagain): Define.
33796         (cache_addhst): Return tryagain not notfound for temporary errors.
33797         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33798         failed.
33800 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33802         [BZ #10563]
33803         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33804         to make the syscall.
33805         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33807         [BZ #12378]
33808         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33809         and fall back to matching as normal character if the string ends before
33810         the matching ']' is found.  This is what POSIX requires.
33811         * posix/testfnm.c: Adjust test result.
33812         * posix/globtest.sh: Adjust test result.  Add new test.
33813         * posix/tst-fnmatch.input: Likewise.
33814         * posix/tst-fnmatch2.c: Add new test.
33816 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33818         * elf/Makefile (check-execstack): Revert last change.  Depend on
33819         check-execstack.h.
33820         (check-execstack.h): New target.
33821         (generated): Add check-execstack.h.
33822         * elf/check-execstack.c: Include "check-execstack.h".
33823         (main): Revert last change.
33824         (handle_file): Return zero if GNU_STACK is absent and
33825         DEFAULT_STACK_PERMS doesn't include PF_X.
33827 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33829         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33830         in child fails because the descriptor is already closed.
33831         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33832         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33833         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33835         [BZ #12397]
33836         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33837         syscall.
33839         [BZ #10484]
33840         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33841         temporary buffer used to handle multi lookups locally.
33842         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33844 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33846         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33847         loader is ld.so.
33849 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33851         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33852         alignment for SSE2.
33854 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33856         [BZ #12394]
33857         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33858         characters.  When rounding increased number of integer digits recompute
33859         number of groups.
33860         * stdio-common/tst-grouping.c: New file.
33861         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33863 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33865         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33866         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33868         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33869         void.
33870         * bits/select.h: Likewise.
33872 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33874         * po/ja.po: Update from translation team.
33876 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33878         [BZ #11155]
33879         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33880         implementation just like for lxstat, fxstatat, et al.
33882 2010-12-27  Jim Meyering  <meyering@redhat.com>
33884         [BZ #12348]
33885         * posix/regexec.c (build_trtable): Return failure indication upon
33886         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33888 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33890         [BZ #12201]
33891         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33892         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33893         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33894         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33896         [BZ #12207]
33897         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33899         [BZ #12204]
33900         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33901         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33903 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33905         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33906         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33907         script has SORT_BY_INIT_PRIORITY.
33908         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33909         NO_CTORS_DTORS_SECTIONS is defined.
33910         * elf/soinit.c: Likewise.
33911         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33912         NO_CTORS_DTORS_SECTIONS is defined.
33913         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33914         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33915         * sysdeps/sh/init-first.c: Likewise.
33916         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33918 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33920         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33921         always use the slow path.
33923 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33925         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33926         similar rule which adds the sysdep directories to the header search in
33927         order to pick up the correct platform stackinfo.h.
33928         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33929         perform test if it is, otherwise return successfully without testing.
33930         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33931         DEFAULT_STACK_PERMS define in stackinfo.h.
33932         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33933         defined in stackinfo.h.
33934         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33935         DEFAULT_STACK_PERMS defined in stackinfo.h.
33936         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33937         * sysdeps/ia64/stackinfo.h: Likewise.
33938         * sysdeps/s390/stackinfo.h: Likewise.
33939         * sysdeps/sh/stackinfo.h: Likewise.
33940         * sysdeps/sparc/stackinfo.h: Likewise.
33941         * sysdeps/x86_64/stackinfo.h: Likewise.
33942         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33943         PF_X for powerpc64.  Retain PF_X for powerpc32.
33945 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33947         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33948         accurately.
33949         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33950         GETDENTS_64BIT_ALIGNED.
33952 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33954         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33956 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33958         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33959         _GNU_SOURCE.
33961         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33962         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33963         Remove __restrict.
33964         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33965         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33967 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33969         [BZ #11655]
33970         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33971         are initialized.
33973 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33975         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33977 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33979         * po/it.po: Update from translation team.
33981 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33983         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33984         unused codes.
33986 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33988         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33990 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33992         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33993         specially.
33994         (gaih_getanswer_slice): Likewise.
33996 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33998         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34000 2010-05-31  Petr Baudis  <pasky@suse.cz>
34002         [BZ #11149]
34003         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34004         silently even in the chroot mode.
34006 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34008         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34009         last patch a bit.  Pretty printing
34011 2010-05-31  Petr Baudis <pasky@suse.cz>
34013         [BZ #10085]
34014         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34015         initialization of skip_initgroups_dyn.
34017 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34019         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34020         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34022 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34024         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34026 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34028         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34029         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34030         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34031         ($(objpfx)tst-fnmatch-mem): New rule.
34032         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34033         * posix/tst-fnmatch.c (main): Call mtrace.
34035 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34038         Support Intel processor model 6 and model 0x2c.
34040 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34042         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34043           signed comparison.
34045 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34047         [BZ #12205]
34048         * string/test-strncasecmp.c (check_result): New function.
34049         (do_one_test): Use it.
34050         (check1): New function.
34051         (test_main): Use it.
34052         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34053         Support strcasecmp and strncasecmp.
34055 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34057         [BZ #12194]
34058         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34059         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34061 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34063         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34064         IFUNC support.
34065         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34066         memset-x86-64.
34067         * sysdeps/x86_64/multiarch/bzero.S: New file.
34068         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34069         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34070         * sysdeps/x86_64/multiarch/memset.S: New file.
34071         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34073         Set bit_Prefer_SSE_for_memop for Intel processors.
34074         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34075         Define.
34076         (index_Prefer_SSE_for_memop): Define.
34077         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34079 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34081         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34082         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34084 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34086         [BZ #12191]
34087         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34088         (__x86_64_raw_data_cache_size_half): Likewise.
34089         (__x86_64_raw_shared_cache_size): Likewise.
34090         (__x86_64_raw_shared_cache_size_half): Likewise.
34092         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34093         (__x86_64_raw_data_cache_size_half): Likewise.
34094         (__x86_64_raw_shared_cache_size): Likewise.
34095         (__x86_64_raw_shared_cache_size_half): Likewise.
34096         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34097         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34098         and __x86_64_raw_shared_cache_size_half.  Round
34099         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34100         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34101         to multiple of 256 bytes.
34103 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34105         [BZ #12167]
34106         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34107         of inacessible symlinks.  Verify result of symlink before returning it.
34108         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34109         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34111 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34113         * math/math.h (isinf): Fix typo in comment.
34115 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34117         * po/da.po: Update from translation team.
34119 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34121         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34122         is added to the list.
34124 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34125             Ulrich Drepper  <drepper@gmail.com>
34127         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34128         the global list here.  Move code to...
34129         (_dl_add_to_namespace_list): ...here.  New function.
34130         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34131         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34132         * elf/dl-load.c (lose): Don't remove the element from the list.
34133         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34134         (_dl_map_object): Likewise.
34136 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34138         [BZ #12159]
34139         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34140         into all bytes of SSE register.
34141         Patch by Richard Li <richardpku@gmail.com>.
34143 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34145         [BZ #12140]
34146         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34147         perturbing.
34149 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34151         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34152         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34153         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34154         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34156         submachine.
34157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34159 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34161         * include/dlfcn.h (__RTLD_SECURE): Define.
34162         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34163         mode & __RTLD_SECURE instead.
34164         (open_path): Rename preloaded parameter to secure.
34165         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34166         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34167         * elf/dl-deps.c (openaux): Likewise.
34168         * elf/rtld.c (struct map_args): Remove is_preloaded.
34169         (map_doit): Don't use it.
34170         (dl_main): Likewise.
34171         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34172         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34174 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34176         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34177         (sysd-rules-targets): Remove duplicates.
34178         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34179         rtld-%.$o dependency.
34181 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34183         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34184         _dl_map_object do it.
34186 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34188         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34189         fast fma builtins, define the macros in the C99 standard.
34190         (FP_FAST_FMAF): Likewise.
34191         (FP_FAST_FMAL): Likewise.
34192         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34194         * bits/mathdef.h: Update copyright year.
34195         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34197 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34199         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34200         builtins, define the macros in the C99 standard.
34201         (FP_FAST_FMAF): Likewise.
34202         (FP_FAST_FMAL): Likewise.
34203         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34204         multiply/add.
34205         (FP_FAST_FMAF): Likewise.
34207 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34209         [BZ #3268]
34210         * math/libm-test.inc (fma_test): Some new testcases.
34211         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34212         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34213         y and infinite z.  Do multiplication by C already in long double.
34214         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34216         y and infinite z.  Do bitwise or of inexact bit into u.d.
34217         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34218         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34219         * sysdeps/i386/fpu/s_fma.S: Removed.
34220         * sysdeps/i386/fpu/s_fmal.S: Removed.
34222 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
34224         [BZ #3268]
34225         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34226         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34227         computation is not scheduled after fetestexcept.  Fix value
34228         of minimum denormal long double.
34230 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
34232         [BZ #3268]
34233         * math/libm-test.inc (fma_test): Add some more tests.
34234         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34235         correctly.
34237 2010-10-15  Andreas Schwab  <schwab@redhat.com>
34239         * scripts/data/localplt-s390-linux-gnu.data: New file.
34240         * scripts/data/localplt-s390x-linux-gnu.data: New file.
34242 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
34244         [BZ #3268]
34245         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34246         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34247         instead of dbl-64.
34248         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34249         inlines.
34250         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34252         if one of x and y is very large and the other is subnormal.
34253         * sysdeps/s390/fpu/s_fmaf.c: New file.
34254         * sysdeps/s390/fpu/s_fma.c: New file.
34255         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34256         * sysdeps/powerpc/fpu/s_fma.S: New file.
34257         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34258         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34259         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34261 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
34263         [BZ #3268]
34264         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34265         fma tests.
34266         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34267         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34268         * sysdeps/i386/i686/multiarch/s_fma.c: Include
34269         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34270         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34271         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34272         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34274 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
34276         [BZ #12078]
34277         * posix/regcomp.c (parse_branch): One more memory leak plugged.
34278         * posix/bug-regex31.input: Add test case.
34280 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34282         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34283         * posix/bug-regex31.input: New file.
34285         [BZ #12078]
34286         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34287         (parse_sub_exp): Fix last change, use postorder.
34289         * posix/bug-regex31.c: New file.
34290         * posix/Makefile: Add rules to build and run bug-regex31.
34292         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34294         [BZ #12078]
34295         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34297         [BZ #12108]
34298         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34299         to have entries in sys_siglist.
34301         [BZ #12093]
34302         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34303         be NULL.
34305 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
34307         [BZ #3268]
34308         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34309         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34310         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34311         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34312         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34313         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34314         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34315         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34316         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34317         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34318         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34319         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34320         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34321         * math/ftestexcept.c (fetestexcept): Likewise.
34322         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34323         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34324         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34325         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34326         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34327         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34328         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34330 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34332         [BZ #12107]
34333         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34334         newline.
34336 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34338         * string/bug-strstr1.c: New file.
34339         * string/Makefile: Add rules to build and run bug-strstr1.
34341 2010-10-05  Eric Blake  <eblake@redhat.com>
34343         [BZ #12092]
34344         * string/str-two-way.h (two_way_long_needle): Always clear memory
34345         when skipping input due to the shift table.
34347 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34349         [BZ #12005]
34350         * malloc/mcheck.c: Handle large requests.
34352         [BZ #12077]
34353         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34354         for strncmp and strncasecmp.
34355         * string/stratcliff.c: Add tests for strcmp and strncmp.
34356         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34358 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34360         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34361         __set_fpscr.
34363 2010-09-30  Andreas Jaeger  <aj@suse.de>
34365         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34366         (CGROUP_SUPER_MAGIC): Define.
34367         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34368         Handle btrfs and cgroup file systems.
34369         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34370         Likewise.
34372 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34374         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34375         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34377 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34379         [BZ #12067]
34380         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34381         trying to locate the ELF header.
34383 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34385         [BZ #11611]
34386         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34387         Mask out sign-bit copies when constructing f_fsid.
34389 2010-09-24  Petr Baudis <pasky@suse.cz>
34391         * debug/stack_chk_fail_local.c: Add missing licence exception.
34392         * debug/warning-nop.c: Likewise.
34394 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34396         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34397         implementing getdents64 using getdents syscall, set d_type if
34398         __ASSUME_GETDENTS32_D_TYPE.
34400 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34402         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34403         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34405 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34407         [BZ #12037]
34408         * posix/unistd.h: Undo change of feature selection for ftruncate from
34409         2010-01-11.
34411 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34413         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34414         detection.
34416 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34418         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34419         fanotify_mark.
34420         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34422 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34424         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34425         variables after CHECK_SP call.
34426         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34428 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34429             Ulrich Drepper  <drepper@redhat.com>
34431         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34432         re-relocationg ld.so.
34433         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34434         _dl_init_paths call.
34435         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34436         here anymore.
34438 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34440         * resolv/res_init.c (__res_vinit): Count the default server we added.
34442 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34443             Ulrich Drepper  <drepper@redhat.com>
34445         [BZ #11968]
34446         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34447         (____longjmp_chk): Use %ebx for saving value across system call.
34448         Add unwind info.
34450 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34452         * manual/Makefile: Don't mix pattern rules with normal rules.
34454 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34456         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34457         operation.
34458         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34459         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34460         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34461         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34462         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34463         Likewise.
34465 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34467         [BZ #11979]
34468         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34469         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34471 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34473         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34474         * sysdeps/x86_64/addmul_1.S: Likewise.
34475         * sysdeps/x86_64/lshift.S: Likewise.
34476         * sysdeps/x86_64/mul_1.S: Likewise.
34477         * sysdeps/x86_64/rshift.S: Likewise.
34478         * sysdeps/x86_64/sub_n.S: Likewise.
34479         * sysdeps/x86_64/submul_1.S: Likewise.
34481 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34483         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34484         Define __sched_param instead of SCHED_* and sched_param when
34485         <bits/sched.h> is included with __need_schedparam defined.
34486         * bits/sched.h [__need_schedparam]
34487         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34488         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34489         (__defined_schedparam): Define to 1.
34490         (__sched_param): New structure, identical to sched_param.
34491         (__need_schedparam): Undefine.
34493 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34495         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34496         (epoll_create1): Declare.
34498         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34500 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34502         [BZ #7066]
34503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34504         shifting retval into place.
34506 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34508         * nis/rpcsvc/nis.h: Update copyright notice.
34509         * nis/rpcsvc/nis.x: Likewise.
34510         * nis/rpcsvc/nis_callback.h: Likewise.
34511         * nis/rpcsvc/nis_callback.x: Likewise.
34512         * nis/rpcsvc/nis_object.x: Likewise.
34513         * nis/rpcsvc/nis_tags.h: Likewise.
34514         * nis/rpcsvc/yp.h: Likewise.
34515         * nis/rpcsvc/yp.x: Likewise.
34516         * nis/rpcsvc/ypupd.h: Likewise.
34517         * nis/yp_xdr.c: Likewise.
34518         * nis/ypupdate_xdr.c: Likewise.
34520         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34521         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34522         (pmap_getport): Use __libc_rpc_getport.
34523         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34524         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34525         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34527 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34530         fanotify_mark.
34532 2010-08-27  Roland McGrath  <roland@redhat.com>
34534         * sysdeps/i386/i686/multiarch/Makefile
34535         (CFLAGS-varshift.c): New variable.
34537 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34539         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34540         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34542         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34544         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34546 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34548         * sysdeps/x86_64/strlen.S: Unroll the loop.
34549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34550         strlen-sse2 strlen-sse2-bsf.
34551         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34552         __strlen_no_bsf if bit_Slow_BSF is set.
34553         (__strlen_sse42): Removed.
34554         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34555         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34557 2010-08-25  Roland McGrath  <roland@redhat.com>
34559         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34560         * sysdeps/x86_64/multiarch/varshift.c: New file.
34561         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34562         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34563         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34564         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34566 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34568         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34569         strlen-sse2 strlen-sse2-bsf.
34570         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34571         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34572         (__strlen_sse2): Removed.
34573         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34574         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34576         bit_Slow_BSF for Atom.
34577         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34578         (index_Slow_BSF): Define.
34579         (HAS_SLOW_BSF): Define.
34581 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34583         [BZ #10851]
34584         * resolv/res_init.c (__res_vinit): When no server address at all
34585         is given default to loopback.
34587 2010-08-24  Roland McGrath  <roland@redhat.com>
34589         * configure.in: Remove config-name.h generation.
34590         * configure: Regenerated.
34591         * config-name.in: File removed.
34592         * scripts/config-uname.sh: New file.
34593         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34594         ($(objdir)config-name.h): New target.
34596         * sunrpc/rpc_parse.h: Avoid nested comment.
34598 2010-08-24  Richard Henderson  <rth@redhat.com>
34599             Ulrich Drepper  <drepper@redhat.com>
34600             H.J. Lu  <hongjiu.lu@intel.com>
34602         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34604         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34605         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34606         _mm_alignr_epi8 with _mm_loadu_si128.
34607         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34608         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34609         (__m128i_shift_right): Removed.
34610         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34611         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34612         * sysdeps/x86_64/multiarch/varshift.h: New file.
34613         * sysdeps/x86_64/multiarch/varshift.S: New file.
34615 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34617         * configure.in: Move assembler checks to before sysdep dir checking.
34619 2010-08-20  Petr Baudis  <pasky@suse.cz>
34621         * LICENSES: Sync the sunrpc license.
34623 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34625         * sunrpc/auth_des.c: Update copyright notice once again.
34626         * sunrpc/auth_none.c: Likewise.
34627         * sunrpc/auth_unix.c: Likewise.
34628         * sunrpc/authdes_prot.c: Likewise.
34629         * sunrpc/authuxprot.c: Likewise.
34630         * sunrpc/bindrsvprt.c: Likewise.
34631         * sunrpc/clnt_gen.c: Likewise.
34632         * sunrpc/clnt_perr.c: Likewise.
34633         * sunrpc/clnt_raw.c: Likewise.
34634         * sunrpc/clnt_simp.c: Likewise.
34635         * sunrpc/clnt_tcp.c: Likewise.
34636         * sunrpc/clnt_udp.c: Likewise.
34637         * sunrpc/clnt_unix.c: Likewise.
34638         * sunrpc/des_crypt.c: Likewise.
34639         * sunrpc/des_soft.c: Likewise.
34640         * sunrpc/get_myaddr.c: Likewise.
34641         * sunrpc/getrpcport.c: Likewise.
34642         * sunrpc/key_call.c: Likewise.
34643         * sunrpc/key_prot.c: Likewise.
34644         * sunrpc/openchild.c: Likewise.
34645         * sunrpc/pm_getmaps.c: Likewise.
34646         * sunrpc/pm_getport.c: Likewise.
34647         * sunrpc/pmap_clnt.c: Likewise.
34648         * sunrpc/pmap_prot.c: Likewise.
34649         * sunrpc/pmap_prot2.c: Likewise.
34650         * sunrpc/pmap_rmt.c: Likewise.
34651         * sunrpc/rpc/auth.h: Likewise.
34652         * sunrpc/rpc/auth_unix.h: Likewise.
34653         * sunrpc/rpc/clnt.h: Likewise.
34654         * sunrpc/rpc/des_crypt.h: Likewise.
34655         * sunrpc/rpc/key_prot.h: Likewise.
34656         * sunrpc/rpc/netdb.h: Likewise.
34657         * sunrpc/rpc/pmap_clnt.h: Likewise.
34658         * sunrpc/rpc/pmap_prot.h: Likewise.
34659         * sunrpc/rpc/pmap_rmt.h: Likewise.
34660         * sunrpc/rpc/rpc.h: Likewise.
34661         * sunrpc/rpc/rpc_des.h: Likewise.
34662         * sunrpc/rpc/rpc_msg.h: Likewise.
34663         * sunrpc/rpc/svc.h: Likewise.
34664         * sunrpc/rpc/svc_auth.h: Likewise.
34665         * sunrpc/rpc/types.h: Likewise.
34666         * sunrpc/rpc/xdr.h: Likewise.
34667         * sunrpc/rpc_clntout.c: Likewise.
34668         * sunrpc/rpc_cmsg.c: Likewise.
34669         * sunrpc/rpc_common.c: Likewise.
34670         * sunrpc/rpc_cout.c: Likewise.
34671         * sunrpc/rpc_dtable.c: Likewise.
34672         * sunrpc/rpc_hout.c: Likewise.
34673         * sunrpc/rpc_main.c: Likewise.
34674         * sunrpc/rpc_parse.c: Likewise.
34675         * sunrpc/rpc_parse.h: Likewise.
34676         * sunrpc/rpc_prot.c: Likewise.
34677         * sunrpc/rpc_sample.c: Likewise.
34678         * sunrpc/rpc_scan.c: Likewise.
34679         * sunrpc/rpc_scan.h: Likewise.
34680         * sunrpc/rpc_svcout.c: Likewise.
34681         * sunrpc/rpc_tblout.c: Likewise.
34682         * sunrpc/rpc_util.c: Likewise.
34683         * sunrpc/rpc_util.h: Likewise.
34684         * sunrpc/rpcinfo.c: Likewise.
34685         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34686         * sunrpc/rpcsvc/key_prot.x: Likewise.
34687         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34688         * sunrpc/rpcsvc/mount.x: Likewise.
34689         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34690         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34691         * sunrpc/rpcsvc/rex.x: Likewise.
34692         * sunrpc/rpcsvc/rstat.x: Likewise.
34693         * sunrpc/rpcsvc/rusers.x: Likewise.
34694         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34695         * sunrpc/rpcsvc/spray.x: Likewise.
34696         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34697         * sunrpc/rtime.c: Likewise.
34698         * sunrpc/svc.c: Likewise.
34699         * sunrpc/svc_auth.c: Likewise.
34700         * sunrpc/svc_authux.c: Likewise.
34701         * sunrpc/svc_raw.c: Likewise.
34702         * sunrpc/svc_run.c: Likewise.
34703         * sunrpc/svc_simple.c: Likewise.
34704         * sunrpc/svc_tcp.c: Likewise.
34705         * sunrpc/svc_udp.c: Likewise.
34706         * sunrpc/svc_unix.c: Likewise.
34707         * sunrpc/svcauth_des.c: Likewise.
34708         * sunrpc/xcrypt.c: Likewise.
34709         * sunrpc/xdr.c: Likewise.
34710         * sunrpc/xdr_array.c: Likewise.
34711         * sunrpc/xdr_float.c: Likewise.
34712         * sunrpc/xdr_mem.c: Likewise.
34713         * sunrpc/xdr_rec.c: Likewise.
34714         * sunrpc/xdr_ref.c: Likewise.
34715         * sunrpc/xdr_sizeof.c: Likewise.
34716         * sunrpc/xdr_stdio.c: Likewise.
34718         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34719         handling.
34721 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34723         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34725 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34727         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34728         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34729         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34730         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34731         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34732         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34733         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34734         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34735         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34736         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34737         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34738         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34739         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34740         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34742 2010-07-26  Anton Blanchard  <anton@samba.org>
34744         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34745         * malloc/arena.c (heap_trim): Likewise.
34747 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34749         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34750         here.  Not...
34751         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34752         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34754 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34756         * sysdeps/i386/elf/Makefile: New file.
34758 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34760         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34761         from fanotify_init.
34762         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34763         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34765 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34767         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34768         of strncasecmp_l.
34769         * sysdeps/multiarch/strcmp.S: Likewise.
34771 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34773         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34774         strncase_l-nonascii.
34775         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34776         Add strncase_l-ssse3.
34777         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34778         * sysdeps/x86_64/strcmp.S: Likewise.
34779         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34780         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34781         * sysdeps/x86_64/strncase.S: New file.
34782         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34783         * sysdeps/x86_64/strncase_l.S: New file.
34784         * string/Makefile (strop-tests): Add strncasecmp.
34785         * string/test-strncasecmp.c: New file.
34787         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34788         warning.
34790         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34791         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34793 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34795         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34797 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34799         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34800         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34801         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34803 2010-05-01  Alan Modra  <amodra@gmail.com>
34805         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34806         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34807         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34808         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34809         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34810         tidying.  Don't tail-call __sigjmp_save for static lib.
34811         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34812         save location.
34813         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34814         (CALL_MCOUNT): Add eh info, and nop after bl.
34815         (TAIL_CALL_SYSCALL_ERROR): New macro.
34816         (PSEUDO_RET): Use it.
34817         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34818         Correct save location of integer regs and cr.
34819         (_dl_profile_resolve): Correct cr save location.  Delete nops
34820         after bl when SHARED.  Reduce cfi size a little by better
34821         placement of cfi directives.
34822         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34823         make a stack frame.  Instead use parm save area as a temp.
34824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34825         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34827         Don't make a stack frame for parent, use parm save area.
34828         Increase child stack frame to 112 bytes.  Don't save unused reg,
34829         and adjust reg usage.  Set up cfi on error recovery and
34830         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34832         (__makecontext): Add dummy nop after jump to exit.
34833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34834         Use correct parm save area and cr save, reduce stack frame.
34835         Correct cfi for possible PSEUDO_RET frame setup.
34836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34837         Branch to local label emitted by PSEUDO_RET rather than
34838         __syscall_error.
34840 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34842         [BZ #11904]
34843         * locale/programs/locale.c (print_assignment): New function.
34844         (show_locale_vars): Use it.
34846 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34848         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34849         field.
34850         (struct statfs64): Likewise.
34851         (_STATFS_F_FLAGS): Define.
34852         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34853         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34854         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34855         (ST_VALID): Define locally.
34856         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34857         __statvfs_getflags, use the provided value.
34858         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34859         __ASSUME_STATFS_F_FLAGS.
34861         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34863         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34864         Add sys/fanotify.h.
34865         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34866         fanotify_mask for GLIBC_2.13.
34867         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34868         fanotify_init and fanotify_mark.
34869         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34870         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34872         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34873         Add prlimit.
34874         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34875         prlimit64 for GLIBC_2.13.
34876         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34877         prlimit64.
34878         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34879         syscall.
34880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34881         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34882         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34883         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34884         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34885         add prlimit alias.
34886         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34888         [BZ #11903]
34889         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34890         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34892         * nss/Makefile: Add rules to build and run tst-nss-test1.
34893         * shlib-versions: Add entry for libnss_test1.
34894         * nss/nss_test1.c: New file.
34895         * nss/tst-nss-test1.c: New file.
34897         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34898         (__nss_configure_lookup): Set appropriate entry in
34899         __nss_configure_lookup to true.
34900         * nss/nsswitch.h: Define enum with indeces of databases in
34901         databases and __nss_database_custom arrays.  Declare
34902         __nss_database_custom.
34903         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34904         to avoid using nscd when custom rules are installed.
34905         * nss/getXXbyYY_r.c: Likewise.
34906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34908         * nss/nss_files/files-parse.c: Whitespace fixes.
34910 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34912         [BZ #11883]
34913         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34914         * posix/fnmatch_loop.c: Likewise.
34916 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34918         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34919         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34920         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34921         * Versions.def [GLIBC_2.13]: Add.
34923 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34925         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34926         Also fail if tpwd after pwuid call is NULL.
34928 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34930         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34931         when converting to ms.
34933 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34935         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34936         EOPNOTSUPP errors with ENOTTY.
34937         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34938         EOPNOTSUPP errors with ENOTTY.
34940 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34942         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34943         Add strcasecmp_l-ssse3.
34944         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34945         strcasecmp.
34946         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34947         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34948         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34950 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34952         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34954         * string/Makefile (strop-tests): Add strcasecmp.
34955         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34956         strcasecmp_l-nonascii.
34957         (gen-as-const-headers): Add locale-defines.sym.
34958         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34959         * sysdeps/x86_64/strcasecmp.S: New file.
34960         * sysdeps/x86_64/strcasecmp_l.S: New file.
34961         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34962         * sysdeps/x86_64/locale-defines.sym: New file.
34963         * string/test-strcasecmp.c: New file.
34965         * string/test-strcasestr.c: Test both ends of the range of characters.
34966         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34968 2010-07-29  Roland McGrath  <roland@redhat.com>
34970         [BZ #11856]
34971         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34973 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34975         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34976         for ld.so.
34978 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34980         * manual/memory.texi (Malloc Tunable Parameters): Document
34981         M_PERTURB.
34983 2010-07-26  Roland McGrath  <roland@redhat.com>
34985         [BZ #11840]
34986         * configure.in (-fgnu89-inline check): Set and substitute
34987         gnu89_inline, not libc_cv_gnu89_inline.
34988         * configure: Regenerated.
34989         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34991 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34993         * string/test-strnlen.c: New file.
34994         * string/Makefile (strop-tests): Add strnlen.
34995         * string/tester.c (test_strnlen): Add a few more test cases.
34996         * string/tst-strlen.c: Better error reporting.
34998         * sysdeps/x86_64/strnlen.S: New file.
35000 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35002         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35003         lower-latency instructions.
35005 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35007         * string/test-strcasestr.c: New file.
35008         * string/test-strstr.c: New file.
35009         * string/Makefile (strop-tests): Add strstr and strcasestr.
35010         * string/str-two-way.h: Don't undefine MAX.
35011         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35013 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35015         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35016         strcasestr-nonascii.
35017         (CFLAGS-strcasestr-nonascii.c): Define.
35018         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35019         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35020         Remove unused attribute.
35022 2010-07-20  Roland McGrath  <roland@redhat.com>
35024         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35025         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35026         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35027         like LD_HWCAP_MASK can disable hwcaps.
35029 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35031         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35033 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35035         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35036         call in strcasestr.
35037         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35038         __strcasestr_sse42_nonascii.
35039         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35040         strcasestr-nonascii.c.
35041         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35043 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35045         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35046         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35047         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35048         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35050 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35052         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35053         fcntl.
35055 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35057         [BZ #11577]
35058         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35059         dl_signal_cerror.
35061 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35063         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35064         _PC_PIPE_BUF using F_GETPIPE_SZ.
35066 2010-07-05  Roland McGrath  <roland@redhat.com>
35068         * manual/arith.texi (Rounding Functions): Fix rint description
35069         implicit in round description.
35071 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35073         * elf/Makefile: Fix linking for a few tests to make recent linker
35074         happy.
35076 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35078         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35079         $(common-objpfx)libc_nonshared.a.
35081 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35083         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35084         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35085         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35086         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35087         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35088         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35089         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35090         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35105         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35106         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35107         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35108         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35109         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35110         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35111         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35112         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35113         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35114         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35115         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35116         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35132 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35134         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35135         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35136         * string/memmove.c (memmove): Renamed to ...
35137         (MEMMOVE): ...this.  Default to memmove.
35138         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35139         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35140         (END_CHK): Define.
35141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35142         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35143         mempcpy-ssse3-back memmove-ssse3-back.
35144         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35145         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35146         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35147         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35148         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35149         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35150         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35151         * sysdeps/x86_64/multiarch/memmove.c: New file.
35152         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35153         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35154         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35155         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35156         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35157         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35158         Define.
35159         (index_Fast_Copy_Backward): Define.
35160         (HAS_ARCH_FEATURE): Define.
35161         (HAS_FAST_REP_STRING): Define.
35162         (HAS_FAST_COPY_BACKWARD): Define.
35164 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35166         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35167         Restore proper fallback handling.
35169 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35171         [BZ #11701]
35172         * posix/group_member.c (__group_member): Correct checking loop.
35174         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35175         OOM in getpwuid_r correctly.  Return error number when the caller
35176         should return, otherwise -1.
35177         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35178         call returning > 0 value.
35179         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35181 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35183         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35184         libc_nonshared.a from targets in modules-names.
35186 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35188         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35189         requires it.
35191 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35193         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35194         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35195         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35196         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35198 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35200         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35202 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35204         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35205         and F_GETPIPE_SZ.
35206         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35207         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35208         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35209         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35210         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35211         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35213 2010-06-14  Roland McGrath  <roland@redhat.com>
35215         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35217 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35219         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35220         __REDIRECT followed by __THROW.
35221         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35222         * posix/getopt.h (getopt): Likewise.
35224 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35226         * hurd/lookup-at.c (__file_name_lookup_at): Accept
35227         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
35228         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35229         in AT_FLAGS.
35230         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35231         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35233 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
35235         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35237 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
35239         [BZ #11640]
35240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35241         Properly check family and model.
35243 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
35245         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35247 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
35249         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35251 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
35253         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35254         symbol reference.
35256 2010-05-19  Andreas Schwab  <schwab@redhat.com>
35258         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35259         symbol reference.
35261 2010-05-21  Andreas Schwab  <schwab@redhat.com>
35263         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35264         and internal_recvmmsg.
35265         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35266         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35267         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35268         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35270         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35271         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35272         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35274 2010-05-20  Andreas Schwab  <schwab@redhat.com>
35276         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35278 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
35280         POWER7 optimizations.
35281         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35282         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35284 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
35286         * version.h: Update for 2.13 development version.
35288 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
35290         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35291         exceptions.  Return 0.
35293 2010-05-07  Roland McGrath  <roland@redhat.com>
35295         * elf/ldconfig.c (main): Add a const.
35297 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
35299         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35300         (args_options): Add no-idn option.
35301         (ahosts_keys_int): Add idn_flags to ai_flags.
35302         (parse_option): Handle 'i' option to clear idn_flags.
35304         * malloc/malloc.c (_int_free): Possible race in the most recently
35305         added check.  Only act on the data if no current modification
35306         happened.
35308 See ChangeLog.17 for earlier changes.