Use __glibc_block in public headers.
[glibc.git] / ChangeLog
blob6f8a0215cce2568dd83d6d8b0b52ab345c367609
1 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3         [BZ #11157]
4         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5         (encrypt_r): Likewise.
6         * malloc/obstack.h (obstack_free): Likewise.
7         * posix/unistd.h (encrypt): Likewise.
9 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13         DL_CALL_DT_FINI() that call the functions directly.
14         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16         * elf/dl-fini.c: Likewise.
18 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20         * malloc/hooks.c (memalign_check): Add alignment rounding.
21         * malloc/malloc.c (_mid_memalign): New function.
22         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23         Implement by calling _mid_memalign.
24         * manual/probes.texi (Memory Allocation Probes): Remove
25         memory_valloc_retry and memory_pvalloc_retry.
27 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29         * locale/programs/locarchive.c (open_archive): Add const
30         qualifier to ARCHIVEFNAME and copy default fname to
31         DEFAULT_FNAME.
33         [BZ #15601]
34         * libio/tst-widetext.input: Rename Oriya to Odia.
35         * locale/iso-639.def: Likewise.
37         * manual/probes.texi (Mathematical Function Probes): Add
38         documentation for sin, cos, asin and acos probes.
39         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40         (__sin32): Add slowasin probe.
41         (__cos32): Add slowacos probe.
42         (__mpsin): Add slowsin probe.
43         (__mpcos): Add slowcos probe.
45 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
47         [BZ #15483]
48         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49         thread-local __sim_exceptions_thread and global
50         __sim_exceptions_global.
51         (__sim_disabled_exceptions): Change to thread-local
52         __sim_disabled_exceptions_thread and global
53         __sim_disabled_exceptions_global.
54         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55         and global __sim_round_mode_global.
56         (__simulate_exceptions): Use thread-local floating-point state and
57         set global state from it as needed.
58         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60         __sim_round_mode_thread.
61         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
62         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
63         and global __sim_exceptions_global.
64         (__sim_disabled_exceptions): Change to thread-local
65         __sim_disabled_exceptions_thread and global
66         __sim_disabled_exceptions_global.
67         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
68         and global __sim_round_mode_global.
69         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
70         (SIM_SET_GLOBAL): Likewise.
71         * sysdeps/powerpc/soft-fp/sfp-machine.h
72         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
73         __sim_round_mode_thread.
74         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
75         __sim_disabled_exceptions_thread.
76         (__sim_exceptions): Change to __sim_exceptions_thread.
77         (__sim_disabled_exceptions): Change to
78         __sim_disabled_exceptions_thread.
79         (__sim_round_mode): Change to __sim_round_mode_thread.
80         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
81         thread-local floating-point state and set global state from it as
82         needed.
83         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
84         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
85         (__sim_disabled_exceptions): Remove extern declaration.
86         (feenableexcept): Use thread-local floating-point state and set
87         global state from it as needed.
88         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
89         extern declaration.
90         (__sim_disabled_exceptions): Likewise.
91         (__sim_round_mode): Likewise.
92         (__fegetenv): Use thread-local floating-point state.
93         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
94         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
95         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
96         floating-point state and set global state from it as needed.
97         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
98         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
99         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
100         Likewise.
101         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
102         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
103         Likewise.
104         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
105         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
106         Use __sim_round_mode_thread.
107         * math/test-fenv-tls.c: New file.
108         * math/Makefile (tests): Add test-fenv-tls.
109         ($(objpfx)test-fenv-tls): Depend on
110         $(common-objpfx)nptl/libpthread.so.
112 2013-11-19  Andreas Schwab  <schwab@suse.de>
114         * locale/programs/locale.c (show_info): Decode wordarray elements.
115         * locale/categories.def (LC_MONETARY): Add element for
116         _NL_MONETARY_CRNCYSTR.
117         * locale/C-monetary.c (conversion_rate): New variable.
118         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
119         element.
121 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
123         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
124         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
126 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
128         * elf/Makefile (tst-auxv): New test.
129         * elf/tst-auxv.c: New
130         * elf/rtld.c (dl_main): Adjust AT_EXECFN
132 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
134         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
135         (hidden_proto): Caller changed.
136         (hidden_tls_proto): New macro.
137         (libc_hidden_tls_proto): Likewise.
138         (rtld_hidden_tls_proto): Likewise.
139         (libm_hidden_tls_proto): Likewise.
140         (libresolv_hidden_tls_proto): Likewise.
141         (librt_hidden_tls_proto): Likewise.
142         (libdl_hidden_tls_proto): Likewise.
143         (libnss_files_hidden_tls_proto): Likewise.
144         (libnsl_hidden_tls_proto): Likewise.
145         (libnss_nisplus_hidden_tls_proto): Likewise.
146         (libutil_hidden_tls_proto): Likewise.
148 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
150         [BZ #10253]
151         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
152         (decompose_rpath): Defer expansion to fillin_rpath.
153         (_dl_init_paths): Pass linkmap to fillin_rpath.
155 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
157         * benchtests/Makefile: Add strsep.
158         * benchtests/bench-strsep.c: New file: strsep benchtest.
159         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
161 2013-11-18  Andreas Schwab  <schwab@suse.de>
163         * locale/programs/locale.c (show_info) [case byte]: Check for
164         '\377' instead of '\177'.
165         * locale/C-monetary.c (not_available): Always use "\377".
166         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
167         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
168         detect unavailable sign_posn locale elements.
169         * locale/localeconv.c (__localeconv): For grouping and
170         mon_grouping handle "\177" and "\377" like no grouping.
171         (INT_ELEM): New macro.  Use it to set all numeric members.
172         * locale/programs/ld-monetary.c (monetary_read)
173         <tok_mon_grouping>: Normalize single -1 to the empty string.
174         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
175         Likewise.
177 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
179         [BZ #16055]
180         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
181         when we match (nil).
182         * stdio-common/tst-sscanf.c (struct test): Add testcase.
184 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
186         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
187         (NO_TEST_INLINE): Update value.
188         (ERRNO_UNCHANGED): Likewise.
189         (ERRNO_EDOM): Likewise.
190         (ERRNO_ERANGE): Likewise.
191         (IGNORE_RESULT): Likewise.
192         (check_float_internal): Check signs of NaN results if
193         TEST_NAN_SIGN used.
194         (check_complex): Pass TEST_NAN_SIGN flag through to second
195         check_float_internal call.
196         (copysign_test_data): Add tests with quiet NaNs as second
197         argument.  Use TEST_NAN_SIGN.
198         (fabs_test_data): Add test of negative quiet NaN argument.  Use
199         TEST_NAN_SIGN.
200         (signbit_test_data): Add tests of quiet NaN argument.
201         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
203         * math/gen-libm-test.pl (show_exceptions): Take extra argument
204         $ignore_result.
205         (parse_args): Handle function results specified as IGNORE.
206         * math/libm-test.inc (IGNORE_RESULT): New macro.
207         (check_float_internal): Do not check numerical result if flag
208         IGNORE_RESULT set.
209         (check_complex): Pass through IGNORE_RESULT to second
210         check_float_internal call.
211         (check_int): Do not check numerical result if flag IGNORE_RESULT
212         set.
213         (check_long): Likewise.
214         (check_bool): Likewise.
215         (check_longlong): Likewise.
216         (lrint_test_data): Add tests of infinite and NaN arguments.
217         (lrint_tonearest_test_data): Likewise.
218         (lrint_towardzero_test_data): Likewise.
219         (lrint_downward_test_data): Likewise.
220         (lrint_upward_test_data): Likewise.
221         (llrint_test_data): Likewise.
222         (llrint_tonearest_test_data): Likewise.
223         (llrint_towardzero_test_data): Likewise.
224         (llrint_downward_test_data): Likewise.
225         (llrint_upward_test_data): Likewise.
226         (lround_test_data): Likewise.
227         (llround_test_data): Likewise.
229         * math/libm-test.inc (NO_TEST_INLINE): New macro.
230         (ERRNO_UNCHANGED): Update value.
231         (ERRNO_EDOM): Likewise.
232         (ERRNO_ERANGE): Likewise.
233         (NO_TEST_INLINE_FLOAT): New macro.
234         (NO_TEST_INLINE_DOUBLE): Likewise.
235         (enable_test): New function.
236         (RUN_TEST_f_f): Check enable_test before running test.
237         (RUN_TEST_2_f): Likewise.
238         (RUN_TEST_fff_f): Likewise.
239         (RUN_TEST_c_f): Likewise.
240         (RUN_TEST_f_f1): Likewise.
241         (RUN_TEST_fF_f1): Likewise.
242         (RUN_TEST_fI_f1): Likewise.
243         (RUN_TEST_ffI_f1): Likewise.
244         (RUN_TEST_c_c): Likewise.
245         (RUN_TEST_cc_c): Likewise.
246         (RUN_TEST_f_i): Likewise.
247         (RUN_TEST_f_i_tg): Likewise.
248         (RUN_TEST_ff_i_tg): Likewise.
249         (RUN_TEST_f_b): Likewise.
250         (RUN_TEST_f_b_tg): Likewise.
251         (RUN_TEST_f_l): Likewise.
252         (RUN_TEST_f_L): Likewise.
253         (RUN_TEST_fFF_11): Likewise.
254         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
255         conditionals.
256         (cosh_test_data): Likewise.
257         (exp_test_data): Likewise.
258         (expm1_test_data): Likewise.
259         (hypot_test_data): Likewise.
260         (pow_test_data): Likewise.
261         (sinh_test_data): Likewise.
262         (tanh_test_data): Likewise.
263         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
264         flags argument.
266         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
267         tests with quiet NaN input and output.
268         (acosh_test_data): Likewise.
269         (asin_test_data): Likewise.
270         (asinh_test_data): Likewise.
271         (atan_test_data): Likewise.
272         (atanh_test_data): Likewise.
273         (atan2_test_data): Likewise.
274         (cbrt_test_data): Likewise.
275         (cos_test_data): Likewise.
276         (cosh_test_data): Likewise.
277         (erf_test_data): Likewise.
278         (erfc_test_data): Likewise.
279         (exp_test_data): Likewise.
280         (exp10_test_data): Likewise.
281         (exp2_test_data): Likewise.
282         (expm1_test_data): Likewise.
283         (hypot_test_data): Likewise.
284         (j0_test_data): Likewise.
285         (j1_test_data): Likewise.
286         (jn_test_data): Likewise.
287         (lgamma_test_data): Likewise.
288         (log_test_data): Likewise.
289         (log10_test_data): Likewise.
290         (log1p_test_data): Likewise.
291         (log2_test_data): Likewise.
292         (pow_test_data): Likewise.
293         (scalb_test_data): Likewise.
294         (sin_test_data): Likewise.
295         (sincos_test_data): Likewise.
296         (sinh_test_data): Likewise.
297         (tan_test_data): Likewise.
298         (tanh_test_data): Likewise.
299         (tgamma_test_data): Likewise.
300         (y0_test_data): Likewise.
301         (y1_test_data): Likewise.
302         (yn_test_data): Likewise.
304         [BZ #16167]
305         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
306         argument being NaN and avoid computations with second argument in
307         that case.
308         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
309         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
310         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
312 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
314         * locale/iso-639.def: Add Chitwani Tharu (the).
316 2013-11-14  Andreas Schwab  <schwab@suse.de>
318         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
319         word instead of empty string.
321 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
324         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
326         (__fe_nomask_env): Likewise.
328 2013-11-13  Steve Ellcey  <sellcey@mips.com>
330         * benchtests/bench-timing.h: Include time.h.
332 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
334         [BZ #15997]
335         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
336         to 3.4.0 for x32.
337         * sysdeps/unix/sysv/linux/configure: Regenerated.
339 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
341         [BZ #16151]
342         * stdlib/strtod_l.c (round_and_return): Do not consider
343         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
344         exponent one less than half the least subnormal exponent.
345         * stdlib/test-strtod-round-data: Add more tests.
346         * stdlib/tst-strtod-round.c (tests): Regenerated.
348 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
350         [BZ #14143]
351         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
352         (__fe_mask_env): Likewise.
353         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
354         libm_hidden_proto and add function prototype.
355         (__fe_mask_env): Add function prototype.
356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
357         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
359         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
361         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
363 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
365         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
366         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
368 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
370         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
371         of htab_find_slot().
373 2013-11-11  David S. Miller  <davem@davemloft.net>
375         [BZ #16150]
376         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
377         symbol in the non-vis3 case in static builds.
378         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
379         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
380         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
381         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
383 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
385         [BZ #387]
386         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
387         it is empty.
389 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
391         * benchtests/Makefile: Add bench-strtod.
392         * benchtests/bench-strtod.c: New file: strtod benchtest
394 2013-11-11  Andreas Schwab  <schwab@suse.de>
396         [BZ #16153]
397         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
398         terminating NUL in key length.
400 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
402         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
403         Add artificial ODP entry for vDSO symbol for PPC64.
404         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
405         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
407 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
409         [BZ #15374]
410         * nss/getent.c (services_keys): Recognize services starting with digit.
412 2013-11-06  David S. Miller  <davem@davemloft.net>
414         [BZ #15985]
415         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
416         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
418 2013-11-06  Will Newton  <will.newton@linaro.org>
420         * manual/memory.texi (Malloc Examples): Remove register
421         keyword from examples.
423 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
425         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
427 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
429         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
430         depending on [__GCC_IEC_559 > 0].
431         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
432         depending on [__GCC_IEC_559_COMPLEX > 0].
434 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
436         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
437         to iso-639.def.
439 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
441         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
443 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
445         [BZ #16112]
446         * malloc/malloc (malloc_info): Do not handle first bin as
447         special case.
449 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
451         * locale/iso-639.def: Add Central Nahuatl (nhn).
453 2013-11-01  Bruno Haible  <bruno@clisp.org>
455         [BZ #7003]
456         * manual/math.texi (BSD Random): Specify range upper bound as
457         in POSIX.
459 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
461         * locale/iso-639.def: Add Meadow Mari (mhr).
463 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
465         [BZ #14752], [BZ #15763]
466         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
467         Validate name.
468         * rt/tst_shm.c: Add test for escaping directory.
470 2013-10-31  Andreas Schwab  <schwab@suse.de>
472         [BZ #15917]
473         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
474         followed by 'x' as part of digit sequence.
475         * stdio-common/tst-sscanf.c (double_tests2): New tests.
477 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
479         [BZ #16037]
480         * configure.ac: allow GNU Make 4.0 and greater.
481         * configure: Regenerated.
483 2013-10-30  Will Newton  <will.newton@linaro.org>
485         [BZ #16038]
486         * malloc/hooks.c (memalign_check): Limit alignment to the
487         maximum representable power of two.
488         * malloc/malloc.c (__libc_memalign): Likewise.
489         * malloc/tst-memalign.c (do_test): Add test for very
490         large alignment values.
491         * malloc/tst-posix_memalign.c (do_test): Likewise.
493 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
495         [BZ #11087]
496         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
497         (munmap_chunk): Likewise.
498         (mremap_chunk): Likewise.
500 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
502         [BZ #15799]
503         * stdlib/div.c (div): Remove obsolete code.
504         * stdlib/ldiv.c (ldiv): Likewise.
505         * stdlib/lldiv.c (lldiv): Likewise.
507 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
509         [BZ #16071]
510         * nss/nss_files/files-XXX.c (get_contents_ret): New
511         enumerator.
512         (get_contents): New function.
513         (internal_getent): Use it.  Expand size of LINEBUFLEN.
515 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
517         * configure.in: Moved to ...
518         * configure.ac: ... here. Change reference to configure.in
519         to configure.ac.
520         * sysdeps/arm/preconfigure.ac: ... here.
521         configure.in to configure.ac.
522         * sysdeps/gnu/configure.in: Moved to ...
523         * sysdeps/gnu/configure.ac: ... here.
524         * sysdeps/i386/configure.in: Moved to ...
525         * sysdeps/i386/configure.ac: ... here.
526         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
527         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
528         * sysdeps/mach/configure.in: Moved to ...
529         * sysdeps/mach/configure.ac: ... here.
530         * sysdeps/mach/hurd/configure.in: Moved to ...
531         * sysdeps/mach/hurd/configure.ac: ... here.
532         * sysdeps/powerpc/configure.in: Moved to ...
533         * sysdeps/powerpc/configure.ac: ... here.
534         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
535         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
536         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
537         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
538         * sysdeps/s390/s390-32/configure.in: Moved to ...
539         * sysdeps/s390/s390-32/configure.ac: ... here.
540         * sysdeps/s390/s390-64/configure.in: Moved to ...
541         * sysdeps/s390/s390-64/configure.ac: ... here.
542         * sysdeps/sh/configure.in: Moved to ...
543         * sysdeps/sh/configure.ac: ... here.
544         * sysdeps/sparc/configure.in: Moved to ...
545         * sysdeps/sparc/configure.ac: ... here.
546         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
547         * sysdeps/unix/sysv/linux/configure.ac: ... here.
548         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
549         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
550         * sysdeps/x86_64/configure.in: Moved to ...
551         * sysdeps/x86_64/configure.ac: ... here.
552         * sysdeps/x86_64/preconfigure.in: Moved to ...
553         * sysdeps/x86_64/preconfigure.ac: ... here.
554         * aclocal.m4: Change reference to configure.in to configure.ac.
555         * config.h.in: Likewise.
556         * manual/install.texi: Likewise.
557         * manual/maint.texi: Likewise.
558         * Makefile: Likewise.
559         * malloc/Makefile: Likewise.
560         * nscd/Makefile: Likewise.
561         * Makeconfig: Change reference to configure.in and
562         preconfigure.in to configure.ac and preconfigure.ac
563         respectively.
564         * INSTALL: Regenerated.
565         * configure: Likewise.
566         * sysdeps/gnu/configure: Likewise.
567         * sysdeps/i386/configure: Likewise.
568         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
569         * sysdeps/mach/configure: Likewise.
570         * sysdeps/mach/hurd/configure: Likewise.
571         * sysdeps/powerpc/configure: Likewise.
572         * sysdeps/powerpc/powerpc32/configure: Likewise.
573         * sysdeps/powerpc/powerpc64/configure: Likewise.
574         * sysdeps/s390/s390-32/configure: Likewise.
575         * sysdeps/s390/s390-64/configure: Likewise.
576         * sysdeps/sh/configure: Likewise.
577         * sysdeps/sparc/configure: Likewise.
578         * sysdeps/unix/sysv/linux/configure: Likewise.
579         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
580         * sysdeps/x86_64/configure: Likewise.
581         * sysdeps/x86_64/preconfigure: Likewise.
583 2013-10-29  Andreas Schwab  <schwab@suse.de>
585         * stdio-common/Makefile (tst-swscanf-ENV): Define.
587 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
589         * benchtests/pow-inputs: Add new inputs.
591         * benchtests/exp-inputs: Add new inputs.
593         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
594         conditional check for return value.
595         (__cos32): Likewise.
597 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
599         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
600         to provide a boost for large inputs with word alignment.
601         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
602         implementation based on optimized PPC64 strcpy.
603         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
604         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
605         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
606         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
608 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
610         [BZ #2801]
611         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
613 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
615         [BZ #14876]
616         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
617         * time/tst-strptime.c (day_tests): Add testcase.
619 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
621         [BZ #14029]
622         * manual/pattern.texi: Acknowledge that fnmatch can fail.
624 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
626         [BZ #16074]
627         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
628         MAP_FAILED on error.
630 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
632         [BZ #16072]
633         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
634         heap for large requests.
636 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
638         [BZ #9954]
639         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
640         result if the result has no associated interface.
641         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
642         interface for all 127.X.Y.Z addresses.
644 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
646         * locale/iso-639.def: Add Ligurian (lij)
648 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
650         [BZ #15825]
651         * sunrpc/rpc_main.c: Document rpcgen -5.
653 2013-10-19  Michael Stahl  <mstahl@redhat.com>
655         * elf/rtld.c (do_preload): Print the reason why preloading failed.
657 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
659         [BZ #10278]
660         * posix/glob.c: Match only directories when trailing slash is present.
661         * posix/tst-gnuglob.c (my_opendir): Do not open files.
662         (main): Add testcase.
664 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
666         [BZ #15670]
667         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
669 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
671         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
672         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
673         AUTH_DES and cindex for FIPS 140-2.
674         (DES Encryption): Add cindex FIPS 46-3.
676         * locale/locarchive.h (struct locarhandle): Add fname.
677         * locale/programs/localedef.c (main): Pass ARGV[remaining]
678         if an optional argument was specified to --list-archive,
679         otherwise NULL.
680         * locale/programs/locarchive.c (show_archive_content): Take new
681         argument fname and pass it via ah.fname to open_archive.
682         * locale/programs/localedef.h: Update decl.
683         (open_archive): If AH->fname is non-null, open that file
684         rather than the default file name, and don't ignore ENOENT.
685         (create_archive): Set AH.fname to NULL.
686         (delete_locales_from_archive): Likewise.
687         (add_locales_to_archive): Likewise.
688         * locale/programs/locfile.c (write_all_categories): Likewise.
690 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
691             Aldy Hernandez  <aldyh@redhat.com>
693         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
694         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
695         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
696         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
697         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
698         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
699         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
700         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
701         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
702         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
703         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
704         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
705         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
706         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
707         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
708         Likewise.
709         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
710         Likewise.
711         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
712         Likewise.
713         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
714         Likewise.
715         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
716         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
717         Likewise.
718         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
719         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
720         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
721         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
722         Likewise.
723         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
724         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
725         * sysdeps/powerpc/preconfigure: Likewise.
726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
727         Likewise.
728         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
729         Replace contents of file by #include of <fenv_libc.h>.
730         * sysdeps/powerpc/soft-fp/sfp-machine.h
731         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
732         and <sys/prctl.h>.
733         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
734         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
735         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
736         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
737         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
738         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
740         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
741         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
742         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
743         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
744         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
746         Allow copysignl PLT reference to be missing.
748 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
749             Joseph Myers  <joseph@codesourcery.com
751         [BZ #15948]
752         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
753         single character.
754         (add_to_tablewc): Assert sequence of wide characters is nonempty.
756 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
758         * elf/tst-tls-dlinfo.c: Don't include tls.h.
759         * elf/tst-tls1.c: Likewise.
760         * elf/tst-tls10.h: Likewise.
761         * elf/tst-tls14.c: Likewise.
762         * elf/tst-tls2.c: Likewise.
763         * elf/tst-tls3.c: Likewise.
764         * elf/tst-tls4.c: Likewise.
765         * elf/tst-tls5.c: Likewise.
766         * elf/tst-tls6.c: Likewise.
767         * elf/tst-tls7.c: Likewise.
768         * elf/tst-tls8.c: Likewise.
769         * elf/tst-tls9.c: Likewise.
770         * elf/tst-tlsmod1.c: Likewise.
771         * elf/tst-tlsmod13.c: Likewise.
772         * elf/tst-tlsmod13a.c: Likewise.
773         * elf/tst-tlsmod14a.c: Likewise.
774         * elf/tst-tlsmod16a.c: Likewise.
775         * elf/tst-tlsmod16b.c: Likewise.
776         * elf/tst-tlsmod2.c: Likewise.
777         * elf/tst-tlsmod3.c: Likewise.
778         * elf/tst-tlsmod4.c: Likewise.
779         * elf/tst-tlsmod5.c: Likewise.
780         * elf/tst-tlsmod6.c: Likewise.
782 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
784         [BZ #12486]
785         * malloc/malloc.c: remove checks for statistics.
787 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
789         [BZ #15277]
790         * inet/inet_net.c (inet_network): Detect additional invalid strings.
791         * inet/tst-network.c: Add testcase.
793 2013-10-17  Andreas Schwab  <schwab@suse.de>
795         [BZ #15218]
796         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
797         to determine canonical name.
799 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
801         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
802         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
803         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
804         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
805         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
806         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
807         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
808         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
809         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
810         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
811         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
812         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
813         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
814         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
815         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
816         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
817         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
818         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
819         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
820         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
821         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
822         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
823         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
824         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
825         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
826         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
827         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
828         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
829         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
830         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
831         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
832         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
833         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
834         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
835         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
836         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
837         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
838         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
839         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
840         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
841         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
842         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
843         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
844         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
845         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
846         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
847         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
848         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
849         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
850         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
851         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
852         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
853         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
854         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
855         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
856         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
857         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
858         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
860 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
862         [BZ #16041]
863         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
864         make result into a quiet NaN.
866 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
868         * soft-fp/adddf3.c: Fix horizontal whitespace.
869         * soft-fp/addsf3.c: Likewise.
870         * soft-fp/addtf3.c: Likewise.
871         * soft-fp/divdf3.c: Likewise.
872         * soft-fp/divsf3.c: Likewise.
873         * soft-fp/divtf3.c: Likewise.
874         * soft-fp/double.h: Likewise.
875         * soft-fp/eqdf2.c: Likewise.
876         * soft-fp/eqsf2.c: Likewise.
877         * soft-fp/eqtf2.c: Likewise.
878         * soft-fp/extenddftf2.c: Likewise.
879         * soft-fp/extended.h: Likewise.
880         * soft-fp/extendsfdf2.c: Likewise.
881         * soft-fp/extendsftf2.c: Likewise.
882         * soft-fp/extendxftf2.c: Likewise.
883         * soft-fp/fixdfdi.c: Likewise.
884         * soft-fp/fixdfsi.c: Likewise.
885         * soft-fp/fixdfti.c: Likewise.
886         * soft-fp/fixsfdi.c: Likewise.
887         * soft-fp/fixsfsi.c: Likewise.
888         * soft-fp/fixsfti.c: Likewise.
889         * soft-fp/fixtfdi.c: Likewise.
890         * soft-fp/fixtfsi.c: Likewise.
891         * soft-fp/fixtfti.c: Likewise.
892         * soft-fp/fixunsdfdi.c: Likewise.
893         * soft-fp/fixunsdfsi.c: Likewise.
894         * soft-fp/fixunsdfti.c: Likewise.
895         * soft-fp/fixunssfdi.c: Likewise.
896         * soft-fp/fixunssfsi.c: Likewise.
897         * soft-fp/fixunssfti.c: Likewise.
898         * soft-fp/fixunstfdi.c: Likewise.
899         * soft-fp/fixunstfsi.c: Likewise.
900         * soft-fp/fixunstfti.c: Likewise.
901         * soft-fp/floatdidf.c: Likewise.
902         * soft-fp/floatdisf.c: Likewise.
903         * soft-fp/floatditf.c: Likewise.
904         * soft-fp/floatsidf.c: Likewise.
905         * soft-fp/floatsisf.c: Likewise.
906         * soft-fp/floatsitf.c: Likewise.
907         * soft-fp/floattidf.c: Likewise.
908         * soft-fp/floattisf.c: Likewise.
909         * soft-fp/floattitf.c: Likewise.
910         * soft-fp/floatundidf.c: Likewise.
911         * soft-fp/floatundisf.c: Likewise.
912         * soft-fp/floatunditf.c: Likewise.
913         * soft-fp/floatunsidf.c: Likewise.
914         * soft-fp/floatunsisf.c: Likewise.
915         * soft-fp/floatunsitf.c: Likewise.
916         * soft-fp/floatuntidf.c: Likewise.
917         * soft-fp/floatuntisf.c: Likewise.
918         * soft-fp/floatuntitf.c: Likewise.
919         * soft-fp/fmadf4.c: Likewise.
920         * soft-fp/fmasf4.c: Likewise.
921         * soft-fp/fmatf4.c: Likewise.
922         * soft-fp/gedf2.c: Likewise.
923         * soft-fp/gesf2.c: Likewise.
924         * soft-fp/getf2.c: Likewise.
925         * soft-fp/ledf2.c: Likewise.
926         * soft-fp/lesf2.c: Likewise.
927         * soft-fp/letf2.c: Likewise.
928         * soft-fp/muldf3.c: Likewise.
929         * soft-fp/mulsf3.c: Likewise.
930         * soft-fp/multf3.c: Likewise.
931         * soft-fp/negdf2.c: Likewise.
932         * soft-fp/negsf2.c: Likewise.
933         * soft-fp/negtf2.c: Likewise.
934         * soft-fp/op-1.h: Likewise.
935         * soft-fp/op-2.h: Likewise.
936         * soft-fp/op-4.h: Likewise.
937         * soft-fp/op-8.h: Likewise.
938         * soft-fp/op-common.h: Likewise.
939         * soft-fp/quad.h: Likewise.
940         * soft-fp/single.h: Likewise.
941         * soft-fp/soft-fp.h: Likewise.
942         * soft-fp/sqrtdf2.c: Likewise.
943         * soft-fp/sqrtsf2.c: Likewise.
944         * soft-fp/sqrttf2.c: Likewise.
945         * soft-fp/subdf3.c: Likewise.
946         * soft-fp/subsf3.c: Likewise.
947         * soft-fp/subtf3.c: Likewise.
948         * soft-fp/truncdfsf2.c: Likewise.
949         * soft-fp/trunctfdf2.c: Likewise.
950         * soft-fp/trunctfsf2.c: Likewise.
951         * soft-fp/trunctfxf2.c: Likewise.
952         * soft-fp/unorddf2.c: Likewise.
953         * soft-fp/unordsf2.c: Likewise.
954         * soft-fp/unordtf2.c: Likewise.
956 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
958         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
959         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
961 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
963         * elf/dl-libc.c: Clear initfini list after freeing.
965 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
967         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
968         * soft-fp/addsf3.c: Likewise.
969         * soft-fp/addtf3.c: Likewise.
970         * soft-fp/divdf3.c: Likewise.
971         * soft-fp/divsf3.c: Likewise.
972         * soft-fp/divtf3.c: Likewise.
973         * soft-fp/double.h: Likewise.
974         * soft-fp/eqdf2.c: Likewise.
975         * soft-fp/eqsf2.c: Likewise.
976         * soft-fp/eqtf2.c: Likewise.
977         * soft-fp/extenddftf2.c: Likewise.
978         * soft-fp/extended.h: Likewise.
979         * soft-fp/extendsfdf2.c: Likewise.
980         * soft-fp/extendsftf2.c: Likewise.
981         * soft-fp/extendxftf2.c: Likewise.
982         * soft-fp/fixdfdi.c: Likewise.
983         * soft-fp/fixdfsi.c: Likewise.
984         * soft-fp/fixdfti.c: Likewise.
985         * soft-fp/fixsfdi.c: Likewise.
986         * soft-fp/fixsfsi.c: Likewise.
987         * soft-fp/fixsfti.c: Likewise.
988         * soft-fp/fixtfdi.c: Likewise.
989         * soft-fp/fixtfsi.c: Likewise.
990         * soft-fp/fixtfti.c: Likewise.
991         * soft-fp/fixunsdfdi.c: Likewise.
992         * soft-fp/fixunsdfsi.c: Likewise.
993         * soft-fp/fixunsdfti.c: Likewise.
994         * soft-fp/fixunssfdi.c: Likewise.
995         * soft-fp/fixunssfsi.c: Likewise.
996         * soft-fp/fixunssfti.c: Likewise.
997         * soft-fp/fixunstfdi.c: Likewise.
998         * soft-fp/fixunstfsi.c: Likewise.
999         * soft-fp/fixunstfti.c: Likewise.
1000         * soft-fp/floatdidf.c: Likewise.
1001         * soft-fp/floatdisf.c: Likewise.
1002         * soft-fp/floatditf.c: Likewise.
1003         * soft-fp/floatsidf.c: Likewise.
1004         * soft-fp/floatsisf.c: Likewise.
1005         * soft-fp/floatsitf.c: Likewise.
1006         * soft-fp/floattidf.c: Likewise.
1007         * soft-fp/floattisf.c: Likewise.
1008         * soft-fp/floattitf.c: Likewise.
1009         * soft-fp/floatundidf.c: Likewise.
1010         * soft-fp/floatundisf.c: Likewise.
1011         * soft-fp/floatunsidf.c: Likewise.
1012         * soft-fp/floatunsisf.c: Likewise.
1013         * soft-fp/floatuntidf.c: Likewise.
1014         * soft-fp/floatuntisf.c: Likewise.
1015         * soft-fp/floatuntitf.c: Likewise.
1016         * soft-fp/fmadf4.c: Likewise.
1017         * soft-fp/fmasf4.c: Likewise.
1018         * soft-fp/fmatf4.c: Likewise.
1019         * soft-fp/gedf2.c: Likewise.
1020         * soft-fp/gesf2.c: Likewise.
1021         * soft-fp/getf2.c: Likewise.
1022         * soft-fp/ledf2.c: Likewise.
1023         * soft-fp/lesf2.c: Likewise.
1024         * soft-fp/letf2.c: Likewise.
1025         * soft-fp/muldf3.c: Likewise.
1026         * soft-fp/mulsf3.c: Likewise.
1027         * soft-fp/multf3.c: Likewise.
1028         * soft-fp/negdf2.c: Likewise.
1029         * soft-fp/negsf2.c: Likewise.
1030         * soft-fp/negtf2.c: Likewise.
1031         * soft-fp/op-1.h: Likewise.
1032         * soft-fp/op-2.h: Likewise.
1033         * soft-fp/op-4.h: Likewise.
1034         * soft-fp/op-8.h: Likewise.
1035         * soft-fp/op-common.h: Likewise.
1036         * soft-fp/quad.h: Likewise.
1037         * soft-fp/single.h: Likewise.
1038         * soft-fp/soft-fp.h: Likewise.
1039         * soft-fp/sqrtdf2.c: Likewise.
1040         * soft-fp/sqrtsf2.c: Likewise.
1041         * soft-fp/sqrttf2.c: Likewise.
1042         * soft-fp/subdf3.c: Likewise.
1043         * soft-fp/subsf3.c: Likewise.
1044         * soft-fp/subtf3.c: Likewise.
1045         * soft-fp/truncdfsf2.c: Likewise.
1046         * soft-fp/trunctfdf2.c: Likewise.
1047         * soft-fp/trunctfsf2.c: Likewise.
1048         * soft-fp/trunctfxf2.c: Likewise.
1049         * soft-fp/unorddf2.c: Likewise.
1050         * soft-fp/unordsf2.c: Likewise.
1051         * soft-fp/unordtf2.c: Likewise.
1053 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1055         [BZ #15672]
1056         * misc/error.c (error_tail): Fix possible buffer overflow.
1058 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1060         [BZ #13028]
1061         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1062         address.
1064 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1066         [BZ #832]
1067         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1068         testing pipefail option.
1070 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1072         * soft-fp/double.h: Indent preprocessor directives inside #if.
1073         * soft-fp/extended.h: Likewise.
1074         * soft-fp/op-2.h: Likewise.
1075         * soft-fp/op-4.h: Likewise.
1076         * soft-fp/op-common.h: Likewise.
1077         * soft-fp/quad.h: Likewise.
1078         * soft-fp/single.h: Likewise.
1079         * soft-fp/soft-fp.h: Likewise.
1081 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1083         * iconv/iconv_prog.c: Fix typos.
1084         * stdio-common/psiginfo-data.h: Likewise.
1086 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1088         [BZ #15764]
1089         * locale/setlocale.c: Fix typo.
1091 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1093         [BZ #16036]
1094         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1095         signaling NaN arguments.
1096         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1097         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1099         [BZ #14910]
1100         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1101         unordered operands.
1102         * soft-fp/gesf2.c (__gesf2): Likewise.
1103         * soft-fp/getf2.c (__getf2): Likewise.
1104         * soft-fp/ledf2.c (__ledf2): Likewise.
1105         * soft-fp/lesf2.c (__lesf2): Likewise.
1106         * soft-fp/letf2.c (__letf2): Likewise.
1108         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1109         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1110         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1111         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1112         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1113         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1114         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1115         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1116         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1117         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1118         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1119         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1120         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1121         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1122         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1123         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1124         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1125         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1126         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1127         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1128         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1129         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1130         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1131         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1132         * soft-fp/floattidf.c (__floattidf): Likewise.
1133         * soft-fp/floattisf.c (__floattisf): Likewise.
1134         * soft-fp/floattitf.c (__floattitf): Likewise.
1135         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1136         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1137         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1138         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1139         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1140         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1141         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1142         * soft-fp/gesf2.c (__gesf2): Likewise.
1143         * soft-fp/getf2.c (__getf2): Likewise.
1144         * soft-fp/ledf2.c (__ledf2): Likewise.
1145         * soft-fp/lesf2.c (__lesf2): Likewise.
1146         * soft-fp/letf2.c (__letf2): Likewise.
1148         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1149         Undefine and redefine.
1150         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1151         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1152         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1153         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1154         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1155         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1156         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1157         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1158         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1159         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1160         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1161         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1162         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1163         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1164         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1166         [BZ #16032]
1167         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1168         without decrementing exponent if mantissa >= that for the
1169         denominator, not >.
1170         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1171         denominator, not >.  Decrement exponent in < case instead of
1172         incrementing in >= case.
1173         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1174         without decrementing exponent if mantissa >= that for the
1175         denominator, not >.
1177         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1178         computing saturated result for unsigned overflow.
1180 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1181             Jeff Law  <law@redhat.com>
1183         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1184         (atan2Mp): Add systemtap probe marker.
1185         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1186         (__ieee754_log): Add systemtap probe marker.
1187         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1188         (atanMp): Add systemtap probe marker.
1189         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1190         (tanMp): Add systemtap probe marker.
1191         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1192         (__slowexp): Add systemtap probe marker.
1193         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1194         (__slowpow): Add systemtap probe marker.
1195         * manual/probes.texi: Document probes.
1197 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1199         [BZ #15362]
1200         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1201         written.
1202         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1203         written.
1204         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1205         written to buffer but not flushed.
1206         * libio/iofwrite_u.c:  Likewise.
1207         * libio/iopadn.c:  Return bytes returned even if EOF was
1208         encountered.
1209         * libio/iowpadn.c:  Likewise.
1210         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1211         if _IO_padn does not write the whole buffer.
1212         [!COMPILE_WPRINTF] (PAD): Likewise.
1214 2013-10-10  David S. Miller  <davem@davemloft.net>
1216         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1217         directory block.
1219 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1221         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1222         instead of FSF address.
1223         * soft-fp/fixdfti.c: Likewise.
1224         * soft-fp/fixsfti.c: Likewise.
1225         * soft-fp/fixtfti.c: Likewise.
1226         * soft-fp/fixunsdfti.c: Likewise.
1227         * soft-fp/fixunssfti.c: Likewise.
1228         * soft-fp/fixunstfti.c: Likewise.
1229         * soft-fp/floattidf.c: Likewise.
1230         * soft-fp/floattisf.c: Likewise.
1231         * soft-fp/floattitf.c: Likewise.
1232         * soft-fp/floatuntidf.c: Likewise.
1233         * soft-fp/floatuntisf.c: Likewise.
1234         * soft-fp/floatuntitf.c: Likewise.
1235         * soft-fp/trunctfxf2.c: Likewise.
1237         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1238         * soft-fp/fixdfti.c: Likewise.
1239         * soft-fp/fixsfti.c: Likewise.
1240         * soft-fp/fixtfti.c: Likewise.
1241         * soft-fp/fixunsdfti.c: Likewise.
1242         * soft-fp/fixunssfti.c: Likewise.
1243         * soft-fp/fixunstfti.c: Likewise.
1244         * soft-fp/floattidf.c: Likewise.
1245         * soft-fp/floattisf.c: Likewise.
1246         * soft-fp/floattitf.c: Likewise.
1247         * soft-fp/floatuntidf.c: Likewise.
1248         * soft-fp/floatuntisf.c: Likewise.
1249         * soft-fp/floatuntitf.c: Likewise.
1250         * soft-fp/trunctfxf2.c: Likewise.
1252 2013-10-10  David S. Miller  <davem@davemloft.net>
1254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1256 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
1258         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1259         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1260         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1261         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1262         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1263         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1264         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1266         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1267         for NaNs before doing comparisons on argument.
1268         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1269         Likewise.
1271 2013-10-10  Will Newton  <will.newton@linaro.org>
1273         * malloc/hooks.c (memalign_check): Ensure the value of bytes
1274         passed to _int_memalign does not overflow.
1276 2013-10-10  Torvald Riegel  <triegel@redhat.com>
1278         * scripts/bench.pl: Add include-sources directive.
1279         * benchtests/README: Update documentation.
1281 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1283         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1284         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1285         instead of FP_INIT_ROUNDMODE.
1286         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1287         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1289         [BZ #16034]
1290         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
1291         copy class of input value.
1292         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
1293         not handle exceptions.
1294         * soft-fp/negsf2.c (__negsf2): Likewise.
1295         * soft-fp/negtf2.c (__negtf2): Likewise.
1296         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1298 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
1300         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1301         semicolon.  From Linux kernel.
1303 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
1305         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1307 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
1309         [BZ #156]
1310         * manual/socket.texi: Added statement about buffer
1311         for gethostbyname2_r.
1313 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
1315         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1316         Use .p2align directive instead, throughout.
1317         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1318         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1319         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1320         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1321         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1322         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1323         * sysdeps/x86_64/strchr.S: Likewise.
1324         * sysdeps/x86_64/strrchr.S: Likewise.
1326 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1328         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1330         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1332         * sysdeps/generic/math_private.h (__mpsin1): Remove
1333         declaration.
1334         (__mpcos1): Likewise.
1335         (__mpsin): New argument __range_reduce.
1336         (__mpcos): Likewise.
1337         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1338         (slow): Use __mpsin and __mpcos.
1339         (slow1): Likewise.
1340         (slow2): Likewise.
1341         (sloww): Likewise.
1342         (sloww1): Likewise.
1343         (sloww2): Likewise.
1344         (bsloww): Likewise.
1345         (bsloww1): Likewise.
1346         (bsloww2): Likewise.
1347         (cslow2): Likewise.
1348         (csloww): Likewise.
1349         (csloww1): Likewise.
1350         (csloww2): Likewise.
1351         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1352         range_reduce.  Merge in __mpsin1.
1353         (__mpcos): Likewise.
1354         (__mpsin1): Remove.
1355         (__mpcos1): Likewise.
1357 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1359         * locale/loadlocale.c (_nl_intern_locale_data): Use
1360         LOCFILE_ALIGNED_P.
1361         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1362         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1363         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1364         obstack data is appropriately aligned.
1365         (obstack_int32_grow_fast): Likewise.
1366         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1367         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1368         (add_locale_uint32_array): Likewise.
1370 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1372         * benchtests/Makefile: Remove ARGLIST and RET variables.
1373         ($(objpfx)bench-%.c): Pass only function name to the script.
1374         * benchtests/README: Update documentation.
1375         * benchtests/acos-inputs: Add new directives.
1376         * benchtests/acosh-inputs: Likewise.
1377         * benchtests/asin-inputs: Likewise.
1378         * benchtests/asinh-inputs: Likewise.
1379         * benchtests/atan-inputs: Likewise.
1380         * benchtests/atanh-inputs: Likewise.
1381         * benchtests/cos-inputs: Likewise.
1382         * benchtests/cosh-inputs: Likewise.
1383         * benchtests/exp-inputs: Likewise.
1384         * benchtests/log-inputs: Likewise.
1385         * benchtests/pow-inputs: Likewise.
1386         * benchtests/rint-inputs: Likewise.
1387         * benchtests/sin-inputs: Likewise.
1388         * benchtests/sinh-inputs: Likewise.
1389         * benchtests/tan-inputs: Likewise.
1390         * benchtests/tanh-inputs: Likewise.
1391         * scripts/bench.pl: Add support for new directives.
1393 2013-10-07  Alan Modra  <amodra@gmail.com>
1395         * README: Fix careless merge.
1397 2013-10-05  Alan Modra  <amodra@gmail.com>
1399         * NEWS: Mention powerpc64le support and bugs fixed.
1400         * README: Both big-endian and little-endian powerpc64 supported.
1402 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1404         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1405         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1406         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1407         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1409 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1411         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1412         match prototype.
1414 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1416         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1417         Move -mhard-float appending from
1418         ports/sysdeps/powerpc/powerpc32/Makefile.
1419         [$(with-fp) = yes] (ASFLAGS): Likewise.
1420         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1421         * sysdeps/powerpc/nofpu: Move directory from
1422         ports/sysdeps/powerpc/nofpu.
1423         * sysdeps/powerpc/soft-fp: Move directory from
1424         ports/sysdeps/powerpc/soft-fp.
1425         * sysdeps/powerpc/powerpc32/405: Move directory from
1426         ports/sysdeps/powerpc/powerpc32/405.
1427         * sysdeps/powerpc/powerpc32/440: Move directory from
1428         ports/sysdeps/powerpc/powerpc32/440.
1429         * sysdeps/powerpc/powerpc32/464: Move directory from
1430         ports/sysdeps/powerpc/powerpc32/464.
1431         * sysdeps/powerpc/powerpc32/476: Move directory from
1432         ports/sysdeps/powerpc/powerpc32/476.
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1434         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1436         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1438         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1440         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1442         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1443         * README: Update for powerpc-*-linux-gnu software floating point
1444         support in libc.
1446         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1447         case to powerpc/powerpc32*.
1448         * sysdeps/unix/sysv/linux/configure: Regenerated.
1450         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1451         (_FPU_MASK_OM): Define as 0x04.
1452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1453         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1454         0x00c10080.
1455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1456         0x0000003c.
1457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1460         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1461         getcontext_e500.
1462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1463         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1464         setcontext_e500.
1465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1466         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1467         and setcontext_e500.
1469 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1471         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1473 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1475         * manual/threads.texi (Default Thread Attributes): Fix typo.
1477 2013-10-04  Will Newton  <will.newton@linaro.org>
1479         * malloc/Makefile: Add tst-memalign.
1480         * malloc/tst-memalign.c: New file.
1482         * malloc/tst-posix_memalign.c: Add comments.
1483         (do_test): Add comments and call free on all potentially
1484         allocated pointers. Add space after cast.
1486         * malloc/tst-pvalloc.c: Add comments.
1487         (do_test): Add comments and call free on all potentially
1488         allocated pointers. Remove duplicate check for NULL pointer.
1489         Add space after cast.
1491         * malloc/tst-valloc.c: Add comments.
1492         (do_test): Add comments and call free on all potentially
1493         allocated pointers. Remove duplicate check for NULL pointer.
1494         Add space after cast.
1496 2013-10-04  Alan Modra  <amodra@gmail.com>
1498         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1499         Use stdint types in rather than __attribute__((mode())).
1500         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1502 2013-10-04  Alan Modra  <amodra@gmail.com>
1504         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1505         Correct handling of unaligned relocs for little-endian.
1506         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1508 2013-10-04  Alan Modra  <amodra@gmail.com>
1510         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1511         * configure: Regenerate.
1512         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1513         * shlib-versions: Likewise.
1515 2013-10-04  Alan Modra  <amodra@gmail.com>
1517         * string/tester.c (test_memrchr): Increment reported test cycle.
1519 2013-10-04  Alan Modra  <amodra@gmail.com>
1521         * string/test-memcpy.c (do_one_test): When reporting errors, print
1522         string address and don't overrun end of string.
1524 2013-10-04  Alan Modra  <amodra@gmail.com>
1526         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1527         insrdi.  Make better use of reg selection to speed exit slightly.
1528         Schedule entry path a little better.  Remove useless "are we done"
1529         checks on entry to main loop.  Handle wrapping around zero address.
1530         Correct main loop count.  Handle single left-over word from main
1531         loop inline rather than by using loop_small.  Remove extra word
1532         case in loop_small caused by wrong loop count.  Add little-endian
1533         support.
1534         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1535         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1536         cache hint.
1537         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1538         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1539         support.  Avoid rlwimi.
1540         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1542 2013-10-04  Alan Modra  <amodra@gmail.com>
1544         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1545         insrdi.  Formatting.
1546         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1547         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1548         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1549         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1550         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1551         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1553 2013-10-04  Alan Modra  <amodra@gmail.com>
1555         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1556         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1557         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1558         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1559         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1560         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1561         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1562         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1563         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1564         use of regs.  Use power7 mtocrf.  Tidy function tails.
1566 2013-10-04  Alan Modra  <amodra@gmail.com>
1568         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1569         Formatting.  Consistently use rXXX register defines or rN defines.
1570         Use early exit labels that avoid restoring unused non-volatile regs.
1571         Make cr field use more consistent with rWORDn compares.  Rename
1572         regs used as shift registers for unaligned loop, using rN defines
1573         for short lifetime/multiple use regs.
1574         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1575         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1576         addi 1,1,64 to pop stack frame.  Simplify return value code.
1577         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1579 2013-10-04  Alan Modra  <amodra@gmail.com>
1581         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1582         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1583         rather than rlwimi.
1584         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1585         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1586         little-endian support.  Correct typos.
1587         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1588         rather than rlwimi.
1589         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1590         in loop and entry code to keep "and." results.
1591         (strchr): Add little-endian support.  Comment.  Move cntlzd
1592         earlier in tail.
1593         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1595 2013-10-04  Alan Modra  <amodra@gmail.com>
1597         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1598         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1599         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1600         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1602 2013-10-04  Alan Modra  <amodra@gmail.com>
1604         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1605         (rTMP): Define as r11.
1606         (strcmp): Add little-endian support.  Optimise tail.
1607         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1608         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1609         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1610         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1611         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1612         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1613         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1615 2013-10-04  Alan Modra  <amodra@gmail.com>
1617         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1618         little-endian support.  Remove unnecessary "are we done" tests.
1619         Handle "s" wrapping around zero and extremely large "size".
1620         Correct main loop count.  Handle single left-over word from main
1621         loop inline rather than by using small_loop.  Correct comments.
1622         Delete "zero" tail, use "end_max" instead.
1623         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1625 2013-10-04  Alan Modra  <amodra@gmail.com>
1627         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1628         support.  Don't branch over align.
1629         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1630         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1631         support.  Rearrange tmp reg use to suit.  Comment.
1632         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1634 2013-10-04  Alan Modra  <amodra@gmail.com>
1636         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1638 2013-10-04  Alan Modra  <amodra@gmail.com>
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1641         conditional form of branch and link when obtaining pc.
1642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1644 2013-10-04  Alan Modra  <amodra@gmail.com>
1646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1647         HIWORD/LOWORD.
1648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1651 2013-10-04  Alan Modra  <amodra@gmail.com>
1653         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1654         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1655         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1656         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1657         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1658         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1659         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1660         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1661         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1662         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1664 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1665             Alistair Popple <alistair@ozlabs.au.ibm.com>
1666             Alan Modra <amodra@gmail.com>
1668         [BZ #15723]
1669         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1670         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1671         _dl_hwcap access for little-endian.
1672         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1673         destroy vmx regs when saving unaligned.
1674         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1675         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1676         destroy vmx regs when saving unaligned.
1678 2013-10-04  Alan Modra  <amodra@gmail.com>
1680         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1681         Don't use a union to pack hi/low value.
1683 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1685         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1686         for little-endian.
1687         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1688         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1689         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1690         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1691         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1693 2013-10-04  Alan Modra  <amodra@gmail.com>
1695         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1696         constants to usual value for .cst8 section, and remove redundant
1697         high address load.
1698         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1699         constant for 0x1p52.  Load little-endian words of double from
1700         correct stack offsets.
1702 2013-10-04  Alan Modra  <amodra@gmail.com>
1704         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1705         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1706         words of double from correct stack offsets.
1707         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1708         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1709         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1710         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1711         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1712         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1713         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1714         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1715         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1716         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1717         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1718         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1719         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1720         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1721         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1722         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1723         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1725 2013-10-04  Alan Modra  <amodra@gmail.com>
1727         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1728         64-bit int/double union.
1729         (_FPU_SETCW): Likewise.
1730         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1731         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1733 2013-10-04  Alan Modra  <amodra@gmail.com>
1735         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1736         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1738 2013-10-04  Alan Modra  <amodra@gmail.com>
1740         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1741         use vector int constants.
1742         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1744 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1746         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1747         array with long long.
1748         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1749         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1750         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1751         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1752         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1753         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1754         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1755         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1756         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1757         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1758         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1759         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1760         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1762 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1764         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1765         (__signbit): Likewise.  Correct for little-endian.
1766         (__signbitl): Call __signbit.
1767         (lrint): Correct for little-endian.
1768         (lrintf): Call lrint.
1770 2013-10-04  Alan Modra  <amodra@gmail.com>
1772         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1773         union 32-bit int array member with 64-bit int array.
1774         (t515, tm256): Double rather than long double.
1775         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1777 2013-10-04  Alan Modra  <amodra@gmail.com>
1779         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1780         Delete.
1781         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1782         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1783         version of math_ldbl.h.
1785 2013-10-04  Alan Modra  <amodra@gmail.com>
1787         [BZ #15734], [BZ #15735]
1788         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1789         all uses of ieee875 long double macros and unions.  Simplify test
1790         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1791         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1792         normalize after ldbl_extract_mantissa, and don't add hidden bit
1793         already handled.  Don't treat low word of ieee854 mantissa like
1794         low word of IBM long double and mask off bit when testing for
1795         zero.
1796         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1797         all uses of ieee875 long double macros and unions.  Simplify tests
1798         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1799         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1800         two1022, instead use their values.  Recognise that tests for large
1801         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1802         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1803         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1804         test for 0.0L and nan.  Correct negation.
1805         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1806         ieee875 long double macros and unions.  Correct output for large
1807         magnitude x.  Correct absolute value calculation.
1808         (__erfcl): Likewise.
1809         * math/libm-test.inc: Add tests for errors discovered in IBM long
1810         double versions of fmodl, remainderl, erfl and erfcl.
1812 2013-10-04  Alan Modra  <amodra@gmail.com>
1814         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1815         all uses of ieee854 long double macros and unions.  Simplify tests
1816         for long doubles that are fully specified by the high double.
1817         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1818         Likewise.
1819         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1820         Remove dead code too.
1821         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1822         (__ieee754_ynl): Likewise.
1823         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1824         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1825         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1826         Remove dead code too.
1827         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1828         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1829         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1830         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1831         Simplify.
1832         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1833         Simplify.
1834         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1835         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1836         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1837         Comment on variable precision.
1838         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1839         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1840         Likewise.
1841         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1842         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1843         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1844         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1845         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1847 2013-10-04  Alan Modra  <amodra@gmail.com>
1849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1850         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1851         all uses of ieee854 long double macros and unions.
1852         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1853         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1854         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1855         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1856         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1857         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1858         Likewise.
1859         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1860         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1861         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1862         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1863         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1864         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1865         Simplify sign and nan test too.
1866         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1867         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1868         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1869         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1870         Likewise.
1871         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1872         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1873         Likewise.
1874         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1875         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1876         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1877         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1878         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1879         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1881 2013-10-04  Alan Modra  <amodra@gmail.com>
1883         * stdio-common/printf_size.c (__printf_size): Don't use
1884         union ieee854_long_double in fpnum union.
1885         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1886         signbit macro to retrieve sign from long double.
1887         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1888         retrieve sign from long double.
1889         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1890         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1891         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1892         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1893         * math/test-misc.c (main): Don't use union ieee854_long_double.
1895 2013-10-04  Alan Modra  <amodra@gmail.com>
1897         [BZ #15680]
1898         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1899         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1900         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1901         calculation.  Remove unnecessary test for denormal exponent.
1902         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1903         Correct handling of denormals.  Avoid undefined shift behaviour.
1904         Correct normalisation of low mantissa when low double is denormal.
1905         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1906         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1907         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1908         Correct normalisation of low mantissa.  Test for overflow of high
1909         mantissa and normalise.
1910         (ldbl_nearbyint): Use more readable constant for two52.
1911         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1912         (__mpn_construct_long_double): Fix test for overflow of high
1913         mantissa and correct normalisation.  Avoid undefined shift.
1915 2013-10-04  Alan Modra  <amodra@gmail.com>
1917         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1918         (union ibm_extended_long_double): Define as an array of ieee754_double.
1919         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1920         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1921         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1922         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1923         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1924         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1925         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1926         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1927         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1928         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1929         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1931 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1933         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1934         page size instead of calling getpagesize.
1936         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1937         (LOCFILE_ALIGN_MASK): Likewise.
1938         (LOCFILE_ALIGN_UP): Likewise.
1939         (LOCFILE_ALIGNED_P): Likewise.
1940         * locale/programs/ld-collate.c (collate_output): Use the new
1941         macros instead of __alignof__ (int32_t).
1942         * locale/weight.h (findidx): Likewise.
1944 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1946         [BZ #431]
1947         * manual/string.texi: Fix strncat and wcsncat.
1949 2013-10-03  Brooks Moses  <bmoses@google.com>
1951         [BZ #15915]
1952         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1953         * Makerules: ...here, and adjust associated comments.
1955 2013-10-02  Will Newton  <will.newton@linaro.org>
1957         * malloc/Makefile: Add tst-pvalloc.
1958         * malloc/tst-pvalloc.c: New file.
1960 2013-10-02  Will Newton  <will.newton@linaro.org>
1962         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1963         improve test coverage.
1965 2013-10-02  Will Newton  <will.newton@linaro.org>
1967         * malloc/Makefile: Add tst-posix_memalign.
1968         * malloc/tst-posix_memalign.c: New file.
1970 2013-10-01  Eric Blake  <eblake@redhat.com>
1972         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1973         Use __THROWNL rather than __THROW on static functions.
1975 2013-09-30  Petr Machata  <pmachata@redhat.com>
1977         * elf/elf.h (R_AARCH64_ABS16): New macro.
1978         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1979         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1980         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1981         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1982         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1983         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1984         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1985         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1986         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1987         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1988         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1989         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1990         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1991         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1992         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1993         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1994         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1995         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1996         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1997         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1998         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1999         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2000         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2001         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2002         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2003         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2004         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2005         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2006         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2007         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2008         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2009         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2010         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2011         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2012         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2013         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2014         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2015         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2016         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2017         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2018         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2019         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2020         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2021         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2022         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2023         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2024         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2025         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2026         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2027         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2028         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2029         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2030         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2031         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2032         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2033         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2034         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2035         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2036         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2037         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2038         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2039         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2040         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2041         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2042         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2043         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2044         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2045         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2046         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2047         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2048         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2049         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2050         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2051         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2052         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2053         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2054         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2055         (R_AARCH64_TLSDESC_LDR): Likewise.
2056         (R_AARCH64_TLSDESC_ADD): Likewise.
2057         (R_AARCH64_TLSDESC_CALL): Likewise.
2059 2013-09-30  Andreas Schwab  <schwab@suse.de>
2061         [BZ #15048]
2062         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2063         the nss database lookup.
2064         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2067 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2069         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2071 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2073         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2074         ${Bash-specific parameter/pattern/string} parameter expansion.
2075         * sysdeps/unix/make-syscalls.sh: Likewise.
2077 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2079         * sysdeps/sh/stackguard-macros.h: New file.
2081 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2085         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2086         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2087         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2088         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2090 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2092         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2093         Fix thread ID register.
2095 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2097         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2098         [POSIX || UNIX98]: Require rather than permitting all symbols from
2099         <time.h>.
2100         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2101         element of struct sched_param.
2102         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2103         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2104         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2105         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2106         constant.
2108 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2110         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2111         argument calculation.
2113 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2115         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2116         Expect macro.
2117         [POSIX] (pthread_attr_t): Do not require type.
2118         [POSIX] (pthread_cond_t): Likewise.
2119         [POSIX] (pthread_condattr_t): Likewise.
2120         [POSIX] (pthread_key_t): Likewise.
2121         [POSIX] (pthread_mutex_t): Likewise.
2122         [POSIX] (pthread_mutexattr_t): Likewise.
2123         [POSIX] (pthread_once_t): Likewise.
2124         [POSIX] (pthread_t): Likewise.
2125         [POSIX-based standards] (pthread_atfork): Expect function.
2127 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2128             Richard Sandiford  <richard@codesourcery.com>
2130         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2131         (swap_endianness_p): New extern variable.
2132         (set_big_endian): New inline function.
2133         (maybe_swap_uint32): Likewise.
2134         (maybe_swap_uint32_array): Likewise.
2135         (maybe_swap_uint32_obstack): Likewise.
2136         * locale/programs/locfile.c: Include <stdbool.h>.
2137         (swap_endianness_p): New variable.
2138         (add_locale_uint32): Call maybe_swap_uint32.
2139         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2140         (write_locale_data): Call maybe_swap_uint32_array.
2141         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2142         maybe_swap_uint32.
2143         (obstack_int32_grow_fast): Likewise.
2144         (output_weightwc): Call maybe_swap_uint32_obstack.
2145         (collate_output): Likewise.
2146         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2147         (OPT_LITTLE_ENDIAN): Likewise.
2148         (options): Add --little-endian and --big-endian options.
2149         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2150         * locale/programs/locarchive.c: Include "locfile.h".
2151         (GET): New macro.
2152         (SET): Likewise.
2153         (INC): Likewise.
2154         (create_archive): Use the new macros to access fields of
2155         structures directly mapped from or written to locale archives.
2156         (oldlocrecentcmp): Likewise.
2157         (enlarge_archive): Likewise.
2158         (insert_name): Likewise.
2159         (add_alias): Likewise.
2160         (add_locale): Likewise.
2161         (delete_locales_from_archive): Likewise.
2162         (show_archive_content): Likewise.
2163         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2164         locale data.
2166 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2168         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2169         http://www.gnu.org/doc/freemanuals.texi.
2170         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2172 2013-09-24  Will Newton  <will.newton@linaro.org>
2174         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2175         macro.
2177 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2179         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2180         unsigned char.
2182 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2184         * manual/threads.texi (POSIX Threads): Fix a typo.
2186 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2188         [BZ #14547]
2189         * string/tst-strcoll-overflow.c: New test case.
2190         * string/Makefile (xtests): Add tst-strcoll-overflow.
2191         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2192         cache if string sizes may cause integer overflow.
2194         [BZ #14547]
2195         * string/strcoll_l.c (coll_seq): New members rule, idx,
2196         save_idx and back_us.
2197         (get_next_seq_nocache): New function.
2198         (do_compare_nocache): New function.
2199         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2200         when malloc fails.
2202 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2204         [BZ #15754]
2205         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2206         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2207         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2209         [BZ #15754]
2210         * elf/Makefile (tests): Add tst-ptrguard1.
2211         (tests-static): Add tst-ptrguard1-static.
2212         (tst-ptrguard1-ARGS): Define.
2213         (tst-ptrguard1-static-ARGS): Define.
2214         * elf/tst-ptrguard1.c: New file.
2215         * elf/tst-ptrguard1-static.c: New file.
2216         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2217         * sysdeps/i386/stackguard-macros.h: Likewise.
2218         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2219         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2220         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2221         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2222         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2223         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2225 2013-09-23  Hector Marco  <hecmargi@upv.es>
2226             Ismael Ripoll  <iripoll@disca.upv.es>
2227             Carlos O'Donell  <carlos@redhat.com>
2229         [BZ #15754]
2230         * sysdeps/generic/stackguard-macros.h: Define
2231         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2232         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2233         Define __pointer_chk_guard_local.
2234         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2235         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2237 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
2239         [BZ #15859]
2240         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2242 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
2244         * include/string.h (__ffs): Declare as hidden.
2245         * string/ffs.c (__ffs): Define as hidden.
2246         * sysdeps/i386/ffs.c (__ffs): Likewise.
2247         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2248         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2249         * sysdeps/s390/ffs.c (__ffs): Likewise.
2250         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2252 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
2254         * NEWS: Mention malloc probes.
2256         * malloc/arena.c (new_heap): New memory_heap_new probe.
2257         (grow_heap): New memory_heap_more probe.
2258         (shrink_heap): New memory_heap_less probe.
2259         (heap_trim): New memory_heap_free probe.
2260         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2261         (systrim): New memory_sbrk_less probe.
2262         * manual/probes.texi: Document them.
2264         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2265         * manual/probes.texi: Document it.
2267         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2268         (__libc_realloc): Add memory_realloc_retry probe.
2269         (__libc_memalign): Add memory_memalign_retry probe.
2270         (__libc_valloc): Add memory_valloc_retry probe.
2271         (__libc_pvalloc): Add memory_pvalloc_retry probe.
2272         (__libc_calloc): Add memory_calloc_retry probe.
2273         * manual/probes.texi: Document them.
2275         * malloc/arena.c (get_free_list): Add probe
2276         memory_arena_reuse_free_list.
2277         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2278         and memory_arena_reuse.
2279         (arena_get2) [!PER_THREAD]: Likewise.
2280         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2281         memory_arena_reuse_realloc.
2282         * manual/probes.texi: Document them.
2284         * malloc/malloc.c (__libc_free): Add
2285         memory_mallopt_free_dyn_thresholds probe.
2286         (__libc_mallopt): Add multiple memory_mallopt probes.
2287         * manual/probes.texi: Document them.
2289         * malloc/malloc.c: Include stap-probe.h.
2290         (__libc_mallopt): Add memory_mallopt probe.
2291         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2292         * manual/probes.texi: New.
2293         * manual/Makefile (chapters): Add probes.
2294         * manual/threads.texi: Set next node.
2296 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
2298         [BZ #15963, #13985]
2299         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2300         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2301         Add `Chinese' to `nan' entry name.
2303 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2305         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2306         (POLYNOMIAL): Likewise.
2307         (TAYLOR_SINCOS): Likewise.
2308         (TAYLOR_SLOW): Likewise.
2309         (__sin): Use TAYLOR_SINCOS.
2310         (__cos): Likewise.
2311         (slow): Use TAYLOR_SLOW.
2312         (sloww): Likewise.
2313         (bsloww): Likewise.
2314         (csloww): Likewise.
2316 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2318         * stdlib/strtod_l.c: Fix buffer overrun.
2320 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2322         * benchtests/Makefile (bench): Add sincos.
2323         * benchtests/bench-sincos.c: New file.
2325         * math/libm-test.inc (cos_test_data): New test inputs.
2326         (sin_test_data): Likewise.
2328         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2329         macro.
2330         (__sin): Use it.
2331         (__cos): Likewise.
2332         (slow1): Likewise.
2333         (slow2): Likewise.
2334         (sloww1): Likewise.
2335         (sloww2): Likewise.
2336         (bsloww1): Likewise.
2337         (bsloww2): Likewise.
2338         (cslow2): Likewise.
2339         (csloww1): Likewise.
2340         (csloww2): Likewise.
2342         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2343         function.
2344         (__sin): Use it.
2345         (__cos): Likewise.
2347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2348         gotos.
2349         (__cos): Likewise.
2351 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2353         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2354         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2355         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2356         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2357         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2358         * elf/cache.c (print_entry): Handle the new cache flags.
2360 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2361             Aldy Hernandez  <aldyh@redhat.com>
2363         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2364         Change condition to [_SOFT_FLOAT].
2365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2376         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2377         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2380         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2381         declaration.
2383 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2385         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2386         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2387         (__longjmp): Use LOAD_GP to load saved GPRs.
2388         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2389         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2390         (__sigsetjmp): Use SAVE_GP to save GPRs.
2392         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2393         Do not append -msoft-float.
2394         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2396 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2398         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2400 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2402         [BZ #15966]
2403         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2404         (_FPU_GETCW): Use initial "__" on variable and field names but not
2405         on macro parameter name.
2406         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2407         parentheses around reference to macro parameter.
2409 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2411         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2412         prototype.
2413         (ctype_startup): Use uint32_t in cast and sizeof for
2414         ctype->charnames.
2416 2013-09-11  Jia Liu  <proljc@gmail.com>
2418         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2419         __daddr_t_defined.
2420         [__FreeBSD__]: Likewise.
2422 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2425         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2426         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2427         (strchr): Remove __strchr_sse42 ifunc selection.
2428         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2429         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2431 2013-09-11  Will Newton  <will.newton@linaro.org>
2433         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2434         parameter to RES. Remove hardcoded 1000 value.
2435         * benchtests/bench-skeleton.c (main): Pass RES parameter
2436         to TIMING_INIT and multiply result by 1000.
2438 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2442 2013-09-11  Andreas Schwab  <schwab@suse.de>
2444         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2445         if not defined.
2446         (O_TMPFILE) [__USE_GNU]: Define.
2447         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2448         Define.
2450 2013-09-11  Will Newton  <will.newton@linaro.org>
2452         [BZ #15857]
2453         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2454         does not overflow.
2456 2013-09-11  Will Newton  <will.newton@linaro.org>
2458         [BZ #15856]
2459         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2460         does not overflow.
2462 2013-09-11  Will Newton  <will.newton@linaro.org>
2464         [BZ #15855]
2465         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2466         does not overflow.
2468 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2470         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2471         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2472         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2473         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2474         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2476 2013-09-10  Allan McRae  <allan@archlinux.org>
2478         [BZ #15748]
2479         * manual/arith.texi (Parsing of Floats): Clarify
2480         cross-reference.
2482         [BZ #15849]
2483         * manual/install.texi (Running make install): Mention
2484         --enable-pt-chown.
2485         * INSTALL: Regenerated.
2487 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2489         * csu/init-first.c (_init): Remove the !SHARED condition around
2490         FPU control word initialization.
2491         * elf/dl-support.c (_dl_fpu_control): New variable.
2492         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2493         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2494         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2495         * math/test-fpucw-static.c: New file.
2496         * math/test-fpucw-ieee.c: New file.
2497         * math/test-fpucw-ieee-static.c: New file.
2498         * math/Makefile (tests): Add `test-fpucw-ieee' and
2499         `$(tests-static)'.
2500         (tests-static): New variable.
2501         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2502         dependency to...
2503         [($(build-shared),yes)]
2504         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2505         ... this.
2506         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2507         New dependency.
2509 2013-09-09  Allan McRae  <allan@archlinux.org>
2511         [BZ #15939]
2512         * manual/string.texi (Collation Functions): Fix typo in
2513         strcoll example.
2514         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2516         [BZ #15893]
2517         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2519         [BZ #15892]
2520         * libio/memstream.c (open_memstream): Fix memory leak.
2521         * libio/wmemstream.c (open_wmemstream): Likewise.
2523         [BZ #15895]
2524         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2526 2013-09-09  Will Newton  <will.newton@linaro.org>
2528         * malloc/Makefile: Add tst-realloc to tests.
2529         * malloc/tst-realloc.c: New file.
2531 2013-09-09  Allan McRae  <allan@archlinux.org>
2533         [BZ #15844]
2534         * COPYING: Update from GNU website to fix FSF address.
2535         * COPYING.LIB: Likewise.
2537 2013-09-06  David S. Miller  <davem@davemloft.net>
2539         * po/zh_TW.po: Update Chinese (traditional) translation from
2540         translation project.
2542 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2543             Joseph Myers  <joseph@codesourcery.com>
2545         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2546         "localeinfo.h".
2547         (obstack_chunk_alloc): New macro.
2548         (obstack_chunk_free): Likewise.
2549         (record_offset): New function.
2550         (init_locale_data): Likewise.
2551         (align_locale_data): Likewise.
2552         (add_locale_empty): Likewise.
2553         (add_locale_raw_data): Likewise.
2554         (add_locale_raw_obstack): Likewise.
2555         (add_locale_string): Likewise.
2556         (add_locale_wstring): Likewise.
2557         (add_locale_uint32): Likewise.
2558         (add_locale_uint32_array): Likewise.
2559         (add_locale_char): Likewise.
2560         (start_locale_structure): Likewise.
2561         (end_locale_structure): Likewise.
2562         (start_locale_prelude): Likewise.
2563         (end_locale_prelude): Likewise.
2564         (write_locale_data): Take locale_file structure rather than an
2565         iovec.
2566         * locale/programs/locfile.h: Include "obstack.h".
2567         (struct locale_file): Change to store locale file contents instead
2568         of header.
2569         (init_locale_data): New prototype.
2570         (align_locale_data): Likewise.
2571         (add_locale_empty): Likewise.
2572         (add_locale_raw_data): Likewise.
2573         (add_locale_raw_obstack): Likewise.
2574         (add_locale_string): Likewise.
2575         (add_locale_wstring): Likewise.
2576         (add_locale_uint32): Likewise.
2577         (add_locale_uint32_array): Likewise.
2578         (add_locale_char): Likewise.
2579         (start_locale_structure): Likewise.
2580         (end_locale_structure): Likewise.
2581         (start_locale_prelude): Likewise.
2582         (end_locale_prelude): Likewise.
2583         (write_locale_data): Update prototype.
2584         * locale/programs/3level.h (struct TABLE): Remove result field.
2585         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2586         Use new locale_file interface.
2587         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2588         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2589         * locale/programs/ld-address.c (address_output): Use new
2590         locale_file interface.
2591         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2592         NO_ADD_LOCALE.
2593         (collate_finish): Don't call collseq_table_finalize.
2594         (collate_output): Use new locale_file interface.
2595         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2596         in file.
2597         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2598         (TABLE): Move defines earlier in file.
2599         (ELEMENT): Likewise.
2600         (DEFAULT): Likewise.
2601         (wctrans_table_add): Move macro and inline function earlier in
2602         file.
2603         (struct wctype_table): Move type earlier in file.
2604         (add_locale_wctype_table): New static prototype.
2605         (struct locale_ctype_t): Use logical types instead of struct iovec
2606         pointers for members.
2607         (ctype_output): Use new locale_file interface.
2608         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2609         new locale_file interface.
2610         (allocate_arrays): Update for use of new locale_file interface.
2611         * locale/programs/ld-identification.c (identification_output): Use
2612         new locale_file interface.
2613         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2614         * locale/programs/ld-messages.c (messages_output): Likewise.
2615         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2616         * locale/programs/ld-name.c (name_output): Likewise.
2617         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2618         * locale/programs/ld-paper.c (paper_output): Likewise.
2619         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2620         * locale/programs/ld-time.c (time_output): Likewise.
2622 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2624         * benchtests/Makefile: Add memrchr benchmark.
2625         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2626         benchmark as memrchr.
2627         * benchtests/bench-memrchr-ifunc.c: New file.
2628         * benchtests/bench-memrchr.c: New file.
2630 2013-09-06   Will Newton  <will.newton@linaro.org>
2632         * benchtests/Makefile (string-bench): Add memcpy.
2634 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2635             Cong Wang  <amwang@redhat.com>
2637         * sysdeps/unix/sysv/linux/bits/in.h
2638         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2639         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2640         before __USE_KERNEL_IPV6_DEFS uses.
2641         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2642         IPPROTO_BEETPH.
2643         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2644         sockaddr_in6, or ipv6_mreq.
2646 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2648         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2649         memory access for final bytes in some large inputs.
2650         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2652 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2654         * string/test-memrchr.c: New file.
2655         * string/test-memrchr-ifunc.c: New file.
2656         * string/Makefile: Add new memrchr testcase.
2658 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2660         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2661         fanotify_init returns EPERM.
2663 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2665         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2666         errors.
2667         (top level): Treat second token from macro or constant entries for
2668         allowed headers as allowed.
2669         * include/complex.h: Condition internal declarations on
2670         [!_ISOMAC].
2671         * include/fenv.h: Condition include of <stdbool.h> and internal
2672         declarations on [!_ISOMAC].
2674 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2676         [BZ #15923]
2677         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2679 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2681         * configure.in (--enable-versioning): Remove configure option.
2682         (libc_cv_asm_symver_directive): Remove configure test.
2683         (libc_cv_ld_version_script_option): Likewise.
2684         (VERSIONING): Remove variable and AC_SUBST.
2685         (DO_VERSIONING): Remove AC_DEFINE.
2686         * configure: Regenerated.
2687         * config.h.in (DO_VERSIONING): Remove macro.
2688         * Makerules [$(versioning) = yes]: Change conditionals to
2689         [$(build-shared) = yes].
2690         * config.make.in (versioning): Remove variable.
2691         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2692         [$(build-shared) = yes].
2693         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2694         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2695         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2696         [$(build-shared) = yes].
2697         * extra-lib.mk [$(versioning) = yes]: Likewise.
2698         * hurd/Makefile [$(versioning) = yes]: Likewise.
2699         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2700         [SHARED].
2701         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2702         [SHARED].
2703         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2704         [SHARED && !NO_HIDDEN].
2705         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2706         [SHARED].
2707         [SHARED && DO_VERSIONING]: Likewise..
2708         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2709         [$(build-shared) = yes].
2710         * manual/install.texi (--disable-versioning): Remove
2711         documentation.
2712         * INSTALL: Regenerated.
2713         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2714         to [SHARED].
2715         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2716         [$(build-shared) = yes].
2717         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2718         * sysdeps/i386/i686/multiarch/strstr-c.c
2719         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2720         [SHARED && !NO_HIDDEN].
2721         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2722         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2723         * sysdeps/powerpc/powerpc32/dl-machine.c
2724         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2725         * sysdeps/powerpc/powerpc32/sysdep.h
2726         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2727         to [SHARED && PIC && !NO_HIDDEN].
2728         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2729         conditional to [SHARED].
2731 2013-09-04   Will Newton  <will.newton@linaro.org>
2733         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2734         * benchtests/bench-string.h: Include bench-timing.h instead
2735         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2736         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2737         call to HP_TIMING_DIFF_INIT.
2738         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2739         instead of hp-timing.h macros.
2740         * benchtests/bench-memchr.c: Likewise.
2741         * benchtests/bench-memcmp.c: Likewise.
2742         * benchtests/bench-memcpy.c: Likewise.
2743         * benchtests/bench-memmem.c: Likewise.
2744         * benchtests/bench-memmove.c: Likewise.
2745         * benchtests/bench-memset.c: Likewise.
2746         * benchtests/bench-rawmemchr.c: Likewise.
2747         * benchtests/bench-strcasecmp.c: Likewise.
2748         * benchtests/bench-strcasestr.c: Likewise.
2749         * benchtests/bench-strcat.c: Likewise.
2750         * benchtests/bench-strchr.c: Likewise.
2751         * benchtests/bench-strcmp.c: Likewise.
2752         * benchtests/bench-strcpy.c: Likewise.
2753         * benchtests/bench-strcpy_chk.c: Likewise.
2754         * benchtests/bench-strlen.c: Likewise.
2755         * benchtests/bench-strncasecmp.c: Likewise.
2756         * benchtests/bench-strncat.c: Likewise.
2757         * benchtests/bench-strncmp.c: Likewise.
2758         * benchtests/bench-strncpy.c: Likewise.
2759         * benchtests/bench-strnlen.c: Likewise.
2760         * benchtests/bench-strpbrk.c: Likewise.
2761         * benchtests/bench-strrchr.c: Likewise.
2762         * benchtests/bench-strspn.c: Likewise.
2763         * benchtests/bench-strstr.c: Likewise.
2765 2013-09-04  Will Newton  <will.newton@linaro.org>
2767         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2769 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2771         [BZ #15427]
2772         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2773         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2774         * math/libm-test.inc (lgamma_test_data): Add more tests.
2775         * sysdeps/i386/fpu/libm-test-ulps: Update.
2776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2778 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2780         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2782         Add ifunc.
2783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2784         Add strcmp-sse2-unaligned
2785         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2787 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2789         * Versions.def (libc): Add GLIBC_2.19.
2791 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2793         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2794         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2796 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2798         [BZ #14155]
2799         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2800         intermediate calculations in recurrence.
2801         (__ieee754_ynf): Likewise.
2802         * math/libm-test.inc (jn_test_data): Do not allow spurious
2803         underflow exception.  Add more tests.
2804         (yn_test_data): Add more tests.
2805         * sysdeps/i386/fpu/libm-test-ulps: Update.
2806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2808 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2810         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2812 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2814         * csu/init-first.c: Fix then/than typos.
2815         * locale/programs/ld-collate.c: Likewise.
2816         * locale/programs/linereader.h: Likewise.
2817         * manual/charset.texi: Likewise.
2818         * manual/filesys.texi: Likewise.
2819         * manual/stdio.texi: Likewise.
2820         * manual/string.texi: Likewise.
2821         * stdlib/fmtmsg.c: Likewise.
2822         * sysdeps/i386/stpncpy.S: Likewise.
2823         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2824         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2825         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2826         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2828 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2830         * elf/dl-open.c: Fix typos.
2831         * iconvdata/gbbig5.c: Likewise.
2832         * iconvdata/iso-2022-jp.c: Likewise.
2833         * iconv/gconv_int.h: Likewise.
2834         * iconv/loop.c: Likewise.
2835         * nis/rpcsvc/nis.h: Likewise.
2836         * resolv/ns_name.c: Likewise.
2837         * stdio-common/vfscanf.c: Likewise.
2838         * streams/stropts.h: Likewise.
2839         * sunrpc/rpc_thread.c: Likewise.
2840         * sysdeps/i386/strpbrk.S: Likewise.
2841         * sysdeps/ieee754/k_standard.c: Likewise.
2842         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2844         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2845         * sysdeps/mach/hurd/profil.c: Likewise.
2846         * sysdeps/s390/dl-procinfo.h: Likewise.
2847         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2848         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2849         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2850         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2851         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2853 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2855         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2858 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2860         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2861         aix specific files.
2862         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2863         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2864         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2865         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2866         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2867         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2868         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2869         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2871 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2872             Roland McGrath  <roland@hack.frob.com>
2874         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2875         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2877 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2879         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2880         __executable_start symbol instead of _start.
2882 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2884         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2885         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2886         Move macros to...
2887         * sysdeps/gnu/ldsodefs.h: ... this new file.
2889         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2890         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2891         instead of ELFOSABI_LINUX.
2893         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2894         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2895         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2896         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2897         Likewise.
2898         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2899         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2900         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2901         Likewise.
2902         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2903         (ibm_extended_long_double): Add ieee_nan member.
2904         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2905         (do_test): New function.
2907         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2908         TEST_TRUNC.
2909         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2910         functions, renamed from truncdfsf_test, trunctfsf_test,
2911         trunctfdf_test.
2912         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2913         functions.
2914         (do_test): Run all these.
2916 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2918         * argp/argp-help.c: Fix typos.
2919         * argp/argp-parse.c: Likewise.
2920         * debug/backtracesyms.c: Likewise.
2921         * elf/elf.h: Likewise.
2922         * malloc/malloc.c: Likewise.
2923         * nis/nis_print.c: Likewise.
2924         * resolv/res_comp.c: Likewise.
2925         * stdlib/stdlib.h: Likewise.
2926         * sunrpc/clnt_tcp.c: Likewise.
2927         * sunrpc/clnt_udp.c: Likewise.
2928         * sunrpc/clnt_unix.c: Likewise.
2929         * sysdeps/unix/bsd/ptsname.c: Likewise.
2930         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2931         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2933         Likewise.
2934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2935         Likewise.
2936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2937         Likewise.
2938         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2940 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2942         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2945 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2947         [BZ #15897]
2948         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2949         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2950         ($(objpfx)bug-dl-leaf): New rule.
2951         ($(objpfx)bug-dl-leaf.so): Likewise.
2952         ($(objpfx)bug-dl-leaf.out): Likewise.
2953         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2954         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2955         * dlfcn/bug-dl-leaf.c: New test.
2956         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2957         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2958         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2959         (dlclose): Likewise.
2960         (dlmopen): Likewise.
2962 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2964         * include/netdb.h [!_ISOMAC]:
2965         Don't include <tls.h>.
2966         (h_errno, __libc_h_errno): Move declaration and macros out of
2967         [_LIBC_REENTRANT].
2969         * include/resolv.h [_RESOLV_H_]:
2970         Don't include <tls.h>.
2971         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2972         * resolv/res_libc.c: Don't include <tls.h>.
2973         (_res): Use __attribute__ ((nocommon)) in place of
2974         __attribute__ ((section (".bss"))).
2976         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2977         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2979         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2981         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2982         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2984         * resolv/res_mkquery.c: Include <sys/time.h>.
2986         * inet/ifreq.c: Moved to ...
2987         * sysdeps/unix/ifreq.c: ... here.
2988         * inet/ifreq.c: New file, true stub version.
2990         * socket/sa_len.c: New file.
2991         * socket/Makefile (aux): Add it.
2992         * sysdeps/unix/sysv/linux/Makefile
2993         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2994         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2995         and #include <socket/sa_len.c>.
2996         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2997         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2999         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3000         * bits/socket.h: ... here.
3002         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3003         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3004         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3006 2013-08-27  Andreas Schwab  <schwab@suse.de>
3008         [BZ #15736]
3009         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3010         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3011         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3012         * string/test-strcasecmp.c (test_main): Run tests in several
3013         locales.
3014         * string/test-strncasecmp.c (test_main): Likewise.
3016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3017         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3018         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3019         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3020         (__strncasecmp_ssse3) [PIC]: Likewise.
3022 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3024         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3026         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3027         instead of explicitly declaring xdecrypt.
3028         * nis/nss_nis/nis-publickey.c: Likewise.
3030 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3032         [BZ #15890]
3033         * nscd/aicache.c: Include res_hconf.h.
3034         (addhstaiX): Initialize res_hconf.
3036 2013-08-26  Andreas Schwab  <schwab@suse.de>
3038         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3039         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3041 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3043         * nscd/aicache.c (addhstaiX): Fix indentation.
3045 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3047         * configure.ac: Quote $build_pt_chown test.
3048         * configure: Regenerated.
3050 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3052         [BZ #15532]
3053         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3054         * math/s_cexpf.c (__cexpf): Likewise.
3055         * math/s_cexpl.c (__cexpl): Likewise.
3056         * math/libm-test.inc (cexp_test_data): Correct expected return
3057         value for NaN + i0.  Add another test.
3059 2013-08-22  David S. Miller  <davem@davemloft.net>
3061         * po/ca.po: Update Catalan translation from translation project.
3062         * po/uk.po: Add Ukrainian translations from translation project.
3064 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3066         [BZ #15797]
3067         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3068         is infinite, not alongside NaN test.
3069         * math/s_fdimf.c (__fdimf): Likewise.
3070         * math/s_fdiml.c (__fdiml): Likewise.
3071         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3072         errno is unchanged.
3074 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3076         * argp/argp-help.c: Fix typos.
3077         * crypt/speeds.c: Likewise.
3078         * csu/check_fds.c: Likewise.
3079         * elf/dl-load.c: Likewise.
3080         * elf/dl-open.c: Likewise.
3081         * elf/reldep3.c: Likewise.
3082         * elf/reldep.c: Likewise.
3083         * elf/sprof.c: Likewise.
3084         * iconv/iconv_charmap.c: Likewise.
3085         * iconv/skeleton.c: Likewise.
3086         * iconv/strtab.c: Likewise.
3087         * io/lockf64.c: Likewise.
3088         * libio/libioP.h: Likewise.
3089         * resolv/gai_notify.c: Likewise.
3090         * resolv/ns_name.c: Likewise.
3091         * resolv/ns_samedomain.c: Likewise.
3092         * resolv/res_send.c: Likewise.
3093         * stdlib/random.c: Likewise.
3094         * sunrpc/rpc/xdr.h: Likewise.
3095         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3096         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3097         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3098         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3099         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3100         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3102         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3103         * sysdeps/mach/hurd/check_fds.c: Likewise.
3104         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3105         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3106         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3107         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3108         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3109         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3110         * sysdeps/pthread/aio_notify.c: Likewise.
3111         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3112         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3113         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3114         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3115         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3117 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3119         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3120         version if bit_Slow_SSE4_2 is set.
3121         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3122         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3124 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3126         [BZ #15867]
3127         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3128         trampoline stack frame information.
3129         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3131         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3132         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3133         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3134         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3135         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3136         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3137         sa_flags value.
3138         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3139         interrupting a syscall and set with option SA_SIGINFO.
3141 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3143         [BZ #15531]
3144         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3145         argument is infinite.
3146         * math/s_cprojf.c (__cprojf): Likewise.
3147         * math/s_cprojl.c (__cprojl): Likewise.
3148         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3149         * math/libm-test.inc (cproj_test_data): Add more tests.
3151         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3153         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3154         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3155         size.  Use __ffs to determine corresponding shift.
3157 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3158             Roland McGrath  <roland@hack.frob.com>
3160         * Makefile (INSTALL): Remove trailing blank lines from output of
3161         makeinfo.
3163 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3165         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3166         Align 32 bit compat elf_greg to 8 bytes.
3168 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3170         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3172 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3174         * string/strcoll_l.c (coll_seq): New structure.
3175         (get_next_seq_cached): New function.
3176         (get_next_seq): New function.
3177         (do_compare): New function.
3178         (STRCOLL): Use GNU style definition.  Simplify implementation
3179         by using get_next_seq, get_next_seq_cached and do_compare.
3181 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3183         [BZ #14699]
3184         CVE-2013-4237
3185         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3186         member.
3187         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3188         member.
3189         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3190         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3191         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3192         conditional.
3193         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3194         GETDENTS_64BIT_ALIGNED.
3195         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3196         * manual/filesys.texi (Reading/Closing Directory): Document
3197         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3198         strongly.
3199         * manual/conf.texi (Limits for Files): Add portability note to
3200         NAME_MAX, PATH_MAX.
3201         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3203 2013-08-13  Andreas Schwab  <schwab@suse.de>
3205         [BZ #15749]
3206         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3207         of fabs.
3208         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3209         LDBL_MAX_EXP >= 16384]: Add tests for it.
3211 2013-08-12  David S. Miller  <davem@davemloft.net>
3213         * version.h (RELEASE): Set to "development".
3214         (VERSION): Set to "2.18.90".
3215         * NEWS: Add 2.19 section.
3217 2013-08-03  David S. Miller  <davem@davemloft.net>
3219         * po/ko.po: Update Korean translation from translation project.
3221 2013-08-01  David S. Miller  <davem@davemloft.net>
3223         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3224         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3225         Bilka.
3227 2013-07-30  David S. Miller  <davem@davemloft.net>
3229         * po/fr.po: Update French translation from translation project.
3231 2013-07-28  David S. Miller  <davem@davemloft.net>
3233         * po/cs.po: Update Czech translation from translation project.
3235         * po/sv.po: Update Swedish translation from translation project.
3237 2013-07-27  David S. Miller  <davem@davemloft.net>
3239         * po/eo.po: Update Esperanto translation from translation project.
3241         * po/vi.po: Update Vietnamese translation from translation project.
3243         * po/de.po: Update German translation from translation project.
3245 2013-07-26  David S. Miller  <davem@davemloft.net>
3247         * po/bg.po: Update Bulgarian translation from translation project.
3249         * po/nl.po: Update Dutch translation from translation project.
3250         * po/pl.po: Update Polish translation from translation project.
3251         * po/ru.po: Update Russian translation from translation project.
3253 2013-07-24  David S. Miller  <davem@davemloft.net>
3255         * po/libc.pot: Update.
3257 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3259         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3260         variable page size.
3261         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3262         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3263         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3265 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3267         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3269 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3270             Andreas Schwab  <schwab@suse.de>
3271             Roland McGrath  <roland@hack.frob.com>
3272             Joseph Myers  <joseph@codesourcery.com>
3273             Carlos O'Donell  <carlos@redhat.com>
3275         [BZ #15755]
3276         * config.h.in: Define HAVE_PT_CHOWN.
3277         * config.make.in (build-pt-chown): New variable.
3278         * configure.in (--enable-pt_chown): New configure option.
3279         * configure: Regenerate.
3280         * login/Makefile: Include Makeconfig.  Build pt_chown only if
3281         build-pt-chown is enabled.
3282         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3283         pt_chown to fix pty ownership.
3284         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3285         CLOSE_ALL_FDS.
3286         * manual/install.texi (Configuring and compiling): Mention
3287         --enable-pt_chown. Add @findex for grantpt.
3288         * INSTALL: Regenerate.
3290 2013-07-20  David S. Miller  <davem@davemloft.net>
3292         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3293         difference between 32-bit and 64-bit.
3295 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
3297         [BZ #15711]
3298         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3299         Avoid system header dependency with -ffreestanding.
3300         ($(objpfx)bits/syscall%d): Likewise.
3302 2013-07-13  David S. Miller  <davem@davemloft.net>
3304         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3305         underflows from atanl/atan2l due to bug 15319.
3306         (casinh_test_data): Likewise.
3308 2013-07-07  David S. Miller  <davem@davemloft.net>
3310         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3312 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3314         * sysdeps/i386/fpu/libm-test-ulps: Update.
3315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3317 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3319         * configure.in (--enable-lock-elision): Fix message text.
3320         * INSTALL: Regenerate.
3321         * configure: Regenerate.
3323 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3327 2013-07-03  Andreas Jaeger  <aj@suse.de>
3329         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3330         define.
3331         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3332         (ptrace_peeksiginfo_args): Add.
3333         (__ptrace_peeksiginfo_flags): Add.
3334         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3335         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3336         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3338 2013-07-03  Allan McRae  <allan@archlinux.org>
3340         * sysdeps/i386/fpu/libm-test-ulps: Update.
3342 2013-07-02  David S. Miller  <davem@davemloft.net>
3344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3346 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3350 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3352         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355 2013-07-02  Andi Kleen <ak@linux.intel.com>
3357         * config.h.in (ENABLE_LOCK_ELISION): Add.
3358         * configure.in (--enable-lock-elision): Add option.
3359         * manual/install.texi: Document --enable lock elision.
3360         * configure: Regenerate
3361         * INSTALL: Regenerate.
3363 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3365         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3366         SSE4.2 strcasecmp for libc.a.
3367         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3369 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3371         [BZ #13304]
3372         * soft-fp/op-common.h (_FP_FMA): New macro.
3373         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3374         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3375         (_FP_MUL_MEAT_1_imm): ... here.
3376         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3377         (_FP_MUL_MEAT_1_wide): ... here.
3378         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3379         (_FP_MUL_MEAT_1_hard): ... here.
3380         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3381         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3382         (_FP_MUL_MEAT_2_wide): ... here.
3383         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3384         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3385         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3386         (_FP_MUL_MEAT_2_gmp): ... here.
3387         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3388         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3389         (_FP_MUL_MEAT_4_wide): ... here.
3390         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3391         (_FP_MUL_MEAT_4_gmp): ... here.
3392         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3393         (_FP_WFRACBITS_DW_S): Likewise.
3394         (_FP_WFRACXBITS_DW_S): Likewise.
3395         (_FP_HIGHBIT_DW_S): Likewise.
3396         (FP_FMA_S): Likewise.
3397         (_FP_FRAC_HIGH_DW_S): Likewise.
3398         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3399         (_FP_WFRACBITS_DW_D): Likewise.
3400         (_FP_WFRACXBITS_DW_D): Likewise.
3401         (_FP_HIGHBIT_DW_D): Likewise.
3402         (FP_FMA_D): Likewise.
3403         (_FP_FRAC_HIGH_DW_D): Likewise.
3404         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3405         (_FP_WFRACBITS_DW_E): Likewise.
3406         (_FP_WFRACXBITS_DW_E): Likewise.
3407         (_FP_HIGHBIT_DW_E): Likewise.
3408         (FP_FMA_E): Likewise.
3409         (_FP_FRAC_HIGH_DW_E): Likewise.
3410         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3411         (_FP_WFRACBITS_DW_Q): Likewise.
3412         (_FP_WFRACXBITS_DW_Q): Likewise.
3413         (_FP_HIGHBIT_DW_Q): Likewise.
3414         (FP_FMA_Q): Likewise.
3415         (_FP_FRAC_HIGH_DW_Q): Likewise.
3416         * soft-fp/fmasf4.c: New file.
3417         * soft-fp/fmadf4.c: Likewise.
3418         * soft-fp/fmatf4.c: Likewise.
3420 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3423         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3424         Silvermont.
3425         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3426         macro.
3427         (index_Slow_SSE4_2): Likewise.
3428         (index_Prefer_PMINUB_for_stringop): Likewise.
3429         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3430         bit_Slow_SSE4_2 is set.
3431         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3432         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3434 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3436         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3437         rtld_global._dl_hwcap2.
3438         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3439         POWER8.
3440         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3441         POWER8 feature descriptions defined in _dl_hwcap2.
3442         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3443         string handling for POWER8 feature bits.
3444         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3445         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3446         _dl_powerpc_cap_flags.
3447         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3448         * sysdeps/powerpc/rtld-global-offsets.sym
3449         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3450         _dl_hwcap2 in the rtld_global_ro structure.
3452 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3454         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3455         hardware capabilities in support of AT_HWCAP2.
3456         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3457         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3458         GLRO(dl_hwcap2).
3459         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3460         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3461         explicitly the unknown a_type display mechanism is used.
3462         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3463         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3464         struct member.
3465         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3466         to macro prototype for AT_HWCAP2 support.
3467         * sysdeps/i386/dl-procinfo.h: Likewise.
3468         * sysdeps/s390/dl-procinfo.h: Likewise.
3469         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3470         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3471         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3472         return -1 for unknown a_type display fallback.
3473         * sysdeps/sparc/dl-procinfo.h: Likewise.
3474         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3475         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3477 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3479         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3480         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3482 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3484         [BZ #12492]
3485         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3486         mprotect making __stack_prot writable.
3488 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3489             Joseph Myers  <joseph@codesourcery.com>
3491         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3492         as being properly aligned.
3494 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3496         * dlfcn/modstatic5.c: New file.
3497         * dlfcn/tststatic5.c: New file.
3498         * dlfcn/Makefile (tests): Add tststatic5.
3499         (tests-static): Likewise.
3500         (modules-names): Add modstatic5.
3501         (tststatic5-ENV): New variable.
3502         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3504         [BZ #15022]
3505         * elf/dl-support.c (_dl_main_map): New variable.
3506         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3507         (_dl_nns, _dl_load_adds): Set to 1.
3508         (_dl_initial_searchlist): Refer to _dl_main_map.
3509         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3510         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3511         call to _dl_get_origin.
3512         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3513         around call_map.
3514         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3515         * dlfcn/modstatic3.c: New file.
3516         * dlfcn/tststatic3.c: New file.
3517         * dlfcn/tststatic4.c: New file.
3518         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3519         (tests-static): Likewise.
3520         (modules-names): Add modstatic3.
3521         (tststatic3-ENV, tststatic4-ENV): New variables.
3522         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3523         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3525 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3527         * configure.in (CC): Require GCC version 4.4 or later.
3528         * configure: Regenerated.
3529         * manual/install.texi (Tools for Compilation): Update GCC version
3530         requirement.
3531         * INSTALL: Regenerated.
3533 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3535         [BZ #15674]
3536         * string/test-memcmp.c (check2): New.
3537         (main): Call check2.
3539         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3541 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3543         [BZ #15022]
3544         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3545         over to...
3546         (dl_open_worker) [!SHARED]: ... here.
3548 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3550         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3552 2013-06-25  Richard Henderson  <rth@redhat.com>
3554         * locale/programs/locarchive.c: Include <libc-internal.h>
3556 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3558         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3559         trailing whitespace removed.
3561 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3563         [BZ #10283]
3564         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3565         * locale/programs/locarchive.c: Include libc-mmap.h.
3566         (prepare_address_space): Take two new outputs (the mmap base and len).
3567         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3568         values.
3569         (create_archive): Declare new mmap base and len values for
3570         prepare_address_space, and store the result in ah.
3571         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3572         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3573         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3574         Declare new mmap base and len values for
3575         prepare_address_space, and store the result in new_ah.
3576         (open_archive): Declare new mmap base and len values for
3577         prepare_address_space, and store the result in ah.
3578         (close_archive): If ah->mmap_base is not NULL, use that and
3579         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3580         * sysdeps/generic/libc-mmap.h: New file.
3582 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3584         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3585         (ALIGN_UP): Likewise.
3586         (PTR_ALIGN_DOWN): Likewise.
3587         (PTR_ALIGN_UP): Likewise.
3589 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3591         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3592         entry mapped to PPC_PLATFORM_POWER8.
3593         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3594         POWER8.
3595         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3596         (_dl_string_platform): Add case for exporting platform position for
3597         POWER8.
3598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3599         search path to sysdeps/powerpc/powerpc32/power8 directory.
3600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3601         search path to sysdeps/powerpc/powerpc64/power8 directory.
3602         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3603         power7 directories.
3604         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3605         power7 directories.
3607 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3609         * INSTALL: Regenerate.
3611         * nscd/connections.c (nscd_init): Fix comment.
3613 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3615         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3617         [BZ #15667]
3618         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3619         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3621 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3623         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3624         DL_DST_REQ_STATIC.
3625         (DL_DST_REQ_STATIC): Remove macro.
3627 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3629         [BZ #7006]
3630         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3631         with a shift of 0 bits.
3633 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3635         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3636         $(tststatic-ENV).
3638 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3640         [BZ #15655]
3641         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3643 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3645         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3646         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3647         accepts -fno-tree-loop-distribute-patterns.
3648         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3649         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3650         recursive call.
3651         * string/memset.c (memset): Likewise.
3652         * string/test-memmove.c (simple_memmove): Disable loop transformation
3653         to library calls.
3654         * string/test-memset.c (simple_memset): Likewise.
3655         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3656         * benchtests/bench-memset.c (simple_memset): Likewise.
3657         * configure: Regenerated.
3659 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3661         * math/test-misc.c (main): Ignore fesetround failure when failures
3662         of subsequent rounding tests would be ignored.
3664         [BZ #15654]
3665         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3666         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3667         * math/fegetenv.c (__fegetenv): Return 0.
3668         * math/fegetexcept.c (fegetexcept): Return 0.
3669         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3670         FE_TONEAREST.
3671         * math/feholdexcpt.c (feholdexcept): Return 0.
3672         * math/fesetenv.c (__fesetenv): Return 0.
3673         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3674         argument FE_TONEAREST.
3675         * math/feupdateenv.c (__feupdateenv): Return 0.
3676         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3678 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3680         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3681         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3682         ($(objpfx)rtld-%.os rules): Use them.
3684 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3686         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3687         fields.
3689 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3691         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3692         length of target pattern, then descending length of dependency pattern.
3693         * configure.in (AWK): Require gawk 3.1.2 or newer.
3694         * manual/install.texi (Tools for Compilation): Say that we do.
3695         * configure: Regenerated.
3697         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3698         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3699         * scripts/sysd-rules.awk: ... this new script.
3700         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3701         than a glob-style pattern.
3703 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3705         * math/test-misc.c (main): Do not treat incorrectly rounded
3706         conversions as failure unless ROUNDING_TESTS passes.
3708 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3710         [BZ #15631]
3711         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3712         restore exception state around main square root computation, then
3713         check for inexactness explicitly.
3715         * math/libm-test.inc (fma_test_data): Add another test.
3717 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3719         * manual/threads.texi (Non-POSIX Extensions): New document
3720         node.  Document pthread_getattr_default_np and
3721         pthread_setattr_default_np.
3723         * Versions.def (libpthread): Add GLIBC_2.18.
3724         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3726         Likewise.
3727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3728         Likewise.
3729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3730         Likewise.
3731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3732         Likewise.
3733         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3734         Likewise.
3735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3736         Likewise.
3737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3738         Likewise.
3739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3740         Likewise.
3741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3742         Likewise.
3744 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3747         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3749 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3750             H.J. Lu  <hjl.tools@gmail.com>
3752         [BZ #15627]
3753         * sysdeps/x86_64/rtld-memset.c: Remove file.
3754         * sysdeps/x86_64/rtld-memset.S: New file.
3756 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3758         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3759         (test_in_one_mode): Take arguments for whether the rounding mode
3760         is supported for each floating-point type.
3761         (do_test): Pass new arguments to test_in_one_mode using
3762         ROUNDING_TESTS.
3764 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3766         * posix/tst-waitid.c (do_test): Distinguish different instances of
3767         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3768         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3769         before entering the kernel for waitpid.
3771 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3773         * NEWS: Fix note on clock function precision.  Text by Roland
3774         McGrath.
3776 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3778         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3779         it into place only when and if the sanity check passes.
3781 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3783         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3784         output for whether conversion result is exact.  Take argument
3785         indicating whether type is IBM long double.
3786         (round_for_all): Change need_exact field to ibm_ld.
3787         * stdlib/tst-strtod-round.c (struct exactness): New type.
3788         (struct test): Change bool ld_ok field to struct exactness exact.
3789         (TEST): Update all definitions for change to field.
3790         (tests): Regenerate array contents.
3791         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3792         field value.  Check for IBM long double here.
3793         (do_test): Update calls to test_in_one_mode.
3795 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3797         [BZ #12515]
3798         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3799         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3801 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3803         [BZ #15605]
3804         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3805         generated by the compiler on loop optimizations.
3806         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3807         general definitions.
3809 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3811         * math/bug-nextafter.c: Include <math-tests.h>.
3812         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3813         the relevant type.
3814         * math/bug-nexttoward.c: Include <math-tests.h>.
3815         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3816         the relevant type.
3817         * math/test-misc.c: Include <math-tests.h>.
3818         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3819         the relevant type.
3821 2013-06-12  Andreas Jaeger  <aj@suse.de>
3823         * po/ia.po: Update Interlingua translation from translation
3824         project.
3826 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3828         * include/fenv.h: Include stdbool.h.
3829         (struct rm_ctx): New structure.
3830         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3831         Define macro.
3832         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3833         (SET_RESTORE_ROUNDF): Likewise.
3834         (SET_RESTORE_ROUNDL): Likewise.
3835         (SET_RESTORE_ROUND_NOEX): Likewise.
3836         (SET_RESTORE_ROUND_NOEXF): Likewise.
3837         (SET_RESTORE_ROUND_NOEXL): Likewise.
3838         (SET_RESTORE_ROUND_53BIT): Likewise.
3839         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3840         (libc_feresetround_noexf_ctx): Likewise.
3841         (libc_feresetround_noexl_ctx): Likewise.
3842         (libc_feholdsetround_53bit_ctx): Likewise.
3843         (libc_feresetround_53bit_ctx): Likewise.
3844         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3845         (libc_feholdexcept_setround_sse_ctx): New function.
3846         (libc_fesetenv_sse_ctx): Likewise.
3847         (libc_feupdateenv_sse_ctx): Likewise.
3848         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3849         (libc_feholdexcept_setround_387_ctx): Likewise.
3850         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3851         (libc_feholdsetround_387_prec_ctx): Likewise.
3852         (libc_feholdsetround_387_ctx): Likewise.
3853         (libc_feholdsetround_387_53bit_ctx): Likewise.
3854         (libc_feholdsetround_sse_ctx): Likewise.
3855         (libc_feresetround_sse_ctx): Likewise.
3856         (libc_feresetround_387_ctx): Likewise.
3857         (libc_feupdateenv_387_ctx): Likewise.
3858         (libc_feholdexcept_setroundf_ctx): Define macro.
3859         (libc_fesetenvf_ctx): Likewise.
3860         (libc_feupdateenvf_ctx): Likewise.
3861         (libc_feholdsetroundf_ctx): Likewise.
3862         (libc_feresetroundf_ctx): Likewise.
3863         (libc_feholdexcept_setround_ctx): Likewise.
3864         (libc_fesetenv_ctx): Likewise.
3865         (libc_feupdateenv_ctx): Likewise.
3866         (libc_feholdsetround_ctx): Likewise.
3867         (libc_feresetround_ctx): Likewise.
3868         (libc_feholdexcept_setroundl_ctx): Likewise.
3869         (libc_feupdateenvl_ctx): Likewise.
3870         (libc_feholdsetroundl_ctx): Likewise.
3871         (libc_feresetroundl_ctx): Likewise.
3872         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3873         (libc_feresetround_53bit_ctx): Likewise.
3875 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3877         * locale/iso-639.def: Convert to UTF-8.
3879 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3881         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3882         (EXCEPTION_TESTS_double): Likewise.
3883         (EXCEPTION_TESTS_long_double): Likewise.
3884         (EXCEPTION_TESTS): Likewise.
3885         * math/libm-test.inc (test_exceptions): Only test exceptions if
3886         EXCEPTION_TESTS (FLOAT).
3888 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3890         * benchtests/Makefile (string-bench): Add strcpy_chk and
3891         stpcpy_chk.
3892         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3893         * benchtests/bench-stpcpy_chk.c: New file.
3894         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3895         * benchtests/bench-strcpy_chk.c: New file.
3896         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3897         code.
3898         (do_test): Likewise.
3900 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3902         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3903         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3904         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3905         with tabs where appropriate.
3906         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3907         dl-procinfo.h.
3908         [PPC_PLATFORM_PPC440]: Likewise.
3909         [PPC_PLATFORM_PPC464]: Likewise.
3910         [PPC_PLATFORM_PPC476]: Likewise.
3911         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3912         ppc464, and ppc476 platform strings merging from ports/
3913         dl-procinfo.h.
3915 2013-06-11  Andreas Schwab  <schwab@suse.de>
3917         [BZ #14991]
3918         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3919         (from_ucs4_idx): Regenerate.
3920         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3921         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3922         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3923         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3924         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3925         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3926         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3927         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3928         from FROM_LOOP and TO_LOOP specific macros.
3929         (BODY): Handle combining characters.
3930         * iconvdata/BIG5HKSCS.irreversible: Update.
3931         * iconvdata/BIG5HKSCS.precomposed: New file.
3932         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3933         characters.
3934         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3936 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3938         * include/sys/time.h: Fix indentation and add copyright header.
3940         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3941         (do_test): Likewise.
3942         * string/test-memchr.c (do_one_test): Likewise.
3943         (do_test): Likewise.
3944         * string/test-memcmp.c (do_one_test): Likewise.
3945         (do_test): Likewise.
3946         * string/test-memcpy.c (do_one_test): Likewise.
3947         (do_test): Likewise.
3948         * string/test-memmem.c (do_one_test): Likewise.
3949         (do_test): Likewise.
3950         (do_random_tests): Likewise.
3951         * string/test-memmove.c (do_one_test): Likewise.
3952         (do_test): Likewise.
3953         * string/test-memset.c (do_one_test): Likewise.
3954         (do_test): Likewise.
3955         * string/test-rawmemchr.c (do_one_test): Likewise.
3956         (do_test): Likewise.
3957         * string/test-strcasecmp.c (do_one_test): Likewise.
3958         (do_test): Likewise.
3959         * string/test-strcasestr.c (do_one_test): Likewise.
3960         (do_test): Likewise.
3961         * string/test-strcat.c (do_one_test): Likewise.
3962         (do_test): Likewise.
3963         * string/test-strchr.c (do_one_test): Likewise.
3964         (do_test): Likewise.
3965         * string/test-strcmp.c (do_one_test): Likewise.
3966         (do_test): Likewise.
3967         * string/test-strcpy.c (do_one_test): Likewise.
3968         (do_test): Likewise.
3969         * string/test-string.h: Likewise.
3970         (test_init): Likewise.
3971         * string/test-strlen.c (do_one_test): Likewise.
3972         (do_test): Likewise.
3973         * string/test-strncasecmp.c (do_one_test): Likewise.
3974         (do_test): Likewise.
3975         * string/test-strncat.c (do_one_test): Likewise.
3976         (do_test): Likewise.
3977         * string/test-strncmp.c (do_one_test): Likewise.
3978         (do_test_limit): Likewise.
3979         (do_test): Likewise.
3980         * string/test-strncpy.c (do_one_test): Likewise.
3981         (do_test): Likewise.
3982         * string/test-strnlen.c (do_one_test): Likewise.
3983         (do_test): Likewise.
3984         * string/test-strpbrk.c (do_one_test): Likewise.
3985         (do_test): Likewise.
3986         * string/test-strrchr.c (do_one_test): Likewise.
3987         (do_test): Likewise.
3988         * string/test-strspn.c (do_one_test): Likewise.
3989         (do_test): Likewise.
3990         * string/test-strstr.c (do_one_test): Likewise.
3991         (do_test): Likewise.
3993         * benchtests/Makefile (string-bench): Add string benchmarks.
3994         * benchtests/bench-bcopy-ifunc.c: New file.
3995         * benchtests/bench-bcopy.c: New file.
3996         * benchtests/bench-bzero-ifunc.c: New file.
3997         * benchtests/bench-bzero.c: New file.
3998         * benchtests/bench-memccpy-ifunc.c: New file.
3999         * benchtests/bench-memccpy.c: New file.
4000         * benchtests/bench-memchr-ifunc.c: New file.
4001         * benchtests/bench-memchr.c: New file.
4002         * benchtests/bench-memcmp-ifunc.c: New file.
4003         * benchtests/bench-memcmp.c: New file.
4004         * benchtests/bench-memmem-ifunc.c: New file.
4005         * benchtests/bench-memmem.c: New file.
4006         * benchtests/bench-memmove-ifunc.c: New file.
4007         * benchtests/bench-memmove.c: New file.
4008         * benchtests/bench-mempcpy-ifunc.c: New file.
4009         * benchtests/bench-mempcpy.c: New file.
4010         * benchtests/bench-memset-ifunc.c: New file.
4011         * benchtests/bench-memset.c: New file.
4012         * benchtests/bench-rawmemchr-ifunc.c: New file.
4013         * benchtests/bench-rawmemchr.c: New file.
4014         * benchtests/bench-stpcpy-ifunc.c: New file.
4015         * benchtests/bench-stpcpy.c: New file.
4016         * benchtests/bench-stpncpy-ifunc.c: New file.
4017         * benchtests/bench-stpncpy.c: New file.
4018         * benchtests/bench-strcasecmp-ifunc.c: New file.
4019         * benchtests/bench-strcasecmp.c: New file.
4020         * benchtests/bench-strcasestr-ifunc.c: New file.
4021         * benchtests/bench-strcasestr.c: New file.
4022         * benchtests/bench-strcat-ifunc.c: New file.
4023         * benchtests/bench-strcat.c: New file.
4024         * benchtests/bench-strchr-ifunc.c: New file.
4025         * benchtests/bench-strchr.c: New file.
4026         * benchtests/bench-strchrnul-ifunc.c: New file.
4027         * benchtests/bench-strchrnul.c: New file.
4028         * benchtests/bench-strcmp-ifunc.c: New file.
4029         * benchtests/bench-strcmp.c: New file.
4030         * benchtests/bench-strcpy-ifunc.c: New file.
4031         * benchtests/bench-strcpy.c: New file.
4032         * benchtests/bench-strcspn-ifunc.c: New file.
4033         * benchtests/bench-strcspn.c: New file.
4034         * benchtests/bench-strlen-ifunc.c: New file.
4035         * benchtests/bench-strlen.c: New file.
4036         * benchtests/bench-strncasecmp-ifunc.c: New file.
4037         * benchtests/bench-strncasecmp.c: New file.
4038         * benchtests/bench-strncat-ifunc.c: New file.
4039         * benchtests/bench-strncat.c: New file.
4040         * benchtests/bench-strncmp-ifunc.c: New file.
4041         * benchtests/bench-strncmp.c: New file.
4042         * benchtests/bench-strncpy-ifunc.c: New file.
4043         * benchtests/bench-strncpy.c: New file.
4044         * benchtests/bench-strnlen-ifunc.c: New file.
4045         * benchtests/bench-strnlen.c: New file.
4046         * benchtests/bench-strpbrk-ifunc.c: New file.
4047         * benchtests/bench-strpbrk.c: New file.
4048         * benchtests/bench-strrchr-ifunc.c: New file.
4049         * benchtests/bench-strrchr.c: New file.
4050         * benchtests/bench-strspn-ifunc.c: New file.
4051         * benchtests/bench-strspn.c: New file.
4052         * benchtests/bench-strstr-ifunc.c: New file.
4053         * benchtests/bench-strstr.c: New file.
4055         * benchtests/Makefile: Disable parallel execution of targets.
4056         (string-bench): Add memcpy.
4057         (benchset): New variable to store a list of benchmark sets.
4058         (bench-func): Renamed from bench.
4059         (bench-set): New target.
4060         (bench): Depend on bench-func and bench-set.
4061         * benchtests/README: Add section on benchmark sets.
4062         * benchtests/bench-memcpy-ifunc.c: New file.
4063         * benchtests/bench-memcpy.c: New file.
4064         * benchtests/bench-string.h: New file.
4066 2013-06-11  Andreas Schwab  <schwab@suse.de>
4068         [BZ #15577]
4069         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4070         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4071         values in the triple.
4072         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4073         terminator in the group key.
4075 2013-06-11  Andreas Jaeger  <aj@suse.de>
4077         * po/zh_TW.po: Update Chinese (traditional) translation from
4078         translation project.
4080 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4082         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4083         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4084         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4085         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4086         (clock_getcpuclockid): Likewise.
4087         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4088         Add weak_alias and libc_hidden_def.
4089         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4090         * rt/clock_gettime.c (clock_gettime): Rename to
4091         __clock_gettime.  Add weak_alias and libc_hidden_def.
4092         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4093         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4094         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4095         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4096         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4097         Likewise.
4098         * rt/clock_settime.c (clock_settime): Rename to
4099         __clock_settime.  Add weak_alias and libc_hidden_def.
4100         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4102 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4104         * mach/err_boot.sub: Remove trailing whitespace.
4105         * mach/err_ipc.sub: Likewise.
4106         * mach/err_mach.sub: Likewise.
4108         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4109         (ROUNDING_TESTS_double): Likewise.
4110         (ROUNDING_TESTS_long_double): Likewise.
4111         (ROUNDING_TESTS): Likewise.
4112         * math/libm-test.inc: Include <math-tests.h>.
4113         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4114         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4115         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4116         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4118 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4120         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4121         of assigning.
4123 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4125         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4126         otherwise empty TRANS lines.
4127         * sysdeps/gnu/errlist.c: Regenerated.
4129         * catgets/gencat.c (error_print): Use (void) in function
4130         definition.
4131         * crypt/crypt_util.c (__init_des): Likewise.
4132         * crypt/speeds.c (Stop): Likewise.
4133         (main): Likewise.
4134         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4135         * inet/ruserpass.c (token): Likewise.
4136         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4137         * intl/localealias.c (extend_alias_table): Likewise.
4138         * intl/plural-exp.c (init_germanic_plural): Likewise.
4139         * libio/fcloseall.c (__fcloseall): Likewise.
4140         * libio/genops.c (_IO_flush_all): Likewise.
4141         (_IO_flush_all_linebuffered): Likewise.
4142         (_IO_cleanup): Likewise.
4143         (_IO_iter_begin): Likewise.
4144         (_IO_iter_end): Likewise.
4145         (_IO_list_lock): Likewise.
4146         (_IO_list_unlock): Likewise.
4147         (_IO_list_resetlock): Likewise.
4148         * libio/getchar.c (getchar): Likewise.
4149         * libio/getchar_u.c (getchar_unlocked): Likewise.
4150         * libio/getwchar.c (getwchar): Likewise.
4151         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4152         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4153         * login/getpt.c (__getpt): Likewise.
4154         * login/tst-utmp.c (main): Likewise.
4155         * malloc/hooks.c (__malloc_check_init): Likewise.
4156         * malloc/malloc.c (__malloc_stats): Likewise.
4157         * malloc/mtrace.c (tr_break): Likewise.
4158         (mtrace): Likewise.
4159         (muntrace): Likewise.
4160         * misc/fstab.c (endfsent): Likewise.
4161         * misc/getclktck.c (__getclktck): Likewise.
4162         * misc/getdtsz.c (__getdtablesize): Likewise.
4163         * misc/gethostid.c (gethostid): Likewise.
4164         * misc/getpagesize.c (__getpagesize): Likewise.
4165         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4166         (__get_nprocs): Likewise.
4167         (__get_phys_pages): Likewise.
4168         (__get_avphys_pages): Likewise.
4169         * misc/getttyent.c (getttyent): Likewise.
4170         (setttyent): Likewise.
4171         (endttyent): Likewise.
4172         * misc/getusershell.c (getusershell): Likewise.
4173         (endusershell): Likewise.
4174         (setusershell): Likewise.
4175         (initshells): Likewise.
4176         * misc/hsearch.c (__hdestroy): Likewise.
4177         * misc/sync.c (sync): Likewise.
4178         * misc/syslog.c (closelog_internal): Likewise.
4179         (closelog): Likewise.
4180         * misc/ttyslot.c (ttyslot): Likewise.
4181         * misc/vhangup.c (vhangup): Likewise.
4182         * posix/fork.c (__fork): Likewise.
4183         * posix/getegid.c (__getegid): Likewise.
4184         * posix/geteuid.c (__geteuid): Likewise.
4185         * posix/getgid.c (__getgid): Likewise.
4186         * posix/getpid.c (__getpid): Likewise.
4187         * posix/getppid.c (__getppid): Likewise.
4188         * posix/getuid.c (__getuid): Likewise.
4189         * posix/pause.c (pause): Likewise.
4190         * posix/setpgrp.c (setpgrp): Likewise.
4191         * posix/setsid.c (__setsid): Likewise.
4192         * posix/test-vfork.c (noop): Likewise.
4193         * resolv/gethnamaddr.c (_endhtent): Likewise.
4194         (_gethtent): Likewise.
4195         (ht_endhostent): Likewise.
4196         (gethostent): Likewise.
4197         (dns_service): Likewise.
4198         * stdlib/drand48.c (drand48): Likewise.
4199         * stdlib/lrand48.c (lrand48): Likewise.
4200         * stdlib/mrand48.c (mrand48): Likewise.
4201         * stdlib/rand.c (rand): Likewise.
4202         * stdlib/random.c (__random): Likewise.
4203         * stdlib/setenv.c (clearenv): Likewise.
4204         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4205         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4206         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4207         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4208         (__get_nprocs): Likewise.
4209         (__get_phys_pages): Likewise.
4210         (__get_avphys_pages): Likewise.
4211         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4212         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4213         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4214         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4215         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4216         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4217         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4218         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4219         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4220         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4221         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4222         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4223         * sysdeps/posix/clock.c (clock): Likewise.
4224         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4225         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4226         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4227         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4228         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4229         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4230         (__get_nprocs_conf): Likewise.
4231         (__get_phys_pages): Likewise.
4232         (__get_avphys_pages): Likewise.
4233         * time/clock.c (clock): Likewise.
4234         * time/tzset.c (__tzname_max): Likewise.
4236 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4238         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4239         (__bswap_32): Do not use "register".
4240         * crypt/crypt.c (_ufc_doit_r): Likewise.
4241         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4242         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4243         * gmon/gmon.c (__monstartup): Likewise.
4244         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4245         * hurd/hurdmalloc.c (more_memory): Likewise.
4246         (malloc): Likewise.
4247         (free): Likewise.
4248         (realloc): Likewise.
4249         (malloc_fork_prepare): Likewise.
4250         (malloc_fork_parent): Likewise.
4251         (malloc_fork_child): Likewise.
4252         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4253         (_svcauth_des): Likewise.
4254         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4255         * inet/inet_net.c (inet_network): Likewise.
4256         * inet/inet_netof.c (inet_netof): Likewise.
4257         * inet/rcmd.c (__validuser2_sa): Likewise.
4258         * io/fts.c (fts_open): Likewise.
4259         (fts_load): Likewise.
4260         (fts_close): Likewise.
4261         (fts_read): Likewise.
4262         (fts_children): Likewise.
4263         (fts_build): Likewise.
4264         (fts_stat): Likewise.
4265         (fts_sort): Likewise.
4266         (fts_alloc): Likewise.
4267         (fts_lfree): Likewise.
4268         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4269         (_IO_file_xsgetn): Likewise.
4270         (_IO_file_xsgetn_mmap): Likewise.
4271         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4272         (_IO_cookie_write): Likewise.
4273         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4274         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4275         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4276         * malloc/obstack.c (_obstack_begin): Likewise.
4277         (_obstack_begin_1): Likewise.
4278         (_obstack_newchunk): Likewise.
4279         (_obstack_allocated_p): Likewise.
4280         (obstack_free): Likewise.
4281         (_obstack_memory_used): Likewise.
4282         * misc/getttyent.c (getttynam): Likewise.
4283         (getttyent): Likewise.
4284         (skip): Likewise.
4285         (value): Likewise.
4286         * misc/getusershell.c (initshells): Likewise.
4287         * misc/syslog.c (__vsyslog_chk): Likewise.
4288         * misc/ttyslot.c (ttyslot): Likewise.
4289         * nis/nis_hash.c (__nis_hash): Likewise.
4290         * posix/fnmatch_loop.c (FCT): Likewise.
4291         * posix/getconf.c (print_all): Likewise.
4292         (main): Likewise.
4293         * posix/getopt.c (exchange): Likewise.
4294         * posix/glob.c (globfree): Likewise.
4295         (prefix_array): Likewise.
4296         (__glob_pattern_type): Likewise.
4297         * resolv/arpa/nameser.h (NS_GET16): Likewise.
4298         (NS_GET32): Likewise.
4299         (NS_PUT16): Likewise.
4300         (NS_PUT32): Likewise.
4301         * resolv/gethnamaddr.c (getanswer): Likewise.
4302         (gethostbyname2): Likewise.
4303         (gethostbyaddr): Likewise.
4304         (_gethtent): Likewise.
4305         (_gethtbyname2): Likewise.
4306         (_gethtbyaddr): Likewise.
4307         * resolv/ns_print.c (dst_s_get_int16): Likewise.
4308         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4309         * resolv/res_init.c (__res_vinit): Likewise.
4310         (net_mask): Likewise.
4311         * resolv/res_mkquery.c (outchar): Likewise.
4312         (PRINT): Likewise.
4313         * stdio-common/printf_fp.c (outchar): Likewise.
4314         (PRINT): Likewise.
4315         * stdio-common/printf_fphex.c (outchar): Likewise.
4316         (PRINT): Likewise.
4317         * stdio-common/printf_size.c (outchar): Likewise.
4318         (PRINT): Likewise.
4319         * stdio-common/test_rdwr.c (main): Likewise.
4320         * stdio-common/tfformat.c (matches): Likewise.
4321         * stdio-common/vfprintf.c (outchar): Likewise.
4322         (printf_unknown): Likewise.
4323         (buffered_vfprintf): Likewise.
4324         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4325         * stdio-common/xbug.c (AppendToBuffer): Likewise.
4326         (ReadFile): Likewise.
4327         * stdlib/qsort.c (SWAP): Likewise.
4328         (_quicksort): Likewise.
4329         * stdlib/setenv.c (__add_to_environ): Likewise.
4330         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4331         * stdlib/strtol_l.c (__strtol_l): Likewise.
4332         * stdlib/tst-strtod.c (main): Likewise.
4333         * stdlib/tst-strtol.c (main): Likewise.
4334         * stdlib/tst-strtoll.c (main): Likewise.
4335         * string/bits/string2.h (__strcmp_cc): Likewise.
4336         (__strcmp_cg): Likewise.
4337         (__strcspn_c1): Likewise.
4338         (__strcspn_c2): Likewise.
4339         (__strcspn_c3): Likewise.
4340         (__strspn_c1): Likewise.
4341         (__strspn_c2): Likewise.
4342         (__strspn_c3): Likewise.
4343         (__strsep_1c): Likewise.
4344         (__strsep_2c): Likewise.
4345         (__strsep_3c): Likewise.
4346         * string/memccpy.c (__memccpy): Likewise.
4347         * string/stpcpy.c (__stpcpy): Likewise.
4348         * string/strcmp.c (strcmp): Likewise.
4349         * string/strrchr.c (strrchr): Likewise.
4350         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4351         Likewise.
4352         * sysdeps/mach/hurd/getcwd.c
4353         (_hurd_canonicalize_directory_name_internal): Likewise.
4354         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4355         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4356         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4357         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4358         Likewise, in both definitions.
4359         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4360         definitions.
4361         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4362         64] (__bswap_64): Likewise.
4363         * time/test_time.c (main): Likewise.
4364         * time/tzfile.c (__tzfile_read): Likewise.
4365         (__tzfile_compute): Likewise.
4366         * time/tzset.c (__tzset_parse_tz): Likewise.
4367         (tzset_internal): Likewise.
4368         (compute_change): Likewise.
4369         * wcsmbs/wcscat.c (__wcscat): Likewise.
4370         * wcsmbs/wcschr.c (wcschr): Likewise.
4371         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4372         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4373         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4374         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4375         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4376         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4377         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4378         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4379         * wcsmbs/wmemset.c (wmemset): Likewise.
4381 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4383         * scripts/config.guess: Update to version 2013-05-16.
4384         * scripts/config.sub: Update to version 2013-04-24.
4385         * scripts/install-sh: Update to version 2011-11-20.07.
4386         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4387         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4389 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4391         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4392         * elf/sln.c: Likewise.
4393         * hurd/hurd/ioctl.h: Likewise.
4394         * hurd/hurdmalloc.c: Likewise.
4395         * hurd/xattr.c: Likewise.
4396         * include/shlib-compat.h: Likewise.
4397         * inet/ruserpass.c: Likewise.
4398         * libio/iofgets_u.c: Likewise.
4399         * libio/iofgetws_u.c: Likewise.
4400         * locale/programs/ld-identification.c: Likewise.
4401         * locale/programs/ld-time.c: Likewise.
4402         * mach/msg-destroy.c: Likewise.
4403         * nss/nss_files/files-netgrp.c: Likewise.
4404         * resolv/res_data.c: Likewise.
4405         * soft-fp/op-1.h: Likewise.
4406         * soft-fp/op-2.h: Likewise.
4407         * soft-fp/op-4.h: Likewise.
4408         * soft-fp/op-common.h: Likewise.
4409         * stdio-common/printf_fphex.c: Likewise.
4410         * stdlib/strtod_l.c: Likewise.
4411         * sunrpc/rpc/clnt.h: Likewise.
4412         * sysdeps/generic/framestate.c: Likewise.
4413         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4414         * sysdeps/i386/bsd-setjmp.S: Likewise.
4415         * sysdeps/i386/__longjmp.S: Likewise.
4416         * sysdeps/i386/setjmp.S: Likewise.
4417         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4418         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4420         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4423         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4424         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4425         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4426         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4427         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4433         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4434         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4435         * sysdeps/ieee754/support.c: Likewise.
4436         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4437         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4438         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4439         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4440         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4441         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4442         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4443         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4444         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4445         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4446         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4447         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4448         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4449         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4450         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4451         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4452         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4455 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4457         * posix/transbug.c: Remove executable mode.
4459 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4461         * crypt/speeds.c: Remove trailing whitespace.
4462         * dlfcn/default.c: Likewise.
4463         * elf/ifuncdep2.c: Likewise.
4464         * elf/ifuncmain1.c: Likewise.
4465         * elf/ifuncmain1vis.c: Likewise.
4466         * elf/testobj.h: Likewise.
4467         * elf/tst-stackguard1.c: Likewise.
4468         * gmon/sys/gmon.h: Likewise.
4469         * hurd/hurdmsg.c: Likewise.
4470         * hurd/new-fd.c: Likewise.
4471         * hurd/ports-get.c: Likewise.
4472         * iconvdata/ibm1008_420.c: Likewise.
4473         * inet/tst-getni1.c: Likewise.
4474         * inet/tst-getni2.c: Likewise.
4475         * libio/ioungetc.c: Likewise.
4476         * libio/wfiledoalloc.c: Likewise.
4477         * manual/libm-err-tab.pl: Likewise.
4478         * math/w_dremf.c: Likewise.
4479         * misc/ftruncate.c: Likewise.
4480         * posix/bug-glob2.c: Likewise.
4481         * posix/tst-pcre.c: Likewise.
4482         * posix/wait4.c: Likewise.
4483         * resolv/README: Likewise.
4484         * resolv/res_debug.h: Likewise.
4485         * resolv/tst-inet_ntop.c: Likewise.
4486         * setjmp/bug269-setjmp.c: Likewise.
4487         * soft-fp/extended.h: Likewise.
4488         * soft-fp/op-1.h: Likewise.
4489         * soft-fp/op-2.h: Likewise.
4490         * soft-fp/op-4.h: Likewise.
4491         * soft-fp/op-8.h: Likewise.
4492         * soft-fp/testit.c: Likewise.
4493         * stdio-common/bug16.c: Likewise.
4494         * stdlib/random.c: Likewise.
4495         * sunrpc/rpcsvc/rquota.x: Likewise.
4496         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4497         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4498         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4499         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4500         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4501         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4502         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4503         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4504         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4505         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4506         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4507         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4508         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4509         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4510         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4511         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4512         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4513         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4514         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4515         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4516         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4517         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4518         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4519         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4520         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4521         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4522         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4523         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4524         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4525         * sysdeps/ieee754/s_lib_version.c: Likewise.
4526         * sysdeps/mach/hurd/check_fds.c: Likewise.
4527         * sysdeps/mach/hurd/getsockname.c: Likewise.
4528         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4529         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4530         * sysdeps/powerpc/bits/link.h: Likewise.
4531         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4532         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4533         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4534         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4535         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4536         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4537         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4538         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4539         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4540         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4541         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4542         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4543         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4544         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4545         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4546         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4547         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4548         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4549         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4550         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4551         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4552         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4553         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4554         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4555         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4556         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4557         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4558         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4559         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4560         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4561         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4562         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4564         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4565         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4566         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4567         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4568         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4569         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4570         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4571         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4572         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4573         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4574         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4575         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4576         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4577         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4578         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4579         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4580         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4581         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4582         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4583         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4584         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4585         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4586         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4587         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4588         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4589         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4590         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4591         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4592         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4593         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4594         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4595         * sysdeps/powerpc/sysdep.h: Likewise.
4596         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4597         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4598         * sysdeps/sh/dl-trampoline.S: Likewise.
4599         * sysdeps/sh/memset.S: Likewise.
4600         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4601         * sysdeps/sh/strlen.S: Likewise.
4602         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4603         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4604         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4605         * sysdeps/sparc/sparc32/rem.S: Likewise.
4606         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4607         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4608         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4609         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4610         * sysdeps/sparc/sparc32/urem.S: Likewise.
4611         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4612         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4613         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4614         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4615         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4616         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4617         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4618         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4619         * sysdeps/unix/bsd/times.c: Likewise.
4620         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4621         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4625         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4626         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4627         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4628         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4629         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4630         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4631         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4632         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4633         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4634         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4635         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4636         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4637         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4638         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4639         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4640         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4641         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4642         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4643         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4644         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4645         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4646         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4647         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4648         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4649         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4650         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4651         * sysdeps/x86_64/strcspn.S: Likewise.
4653 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4655         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4656         generated file.  Regenerate properly from gen-translit.pl.
4657         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4658         locale/C-translit.h.
4660 2013-06-05  Andreas Schwab  <schwab@suse.de>
4662         [BZ #15100]
4663         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4664         week as 6 instead of -1.
4665         * time/tst-strptime.c (day_tests): Add test case.
4667 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4669         * sysdeps/generic/math_private.h
4670         (libc_feholdexcept_setround_53bit): Replace with
4671         libc_feholdsetround_53bit.
4672         (libc_feupdateenv_53bit): Replace with
4673         libc_feresetround_53bit.
4674         (SET_RESTORE_ROUND_53BIT): Adjust.
4676 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4678         * string/test-strchrnul.c: Add copyright header.
4680         * posix/tst-getaddrinfo4.c: Increase test timeout.
4682 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4684         [BZ #15536]
4685         * math/libm-test.inc (MAX_EXP): Remove
4686         (MIN_EXP): Define.
4687         (ulp): Use MIN_EXP - MANT_DIG.
4688         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4690 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4692         * po/be.po: Revert last change.
4693         * po/zh_CN.po: Likewise.
4694         * po/header.pot: Likewise.
4696 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4698         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4699         link-libc-deps to empty as target-specific variable.
4700         * Makerules (link-libc-args): New variable.
4701         (libc-for-link): Likewise.
4702         (link-libc-deps): Likewise.
4703         (lib%.so): Depend on $(link-libc-deps).  Link with
4704         $(link-libc-args).
4705         (build-module): Link with $(link-libc-args).
4706         (build-module-asneeded): Likewise.
4707         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4708         list of objects.
4709         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4710         target-specific variable.
4711         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4712         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4713         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4714         libc.
4715         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4716         libc and ld.so.
4717         ($(objpfx)libpcprofile.so): Likewise.
4718         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4719         libc_nonshared.a.
4720         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4721         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4722         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4723         $(link-libc-deps).
4724         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4725         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4726         * login/Makefile ($(objpfx)libutil.so): Likewise.
4727         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4728         * math/Makefile ($(objpfx)libm.so): Likewise.
4729         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4730         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4731         variable instead of depending directly on libc.
4732         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4733         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4734         $(link-libc-deps).
4735         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4736         libc.
4737         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4738         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4739         ($(objpfx)libanl.so): Likewise.
4740         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4741         ld.so.
4742         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4743         $(link-libc-deps).
4744         * sysdeps/i386/fpu/Makefile: Remove file.
4745         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4746         ($(objpfx)libm.so): Remove dependency on ld.so.
4748 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4750         [BZ # 15553]
4751         * nis/yp_xdr.c (XDRMAXNAME): Define.
4752         (XDRMAXRECORD): Define.
4753         (xdr_domainname): Use XDRMAXNAME.
4754         (xdr_mapname): Likewise.
4755         (xdr_peername): Likewise.
4756         (xdr_keydat): Use XDRMAXRECORD.
4757         (xdr_valdat): Likewise.
4759 2013-05-30  Jeff Law  <law@redhat.com>
4761         [BZ #14256]
4762         * manual/errno.texi (ESTALE): Update to account for more than
4763         just NFS file systems.
4764         * sysdeps/gnu/errlist.c: Regenerated.
4766 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4768         [BZ #15465]
4769         * elf/Makefile (tests): Add tst-null-argv.
4770         (modules-names):  Add tst-null-argv-lib.
4771         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4772         (tst-null-argv-ENV): Set environment for tst-null-argv.
4773         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4774         (RTLD_PROGNAME): New macro.
4775         * elf/tst-null-argv.c: New test case.
4776         * elf/tst-null-argv-lib.c: Library for test case.
4777         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4778         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4779         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4780         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4781         * elf/dl-init.c (call_init): Likewise.
4782         (_dl_init): Likewise.
4783         * elf/dl-load.c (print_search_path): Likewise.
4784         (_dl_map_object): Likewise.
4785         * elf/dl-lookup.c (do_lookup_x): Likewise.
4786         (add_dependency): Likewise.
4787         (_dl_lookup_symbol_x): Likewise.
4788         (_dl_debug_bindings): Likewise.
4789         * elf/dl-open.c (_dl_show_scope): Likewise.
4790         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4791         * elf/dl-version.c (match_symbol): Likewise.
4792         (_dl_check_map_versions): Likewise.
4793         * elf/rtld.c (dl_main): Likewise.
4794         (print_unresolved): Use RTLD_PROGNAME.
4795         (print_missing_version): Likewise.
4796         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4797         (elf_machine_rela): Likewise.
4798         * sysdeps/powerpc/powerpc32/dl-machine.c
4799         (__process_machine_rela): Likewise.
4800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4801         Likewise.
4802         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4803         Likewise.
4804         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4805         Likewise.
4806         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4808         Likewise.
4809         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4810         Likewise.
4811         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4813 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4815         * po/be.po: Add descriptive title.
4816         * po/zh_CN.po: Likewise.
4817         * po/header.pot: Likewise.
4819 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4821         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4822         error message.
4823         (enlarge_archive): Likewise.
4825 2013-05-28  Ben North  <ben@redfrontdoor.org>
4827         * manual/arith.texi (frexp): It is the magnitude of the return
4828         value which lies in [0.5, 1), not the return value itself.
4830 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4834 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4836         * stdio-common/bug26.c (main): Correct fscanf template.
4838         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4839         declare _dl_skip_args.
4841         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4842         Don't declare.
4844         * manual/platform.texi: Add missing @end deftypefun.
4846 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4848         [BZ #15529]
4849         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4850         bit of mantissa of 2^16382.
4851         * math/libm-test.inc (hypot_test_data): Add more tests.
4853         * math/libm-test.inc: Add drem and pow10 to list of tested
4854         functions.
4855         (pow10_test): New function.
4856         (drem_test): Likewise.
4857         (drem_test_tonearest): Likewise.
4858         (drem_test_towardzero): Likewise.
4859         (drem_test_downward): Likewise.
4860         (drem_test_upward): Likewise.
4861         (main): Call the new functions.
4863         * math/libm-test.inc (finite_test_data): Remove.
4864         (finite_test): Run tests from isfinite_test_data.
4865         (gamma_test_data): Remove.
4866         (gamma_test): Run tests from lgamma_test_data.
4867         * sysdeps/i386/fpu/libm-test-ulps: Update.
4868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4870 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4872         * manual/platform.texi: Add PowerPC PPR function set documentation.
4873         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4874         implementation.
4876 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4878         * math/libm-test.inc (MAX_EXP): Define.
4879         (ULPDIFF): Define.
4880         (ulp): New function.
4881         (check_float_internal): Use ULPDIFF.
4882         (cpow_test): Disable failing test.
4883         (check_ulp): Test ulp() implemetnation.
4884         (main): Call check_ulp before starting tests.
4886 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4888         * math/gen-libm-test.pl (generate_testfile): Do not handle
4889         START_DATA and END_DATA.
4890         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4891         END_DATA.
4892         (acos_tonearest_test_data): Likewise.
4893         (acos_towardzero_test_data): Likewise.
4894         (acos_downward_test_data): Likewise.
4895         (acos_upward_test_data): Likewise.
4896         (acosh_test_data): Likewise.
4897         (asin_test_data): Likewise.
4898         (asin_tonearest_test_data): Likewise.
4899         (asin_towardzero_test_data): Likewise.
4900         (asin_downward_test_data): Likewise.
4901         (asin_upward_test_data): Likewise.
4902         (asinh_test_data): Likewise.
4903         (atan_test_data): Likewise.
4904         (atanh_test_data): Likewise.
4905         (atan2_test_data): Likewise.
4906         (cabs_test_data): Likewise.
4907         (cacos_test_data): Likewise.
4908         (cacosh_test_data): Likewise.
4909         (carg_test_data): Likewise.
4910         (casin_test_data): Likewise.
4911         (casinh_test_data): Likewise.
4912         (catan_test_data): Likewise.
4913         (catanh_test_data): Likewise.
4914         (cbrt_test_data): Likewise.
4915         (ccos_test_data): Likewise.
4916         (ccosh_test_data): Likewise.
4917         (ceil_test_data): Likewise.
4918         (cexp_test_data): Likewise.
4919         (cimag_test_data): Likewise.
4920         (clog_test_data): Likewise.
4921         (clog10_test_data): Likewise.
4922         (conj_test_data): Likewise.
4923         (copysign_test_data): Likewise.
4924         (cos_test_data): Likewise.
4925         (cos_tonearest_test_data): Likewise.
4926         (cos_towardzero_test_data): Likewise.
4927         (cos_downward_test_data): Likewise.
4928         (cos_upward_test_data): Likewise.
4929         (cosh_test_data): Likewise.
4930         (cosh_tonearest_test_data): Likewise.
4931         (cosh_towardzero_test_data): Likewise.
4932         (cosh_downward_test_data): Likewise.
4933         (cosh_upward_test_data): Likewise.
4934         (cpow_test_data): Likewise.
4935         (cproj_test_data): Likewise.
4936         (creal_test_data): Likewise.
4937         (csin_test_data): Likewise.
4938         (csinh_test_data): Likewise.
4939         (csqrt_test_data): Likewise.
4940         (ctan_test_data): Likewise.
4941         (ctan_tonearest_test_data): Likewise.
4942         (ctan_towardzero_test_data): Likewise.
4943         (ctan_downward_test_data): Likewise.
4944         (ctan_upward_test_data): Likewise.
4945         (ctanh_test_data): Likewise.
4946         (ctanh_tonearest_test_data): Likewise.
4947         (ctanh_towardzero_test_data): Likewise.
4948         (ctanh_downward_test_data): Likewise.
4949         (ctanh_upward_test_data): Likewise.
4950         (erf_test_data): Likewise.
4951         (erfc_test_data): Likewise.
4952         (exp_test_data): Likewise.
4953         (exp_tonearest_test_data): Likewise.
4954         (exp_towardzero_test_data): Likewise.
4955         (exp_downward_test_data): Likewise.
4956         (exp_upward_test_data): Likewise.
4957         (exp10_test_data): Likewise.
4958         (exp2_test_data): Likewise.
4959         (expm1_test_data): Likewise.
4960         (fabs_test_data): Likewise.
4961         (fdim_test_data): Likewise.
4962         (finite_test_data): Likewise.
4963         (floor_test_data): Likewise.
4964         (fma_test_data): Likewise.
4965         (fma_towardzero_test_data): Likewise.
4966         (fma_downward_test_data): Likewise.
4967         (fma_upward_test_data): Likewise.
4968         (fmax_test_data): Likewise.
4969         (fmin_test_data): Likewise.
4970         (fmod_test_data): Likewise.
4971         (fpclassify_test_data): Likewise.
4972         (frexp_test_data): Likewise.
4973         (gamma_test_data): Likewise.
4974         (hypot_test_data): Likewise.
4975         (ilogb_test_data): Likewise.
4976         (isfinite_test_data): Likewise.
4977         (isgreater_test_data): Likewise.
4978         (isgreaterequal_test_data): Likewise.
4979         (isinf_test_data): Likewise.
4980         (isless_test_data): Likewise.
4981         (islessequal_test_data): Likewise.
4982         (islessgreater_test_data): Likewise.
4983         (isnan_test_data): Likewise.
4984         (isnormal_test_data): Likewise.
4985         (issignaling_test_data): Likewise.
4986         (isunordered_test_data): Likewise.
4987         (j0_test_data): Likewise.
4988         (j1_test_data): Likewise.
4989         (jn_test_data): Likewise.
4990         (ldexp_test_data): Likewise.
4991         (lgamma_test_data): Likewise.
4992         (lrint_test_data): Likewise.
4993         (lrint_tonearest_test_data): Likewise.
4994         (lrint_towardzero_test_data): Likewise.
4995         (lrint_downward_test_data): Likewise.
4996         (lrint_upward_test_data): Likewise.
4997         (llrint_test_data): Likewise.
4998         (llrint_tonearest_test_data): Likewise.
4999         (llrint_towardzero_test_data): Likewise.
5000         (llrint_downward_test_data): Likewise.
5001         (llrint_upward_test_data): Likewise.
5002         (log_test_data): Likewise.
5003         (log10_test_data): Likewise.
5004         (log1p_test_data): Likewise.
5005         (log2_test_data): Likewise.
5006         (logb_test_data): Likewise.
5007         (logb_downward_test_data): Likewise.
5008         (lround_test_data): Likewise.
5009         (llround_test_data): Likewise.
5010         (modf_test_data): Likewise.
5011         (nearbyint_test_data): Likewise.
5012         (nextafter_test_data): Likewise.
5013         (nexttoward_test_data): Likewise.
5014         (pow_test_data): Likewise.
5015         (pow_tonearest_test_data): Likewise.
5016         (pow_towardzero_test_data): Likewise.
5017         (pow_downward_test_data): Likewise.
5018         (pow_upward_test_data): Likewise.
5019         (remainder_test_data): Likewise.
5020         (remainder_tonearest_test_data): Likewise.
5021         (remainder_towardzero_test_data): Likewise.
5022         (remainder_downward_test_data): Likewise.
5023         (remainder_upward_test_data): Likewise.
5024         (remquo_test_data): Likewise.
5025         (rint_test_data): Likewise.
5026         (rint_tonearest_test_data): Likewise.
5027         (rint_towardzero_test_data): Likewise.
5028         (rint_downward_test_data): Likewise.
5029         (rint_upward_test_data): Likewise.
5030         (round_test_data): Likewise.
5031         (scalb_test_data): Likewise.
5032         (scalbn_test_data): Likewise.
5033         (scalbln_test_data): Likewise.
5034         (signbit_test_data): Likewise.
5035         (sin_test_data): Likewise.
5036         (sin_tonearest_test_data): Likewise.
5037         (sin_towardzero_test_data): Likewise.
5038         (sin_downward_test_data): Likewise.
5039         (sin_upward_test_data): Likewise.
5040         (sincos_test_data): Likewise.
5041         (sinh_test_data): Likewise.
5042         (sinh_tonearest_test_data): Likewise.
5043         (sinh_towardzero_test_data): Likewise.
5044         (sinh_downward_test_data): Likewise.
5045         (sinh_upward_test_data): Likewise.
5046         (sqrt_test_data): Likewise.
5047         (tan_test_data): Likewise.
5048         (tan_tonearest_test_data): Likewise.
5049         (tan_towardzero_test_data): Likewise.
5050         (tan_downward_test_data): Likewise.
5051         (tan_upward_test_data): Likewise.
5052         (tanh_test_data): Likewise.
5053         (tgamma_test_data): Likewise.
5054         (trunc_test_data): Likewise.
5055         (y0_test_data): Likewise.
5056         (y1_test_data): Likewise.
5057         (yn_test_data): Likewise.
5058         (significand_test_data): Likewise.
5060         * math/gen-libm-test.pl (@functions): Remove variable.
5061         (generate_testfile): Don't handle START and END lines.
5062         * math/libm-test.inc (START): New macro.
5063         (END): Likewise.
5064         (END_COMPLEX): Likewise.
5065         (acos_test): Use END macro without arguments.
5066         (acos_test_tonearest): Likewise.
5067         (acos_test_towardzero): Likewise.
5068         (acos_test_downward): Likewise.
5069         (acos_test_upward): Likewise.
5070         (acosh_test): Likewise.
5071         (asin_test): Likewise.
5072         (asin_test_tonearest): Likewise.
5073         (asin_test_towardzero): Likewise.
5074         (asin_test_downward): Likewise.
5075         (asin_test_upward): Likewise.
5076         (asinh_test): Likewise.
5077         (atan_test): Likewise.
5078         (atanh_test): Likewise.
5079         (atan2_test): Likewise.
5080         (cabs_test): Likewise.
5081         (cacos_test): Use END_COMPLEX macro without arguments.
5082         (cacosh_test): Likewise.
5083         (carg_test): Use END macro without arguments.
5084         (casin_test): Use END_COMPLEX macro without arguments.
5085         (casinh_test): Likewise.
5086         (catan_test): Likewise.
5087         (catanh_test): Likewise.
5088         (cbrt_test): Use END macro without arguments.
5089         (ccos_test): Use END_COMPLEX macro without arguments.
5090         (ccosh_test): Likewise.
5091         (ceil_test): Use END macro without arguments.
5092         (cexp_test): Use END_COMPLEX macro without arguments.
5093         (cimag_test): Use END macro without arguments.
5094         (clog_test): Use END_COMPLEX macro without arguments.
5095         (clog10_test): Likewise.
5096         (conj_test): Likewise.
5097         (copysign_test): Use END macro without arguments.
5098         (cos_test): Likewise.
5099         (cos_test_tonearest): Likewise.
5100         (cos_test_towardzero): Likewise.
5101         (cos_test_downward): Likewise.
5102         (cos_test_upward): Likewise.
5103         (cosh_test): Likewise.
5104         (cosh_test_tonearest): Likewise.
5105         (cosh_test_towardzero): Likewise.
5106         (cosh_test_downward): Likewise.
5107         (cosh_test_upward): Likewise.
5108         (cpow_test): Use END_COMPLEX macro without arguments.
5109         (cproj_test): Likewise.
5110         (creal_test): Use END macro without arguments.
5111         (csin_test): Use END_COMPLEX macro without arguments.
5112         (csinh_test): Likewise.
5113         (csqrt_test): Likewise.
5114         (ctan_test): Likewise.
5115         (ctan_test_tonearest): Likewise.
5116         (ctan_test_towardzero): Likewise.
5117         (ctan_test_downward): Likewise.
5118         (ctan_test_upward): Likewise.
5119         (ctanh_test): Likewise.
5120         (ctanh_test_tonearest): Likewise.
5121         (ctanh_test_towardzero): Likewise.
5122         (ctanh_test_downward): Likewise.
5123         (ctanh_test_upward): Likewise.
5124         (erf_test): Use END macro without arguments.
5125         (erfc_test): Likewise.
5126         (exp_test): Likewise.
5127         (exp_test_tonearest): Likewise.
5128         (exp_test_towardzero): Likewise.
5129         (exp_test_downward): Likewise.
5130         (exp_test_upward): Likewise.
5131         (exp10_test): Likewise.
5132         (exp2_test): Likewise.
5133         (expm1_test): Likewise.
5134         (fabs_test): Likewise.
5135         (fdim_test): Likewise.
5136         (finite_test): Likewise.
5137         (floor_test): Likewise.
5138         (fma_test): Likewise.
5139         (fma_test_towardzero): Likewise.
5140         (fma_test_downward): Likewise.
5141         (fma_test_upward): Likewise.
5142         (fmax_test): Likewise.
5143         (fmin_test): Likewise.
5144         (fmod_test): Likewise.
5145         (fpclassify_test): Likewise.
5146         (frexp_test): Likewise.
5147         (gamma_test): Likewise.
5148         (hypot_test): Likewise.
5149         (ilogb_test): Likewise.
5150         (isfinite_test): Likewise.
5151         (isgreater_test): Likewise.
5152         (isgreaterequal_test): Likewise.
5153         (isinf_test): Likewise.
5154         (isless_test): Likewise.
5155         (islessequal_test): Likewise.
5156         (islessgreater_test): Likewise.
5157         (isnan_test): Likewise.
5158         (isnormal_test): Likewise.
5159         (issignaling_test): Likewise.
5160         (isunordered_test): Likewise.
5161         (j0_test): Likewise.
5162         (j1_test): Likewise.
5163         (jn_test): Likewise.
5164         (ldexp_test): Likewise.
5165         (lgamma_test): Likewise.
5166         (lrint_test): Likewise.
5167         (lrint_test_tonearest): Likewise.
5168         (lrint_test_towardzero): Likewise.
5169         (lrint_test_downward): Likewise.
5170         (lrint_test_upward): Likewise.
5171         (llrint_test): Likewise.
5172         (llrint_test_tonearest): Likewise.
5173         (llrint_test_towardzero): Likewise.
5174         (llrint_test_downward): Likewise.
5175         (llrint_test_upward): Likewise.
5176         (log_test): Likewise.
5177         (log10_test): Likewise.
5178         (log1p_test): Likewise.
5179         (log2_test): Likewise.
5180         (logb_test): Likewise.
5181         (logb_test_downward): Likewise.
5182         (lround_test): Likewise.
5183         (llround_test): Likewise.
5184         (modf_test): Likewise.
5185         (nearbyint_test): Likewise.
5186         (nextafter_test): Likewise.
5187         (nexttoward_test): Likewise.
5188         (pow_test): Likewise.
5189         (pow_test_tonearest): Likewise.
5190         (pow_test_towardzero): Likewise.
5191         (pow_test_downward): Likewise.
5192         (pow_test_upward): Likewise.
5193         (remainder_test): Likewise.
5194         (remainder_test_tonearest): Likewise.
5195         (remainder_test_towardzero): Likewise.
5196         (remainder_test_downward): Likewise.
5197         (remainder_test_upward): Likewise.
5198         (remquo_test): Likewise.
5199         (rint_test): Likewise.
5200         (rint_test_tonearest): Likewise.
5201         (rint_test_towardzero): Likewise.
5202         (rint_test_downward): Likewise.
5203         (rint_test_upward): Likewise.
5204         (round_test): Likewise.
5205         (scalb_test): Likewise.
5206         (scalbn_test): Likewise.
5207         (scalbln_test): Likewise.
5208         (signbit_test): Likewise.
5209         (sin_test): Likewise.
5210         (sin_test_tonearest): Likewise.
5211         (sin_test_towardzero): Likewise.
5212         (sin_test_downward): Likewise.
5213         (sin_test_upward): Likewise.
5214         (sincos_test): Likewise.
5215         (sinh_test): Likewise.
5216         (sinh_test_tonearest): Likewise.
5217         (sinh_test_towardzero): Likewise.
5218         (sinh_test_downward): Likewise.
5219         (sinh_test_upward): Likewise.
5220         (sqrt_test): Likewise.
5221         (tan_test): Likewise.
5222         (tan_test_tonearest): Likewise.
5223         (tan_test_towardzero): Likewise.
5224         (tan_test_downward): Likewise.
5225         (tan_test_upward): Likewise.
5226         (tanh_test): Likewise.
5227         (tgamma_test): Likewise.
5228         (trunc_test): Likewise.
5229         (y0_test): Likewise.
5230         (y1_test): Likewise.
5231         (yn_test): Likewise.
5232         (significand_test): Likewise.
5234 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5236         [BZ #15381]
5237         * libio/genops.c (_IO_no_init): Initialize wide struct info.
5239 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5241         [BZ #14894]
5242         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5243         __ppc_mdoio and __ppc_mdoom.
5244         * manual/platform.texi: Document new functions __ppc_yield,
5245         __ppc_mdoio and __ppc_mdoom.
5247 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
5249         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5250         (main): Mention "tls" pseudo-hwcap is legacy.
5251         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5253 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5255         * math/gen-libm-test.pl (parse_args): Output only string of
5256         arguments as text for test name, not full call or descriptions of
5257         tests for extra outputs.
5258         (generate_testfile): Do not pass function name to parse_args.
5259         Generate this_func variable from START.
5260         * math/libm-test.inc (struct test_f_f_data): Rename test_name
5261         field to arg_str.
5262         (struct test_ff_f_data): Likewise.
5263         (test_ff_f_data_nexttoward): Likewise.
5264         (struct test_fi_f_data): Likewise.
5265         (struct test_fl_f_data): Likewise.
5266         (struct test_if_f_data): Likewise.
5267         (struct test_fff_f_data): Likewise.
5268         (struct test_c_f_data): Likewise.
5269         (struct test_f_f1_data): Likewise.  Remove field extra_name.
5270         (struct test_fF_f1_data): Likewise.
5271         (struct test_ffI_f1_data): Likewise.
5272         (struct test_c_c_data): Rename test_name field to arg_str.
5273         (struct test_cc_c_data): Likewise.
5274         (struct test_f_i_data): Likewise.
5275         (struct test_ff_i_data): Likewise.
5276         (struct test_f_l_data): Likewise.
5277         (struct test_f_L_data): Likewise.
5278         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
5279         and extra2_name.
5280         (COMMON_TEST_SETUP): New macro.
5281         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5282         (COMMON_TEST_CLEANUP): Likewise.
5283         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5284         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
5285         macros.
5286         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5287         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
5288         macros.
5289         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5290         (RUN_TEST_fff_f): Take argument string.  Call new setup and
5291         cleanup macros.
5292         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5293         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
5294         macros.
5295         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5296         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
5297         macros.
5298         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5299         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
5300         cleanup macros.
5301         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5302         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
5303         cleanup macros.
5304         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5305         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
5306         cleanup macros.
5307         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5308         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
5309         macros.
5310         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5311         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
5312         macros.
5313         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5314         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
5315         macros.
5316         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5317         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
5318         cleanup macros.
5319         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5320         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
5321         cleanup macros.
5322         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5323         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
5324         macros.
5325         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5326         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
5327         cleanup macros.
5328         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5329         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
5330         macros.
5331         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5332         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5333         macros.
5334         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5335         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5336         cleanup macros.
5337         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5339 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5341         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5342         to _sifields.sigfault.
5343         (si_addr_lsb): Define new macro.
5344         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5345         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5346         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5348 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5350         [BZ #15441]
5351         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5352         returns -1.
5353         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5354         null return -1.
5355         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5356         loading the domain.
5358 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5360         * math/gen-libm-test.pl (parse_args): Do not include expected
5361         result in test name.
5362         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5363         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5364         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5365         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5366         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5369 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5371         * benchtests/Makefile: Sort function entries.
5373         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5374         tanh, asinh, acosh, atanh.
5375         * benchtests/acos-inputs: New file.
5376         * benchtests/acosh-inputs: New file.
5377         * benchtests/asin-inputs: New file.
5378         * benchtests/asinh-inputs: New file.
5379         * benchtests/atanh-inputs: New file.
5380         * benchtests/cosh-inputs: New file.
5381         * benchtests/log-inputs: New file.
5382         * benchtests/sinh-inputs: New file.
5383         * benchtests/tanh-inputs: New file.
5385 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5387         [BZ #15339]
5388         * posix/tst-getaddrinfo4.c: New test.
5389         * posix/Makefile (tests): Add it.
5391 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5393         [BZ #15339]
5394         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5395         when no services were used.
5396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5397         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5399 2013-05-21  Andreas Schwab  <schwab@suse.de>
5401         [BZ #15014]
5402         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5403         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5404         successful.
5405         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5406         redundant variable declarations and reallocation of buffer when
5407         parsing as IPv6 address.  Always set NSS status when called from
5408         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5409         buffer too small.  Correct computation of needed size.
5410         * nss/Makefile (tests): Add test-digits-dots.
5411         * nss/test-digits-dots.c: New test.
5413 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5415         * benchtests/Makefile: Remove instructions for adding
5416         benchmark tests.
5417         * benchtests/README: New file to explain how to execute and
5418         enhance the benchmark tests.
5420 2013-05-21  Andreas Schwab  <schwab@suse.de>
5422         [BZ #15493]
5423         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5424         * setjmp/tst-sigsetjmp.c: New test.
5426 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5428         * sysdeps/x86_64/memset.S (memset): New implementation.
5429         (__bzero): Likewise.
5430         (__memset_tail): New function.
5432 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5434         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5435         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5436         __memcpy_sse2_unaligned ifunc selection.
5437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5438         Add memcpy-sse2-unaligned.S.
5439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5440         Add: __memcpy_sse2_unaligned.
5442 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5444         [BZ #15490]
5445         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5446         math_force_eval before restoring floating-point envrionment.
5447         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5448         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5449         Likewise.
5450         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5451         <math_private.h>.
5452         (__nearbyintl): Use math_force_eval before restoring
5453         floating-point environment.
5454         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5456         * math/gen-libm-test.pl (special_functions): Remove.
5457         (parse_args): Don't handle TEST_extra.  Handle functions with no
5458         return value.
5459         * math/libm-test.inc (struct test_sincos_data): Replace with
5460         struct test_fFF_11_data.
5461         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5462         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5463         (sincos_test_data): Change element type to struct
5464         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5465         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5466         RUN_TEST_LOOP_sincos.
5467         * math/README.libm-test: Don't mention special handling of
5468         individual functions.
5469         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5470         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5471         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5472         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5473         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5476         * math/gen-libm-test.pl (get_variable): Remove function.
5477         (parse_args): Don't show pointer parameters to call in test
5478         names.  Use "extra output N" in test names for extra outputs
5479         rather than naming variables.
5481 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5483         [BZ #15488]
5484         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5485         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5486         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5487         double tests.
5488         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5489         disable.
5490         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5491         check_long_double.
5493         * math/gen-libm-test.pl (@tests): Remove variable.
5494         ($count): Likewise.
5495         (new_test): Remove function.
5496         (show_exceptions): New function.
5497         (special_functions): Use show_exceptions instead of new_test.
5498         (parse_args): Likewise.
5499         (generate_testfile): Pass only function name in generated call to
5500         print_max_error or print_complex_max_error.
5501         (get_ulps): Do not handle complex tests specially.
5502         (output_test): Rename to ...
5503         (get_all_ulps_for_test): ... this.  Return a string rather than
5504         printing to a file.  Require ulps to be present.
5505         (output_ulps): Generate arrays rather than #defines.
5506         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5507         (struct ulp_data): New type.
5508         (BUILD_COMPLEX_ULP): Remove macro.
5509         (compare_ulp_data): New function.
5510         (find_ulps): Likewise.
5511         (find_test_ulps): Likewise.
5512         (find_function_ulps): Likewise.
5513         (find_complex_function_ulps): Likewise.
5514         (print_max_error): Determine allowed ulps using
5515         find_function_ulps.
5516         (print_complex_max_error): Determine allowed ulps using
5517         find_complex_function_ulps.
5518         (check_float_internal): Determine max ulps using find_test_ulps.
5519         (check_float): Do not take max_ulp parameter.  Update call to
5520         check_float_internal.
5521         (check_complex): Likewise.
5522         (check_int): Do not take max_ulp parameter.
5523         (check_long): Likewise.
5524         (check_bool): Likewise.
5525         (check_longlong): Likewise.
5526         (struct test_f_f_data): Remove max_ulp field.
5527         (struct test_ff_f_data): Likewise.
5528         (struct test_ff_f_data_nexttoward): Likewise.
5529         (struct test_fi_f_data): Likewise.
5530         (struct test_fl_f_data): Likewise.
5531         (struct test_if_f_data): Likewise.
5532         (struct test_fff_f_data): Likewise.
5533         (struct test_c_f_data): Likewise.
5534         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5535         (struct test_fF_f1_data): Likewise.
5536         (struct test_ffI_f1_data): Likewise.
5537         (struct test_c_c_data): Remove max_ulp field.
5538         (struct test_cc_c_data): Likewise.
5539         (struct test_f_i_data): Likewise.
5540         (struct test_ff_i_data): Likewise.
5541         (struct test_f_l_data): Likewise.
5542         (struct test_f_L_data): Likewise.
5543         (struct test_sincos_data): Likewise.
5544         (RUN_TEST_f_f): Do not handle ulps.
5545         (RUN_TEST_LOOP_f_f): Likewise.
5546         (RUN_TEST_2_f): Likewise.
5547         (RUN_TEST_LOOP_2_f): Likewise.
5548         (RUN_TEST_fff_f): Likewise.
5549         (RUN_TEST_LOOP_fff_f): Likewise.
5550         (RUN_TEST_c_f): Likewise.
5551         (RUN_TEST_LOOP_c_f): Likewise.
5552         (RUN_TEST_f_f1): Likewise.
5553         (RUN_TEST_LOOP_f_f1): Likewise.
5554         (RUN_TEST_fF_f1): Likewise.
5555         (RUN_TEST_LOOP_fF_f1): Likewise.
5556         (RUN_TEST_fI_f1): Likewise.
5557         (RUN_TEST_LOOP_fI_f1): Likewise.
5558         (RUN_TEST_ffI_f1): Likewise.
5559         (RUN_TEST_LOOP_ffI_f1): Likewise.
5560         (RUN_TEST_c_c): Likewise.
5561         (RUN_TEST_LOOP_c_c): Likewise.
5562         (RUN_TEST_cc_c): Likewise.
5563         (RUN_TEST_LOOP_cc_c): Likewise.
5564         (RUN_TEST_f_i): Likewise.
5565         (RUN_TEST_LOOP_f_i): Likewise.
5566         (RUN_TEST_f_i_tg): Likewise.
5567         (RUN_TEST_LOOP_f_i_tg): Likewise.
5568         (RUN_TEST_ff_i_tg): Likewise.
5569         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5570         (RUN_TEST_f_b): Likewise.
5571         (RUN_TEST_LOOP_f_b): Likewise.
5572         (RUN_TEST_f_b_tg): Likewise.
5573         (RUN_TEST_LOOP_f_b_tg): Likewise.
5574         (RUN_TEST_f_l): Likewise.
5575         (RUN_TEST_LOOP_f_l): Likewise.
5576         (RUN_TEST_f_L): Likewise.
5577         (RUN_TEST_LOOP_f_L): Likewise.
5578         (RUN_TEST_sincos): Likewise.
5579         (RUN_TEST_LOOP_sincos): Likewise.
5581 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5583         [BZ #15480]
5584         [BZ #15485]
5585         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5586         main case of finite arguments, set rounding mode to FE_TONEAREST
5587         and discard exceptions.
5588         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5589         exceptions.
5590         (remainder_tonearest_test_data): New variable.
5591         (remainder_test_tonearest): New function.
5592         (remainder_towardzero_test_data): New variable.
5593         (remainder_test_towardzero): New function.
5594         (remainder_downward_test_data): New variable.
5595         (remainder_test_downward): New function.
5596         (remainder_upward_test_data): New variable.
5597         (remainder_test_upward): New function.
5598         (main): Call the new test functions.
5600         * math/libm-test.inc (struct test_f_f1_data): Remove field
5601         extra_init.
5602         (struct test_fF_f1_data): Likewise.
5603         (struct test_ffI_f1_data): Likewise.
5604         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5605         based on value of EXTRA_EXPECTED.
5606         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5607         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5608         EXTRA_VAR based on value of EXTRA_EXPECTED.
5609         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5610         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5611         EXTRA_VAR based on value of EXTRA_EXPECTED.
5612         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5613         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5614         EXTRA_VAR based on value of EXTRA_EXPECTED.
5615         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5616         * math/gen-libm-test.pl (parse_args): Don't output initializers
5617         for extra output values.
5619         * math/libm-test.inc (check_int): Expect result to be exactly
5620         equal to expected value and do not handle ulps.
5621         (check_long): Likewise.
5622         (check_longlong): Likewise.
5624         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5625         exceptions.
5626         (cimag_test_data): Likewise.
5627         (conj_test_data): Likewise.
5628         (copysign_test_data): Likewise.
5629         (cproj_test_data): Likewise.
5630         (creal_test_data): Likewise.
5631         (fabs_test_data): Likewise.
5632         (fdim_test_data): Likewise.
5633         (finite_test_data): Likewise.
5634         (floor_test_data): Likewise.
5635         (fmax_test_data): Likewise.
5636         (fmin_test_data): Likewise.
5637         (fmod_test_data): Likewise.
5638         (fpclassify_test_data): Likewise.
5639         (frexp_test_data): Likewise.
5640         (ilogb_test_data): Likewise.
5641         (isfinite_test_data): Likewise.
5642         (isgreater_test_data): Likewise.
5643         (isgreaterequal_test_data): Likewise.
5644         (isinf_test_data): Likewise.
5645         (isless_test_data): Likewise.
5646         (islessequal_test_data): Likewise.
5647         (islessgreater_test_data): Likewise.
5648         (isnan_test_data): Likewise.
5649         (isnormal_test_data): Likewise.
5650         (issignaling_test_data): Likewise.
5651         (isunordered_test_data): Likewise.
5652         (ldexp_test_data): Likewise.
5653         (lrint_test_data): Likewise.
5654         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5655         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5656         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5657         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5658         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5659         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5660         test input.
5661         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5662         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5663         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5664         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5665         that test input.
5666         (lrint_downward_test_data): Test for "inexact" exceptions.
5667         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5668         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5669         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5670         test input.
5671         (lrint_upward_test_data): Test for "inexact" exceptions.
5672         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5673         test input.
5674         (llrint_test_data): Test for "inexact" exceptions.
5675         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5676         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5677         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5678         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5679         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5680         (llrint_downward_test_data): Test for "inexact" exceptions.
5681         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5682         (llrint_upward_test_data): Test for "inexact" exceptions.
5683         (logb_test_data): Likewise.
5684         (logb_downward_test_data): Likewise.
5685         (nextafter_test_data): Likewise.
5686         (nexttoward_test_data): Likewise.
5687         (remainder_test_data): Likewise.
5688         (remquo_test_data): Likewise.
5689         (scalbn_test_data): Likewise.
5690         (scalbln_test_data): Likewise.
5691         (signbit_test_data): Likewise.
5692         (sqrt_test_data): Likewise.
5693         (significand_test_data): Likewise.
5695 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5697         [BZ #15424]
5698         * benchtests/bench-modf.c (struct args): Mark arg0 as
5699         volatile.
5700         * scripts/bench.pl: Mark members of struct args as volatile.
5702 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5704         [BZ # 15497]
5705         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5706         negative infinity on POWER6 or lower.
5707         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5709 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5711         [BZ #15442]
5712         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5713         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5714         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5715         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5716         (_FP_SETQNAN): New macro.
5717         (_FP_SETQNAN_SEMIRAW): Likewise.
5718         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5719         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5720         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5721         (FP_EXTEND): Use _FP_FRAC_SNANP.
5722         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5723         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5724         into account.
5725         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5726         New macro.
5727         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5728         Likewise.
5730 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5732         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5733         with DIVIDE_BY_ZERO_EXCEPTION.
5734         (gamma_test_data): Likewise.
5735         (lgamma_test_data): Likewise.
5736         (log_test_data): Likewise.
5737         (log10_test_data): Likewise.
5738         (log2_test_data): Likewise.
5739         (tgamma_test_data): Likewise.
5741         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5742         (acos_test_tonearest): Likewise.
5743         (acos_test_towardzero): Likewise.
5744         (acos_test_downward): Likewise.
5745         (acos_test_upward): Likewise.
5746         (acosh_test): Likewise.
5747         (asin_test): Likewise.
5748         (asin_test_tonearest): Likewise.
5749         (asin_test_towardzero): Likewise.
5750         (asin_test_downward): Likewise.
5751         (asin_test_upward): Likewise.
5752         (asinh_test): Likewise.
5753         (atan_test): Likewise.
5754         (atanh_test): Likewise.
5755         (atan2_test): Likewise.
5756         (cabs_test): Likewise.
5757         (cacos_test): Likewise.
5758         (cacosh_test): Likewise.
5759         (casin_test): Likewise.
5760         (casinh_test): Likewise.
5761         (catan_test): Likewise.
5762         (catanh_test): Likewise.
5763         (cbrt_test): Likewise.
5764         (ccos_test): Likewise.
5765         (ccosh_test): Likewise.
5766         (cexp_test): Likewise.
5767         (clog_test): Likewise.
5768         (clog10_test): Likewise.
5769         (cos_test): Likewise.
5770         (cos_test_tonearest): Likewise.
5771         (cos_test_towardzero): Likewise.
5772         (cos_test_downward): Likewise.
5773         (cos_test_upward): Likewise.
5774         (cosh_test): Likewise.
5775         (cosh_test_tonearest): Likewise.
5776         (cosh_test_towardzero): Likewise.
5777         (cosh_test_downward): Likewise.
5778         (cosh_test_upward): Likewise.
5779         (cpow_test): Likewise.
5780         (csin_test): Likewise.
5781         (csinh_test): Likewise.
5782         (csqrt_test): Likewise.
5783         (ctan_test): Likewise.
5784         (ctan_test_tonearest): Likewise.
5785         (ctan_test_towardzero): Likewise.
5786         (ctan_test_downward): Likewise.
5787         (ctan_test_upward): Likewise.
5788         (ctanh_test): Likewise.
5789         (ctanh_test_tonearest): Likewise.
5790         (ctanh_test_towardzero): Likewise.
5791         (ctanh_test_downward): Likewise.
5792         (ctanh_test_upward): Likewise.
5793         (erf_test): Likewise.
5794         (erfc_test): Likewise.
5795         (exp_test): Likewise.
5796         (exp_test_tonearest): Likewise.
5797         (exp_test_towardzero): Likewise.
5798         (exp_test_downward): Likewise.
5799         (exp_test_upward): Likewise.
5800         (exp10_test): Likewise.
5801         (exp2_test): Likewise.
5802         (expm1_test): Likewise.
5803         (fmod_test): Likewise.
5804         (gamma_test): Likewise.
5805         (hypot_test): Likewise.
5806         (j0_test): Likewise.
5807         (j1_test): Likewise.
5808         (jn_test): Likewise.
5809         (lgamma_test): Likewise.
5810         (log_test): Likewise.
5811         (log10_test): Likewise.
5812         (log1p_test): Likewise.
5813         (log2_test): Likewise.
5814         (logb_test_downward): Likewise.
5815         (pow_test): Likewise.
5816         (pow_test_tonearest): Likewise.
5817         (pow_test_towardzero): Likewise.
5818         (pow_test_downward): Likewise.
5819         (pow_test_upward): Likewise.
5820         (remainder_test): Likewise.
5821         (remquo_test): Likewise.
5822         (sin_test): Likewise.
5823         (sin_test_tonearest): Likewise.
5824         (sin_test_towardzero): Likewise.
5825         (sin_test_downward): Likewise.
5826         (sin_test_upward): Likewise.
5827         (sincos_test): Likewise.
5828         (sinh_test): Likewise.
5829         (sinh_test_tonearest): Likewise.
5830         (sinh_test_towardzero): Likewise.
5831         (sinh_test_downward): Likewise.
5832         (sinh_test_upward): Likewise.
5833         (sqrt_test): Likewise.
5834         (tan_test): Likewise.
5835         (tan_test_tonearest): Likewise.
5836         (tan_test_towardzero): Likewise.
5837         (tan_test_downward): Likewise.
5838         (tan_test_upward): Likewise.
5839         (tanh_test): Likewise.
5840         (tgamma_test): Likewise.
5841         (y0_test): Likewise.
5842         (y1_test): Likewise.
5843         (yn_test): Likewise.
5845         * math/gen-libm-test.pl (adjust_arg): Remove function.
5846         (special_function): Remove argument $in_func.  Only handle
5847         generating output for tables of tests, not inside functions.
5848         (parse_args): Likewise.
5849         (generate_testfile): Remove variable $in_func.  Update call to
5850         parse_args.
5851         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5852         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5853         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5854         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5855         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5856         (MAX_VALUE_INIT): Rename macro to max_value.
5857         (MIN_VALUE_INIT): Rename macro to min_value.
5858         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5859         (plus_zero): Remove variable.
5860         (minus_zero): Likewise.
5861         (plus_infty): Likewise.
5862         (minus_infty): Likewise.
5863         (qnan_value): Likewise.
5864         (max_value): Likewise.
5865         (min_value): Likewise.
5866         (min_subnorm_value): Likewise.
5868 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5870         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5871         uint64_t or uint32_t usage.
5872         * crypt/sha256-block.c: Likewise.
5873         * crypt/sha256-crypt.c: Likewise.
5874         * crypt/sha256.c: Likewise.
5875         * crypt/sha512-block.c: Likewise.
5876         * crypt/sha512-crypt.c: Likewise.
5877         * crypt/sha512.c: Likewise.
5878         * debug/backtrace-tst.c: Likewise.
5879         * debug/pcprofiledump.c: Likewise.
5880         * elf/cache.c: Likewise.
5881         * elf/dl-cache.c: Likewise.
5882         * elf/dl-misc.c: Likewise.
5883         * elf/dl-profile.c: Likewise.
5884         * elf/dl-support.c: Likewise.
5885         * elf/ldconfig.c: Likewise.
5886         * elf/sprof.c: Likewise.
5887         * iconv/dummy-repertoire.c: Likewise.
5888         * iconv/iconv_charmap.c: Likewise.
5889         * iconv/skeleton.c: Likewise.
5890         * iconvdata/8bit-generic.c: Likewise.
5891         * iconvdata/cp737.h: Likewise.
5892         * iconvdata/cp775.h: Likewise.
5893         * iconvdata/ibm1008.h: Likewise.
5894         * iconvdata/ibm1025.h: Likewise.
5895         * iconvdata/ibm1046.h: Likewise.
5896         * iconvdata/ibm1097.h: Likewise.
5897         * iconvdata/ibm1112.h: Likewise.
5898         * iconvdata/ibm1122.h: Likewise.
5899         * iconvdata/ibm1123.h: Likewise.
5900         * iconvdata/ibm1124.h: Likewise.
5901         * iconvdata/ibm1129.h: Likewise.
5902         * iconvdata/ibm1130.h: Likewise.
5903         * iconvdata/ibm1132.h: Likewise.
5904         * iconvdata/ibm1133.h: Likewise.
5905         * iconvdata/ibm1137.h: Likewise.
5906         * iconvdata/ibm1140.h: Likewise.
5907         * iconvdata/ibm1141.h: Likewise.
5908         * iconvdata/ibm1142.h: Likewise.
5909         * iconvdata/ibm1143.h: Likewise.
5910         * iconvdata/ibm1144.h: Likewise.
5911         * iconvdata/ibm1145.h: Likewise.
5912         * iconvdata/ibm1146.h: Likewise.
5913         * iconvdata/ibm1147.h: Likewise.
5914         * iconvdata/ibm1148.h: Likewise.
5915         * iconvdata/ibm1149.h: Likewise.
5916         * iconvdata/ibm1153.h: Likewise.
5917         * iconvdata/ibm1154.h: Likewise.
5918         * iconvdata/ibm1155.h: Likewise.
5919         * iconvdata/ibm1156.h: Likewise.
5920         * iconvdata/ibm1157.h: Likewise.
5921         * iconvdata/ibm1158.h: Likewise.
5922         * iconvdata/ibm1160.h: Likewise.
5923         * iconvdata/ibm1161.h: Likewise.
5924         * iconvdata/ibm1162.h: Likewise.
5925         * iconvdata/ibm1163.h: Likewise.
5926         * iconvdata/ibm1164.h: Likewise.
5927         * iconvdata/ibm1166.h: Likewise.
5928         * iconvdata/ibm1167.h: Likewise.
5929         * iconvdata/ibm12712.h: Likewise.
5930         * iconvdata/ibm1390.h: Likewise.
5931         * iconvdata/ibm1399.h: Likewise.
5932         * iconvdata/ibm16804.h: Likewise.
5933         * iconvdata/ibm4517.h: Likewise.
5934         * iconvdata/ibm4899.h: Likewise.
5935         * iconvdata/ibm4909.h: Likewise.
5936         * iconvdata/ibm4971.h: Likewise.
5937         * iconvdata/ibm5347.h: Likewise.
5938         * iconvdata/ibm803.h: Likewise.
5939         * iconvdata/ibm856.h: Likewise.
5940         * iconvdata/ibm901.h: Likewise.
5941         * iconvdata/ibm902.h: Likewise.
5942         * iconvdata/ibm9030.h: Likewise.
5943         * iconvdata/ibm9066.h: Likewise.
5944         * iconvdata/ibm921.h: Likewise.
5945         * iconvdata/ibm922.h: Likewise.
5946         * iconvdata/ibm9448.h: Likewise.
5947         * iconvdata/isiri-3342.h: Likewise.
5948         * iconvdata/jis0201.h: Likewise.
5949         * include/link.h: Likewise.
5950         * include/netdb.h: Likewise.
5951         * inet/check_native.c: Likewise.
5952         * inet/check_pf.c: Likewise.
5953         * inet/getipv4sourcefilter.c: Likewise.
5954         * inet/getnameinfo.c: Likewise.
5955         * inet/getsourcefilter.c: Likewise.
5956         * inet/htonl.c: Likewise.
5957         * inet/setipv4sourcefilter.c: Likewise.
5958         * inet/setsourcefilter.c: Likewise.
5959         * inet/test-inet6_opt.c: Likewise.
5960         * inet/tst-network.c: Likewise.
5961         * locale/C-collate.c: Likewise.
5962         * locale/C-ctype.c: Likewise.
5963         * locale/C-time.c: Likewise.
5964         * locale/C-translit.h: Likewise.
5965         * locale/loadarchive.c: Likewise.
5966         * locale/programs/3level.h: Likewise.
5967         * locale/programs/charmap.c: Likewise.
5968         * locale/programs/charmap.h: Likewise.
5969         * locale/programs/ld-address.c: Likewise.
5970         * locale/programs/ld-collate.c: Likewise.
5971         * locale/programs/ld-ctype.c: Likewise.
5972         * locale/programs/ld-identification.c: Likewise.
5973         * locale/programs/ld-measurement.c: Likewise.
5974         * locale/programs/ld-messages.c: Likewise.
5975         * locale/programs/ld-monetary.c: Likewise.
5976         * locale/programs/ld-name.c: Likewise.
5977         * locale/programs/ld-numeric.c: Likewise.
5978         * locale/programs/ld-paper.c: Likewise.
5979         * locale/programs/ld-telephone.c: Likewise.
5980         * locale/programs/ld-time.c: Likewise.
5981         * locale/programs/linereader.c: Likewise.
5982         * locale/programs/locale.c: Likewise.
5983         * locale/programs/locarchive.c: Likewise.
5984         * locale/programs/locfile.h: Likewise.
5985         * locale/programs/repertoire.c: Likewise.
5986         * locale/programs/simple-hash.c: Likewise.
5987         * locale/programs/simple-hash.h: Likewise.
5988         * malloc/memusage.c: Likewise.
5989         * malloc/memusagestat.c: Likewise.
5990         * nis/nis_defaults.c: Likewise.
5991         * nis/nis_hash.c: Likewise.
5992         * nis/nis_print.c: Likewise.
5993         * nis/nis_xdr.c: Likewise.
5994         * nscd/connections.c: Likewise.
5995         * nscd/hstcache.c: Likewise.
5996         * nscd/nscd_gethst_r.c: Likewise.
5997         * nscd/nscd_getserv_r.c: Likewise.
5998         * nscd/nscd_helper.c: Likewise.
5999         * nscd/servicescache.c: Likewise.
6000         * nss/makedb.c: Likewise.
6001         * nss/nss_db/db-XXX.c: Likewise.
6002         * nss/nss_db/db-initgroups.c: Likewise.
6003         * nss/nss_db/db-netgrp.c: Likewise.
6004         * nss/nss_files/files-network.c: Likewise.
6005         * nss/nss_files/files-parse.c: Likewise.
6006         * posix/bug-regex5.c: Likewise.
6007         * posix/fnmatch_loop.c: Likewise.
6008         * posix/regcomp.c: Likewise.
6009         * posix/regexec.c: Likewise.
6010         * posix/tst-rfc3484-2.c: Likewise.
6011         * posix/tst-rfc3484-3.c: Likewise.
6012         * posix/tst-rfc3484.c: Likewise.
6013         * resolv/nss_dns/dns-canon.c: Likewise.
6014         * resolv/nss_dns/dns-network.c: Likewise.
6015         * resolv/res_init.c: Likewise.
6016         * resolv/res_mkquery.c: Likewise.
6017         * resolv/tst-aton.c: Likewise.
6018         * stdlib/cxa_atexit.c: Likewise.
6019         * stdlib/cxa_finalize.c: Likewise.
6020         * stdlib/gen-fpioconst.c: Likewise.
6021         * stdlib/strtol_l.c: Likewise.
6022         * string/tst-endian.c: Likewise.
6023         * sunrpc/auth_des.c: Likewise.
6024         * sunrpc/clnt_udp.c: Likewise.
6025         * sunrpc/rtime.c: Likewise.
6026         * sunrpc/svcauth_des.c: Likewise.
6027         * sunrpc/xdr.c: Likewise.
6028         * sunrpc/xdr_intXX_t.c: Likewise.
6029         * sunrpc/xdr_rec.c: Likewise.
6030         * sysdeps/generic/ldconfig.h: Likewise.
6031         * sysdeps/generic/ldsodefs.h: Likewise.
6032         * sysdeps/generic/memusage.h: Likewise.
6033         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6034         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6035         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6036         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6037         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6039         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6040         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6041         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6042         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6043         * sysdeps/posix/getaddrinfo.c: Likewise.
6044         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6045         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6046         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6047         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6048         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6049         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6050         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6051         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6052         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6053         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6054         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6055         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6056         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6057         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6058         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6059         * sysdeps/x86_64/dl-tls.h: Likewise.
6060         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6061         * time/alt_digit.c: Likewise.
6062         * time/era.c: Likewise.
6063         * wcsmbs/tst-c16c32-1.c: Likewise.
6065 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6067         * math/libm-test.inc (struct test_sincos_data): New type.
6068         (RUN_TEST_LOOP_sincos): New macro.
6069         (sincos_test_data): New variable.
6070         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6072 2013-05-16  Richard Henderson  <rth@redhat.com>
6074         * math/atest-exp2.c (LIMB64): New macro.
6075         (CONSTSZ): New macro.
6076         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6077         (hexdig): Move ...
6078         (print_mpn_fp): ... to function scope.
6079         (read_mpn_hex): Remove.
6080         (get_log2): Remove.
6081         (exp2_mpn): Use mp_log2.
6082         (main): Use mp_exp1.
6084 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6086         * math/libm-test.inc: Remove comment about not testing "inexact"
6087         exceptions.
6088         (INEXACT_EXCEPTION): New macro.
6089         (NO_INEXACT_EXCEPTION): Likewise.
6090         (INVALID_EXCEPTION_OK): Update value.
6091         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6092         (OVERFLOW_EXCEPTION_OK): Likewise.
6093         (UNDERFLOW_EXCEPTION_OK): Likewise.
6094         (IGNORE_ZERO_INF_SIGN): Likewise.
6095         (ERRNO_UNCHANGED): Likewise.
6096         (ERRNO_EDOM): Likewise.
6097         (ERRNO_ERANGE): Likewise.
6098         (test_exceptions): Handle testing "inexact" exceptions.
6099         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6100         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6101         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6102         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6103         INEXACT_EXCEPTION.
6104         (rint_towardzero_test_data): Likewise.
6105         (rint_downward_test_data): Likewise.
6106         (rint_upward_test_data): Likewise.
6108         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6109         with OVERFLOW_EXCEPTION.
6110         (exp10_test_data): Likewise.
6111         (exp2_test_data): Likewise.
6112         (expm1_test_data): Likewise.
6113         (lgamma_test_data): Likewise.
6114         (pow_test_data): Likewise.
6115         (tgamma_test_data): Likewise.
6116         (yn_test_data): Remove duplicate test of overflow.
6118         * math/libm-test.inc (struct test_cc_c_data): New type.
6119         (RUN_TEST_LOOP_cc_c): New macro.
6120         (cpow_test_data): New variable.
6121         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6123         * math/libm-test.inc (struct test_f_L_data): New type.
6124         (RUN_TEST_LOOP_f_L): New macro.
6125         (llrint_test_data): New variable.
6126         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6127         (llrint_tonearest_test_data): New variable.
6128         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6129         (llrint_towardzero_test_data): New variable.
6130         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6131         (llrint_downward_test_data): New variable.
6132         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6133         (llrint_upward_test_data): New variable.
6134         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6135         (llround_test_data): New variable.
6136         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6138 2013-05-13  Peter Collingbourne  <pcc@google.com>
6140         * math/atest-exp2.c (get_log2): Remove const attribute.
6142 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6144         * math/libm-test.inc (struct test_f_l_data): New type.
6145         (RUN_TEST_LOOP_f_l): New macro.
6146         (lrint_test_data): New variable.
6147         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6148         (lrint_tonearest_test_data): New variable.
6149         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6150         (lrint_towardzero_test_data): New variable.
6151         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6152         (lrint_downward_test_data): New variable.
6153         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6154         (lrint_upward_test_data): New variable.
6155         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6156         (lround_test_data): New variable.
6157         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6159 2013-05-15  Peter Collingbourne  <pcc@google.com>
6161         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6162         (EXTRACT_WORDS64) Use where appropriate.
6163         (INSERT_WORDS64) Likewise.
6165         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6166         constraints with x constraints.
6167         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6169         * malloc/obstack.c (_obstack_compat): Add initializer.
6171 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6173         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6174         si_trapno and add si_addr_lsb to _sifields.sigfault.
6175         (si_trapno): Remove macro.
6176         (si_addr_lsb): Define new macro.
6177         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6179 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6181         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6182         instead of TEST_f_l.
6183         (llrint_test_tonearest): Likewise.
6184         (llrint_test_towardzero): Likewise.
6185         (llrint_test_downward): Likewise.
6186         (llrint_test_upward): Likewise.
6187         (llround_test): Likewise.
6189         * math/libm-test.inc (struct test_f_i_data): Add comment.
6190         (RUN_TEST_LOOP_f_b): New macro.
6191         (RUN_TEST_LOOP_f_b_tg): Likewise.
6192         (finite_test_data): New variable.
6193         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6194         (isfinite_test_data): New variable.
6195         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6196         (isinf_test_data): New variable.
6197         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6198         (isnan_test_data): New variable.
6199         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6200         (isnormal_test_data): New variable.
6201         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6202         (issignaling_test_data): New variable.
6203         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6204         (signbit_test_data): New variable.
6205         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6207         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6208         with INVALID_EXCEPTION.
6209         (acosh_test_data): Likewise.
6210         (asin_test_data): Likewise.
6211         (atanh_test_data): Likewise.
6212         (fmod_test_data): Likewise.
6213         (log_test_data): Likewise.
6214         (log10_test_data): Likewise.
6215         (log2_test_data): Likewise.
6216         (pow_test_data): Likewise.
6217         (sqrt_test_data): Likewise.
6218         (y0_test_data): Likewise.
6219         (y1_test_data): Likewise.
6220         (yn_test_data): Likewise.
6222         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6223         function contents.
6225         * math/libm-test.inc (struct test_ff_i_data): New type.
6226         (RUN_TEST_LOOP_ff_i_tg): New macro.
6227         (isgreater_test_data): New variable.
6228         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6229         (isgreaterequal_test_data): New variable.
6230         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6231         (isless_test_data): New variable.
6232         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6233         (islessequal_test_data): New variable.
6234         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6235         (islessgreater_test_data): New variable.
6236         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6237         (isunordered_test_data): New variable.
6238         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6240 2013-05-14  David S. Miller  <davem@davemloft.net>
6242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6244 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
6246         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6248         * math/libm-test.inc (struct test_fF_f1_data): Change type of
6249         extra_test to int.
6250         (struct test_f_i_data): Change type of max_ulp to int.
6252         * math/libm-test.inc (test_ffI_f1_data): New type.
6253         (RUN_TEST_LOOP_ffI_f1): New macro.
6254         (remquo_test_data): New variable.
6255         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6257         * setjmp/tst-setjmp-fp.c: New file.
6258         * setjmp/Makefile (tests): Add tst-setjmp-fp.
6259         (link-libm): New variable.
6260         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6262         * math/libm-test.inc (struct test_f_i_data): New type.
6263         (RUN_TEST_LOOP_f_i): New macro.
6264         (RUN_TEST_LOOP_f_i_tg): Likewise.
6265         (fpclassify_test_data): New variable.
6266         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6267         (ilogb_test_data): New variable.
6268         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6270         * math/libm-test.inc (scalbln_test): Correct function name in END
6271         call.
6273         * math/libm-test.inc (struct test_f_f1_data): Add comment.
6274         (RUN_TEST_LOOP_fI_f1): New macro.
6275         (frexp_test_data): New variable.
6276         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6278         * math/libm-test.inc (struct test_fF_f1_data): New type.
6279         (RUN_TEST_LOOP_fF_f1): New macro.
6280         (modf_test_data): New variable.
6281         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6283         * math/libm-test.inc (struct test_f_f1_data): New type.
6284         (RUN_TEST_LOOP_f_f1): New macro.
6285         (gamma_test_data): New variable.
6286         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6287         (lgamma_test_data): New variable.
6288         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6290 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
6292         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6293         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6294         (main): Comment "tls" pseudo-hwcap.
6296 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
6298         * math/libm-test.inc (struct test_fl_f_data): New type.
6299         (RUN_TEST_LOOP_fl_f): New variable.
6300         (scalbln_test_data): New variable.
6301         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6303         * math/libm-test.inc (struct test_fi_f_data): New type.
6304         (RUN_TEST_LOOP_fi_f): New macro.
6305         (ldexp_test_data): New variable.
6306         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6307         (scalbn_test_data): New variable.
6308         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6310         * math/libm-test.inc (struct test_c_f_data): New type.
6311         (RUN_TEST_LOOP_c_f): New macro.
6312         (cabs_test_data): New variable.
6313         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6314         (carg_test_data): New variable.
6315         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6316         (cimag_test_data): New variable.
6317         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6318         (creal_test_data): New variable.
6319         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6321         * math/libm-test.inc (struct test_if_f_data): New type.
6322         (RUN_TEST_LOOP_if_f): New macro.
6323         (jn_test_data): New variable.
6324         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6325         (yn_test_data): New variable.
6326         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6328         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6330 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6332         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6333         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6335 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6337         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6338         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6339         (bench-deps): Add bench-timing.h.
6340         * benchtests-bench-skeleton.c: Include bench-timing.h.
6341         (main): Use TIMING_* macros instead of clock_gettime.
6342         * benchtests/bench-timing.h: New file.
6344         [BZ #14582]
6345         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6346         Renamed from _LIB_VERSION.
6347         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6349 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6351         * math/libm-test.inc (struct test_fff_f_data): New type.
6352         (RUN_TEST_LOOP_fff_f): New macro.
6353         (fma_test_data): New variable.
6354         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6355         (fma_towardzero_test_data): New variable.
6356         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6357         (fma_downward_test_data): New variable.
6358         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6359         (fma_upward_test_data): New variable.
6360         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6362         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6363         (struct test_c_c_data): New type.
6364         (RUN_TEST_LOOP_c_c): New macro.
6365         (cacos_test_data): New variable.
6366         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6367         (cacosh_test_data): New variable.
6368         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6369         (casin_test_data): New variable.
6370         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6371         (casinh_test_data): New variable.
6372         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6373         (catan_test_data): New variable.
6374         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6375         (catanh_test_data): New variable.
6376         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6377         (ccos_test_data): New variable.
6378         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6379         (ccosh_test_data): New variable.
6380         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6381         (cexp_test_data): New variable.
6382         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6383         (clog_test_data): New variable.
6384         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6385         (clog10_test_data): New variable.
6386         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6387         (conj_test_data): New variable.
6388         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6389         (cproj_test_data): New variable.
6390         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6391         (csin_test_data): New variable.
6392         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6393         (csinh_test_data): New variable.
6394         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6395         (csqrt_test_data): New variable.
6396         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6397         (ctan_test_data): New variable.
6398         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6399         (ctan_tonearest_test_data): New variable.
6400         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6401         (ctan_towardzero_test_data): New variable.
6402         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6403         (ctan_downward_test_data): New variable.
6404         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6405         (ctan_upward_test_data): New variable.
6406         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6407         (ctanh_test_data): New variable.
6408         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6409         (ctanh_tonearest_test_data): New variable.
6410         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6411         (ctanh_towardzero_test_data): New variable.
6412         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6413         (ctanh_downward_test_data): New variable.
6414         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6415         (ctanh_upward_test_data): New variable.
6416         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6417         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6418         of BUILD_COMPLEX.
6420         * math/libm-test.inc (struct test_ff_f_data): New type.
6421         (struct test_ff_f_data_nexttoward): Likewise.
6422         (RUN_TEST_LOOP_2_f): New macro.
6423         (RUN_TEST_LOOP_ff_f): Likewise.
6424         (atan2_test_data): New variable.
6425         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6426         (copysign_test_data): New variable.
6427         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6428         (fdim_test_data): New variable.
6429         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6430         (fmax_test_data): New variable.
6431         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6432         (fmin_test_data): New variable.
6433         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6434         (fmod_test_data): New variable.
6435         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6436         (hypot_test_data): New variable.
6437         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6438         (nextafter_test_data): New variable.
6439         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6440         (nexttoward_test_data): New variable.
6441         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6442         (pow_test_data): New variable.
6443         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6444         (pow_tonearest_test_data): New variable.
6445         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6446         (pow_towardzero_test_data): New variable.
6447         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6448         (pow_downward_test_data): New variable.
6449         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6450         (pow_upward_test_data): New variable.
6451         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6452         (remainder_test_data): New variable.
6453         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6454         (scalb_test_data): New variable.
6455         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6456         * sysdeps/i386/fpu/libm-test-ulps: Update.
6458 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6460         * math/libm-test.inc (fma_test): Use max_value instead of local
6461         variable fltmax.
6462         (nextafter_test): Likewise.
6464         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6465         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6466         (acos_downward_test_data): New variable.
6467         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6468         (acos_upward_test_data): New variable.
6469         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6470         (acosh_test_data): New variable.
6471         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6472         (asin_test_data): New variable.
6473         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6474         (asin_tonearest_test_data): New variable.
6475         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6476         (asin_towardzero_test_data): New variable.
6477         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6478         (asin_downward_test_data): New variable.
6479         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6480         (asin_upward_test_data): New variable.
6481         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6482         (asinh_test_data): New variable.
6483         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6484         (atan_test_data): New variable.
6485         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6486         (atanh_test_data): New variable.
6487         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6488         (cbrt_test_data): New variable.
6489         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6490         (ceil_test_data): New variable.
6491         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6492         (cos_test_data): New variable.
6493         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6494         (cos_tonearest_test_data): New variable.
6495         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6496         (cos_towardzero_test_data): New variable.
6497         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6498         (cos_downward_test_data): New variable.
6499         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6500         (cos_upward_test_data): New variable.
6501         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6502         (cosh_test_data): New variable.
6503         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6504         (cosh_tonearest_test_data): New variable.
6505         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6506         (cosh_towardzero_test_data): New variable.
6507         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6508         (cosh_downward_test_data): New variable.
6509         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6510         (cosh_upward_test_data): New variable.
6511         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6512         (erf_test_data): New variable.
6513         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6514         (erfc_test_data): New variable.
6515         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6516         (exp_test_data): New variable.
6517         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6518         (exp_tonearest_test_data): New variable.
6519         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6520         (exp_towardzero_test_data): New variable.
6521         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6522         (exp_downward_test_data): New variable.
6523         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6524         (exp_upward_test_data): New variable.
6525         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6526         (exp10_test_data): New variable.
6527         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6528         (exp2_test_data): New variable.
6529         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6530         (expm1_test_data): New variable.
6531         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6532         (fabs_test_data): New variable.
6533         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6534         (floor_test_data): New variable.
6535         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6536         (j0_test_data): New variable.
6537         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6538         (j1_test_data): New variable.
6539         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6540         (log_test_data): New variable.
6541         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6542         (log10_test_data): New variable.
6543         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6544         (log1p_test_data): New variable.
6545         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6546         (log2_test_data): New variable.
6547         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6548         (logb_test_data): New variable.
6549         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6550         (logb_downward_test_data): New variable.
6551         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6552         (nearbyint_test_data): New variable.
6553         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6554         (rint_test_data): New variable.
6555         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6556         (rint_tonearest_test_data): New variable.
6557         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6558         (rint_towardzero_test_data): New variable.
6559         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6560         (rint_downward_test_data): New variable.
6561         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6562         (rint_upward_test_data): New variable.
6563         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6564         (round_test_data): New variable.
6565         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6566         (sin_test_data): New variable.
6567         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6568         (sin_tonearest_test_data): New variable.
6569         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6570         (sin_towardzero_test_data): New variable.
6571         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6572         (sin_downward_test_data): New variable.
6573         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6574         (sin_upward_test_data): New variable.
6575         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6576         (sinh_test_data): New variable.
6577         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6578         (sinh_tonearest_test_data): New variable.
6579         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6580         (sinh_towardzero_test_data): New variable.
6581         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6582         (sinh_downward_test_data): New variable.
6583         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6584         (sinh_upward_test_data): New variable.
6585         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6586         (sqrt_test_data): New variable.
6587         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6588         (tan_test_data): New variable.
6589         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6590         (tan_tonearest_test_data): New variable.
6591         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6592         (tan_towardzero_test_data): New variable.
6593         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6594         (tan_downward_test_data): New variable.
6595         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6596         (tan_upward_test_data): New variable.
6597         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6598         (tanh_test_data): New variable.
6599         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6600         (tgamma_test_data): New variable.
6601         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6602         (trunc_test_data): New variable.
6603         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6604         (y0_test_data): New variable.
6605         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6606         (y1_test_data): New variable.
6607         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6608         (significand_test_data): New variable.
6609         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6611 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6613         [BZ #12387]
6614         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6616 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6618         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6620 2013-05-10  Andreas Jaeger  <aj@suse.de>
6622         [BZ #15448]
6623         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6624         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6626 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6628         * math/gen-libm-test.pl (adjust_arg): New function.
6629         (special_functions): Handle generating output in both functions
6630         and arrays.
6631         (parse_args): Likewise.
6632         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6633         $in_func argument to parse_args.
6634         * math/libm-test.inc (struct test_f_f_data): New type.
6635         (IF_ROUND_INIT_): New macro.
6636         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6637         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6638         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6639         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6640         (ROUND_RESTORE_): Likewise.
6641         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6642         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6643         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6644         (ROUND_RESTORE_FE_UPWARD): Likewise.
6645         (RUN_TEST_LOOP_f_f): New macro.
6646         (acos_test_data): New variable.
6647         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6648         (acos_tonearest_test_data): New variable.
6649         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6651 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6653         * benchtests/bench-skeleton.c (startup): Fix coding style.
6655 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6657         [BZ #6809]
6658         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6659         negative infinity argument.
6660         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6661         negative infinity argument.
6662         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6663         negative infinity argument.
6664         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6665         domain errors.
6667 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6669         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6670         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6671         * iconv/iconv_prog.c (main): Likewise.
6672         * locale/programs/charmap-dir.c (charmap_readdir)
6673         (fopen_uncompressed): Likewise.
6674         * locale/programs/locfile.c (siblings_uncached)
6675         (write_locale_data): Use lstat64 instead of lstat.
6676         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6677         stat.
6679 2013-05-10  Andreas Jaeger  <aj@suse.de>
6681         [BZ #15395]
6682         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6683         localization.
6684         Include <locale.h>.
6686 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6688         * elf/dl-close.c (_dl_close_worker): Add comments.
6690 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6692         [BZ #15359]
6693         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6694         high part of pi/2.
6695         (__ieee754_rem_pio2l): Update comments.
6697         [BZ #15429]
6698         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6699         high part of pi/2.
6700         (__ieee754_rem_pio2l): Update comments.
6702         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6703         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6705         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6706         M_PI_4l.
6708         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6709         (M_PI_34_LOG10El): Likewise.
6710         (M_PI2_LOG10El): Likewise.
6711         (M_PI4_LOG10El): Likewise.
6712         (M_PI_LOG10El): Likewise.
6714 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6718 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6720         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6721         (MINUS_ZERO_INIT): Likewise.
6722         (PLUS_INFTY_INIT): Likewise.
6723         (MINUS_INFTY_INIT): Likewise.
6724         (QNAN_VALUE_INIT): Likewise.
6725         (MAX_VALUE_INIT): Likewise.
6726         (MIN_VALUE_INIT): Likewise.
6727         (MIN_SUBNORM_VALUE_INIT): Likewise.
6728         (plus_zero): Initialize with PLUS_ZERO_INIT.
6729         (minus_zero): Initialize with MINUS_ZERO_INIT.
6730         (plus_infty): Initialize with PLUS_INFTY_INIT.
6731         (minus_infty): Initialize with MINUS_INFTY_INIT.
6732         (qnan_value): Initialize with QNAN_VALUE_INIT.
6733         (max_value): Initialize with MAX_VALUE_INIT.
6734         (min_value): Initialize with MIN_VALUE_INIT.
6735         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6737         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6738         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6739         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6740         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6742         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6743         (RUN_TEST_2_f): Likewise.
6744         (RUN_TEST_ff_f): Likewise.
6745         (RUN_TEST_fi_f): Likewise.
6746         (RUN_TEST_fl_f): Likewise.
6747         (RUN_TEST_fff_f): Likewise.
6748         (RUN_TEST_c_f): Likewise.
6749         (RUN_TEST_f_f1): Likewise.
6750         (RUN_TEST_fF_f1): Likewise.
6751         (RUN_TEST_fI_f1): Likewise.
6752         (RUN_TEST_ffI_f1): Likewise.
6753         (RUN_TEST_c_c): Likewise.
6754         (RUN_TEST_cc_c): Likewise.
6755         (RUN_TEST_f_i): Likewise.
6756         (RUN_TEST_f_i_tg): Likewise.
6757         (RUN_TEST_ff_i_tg): Likewise.
6758         (RUN_TEST_f_b): Likewise.
6759         (RUN_TEST_f_b_tg): Likewise.
6760         (RUN_TEST_f_l): Likewise.
6761         (RUN_TEST_f_L): Likewise.
6762         (RUN_TEST_sincos): Likewise.
6763         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6764         whether to show exceptions.  Do not include ");\n" in return
6765         value.
6766         (special_functions): Output call to RUN_TEST_sincos instead of
6767         check_float calls.  Update calls to new_test.
6768         (parse_args): Output call to single RUN_TEST_* macro instead of
6769         check_* calls and other assignments.  Update calls to new_test.
6771         [BZ #2546]
6772         [BZ #2560]
6773         [BZ #5159]
6774         [BZ #15426]
6775         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6776         input to result for tgamma overflow.
6777         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6778         (gamma_coeff): New variable.
6779         (NCOEFF): New macro.
6780         (gamma_positive): New function.
6781         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6782         underflow here.  Use gamma_positive instead of exp (lgamma) for
6783         other arguments.
6784         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6785         (gamma_coeff): New variable.
6786         (NCOEFF): New macro.
6787         (gammaf_positive): New function.
6788         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6789         underflow here.  Use gamma_positive instead of exp (lgamma) for
6790         other arguments.
6791         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6792         (gamma_coeff): New variable.
6793         (NCOEFF): New macro.
6794         (gammal_positive): New function.
6795         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6796         underflow here.  Use gamma_positive instead of exp (lgamma) for
6797         other arguments.
6798         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6799         (gamma_coeff): New variable.
6800         (NCOEFF): New macro.
6801         (gammal_positive): New function.
6802         (__ieee754_gammal_r): Handle positive infinity, overflow and
6803         underflow here.  Handle NaN the same as positive infinity.  Remove
6804         check x < 0xffffffff for negative integers.  Use gamma_positive
6805         instead of exp (lgamma) for other arguments.
6806         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6807         (gamma_coeff): New variable.
6808         (NCOEFF): New macro.
6809         (gammal_positive): New function.
6810         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6811         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6812         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6813         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6814         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6815         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6816         * sysdeps/generic/math_private.h (__gamma_productf): New
6817         prototype.
6818         (__gamma_product): Likewise.
6819         (__gamma_productl): Likewise.
6820         * math/Makefile (libm-calls): Add gamma_product.
6821         * math/libm-test.inc (tgamma_test): Add more tests.
6822         * sysdeps/i386/fpu/libm-test-ulps: Update.
6823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6825 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6827         * benchtests/bench-skeleton.c (main): Preheat CPU.
6829 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6831         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6833 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6835         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6836         and _dl_skip_args_internal.
6838 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6840         * manual/message.texi (Message Translation): Talk about users.
6841         Message to key mapping impacts design.
6843 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6845         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6847         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6849         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6850         * sysdeps/wordsize-64/glob64.c: ... here.
6852         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6853         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6854         New macros.
6856         * debug/getlogin_r_chk.c: Moved to ...
6857         * login/getlogin_r_chk.c: ... here.
6858         * debug/Makefile (routines): Move getlogin_r_chk to ...
6859         * login/Makefile (routines): ... here.
6860         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6861         * login/Versions (libc: GLIBC_2.4): ... here.
6863         * io/poll.c (__poll): Renamed from poll.
6864         Add libc_hidden_def.
6865         (poll): Define as weak alias.
6867         * debug/ptsname_r_chk.c: Moved to ...
6868         * login/ptsname_r_chk.c: ... here.
6869         * debug/Makefile (routines): Move ptsname_r_chk to ...
6870         * login/Makefile (routines): ... here.
6871         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6872         * login/Versions (libc: GLIBC_2.4): ... here.
6874         * posix/getlogin.c: Moved to ...
6875         * login/getlogin.c: ... here.
6876         * posix/getlogin_r.c: Moved to ...
6877         * login/getlogin_r.c: ... here.
6878         * posix/getlogin_r.c: Moved to ...
6879         * login/getlogin_r.c: ... here.
6880         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6881         * login/Makefile (routines): ... here.
6882         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6883         * login/Versions (libc: GLIBC_2.0): ... here.
6885         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6886         (setrlimit): Define as weak alias.
6888         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6889         Call __ names for open, ftruncate, and close.
6890         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6891         (truncate): Define as weak alias.
6893 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6895         * math/gen-libm-test.pl (parse_args): Initialize x before each
6896         test of frexp, modf and remquo.
6898         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6899         test signgam value.
6901 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6903         [BZ #15418]
6904         [BZ #15419]
6905         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6906         internal tests.
6907         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6909 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6911         * elf/dl-writev.h: New file.
6912         * elf/dl-misc.c: Include it.
6913         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6914         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6916 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6918         * math/libm-test.inc (noXFails): Remove variable.
6919         (noXPasses): Likewise.
6920         (BUILD_COMPLEX_INT): Remove macro.
6921         (print_screen): Remove xfail argument.
6922         (print_screen_max_error): Likewise.
6923         (update_stats): Likewise.
6924         (print_max_error): Likewise.  Update calls to other affected
6925         functions.
6926         (print_complex_max_error): Likewise.
6927         (test_single_exception): Update calls to print_screen.
6928         (test_single_errno): Likewise.
6929         (check_float_internal): Remove xfail argument.  Update calls to
6930         other affected functions.
6931         (check_float): Likewise.
6932         (check_complex): Likewise.
6933         (check_int): Likewise.
6934         (check_long): Likewise.
6935         (check_bool): Likewise.
6936         (check_longlong): Likewise.
6937         (main): Don't print noXFails and noXPasses.
6938         * math/gen-libm-test.pl (top level): Don't mention expected
6939         failure handling in comment.
6940         (new_test): Don't handle expected failures.
6941         (parse_args): Don't mention expected failure handling in comment.
6942         (generate_testfile): Don't handle expected failures.
6943         (parse_ulps): Likewise.
6944         (print_ulps_file): Likewise.
6945         (get_failure): Remove function.
6946         (output_test): Don't handle expected failures.
6947         * make/README.libm-test: Don't mention expected failure handling.
6949         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6950         (minus_zero): Likewise.
6951         (plus_infty): Likewise.
6952         (minus_infty): Likewise.
6953         (qnan_value): Likewise.
6954         (max_value): Likewise.
6955         (min_value): Likewise.
6956         (min_subnorm_value): Likewise.
6957         (initialize): Do not initialize those variables dynamically.
6959 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6961         * io/open.c (__open_2): Moved to ...
6962         * io/open_2.c: ... this new file.
6963         * io/open64.c (__open64_2): Moved to ...
6964         * io/open64_2.c: ... this new file.
6965         * io/openat.c (__openat_2): Moved to ...
6966         * io/openat_2.c: ... this new file.
6967         * io/openat64.c (__openat64_2): Moved to ...
6968         * io/openat64_2.c: ... this new file.
6969         * io/Makefile (routines): Add them.
6970         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6971         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6972         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6973         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6974         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6975         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6976         (__openat64): Add hidden_ver.
6977         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6978         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6980         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6981         Separately conditionalize setting of GLRO(dl_sysinfo) so
6982         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6983         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6985 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6987         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6988         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6989         definition.
6990         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6991         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6992         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6993         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6994         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6996 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6998         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6999         test signgam value.
7001         * math/libm-test.inc (hypot_test): Do not use
7002         IGNORE_ZERO_INF_SIGN.
7004 2013-05-03  Andreas Jaeger  <aj@suse.de>
7006         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7007         Linux 3.9.
7008         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7009         (PF_MAX): Adjust for VSOCK change.
7011 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7015 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7017         [BZ #15264]
7018         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7019         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7020         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7022 2013-05-02  David S. Miller  <davem@davemloft.net>
7024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7026 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7028         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7030 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7032         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7034 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7036         [BZ #14952]
7037         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7038         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7039         Use __attribute__ ((__gnu_inline__)).
7040         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7041         Don't use __attribute__ ((__gnu_inline__)).
7043 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7045         [BZ #15423]
7046         * math/s_catan.c (__catan): Handle small real or imaginary part of
7047         input specially to avoid spurious underflow.
7048         * math/s_catanf.c (__catanf): Likewise.
7049         * math/s_catanh.c (__catanh): Likewise.
7050         * math/s_catanhf.c (__catanhf): Likewise.
7051         * math/s_catanhl.c (__catanhl): Likewise.
7052         * math/s_catanl.c (__catanl): Likewise.
7053         * math/libm-test.inc (catan_test): Add more tests.
7054         (catanh_test): Likewise.
7055         * sysdeps/i386/fpu/libm-test-ulps: Update.
7056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7058 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7062 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7064         [BZ #15416]
7065         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7066         accurately for denominator in atan2.
7067         * math/s_catanf.c (__catanf): Likewise.
7068         * math/s_catanh.c (__catanh): Likewise.
7069         * math/s_catanhf.c (__catanhf): Likewise.
7070         * math/s_catanhl.c (__catanhl): Likewise.
7071         * math/s_catanl.c (__catanl): Likewise.
7072         * math/libm-test.inc (catan_test): Add more tests.
7073         (catanh_test): Likewise.
7074         * sysdeps/i386/fpu/libm-test-ulps: Update.
7075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7077 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7079         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7081         * benchtests/Makefile (bench): Remove slow benchmarks.
7082         * benchtests/atan-inputs: Add slow benchmark inputs.
7083         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7084         (BENCH_FUNC): Accept variant offset.
7085         (VARIANT): Define.
7086         * benchtests/bench-skeleton.c (main): Run benchmark for each
7087         variant.
7088         * benchtests/cos-inputs: Add slow benchmark inputs.
7089         * benchtests/exp-inputs: Likewise.
7090         * benchtests/pow-inputs: Likewise.
7091         * benchtests/sin-inputs: Likewise.
7092         * benchtests/slowatan-inputs: Remove.
7093         * benchtests/slowatan.c: Remove.
7094         * benchtests/slowcos-inputs: Remove.
7095         * benchtests/slowcos.c: Remove.
7096         * benchtests/slowexp-inputs: Remove.
7097         * benchtests/slowexp.c: Remove.
7098         * benchtests/slowpow-inputs: Remove.
7099         * benchtests/slowpow.c: Remove.
7100         * benchtests/slowsin-inputs: Remove.
7101         * benchtests/slowsin.c: Remove.
7102         * benchtests/slowtan-inputs: Remove.
7103         * benchtests/slowtan.c: Remove.
7104         * benchtests/tan-inputs: Add slow benchmark inputs.
7105         * scripts/bench.pl: Parse comments and directives.
7107         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7108         in CPPFLAGS.
7109         ($(objpfx)bench-%.c): Remove *-ITER.
7110         * benchtests/bench-modf.c: Remove definition of ITER.
7111         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7112         (main): Loop for DURATION seconds instead of fixed number of
7113         iterations.
7114         * scripts/bench.pl: Don't expect iterations in parameters.
7116 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7118         * io/fchdir.c (__fchdir): Renamed from fchdir.
7119         (fchdir): Define as weak alias.
7121 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7123         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7124         (ERRNO_EDOM): Likewise.
7125         (ERRNO_ERANGE): Likewise.
7126         (noErrnoTests): New variable.
7127         (init_max_error): Set errno to 0.
7128         (test_single_errno): New function.
7129         (test_errno): Likewise.
7130         (check_float_internal): Call test_errno.  Set errno to 0.
7131         (check_complex): Refer to errno tests in comment.
7132         (check_int): Call test_errno.  Set errno to 0.
7133         (check_long): Likewise.
7134         (check_bool): Likewise.
7135         (check_longlong): Likewise.
7136         (cos_test): Use ERRNO_* flags for errno tests instead of
7137         check_int.
7138         (expm1_test): Likewise.
7139         (fmod_test): Likewise.
7140         (ilogb_test): Likewise.
7141         (lgamma_test): Likewise.
7142         (pow_test): Likewise.
7143         (remainder_test): Likewise.
7144         (sin_test): Likewise.
7145         (tan_test): Likewise.
7146         (yn_test): Likewise.
7147         (initialize): Set errno to 0.
7148         (main): Print number of errno tests.
7149         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7151 2013-04-29  Andreas Jaeger  <aj@suse.de>
7153         [BZ #15084]
7154         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7155         and RES_USEVC.
7157         [BZ #15085]
7158         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7159         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7160         unimplemented.
7162         [BZ #15380]
7163         * stdlib/random.c (__initstate): Return NULL if
7164         __initstate fails.
7166         [BZ #15086]
7167         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7168         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7169         RES_SNGLKUPREOP.
7171 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7175 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7177         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7178         of individual tests.
7179         (casin_test): Likewise.
7180         (casinh_test): Likewise.
7182 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7184         [BZ #15409]
7185         * math/s_catan.c (__catan): Handle arguments with large real or
7186         imaginary part separately without squaring.
7187         * math/s_catanf.c (__catanf): Likewise.
7188         * math/s_catanh.c (__catanh): Likewise.
7189         * math/s_catanhf.c (__catanhf): Likewise.
7190         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7191         and redefine.
7192         (__catanhl): Handle arguments with large real or imaginary part
7193         separately without squaring.
7194         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7195         and redefine.
7196         (__catanl): Handle arguments with large real or imaginary part
7197         separately without squaring.
7198         * math/libm-test.inc (catan_test): Add more tests.
7199         (catanh_test): Likewise.
7200         * sysdeps/i386/fpu/libm-test-ulps: Update.
7201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7203 2013-04-27  Andreas Jaeger  <aj@suse.de>
7205         [BZ #15007]
7206         * stdlib/stdlib.h: Update guards for qecvt.
7207         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7208         <stdlib.h>.
7210 2013-04-27  Allan McRae  <allan@archlinux.org>
7212         * sysdeps/i386/fpu/libm-test-ulps: Update.
7214 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7216         [BZ #15406]
7217         * math/s_catan.c: Include <float.h>.
7218         (__catan): Ensure underflow exception occurs for underflowed
7219         result.
7220         * math/s_catanf.c: Include <float.h>.
7221         (__catanf): Ensure underflow exception occurs for underflowed
7222         result.
7223         * math/s_catanh.c: Include <float.h>.
7224         (__catanh): Ensure underflow exception occurs for underflowed
7225         result.
7226         * math/s_catanhf.c: Include <float.h>.
7227         (__catanhf): Ensure underflow exception occurs for underflowed
7228         result.
7229         * math/s_catanhl.c: Include <float.h>.
7230         (__catanhl): Ensure underflow exception occurs for underflowed
7231         result.
7232         * math/s_catanl.c: Include <float.h>.
7233         (__catanl): Ensure underflow exception occurs for underflowed
7234         result.
7235         * math/libm-test.inc (catan_test): Add more tests.
7236         (catanh_test): Likewise.
7238         [BZ #15405]
7239         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7240         underflowed result.
7241         * math/s_ccoshf.c (__ccoshf): Likewise.
7242         * math/s_ccoshl.c (__ccoshl): Likewise.
7243         * math/s_csin.c (__csin): Likewise.
7244         * math/s_csinf.c (__csinf): Likewise.
7245         * math/s_csinh.c (__csinh): Likewise.
7246         * math/s_csinhf.c (__csinhf): Likewise.
7247         * math/s_csinhl.c (__csinhl): Likewise.
7248         * math/s_csinl.c (__csinl): Likewise.
7249         * math/libm-test.inc (ccos_test): Add more tests.
7250         (ccosh_test): Likewise.
7251         (csin_test): Likewise.
7252         (csinh_test): Likewise.
7254 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7256         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7257         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7258         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7259         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7260         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7261         powerpc/power5+/fpu folders.
7262         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7265 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7269 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
7271         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7272         additions to variable.
7273         [$(config-machine) = x86_64] (modules-names): Likewise.
7274         ($(objpfx)tst-audit3): Remove dependency.
7275         ($(objpfx)tst-audit3.out): Likewise.
7276         ($(objpfx)tst-audit4): Likewise.
7277         ($(objpfx)tst-audit4.out): Likewise.
7278         ($(objpfx)tst-audit5): Likewise.
7279         ($(objpfx)tst-audit5.out): Likewise.
7280         ($(objpfx)tst-audit6): Likewise.
7281         ($(objpfx)tst-audit6.out): Likewise.
7282         ($(objpfx)tst-audit7): Likewise.
7283         ($(objpfx)tst-audit7.out): Likewise.
7284         (tst-audit3-ENV): Remove variable.
7285         (tst-audit4-ENV): Likewise.
7286         (tst-audit5-ENV): Likewise.
7287         (tst-audit6-ENV): Likewise.
7288         (tst-audit7-ENV): Likewise.
7289         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7290         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7291         addition to variable.
7292         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7293         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7294         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7295         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7296         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7297         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7298         tst-audit3, tst-audit4 and tst-audit5.
7299         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7300         tst-audit6 and tst-audit7.
7301         [$(subdir) = elf] (modules-names): Add audit modules for those
7302         tests.
7303         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7304         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7305         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7306         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7307         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7308         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7309         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7310         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7311         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7312         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7313         [$(subdir) = elf] (tst-audit3-ENV): New variable.
7314         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7315         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7316         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7317         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7318         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7319         Likewise.
7320         [$(subdir) = elf && $(config-cflags-avx) = yes]
7321         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7322         [$(subdir) = elf && $(config-cflags-avx) = yes]
7323         (CFLAGS-tst-auditmod4a.c): Likewise.
7324         [$(subdir) = elf && $(config-cflags-avx) = yes]
7325         (CFLAGS-tst-auditmod4b.c): Likewise.
7326         [$(subdir) = elf && $(config-cflags-avx) = yes]
7327         (CFLAGS-tst-auditmod6b.c): Likewise.
7328         [$(subdir) = elf && $(config-cflags-avx) = yes]
7329         (CFLAGS-tst-auditmod6c.c): Likewise.
7330         [$(subdir) = elf && $(config-cflags-avx) = yes]
7331         (CFLAGS-tst-auditmod7b.c): Likewise.
7332         * elf/tst-audit3.c: Move to ...
7333         * sysdeps/x86_64/tst-audit3.c: ... here.
7334         * elf/tst-audit4.c: Move to ...
7335         * sysdeps/x86_64/tst-audit4.c: ... here.
7336         * elf/tst-audit5.c: Move to ...
7337         * sysdeps/x86_64/tst-audit5.c: ... here.
7338         * elf/tst-audit6.c: Move to ...
7339         * sysdeps/x86_64/tst-audit6.c: ... here.
7340         * elf/tst-audit7.c: Move to ...
7341         * sysdeps/x86_64/tst-audit7.c: ... here.
7342         * elf/tst-auditmod3a.c: Move to ...
7343         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7344         * elf/tst-auditmod3b.c: Move to ...
7345         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7346         * elf/tst-auditmod4a.c: Move to ...
7347         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7348         * elf/tst-auditmod4b.c: Move to ...
7349         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7350         * elf/tst-auditmod5a.c: Move to ...
7351         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7352         * elf/tst-auditmod5b.c: Move to ...
7353         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7354         * elf/tst-auditmod6a.c: Move to ...
7355         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7356         * elf/tst-auditmod6b.c: Move to ...
7357         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7358         * elf/tst-auditmod6c.c: Move to ...
7359         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7360         * elf/tst-auditmod7a.c: Move to ...
7361         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7362         * elf/tst-auditmod7b.c: Move to ...
7363         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7365 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7367         [BZ #15366]
7368         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7369         define unconditionally.
7370         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7371         define unconditionally.
7372         (INT8_C, INT16_C, etc.): Likewise.
7374 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7376         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7377         __ehdr_start with hidden visibility.
7379         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7381 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7383         * math/libm-test.inc (cos_test): Use accurate hex constants.
7384         (sincost_test): Likewise.
7386 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7388         * math/libm-test.inc (catan_test): Add more tests.
7389         (catanh_test): Likewise.
7391         * math/s_catanf.c (__catanf): Use suffixed floating-point
7392         constants.
7393         * math/s_catanhf.c (__catanhf): Likewise.
7394         * math/s_catanhl.c (__catanhl): Likewise.
7395         * math/s_catanl.c (__catanl): Likewise.
7397         [BZ #15394]
7398         * math/s_catan.c (__catan): Calculate imaginary part of result
7399         with log1p not log unless computing log of number close to 0.
7400         * math/s_catanf.c (__catanf): Likewise.
7401         * math/s_catanl.c (__catanl): Likewise.
7402         * math/s_catanh.c (__catanh): Calculate real part of result with
7403         log1p not log unless computing log of number close to 0.
7404         * math/s_catanhf.c (__catanhf): Likewise.
7405         * math/s_catanhl.c (__catanhl): Likewise.
7406         * math/libm-test.inc (catan_test): Add more tests.
7407         (catanh_test): Likewise.
7408         * sysdeps/i386/fpu/libm-test-ulps: Update.
7409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7411 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7413         * benchtests/Makefile: Mention files in which fast and slow
7414         paths of math functions are implemented.
7416 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7418         * sysdeps/posix/timespec_get.c: New file.
7420 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7422         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7423         POWER.
7424         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7425         for POWER.
7426         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7427         powerpc/power5/fpu folders.
7428         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7429         * benchtests/Makefile: Add modf testcase.
7430         * benchtests/bench-modf.c: New file: Benchmark test for mo
7432 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7434         [BZ #14888]
7435         * time/Makefile (tests): Add tst-strptime-whitespace.
7436         * time/strptime_l.c (get_number): Use ISSPACE.
7437         (__strptime_internal): Likewise.
7438         * time/tst-strptime-whitespace.c: New test case.
7440 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7442         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7443         member.
7444         (_nss_files_init): Set it here.
7446 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7448         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7449         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7450         unsigned.
7452 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7454         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7456 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7458         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7459         size just once.
7461 2013-04-21  David S. Miller  <davem@davemloft.net>
7463         * po/ru.po: Update Russion translation from translation project.
7465 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7467         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7468         and setfsgid.
7470 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7472         * configure.in: Remove i386 configure warning. Remove i386 case.
7473         * configure: Regenerate.
7474         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7475         Add example to error message.
7476         * sysdeps/i386/configure: Regenerate.
7478 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7480         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7481         slowtan.
7482         * benchtests/cos-inputs: New file.
7483         * benchtests/slowcos-inputs: New file.
7484         * benchtests/slowcos.c: New file.
7485         * benchtests/slowtan-inputs: New file.
7486         * benchtests/slowtan.c: New file.
7487         * benchtests/tan-inputs: New file.
7489 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7491         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7492         considered kosher.
7494 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7496         * benchtests/Makefile: Include cppflags-iterator.mk to add
7497         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7499         * Makefile.in (bench-clean): New target.
7500         * benchtests/Makefile (bench-clean): Likewise.
7502 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7504         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7506 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7508         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7510 2013-04-15  Andreas Schwab  <schwab@suse.de>
7512         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7513         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7514         * nscd/pwdcache.c (cache_addpw): Likewise.
7515         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7516         more than recsize.
7518 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7520         * benchtests/Makefile (bench): Write all output to
7521         bench-out.tmp together.
7523 2013-04-15  Andreas Schwab  <schwab@suse.de>
7525         * nscd/nscd.c (main): Don't fork again after closing files.
7527 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7529         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7531         * benchtests/Rules (bench-deps): Collect dependencies into a
7532         single variable.  Add Makefile to dependencies.
7533         ($(objpfx)bench-%.c): Depend on bench-deps.
7535 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7536             Xavier Roche  <roche+kml2@exalead.com>
7538         [BZ #15361]
7539         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7540         just that it's a file descriptor.
7541         * manual/llio.texi (Synchronizing AIO Operations): Update description
7542         for EBADF error from aio_fsync.
7544 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7546         * Rules (bench): Move target definition...
7547         * benchtests/Makefile: ... here.
7549 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7551         * math/libm-test.inc (cos_test): Fix PI/2 test.
7552         (sincos_test): Likewise.
7553         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7554         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7556 2013-04-11  Andreas Schwab  <schwab@suse.de>
7558         [BZ #13988]
7559         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7560         accept exponent character only when digits were seen.
7561         * stdio-common/Makefile (tests): Add bug26.
7562         * stdio-common/bug26.c: New file.
7564         [BZ #14293]
7565         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7566         non-freeable.
7568 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7570         * Makeconfig (rtld-prefix): Define built linker prefix.
7571         * Rules (run-bench): Use it.
7572         * math/Makefile (run-regen-ulps): Likewise.
7574         * Rules (bench): Remove eval.
7576 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7577             Roland McGrath  <roland@hack.frob.com>
7578             Ondrej Bilka  <neleai@seznam.cz>
7580         [BZ #15346]
7581         * time/getdate.c: Include ctype.h and alloca.h.
7582         (__getdate_r): Trim leading and trailing spaces of input.
7583         * time/tst-getdate.c (tests): Add tests with leading and
7584         trailing spaces.
7586 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7588         [BZ #14280]
7589         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7590         when computing value.
7592 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7594         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7595         Use testrun.sh to run libm tests.
7597         [BZ #15309]
7598         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7600 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7602         [BZ #15264]
7603         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7605 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7607         * Makefile.in (regen-ulps): New target.
7608         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7609         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7610         [ifneq (no,$(PERL)] (regen-ulps): New target.
7611         [ifeq (no,$(PERL)] (regen-ulps): New target.
7612         * math/libm-test.inc (ulps_file_name): Define.
7613         (output_dir): New variable.
7614         (options): Add "output-dir" option.
7615         (parse_opt): Handle 'o' case.
7616         (main): If output_dir is non-NULL use it as a prefix
7617         otherwise use "".
7618         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7620 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7622         [BZ #10060, #10062]
7623         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7624         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7625         fail configure if __sync_val_compare_and_swap is not inlined.
7626         * sysdeps/i386/configure: Regenerate.
7627         * configure.in: Build for i686 when configured for i386.
7628         * configure: Regenerate.
7629         * README: Remove i386 reference.
7631 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7633         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7634         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7636 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7638         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7639         (lmsnanval): New variables.
7640         (F): Add conversion tests.
7641         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7642         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7644         * stdio-common/tstdiomisc.c (F): Properly collect individual
7645         tests' results.
7647         [BZ #14686, #15336]
7648         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7649         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7650         Instead, use input NaN values or generate a qNaN by arithmetic
7651         operation.  Also fix bugs to comply with the standard.
7652         * math/libm-test.inc (remainder_test): Add more tests.
7654         [BZ #15335, #15342]
7655         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7657         input NaN values or generate a qNaN by arithmetic operation.
7659         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7660         unreachable code.
7662         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7663         definitions.
7665 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7667         [BZ #14478]
7668         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7669         underflowed result.
7670         * math/s_cexpf.c (__cexpf): Likewise.
7671         * math/s_cexpl.c (__cexpl): Likewise.
7672         * math/libm-test.inc (cexp_test): Add more tests.
7674 2013-04-03  Andreas Schwab  <schwab@suse.de>
7676         [BZ #15330]
7677         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7678         order arrays from heap if bigger than alloca cutoff.
7680 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7682         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7683         (SNAN_TESTS_double): Refer to GCC PR56831.
7684         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7685         GCC PR56828.
7687 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7689         * Rules (bench): Move bench.out after the run is complete.
7691         * Rules (bench): Echo currently running benchmark.
7693         * benchtests/Makefile (bench): Add atan and slowatan.
7694         * benchtests/atan-inputs: New file.
7695         * benchtests/slowatan-inputs: New file.
7696         * benchtests/slowatan.c: New file.
7698         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7699         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7700         its value.
7702         [BZ #15305]
7703         * sysdeps/unix/sysv/linux/kernel-features.h
7704         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7705         __ASSUME_XFS_RESTRICTED_CHOWN.
7706         * sysdeps/unix/sysv/linux/pathconf.c
7707         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7708         Save and restore errno.
7710 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7712         [BZ #15327]
7713         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7714         arguments using __kernel_casinh.
7715         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7716         arguments using __kernel_casinhf.
7717         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7718         arguments using __kernel_casinhl.
7719         * math/libm-test.inc (cacosh_test): Add more tests.
7720         * sysdeps/i386/fpu/libm-test-ulps: Update.
7721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7723 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7725         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7728         * bench/Makefile (bench): Add sin and slowsin.
7729         * benchtests/sin-inputs: New file.
7730         * benchtests/slowsin-inputs: New file.
7731         * benchtests/slowsin.c: New file.
7733         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7734         (bench): Add slowexp and slowpow.
7735         (exp-ITER): Increase iterations.
7736         (pow-ITER): Likewise.
7737         * benchtests/exp-inputs: Change input.
7738         * benchtests/pow-inputs: Likewise.
7739         * benchtests/slowexp-inputs: New file.
7740         * benchtests/slowexp.c: New file.
7741         * benchtests/slowpow-inputs: New file.
7742         * benchtests/slowpow.c: New file.
7744 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7746         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7747         instructions.
7748         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7749         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7750         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7751         * benchtests/Makefile: Add rint benchtest.
7752         * benchtests/rint-inputs: Input for rint benchtest.
7754 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7756         * Versions.def (libm): Add GLIBC_2.18.
7757         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7758         hidden libm prototypes.
7759         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7760         * math/Makefile (libm-calls): Add s_issignaling.
7761         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7762         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7763         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7764         declaration.
7765         * math/math.h [__USE_GNU] (issignaling): New macro.
7766         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7767         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7768         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7769         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7770         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7771         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7772         * manual/arith.texi (issignaling): New section.
7773         * manual/libm-err-tab.pl (@all_functions): Update comment.
7774         * math/gen-libm-test.pl (parse_args): Apply special handling for
7775         issignaling.
7776         * math/libm-test.inc (print_float, issignaling_test): New
7777         functions.
7778         (check_float_internal): Add issignaling checks.
7779         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7780         default definition.
7781         * sysdeps/powerpc/math-tests.h: New file.
7782         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7783         tests.
7784         * math/test-snan.c (TEST_FUNC): Likewise.
7786 2013-03-30  David S. Miller  <davem@davemloft.net>
7788         * po/de.po: Update from translation team.
7790 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7792         [BZ #10357]
7793         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7794         imaginary part less than 1.0 and real part less than 0.5
7795         specially.
7796         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7797         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7798         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7799         (cacos_test): Add more tests.
7800         (casin_test): Likewise.
7801         (casinh_test): Likewise.
7802         * sysdeps/i386/fpu/libm-test-ulps: Update.
7803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7805 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7807         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7808         ONE with its value.
7810         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7811         (__pow_mp): Replace ONE and MONE with their values.
7812         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7813         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7814         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7815         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7816         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7817         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7819         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7821         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7822         (__pow_mp): Replace ZERO and MZERO with their values.
7823         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7824         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7825         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7827         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7828         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7829         (__sqr): Likewise.
7831         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7833         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7835 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7837         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7838         Declare with __attribute__ ((weak)).
7839         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7840         Call __call_tls_dtors only if it's not NULL.
7842 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7844         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7845         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7846         magic __ehdr_start linker symbol if it's defined.
7847         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7848         them up here if it was already done.
7850         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7851         (_dl_aux_init): Use const in cast when setting it.
7852         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7853         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7854         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7856         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7857         Declare them here.
7858         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7859         * csu/libc-tls.c: Nor here.
7860         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7862         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7863         (__libc_message): Never call vsyslog.
7865 2013-03-28  Alan Modra  <amodra@gmail.com>
7867         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7868         Define as empty.
7869         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7870         Likewise.
7872 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7874         [BZ #15214]
7875         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7876         underflow.
7877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7879 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7881         [BZ #15304]
7882         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7883         Don't add gid passed as argument.
7885         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7887 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7889         [BZ #15307]
7890         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7891         imaginary part between 1.0 and 1.5 and real part less than 0.5
7892         specially.
7893         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7894         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7895         * math/libm-test.inc (cacos_test): Add more tests.
7896         (casin_test): Likewise.
7897         (casinh_test): Likewise.
7898         * sysdeps/i386/fpu/libm-test-ulps: Update.
7899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7901 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7903         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7904         constants.
7905         (norm): Likewise.
7906         (denorm): Likewise.
7907         (__dbl_mp): Likewise.
7908         (add_magnitudes): Likewise.
7909         (sub_magnitudes): Likewise.
7910         (__add): Likewise.
7911         (__sub): Likewise.
7912         (__mul): Likewise.
7913         (__sqr): Likewise.
7914         (__inv): Likewise.
7915         (__dvd): Likewise.
7917         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7918         commented code.
7919         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7920         (__dubcos): Likewise.
7921         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7922         (__ieee754_acos): Likewise.
7923         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7924         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7925         (__exp1): Likewise.
7926         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7928         (log1): Likewise.
7929         (my_log2): Likewise.
7930         (checkint): Likewise.
7931         * sysdeps/ieee754/dbl-64/e_remainder.c
7932         (__ieee754_remainder): Likewise.
7933         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7934         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7935         (bsloww): Likewise.
7936         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7938         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7939         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7940         MANTISSA_STORE_T to store computations on mantissa.  Use
7941         macros for rounding and division.
7942         (denorm): Likewise.
7943         (__dbl_mp): Likewise.
7944         (add_magnitudes): Likewise.
7945         (sub_magnitudes): Likewise.
7946         (__mul): Likewise.
7947         (__sqr): Likewise.
7948         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7949         powers of two in terms of TWOPOW macro.
7950         (mp_no): Make type of mantissa as MANTISSA_T.
7951         [!RADIXI]: Define RADIXI.
7952         [!TWO52]: Define TWO52.
7953         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7955 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7957         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7958         llroundl symbol when building for PPC32.
7960 2013-03-24  Mark H Weaver  <mhw@netris.org>
7962         * manual/arith.texi (Normalization Functions): Fix prototypes for
7963         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7965 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7967         [BZ #13889]
7968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7969         high value to check if expl overflow.
7970         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7971         to check for underflow and overflow.
7972         * math/libm-test.inc: Add exp test.
7974 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7976         [BZ #11120]
7977         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7978         with NOT_IN_libc.
7980 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7982         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7983         symbol.
7985 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7987         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7988         wrap blocks consisting of several statements.
7990         * sysdeps/generic/math-tests.h: New file.
7991         * sysdeps/i386/fpu/math-tests.h: Likewise.
7992         * math/test-snan.c: Include it.
7993         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7995 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7997         [BZ #15285]
7998         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7999         (__ieee754_j0l): Do not improve calculations using cos of twice
8000         input for inputs above LDBL_MAX / 2.0L.
8001         (__ieee754_y0l): Likewise.
8002         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8003         (__ieee754_j1l): Do not improve calculations using cos of twice
8004         input for inputs above LDBL_MAX / 2.0L.
8005         (__ieee754_y1l): Likewise.
8006         * math/libm-test.inc (j0_test): Add another test.
8007         (j1_test): Likewise.
8008         (y0_test): Likewise.
8009         (y1_test): Likewise.
8010         * sysdeps/i386/fpu/libm-test-ulps: Update.
8012 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8014         * Rules ($(objpfx)bench-%.c): Include code from a C source
8015         file.
8017 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8019         [BZ #15287]
8020         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8021         imaginary part 1.0 and real part less than 0.5 specially.
8022         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8023         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8024         * math/libm-test.inc (cacos_test): Add more tests.
8025         (casin_test): Likewise.
8026         (casinh_test): Likewise.
8027         * sysdeps/i386/fpu/libm-test-ulps: Update.
8028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8030 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8032         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8033         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8035 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8037         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8038         * config.make.in (config-cflags-sse4): Remove variable.
8039         (config-cflags-avx): Likewise.
8040         (config-cflags-sse2avx): Likewise.
8041         (config-cflags-novzeroupper): Likewise.
8042         (config-asflags-i686): Likewise.
8043         (have-mfma4): Likewise.
8044         (have-as-vis3): Likewise.
8045         (MIG): Likewise.
8046         * configure.in (MIG): Do not AC_SUBST.
8047         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8048         (libc_cv_cc_sse4): Do not AC_SUBST.
8049         (libc_cv_cc_avx): Likewise.
8050         (libc_cv_cc_sse2avx): Likewise.
8051         (libc_cv_cc_novzeroupper): Likewise.
8052         (libc_cv_cc_fma4): Likewise.
8053         (libc_cv_as_i686): Likewise.
8054         (libc_cv_sparc_as_vis3): Likewise.
8055         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8056         LIBC_CONFIG_VAR.
8057         (config-asflags-i686): Likewise.
8058         (config-cflags-avx): Likewise.
8059         (config-cflags-sse2avx): Likewise.
8060         (have-mfma4): Likewise.
8061         (config-cflags-novzeroupper): Likewise.
8062         * sysdeps/mach/configure.in (MIG): Likewise.
8063         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8064         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8065         LIBC_CONFIG_VAR.
8066         (config-cflags-avx): Likewise.
8067         (config-cflags-sse2avx): Likewise.
8068         (have-mfma4): Likewise.
8069         (config-cflags-novzeroupper): Likewise.
8070         * configure: Regenerated.
8071         * sysdeps/i386/configure: Likewise.
8072         * sysdeps/mach/configure: Likewise.
8073         * sysdeps/sparc/configure: Likewise.
8074         * sysdeps/x86_64/configure: Likewise.
8076 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8078         [BZ #14812]
8079         * locale/programs/localedef.c (options): Put N_ translation marker
8080         on argument names, not just descriptions.
8082 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8084         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8086 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8088         [BZ #14176]
8089         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8091 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8093         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8094         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8095         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8096         [!BEFORE_ABORT] (before_abort): New function.
8097         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8098         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8099         (writev_for_fatal): New function.
8100         (WRITEV_FOR_FATAL): New macro; call that.
8101         (backtrace_and_maps): New function.
8102         (BEFORE_ABORT): New macro; call that.
8103         (struct str_list): Type removed.
8104         (__libc_message, __libc_fatal): Functions removed.
8105         Include <sysdeps/posix/libc_fatal.c> instead.
8107 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8109         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8110         constants.
8111         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8112         double constants.
8114 2013-03-19  Andreas Schwab  <schwab@suse.de>
8116         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8117         * sysdeps/gnu/configure: Regenerate.
8119         * configure.in: Substitute libc_cv_rtlddir.
8120         * configure: Regenerate.
8121         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8122         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8123         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8124         * elf/Makefile (install-others, CFLAGS-interp.c)
8125         (ldso_install, common-ldd-rewrite): Likewise.
8126         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8127         $(inst_slibdir)/$(rtld-installed-name).
8128         * scripts/rellns-sh: Add -p option.
8129         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8130         for source.
8132 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8134         * manual/nptl.texi: Renamed to ...
8135         * manual/threads.texi: ... this.
8136         * manual/Makefile (chapters): Update.
8138 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8140         [BZ #14812]
8141         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8142         on argument names, not just descriptions.
8143         * malloc/memusagestat.c (options): Likewise.
8144         * nss/getent.c (options): Likewise.
8146 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8148         [BZ #14812]
8149         * iconv/iconv_prog.c (options): Put N_ translation marker
8150         on argument names, not just descriptions.
8151         * iconv/iconvconfig.c (options): Likewise.
8153 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8155         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8156         implementation which is faster on all x86_64 architectures.
8157         Tested on AMD, Intel Nehalem, SNB, IVB.
8158         * sysdeps/x86_64/strnlen.S: Likewise.
8160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8161         Remove all multiarch strlen and strnlen versions.
8162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8163         Remove strlen and strnlen related parts.
8165         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8166         Inline strlen part.
8167         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8169         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8170         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8171         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8172         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8173         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8174         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8176 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8178         * manual/memory.texi (Malloc Tunable Parameters):
8179         Sort parameters alphabetically. Add comments for missing entries.
8181 2013-03-17  David S. Miller  <davem@davemloft.net>
8183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8185 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8187         [BZ #15283]
8188         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8189         for arguments at most half maximum finite value.
8190         * math/libm-test.inc (j0_test): Add more tests.
8191         (j1_test): Likewise.
8192         (y0_test): Likewise.
8193         (y1_test): Likewise.
8194         * sysdeps/i386/fpu/libm-test-ulps: Update.
8195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8197         [BZ #14155]
8198         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8199         1 / x and functions P and Q for arguments above 0x1p256L.
8200         (__ieee754_y0l): Likewise.
8201         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8202         (__ieee754_y1l): Likewise.
8203         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8204         (j1_test): Likewise.
8205         (y0_test): Likewise.
8206         (y1_test): Likewise.
8208 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8210         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8211         variable.
8213 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8215         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8216         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8217         zero since it's initialized to EXEC_PAGESIZE.
8219         * sysdeps/unix/sysv/linux/ldsodefs.h
8220         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8221         * sysdeps/generic/ldsodefs.h: ... here.
8223 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8225         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8227         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8228         math/test-snan.c.
8229         * math/test-snan.c: Renamed from
8230         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8231         * math/Makefile (tests): Add test-snan.
8232         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8233         test-powerpc-snan.
8235         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8236         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8237         functions.
8238         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
8239         __builtin_nan family of functions.
8240         * math/libm-test.inc (initialize): Initialize qnan_value with
8241         __builtin_nan family of functions.
8242         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8243         Remove variables.
8244         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8245         Remove functions.
8246         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
8247         storage class.  Initialize qNaN_var and sNaN_var with
8248         __builtin_nan and __builtin_nans families of functions,
8249         respectively.
8251         * math/libm-test.inc (acosh_test): Also test with qNaN input.
8252         (sqrt_test): Remove duplicate test with qNaN input.
8253         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8254         (round_test, signbit_test, significand_test): Note missing +/-Inf
8255         as well as qNaN tests.
8257         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8258         qNaN_var.  Fix a few strings, too.
8259         * math/libm-test.inc (nan_value): Rename to qnan_value.
8260         * math/gen-libm-test.pl (%beautify): Adjust to that.
8261         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8262         * math/test-misc.c (main): Likewise.
8263         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8264         to __qnan_bytes, and __qnan_union, respectively.
8265         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8266         Likewise.
8267         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8268         and lqnanval, respectively.
8269         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8270         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8271         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8272         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8274         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8275         * math/test-misc.c (main) [__x86_64__]: Enable test for long
8276         doubles.
8278         * math/test-misc.c (main): Fix copy'n'pastos.
8279         * misc/tst-efgcvt.c (special): Likewise.
8281         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8282         Remove declarations.
8284 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8286         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8287         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8288         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8289         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8291 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8293         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8294         macro to return vdso values correctly in IFUNC implementations.
8295         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8296         Optimization by using IFUNC.
8298 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8299             Richard Henderson  <rth@redhat.com>
8300             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8302         * Makefile.in (bench): New target.
8303         * NEWS: Mention the benchmark framework.
8304         * Rules (bench): Likewise.
8305         (binaries-bench): Generate binaries for functions to
8306         benchmark.
8307         * benchtests/Makefile: New makefile for benchmark tests.
8308         * benchtests/bench-skeleton.c: New skeleton file for benchmark
8309         programs.
8310         * benchtests/exp-inputs: New input file for EXP function.
8311         * benchtests/pow-inputs: New input file for POW function.
8312         * scripts/bench.pl: New script to generate source files for
8313         benchmark programs.
8315 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8317         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8318         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8319         computations on mantissa.  Use macros for rounding and
8320         division.
8321         (denorm): Likewise.
8322         (__dbl_mp): Likewise.
8323         (add_magnitudes): Likewise.
8324         (sub_magnitudes): Likewise.
8325         (__mul): Likewise.
8326         (__sqr): Likewise.
8327         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8328         powers of two in terms of TWOPOW macro.
8329         (mp_no): Make type of mantissa as MANTISSA_T.
8330         [!RADIXI]: Define RADIXI.
8331         [!TWO52]: Define TWO52.
8332         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8334         * manual/nptl.texi (cindex): Modify threads to pthreads.
8336 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8338         * sysdeps/x86_64/preconfigure: Regenerated.
8340 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8342         [BZ #14155]
8343         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8344         0x1p28 and above.
8345         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8346         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8347         0x1p28 and above.
8348         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8349         * math/libm-test.inc (j0_test): Do not allow one spurious
8350         underflow exception.
8351         (y1_test): Likewise.
8353 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8355         * manual/Makefile (chapters): Add nptl.
8356         * manual/debug.texi (Debugging Support): Add link to Threads
8357         chapter.
8358         * manual/nptl.texi: New file.
8360         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8362 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8364         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8365         for non-NULL pointer before the memory validity test. Pointed
8366         out by Holger Brunck <holger.brunck@keymile.com>.
8368 2013-03-13  Andreas Schwab  <schwab@suse.de>
8370         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8371         instead of .os.
8373 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8375         * timezone/zic.c: Update from tzcode 2013b.
8377 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8379         * manual/install.texi (Configuring and compiling):
8380         Mention i686 and i586.
8381         * INSTALL: Regenerate.
8383 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8385         * sysdeps/init_array/elf-init.c: New file.
8386         * csu/elf-init.c
8387         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8388         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8390         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8391         __gmon_start__ as global, but as static with a .preinit_array pointer.
8392         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8393         * sysdeps/init_array/crti.S: New file, empty except for comments.
8394         * sysdeps/init_array/crtn.S: Likewise.
8396 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8398         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8399         definining bcopy.
8400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8401         Remove Prefer_SSE_for_memop.
8402         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8403         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8404         HAS_PREFER_SSE_FOR_MEMOP.
8405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8406         memset-x86-64.
8407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8408         Remove bzero, memset ifunc support.
8409         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8410         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8411         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8412         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8414 2013-03-11  Andreas Schwab  <schwab@suse.de>
8416         [BZ #15234]
8417         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8418         by SHLIB_COMPAT.
8419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8420         (GLIBC_2.16): Remove pthread_atfork.
8422 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8424         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8425         (ptestcases.h): Likewise.
8427 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8429         * Makeconfig ($(common-objpfx)config.status): Depend on
8430         sysdeps/*/preconfigure{,.in} too.
8432 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8434         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8435         (__free_hook): Use void * instead of __malloc_ptr_t.
8436         (__malloc_hook): Likewise.
8437         (__realloc_hook): Likewise.
8438         (__memalign_hook): Likewise.
8439         (__after_morecore_hook): Likewise.
8440         * malloc/arena.c (save_malloc_hook): Likewise.
8441         (save_free_hook): Likewise.
8442         * malloc/hooks.c (malloc_hook_ini): Likewise.
8443         (realloc_hook_ini): Likewise.
8444         (memalign_hook_ini): Likewise.
8445         * malloc/malloc.c (malloc_hook_ini): Likewise.
8446         (realloc_hook_ini): Likewise.
8447         (memalign_hook_ini): Likewise.
8448         (__free_hook): Likewise.
8449         (__malloc_hook): Likewise.
8450         (__realloc_hook): Likewise.
8451         (__memalign_hook): Likewise.
8452         (__libc_malloc): Likewise.
8453         (__libc_free): Likewise.
8454         (__libc_realloc): Likewise.
8455         (__libc_memalign): Likewise.
8456         (__libc_valloc): Likewise.
8457         (__libc_pvalloc): Likewise.
8458         (__libc_calloc): Likewise.
8459         (__posix_memalign): Likewise.
8460         * malloc/morecore.c (__sbrk): Likewise.
8461         (__default_morecore): Likewise.
8463         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8465         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8466         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8467         __malloc_ptrdiff_t.
8469         * malloc/malloc.h (__malloc_size_t): Remove macro.
8470         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8471         __malloc_size_t.
8472         (old_memalign_hook): Likewise.
8473         (old_realloc_hook): Likewise.
8474         (struct hdr): Likewise.
8475         (flood): Likewise.
8476         (mallochook): Likewise.
8477         (memalignhook): Likewise.
8478         (reallochook): Likewise.
8479         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8480         (tr_old_realloc_hook): Likewise.
8481         (tr_old_memalign_hook): Likewise.
8482         (tr_mallochook): Likewise.
8483         (tr_reallochook): Likewise.
8484         (tr_memalignhook): Likewise.
8486 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8488         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8489         default_ldbl_pack and using as default implementation.
8490         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8491         implementation.
8492         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8493         redundant definition.
8494         (ldbl_insert_mantissa): Likewise.
8495         (ldbl_canonicalize): Likewise.
8496         (ldbl_nearbyint): Likewise.
8497         (ldbl_pack): Rename to ldbl_pack_ppc.
8498         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8499         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8500         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8502 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8505         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8506         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8507         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8509         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8510         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8511         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8513 2013-03-07  Andreas Jaeger  <aj@suse.de>
8515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8516         bits/mman-linux.h.
8518 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8520         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8521         Include mpa.h and declare __MPEXP.
8522         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8523         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8524         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8525         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8526         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8527         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8528         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8530         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8531         (__slowpow): Use long double EXPL and LOGL functions to
8532         compute POW.
8533         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8534         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8535         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8536         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8537         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8538         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8541         intermediate variable to calculate exponent.
8542         (__sqr): Likewise.
8543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8544         Likewise.
8545         (__sqr): Likewise.
8547         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8548         [!NO__SQR]: Define __sqr.
8549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8550         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8551         sysdeps/ieee754/dbl-64/mpa.c.
8552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8554         [BZ #12723]
8555         * posix/Makefile (tests): Add tst-pathconf.
8556         * posix/tst-pathconf.c: New test case.
8557         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8558         _PC_PIPE_BUF.
8559         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8561 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8563         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8565 2013-03-06  Andreas Jaeger  <aj@suse.de>
8567         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8568         definition via __MAP_ANONYMOUS.
8570         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8571         it's not part of Linux headers.
8573         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8574         (MAP_HUGE_MASK): Define.
8576         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8577         Define.
8578         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8579         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8580         Define.
8581         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8582         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8583         Define.
8584         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8585         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8586         Define.
8587         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8589         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8590         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8591         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8592         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8593         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8594         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8596         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8597         Handle f2fs.
8599         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8600         Handle f2fs and efivarfs.
8602         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8603         f2fs.
8605         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8606         (EFIVARFS_MAGIC): Add.
8607         (F2FS_LINK_MAX): Add.
8609 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8611         * stdio-common/vfprintf.c: Replace __builtin_expect with
8612         __glibc_unlikely.
8614 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8616         [BZ #13550]
8617         * sysdeps/generic/bp-sym.h: Remove file.
8618         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8619         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8620         <bp-sym.h> and <bp-asm.h>.
8621         (__longjmp): Don't use BP_SYM.
8622         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8623         and <bp-asm.h>.
8624         (memcpy): Don't use BP_SYM.
8625         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8626         <bp-sym.h> and <bp-asm.h>.
8627         (memcpy): Don't use BP_SYM.
8628         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8629         <bp-asm.h>.
8630         (memcpy): Don't use BP_SYM.
8631         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8632         <bp-asm.h>.
8633         (memset): Don't use BP_SYM.
8634         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8635         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8636         (__bzero): Don't use BP_SYM.
8637         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8638         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8639         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8640         <bp-sym.h> and <bp-asm.h>.
8641         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8642         pointers.
8643         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8644         <bp-sym.h> and <bp-asm.h>.
8645         (memcpy): Don't use BP_SYM.
8646         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8647         <bp-sym.h> and <bp-asm.h>.
8648         (memset): Don't use BP_SYM.
8649         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8650         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8651         (__bzero): Don't use BP_SYM.
8652         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8653         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8654         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8655         <bp-sym.h> and <bp-asm.h>.
8656         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8657         pointers.
8658         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8659         <bp-sym.h> and <bp-asm.h>.
8660         (memcpy): Don't use BP_SYM.
8661         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8662         <bp-sym.h> and <bp-asm.h>.
8663         (memset): Don't use BP_SYM.
8664         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8665         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8666         (__bzero): Don't use BP_SYM.
8667         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8668         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8669         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8670         <bp-sym.h> and <bp-asm.h>.
8671         (__memchr): Don't use BP_SYM.
8672         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8673         <bp-sym.h> and <bp-asm.h>.
8674         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8675         pointers.
8676         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8677         <bp-sym.h> and <bp-asm.h>.
8678         (memcpy): Don't use BP_SYM.
8679         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8680         <bp-sym.h> and <bp-asm.h>.
8681         (__mempcpy): Don't use BP_SYM.
8682         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8683         <bp-sym.h> and <bp-asm.h>.
8684         (__memrchr): Don't use BP_SYM.
8685         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8686         <bp-sym.h> and <bp-asm.h>.
8687         (memset): Don't use BP_SYM.
8688         (__bzero): Likewise.
8689         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8690         <bp-sym.h> and <bp-asm.h>.
8691         (__rawmemchr): Don't use BP_SYM.
8692         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8693         <bp-sym.h> and <bp-asm.h>.
8694         (__STRCMP): Don't use BP_SYM.
8695         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8696         <bp-sym.h> and <bp-asm.h>.
8697         (strchr): Don't use BP_SYM.
8698         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8699         <bp-sym.h> and <bp-asm.h>.
8700         (__strchrnul): Don't use BP_SYM.
8701         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8702         <bp-sym.h> and <bp-asm.h>.
8703         (strlen): Don't use BP_SYM.
8704         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8705         <bp-sym.h> and <bp-asm.h>.
8706         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8707         pointers.
8708         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8709         <bp-sym.h> and <bp-asm.h>.
8710         (__strnlen): Don't use BP_SYM.
8711         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8712         <bp-sym.h> and <bp-asm.h>.
8713         (__GI__setjmp): Don't use BP_SYM.
8714         (_setjmp): Likewise.
8715         (__sigsetjmp): Likewise.
8716         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8717         (L(start_addresses)): Don't use BP_SYM.
8718         (_start): Likewise.
8719         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8720         <bp-asm.h>.
8721         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8722         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8723         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8724         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8725         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8726         <bp-asm.h>.
8727         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8728         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8729         about bounded pointers.
8730         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8731         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8732         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8733         <bp-asm.h>.
8734         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8735         about bounded pointers.  Remove GKM FIXME comments.
8736         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8737         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8738         <bp-asm.h>.
8739         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8740         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8741         Remove GKM FIXME comments.
8742         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8743         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8744         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8745         <bp-asm.h>.
8746         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8747         about bounded pointers.  Remove GKM FIXME comment.
8748         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8749         and <bp-asm.h>.
8750         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8751         pointers.
8752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8753         <bp-sym.h> and <bp-asm.h>.
8754         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8756         <bp-sym.h> and <bp-asm.h>.
8757         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8758         comment.
8760 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8762         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8763         call free(NULL).
8765 2013-03-05  David S. Miller  <davem@davemloft.net>
8767         * po/es.po: Update from translation team.
8769 2013-03-05  Andreas Jaeger  <aj@suse.de>
8771         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8772         <bits/mman-linux.h>.
8773         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8774         is fine.
8775         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8776         <bits/mman-linux.h> to end of file.
8777         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8778         is fine.
8779         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8780         <bits/mman-linux.h> to end of file.
8781         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8782         is fine.
8783         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8784         <bits/mman-linux.h> to end of file.
8786         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8787         (MCL_CURRENT, MCL_FUTURE): Define here.
8789 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8791         [BZ #15232]
8792         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8793         attribute_hidden.
8794         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8796 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8798         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8799         fourth parameter needed for rt_sigprocmask syscall.
8800         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8801         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8802         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8803         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8804         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8805         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8807 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8809         [BZ #13550]
8810         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8811         comment about bounded pointers.
8812         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8813         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8815 2013-03-04  Andreas Jaeger  <aj@suse.de>
8817         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8818         common definitions.
8820         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8821         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8822         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8823         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8824         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8825         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8827 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8829         [BZ #15055]
8830         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8831         __ieee754_sqrl instead of __sqrl.
8833 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8835         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8836         * sysdeps/powerpc/fpu_control.h: ... here.
8837         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8838         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8839         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8840         * sysdeps/powerpc/bits/mathinline.h: ... here.
8842 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8844         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8845         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8846         to just [NEED_DL_SYSINFO_DSO].
8847         * elf/dl-support.c: Likewise.
8848         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8849         * elf/rtld.c (dl_main): Likewise.
8850         * elf/setup-vdso.h (setup_vdso): Likewise.
8851         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8852         * sysdeps/unix/sysv/linux/dl-sysdep.c
8853         (_dl_discover_osversion): Likewise.
8855 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8857         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8858         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8860 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8862         * NEWS: Mention libm performance improvements and non-x86 PI
8863         futex support.
8865         * csu/libc-start.c (__pthread_initialize_minimal): Change
8866         function arguments.
8867         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8869 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8871         [BZ #13550]
8872         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8873         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8874         <bp-sym.h> and <bp-asm.h>.
8875         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8876         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8877         and <bp-asm.h>.
8878         (memcpy): Don't use BP_SYM.
8879         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8880         <bp-asm.h>.
8881         (__mpn_add_n): Don't use BP_SYM.
8882         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8883         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8884         and <bp-asm.h>.
8885         (__mpn_addmul_1): Don't use BP_SYM.
8886         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8887         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8888         <bp-sym.h>.
8889         (_setjmp): Don't use BP_SYM.
8890         (__novmx_setjmp): Likewise.
8891         (__GI__setjmp): Likewise.
8892         (__vmx_setjmp): Likewise.
8893         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8894         <bp-sym.h>.
8895         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8896         (__bzero): Don't use BP_SYM.
8897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8899         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8900         <bp-sym.h> and <bp-asm.h>.
8901         (memcpy): Don't use BP_SYM.
8902         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8903         <bp-sym.h> and <bp-asm.h>.
8904         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8905         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8906         <bp-sym.h> and <bp-asm.h>.
8907         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8908         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8909         <bp-asm.h>.
8910         (__mpn_lshift): Don't use BP_SYM.
8911         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8912         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8913         <bp-asm.h>.
8914         (memset): Don't use BP_SYM.
8915         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8916         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8917         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8918         <bp-asm.h>.
8919         (__mpn_mul_1): Don't use BP_SYM.
8920         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8921         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8922         <bp-sym.h> and <bp-asm.h>.
8923         (memcmp): Don't use BP_SYM.
8924         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8925         <bp-sym.h> and <bp-asm.h>.
8926         (memcpy): Don't use BP_SYM.
8927         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8928         <bp-sym.h> and <bp-asm.h>.
8929         (memset): Don't use BP_SYM.
8930         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8931         <bp-sym.h> and <bp-asm.h>.
8932         (strncmp): Don't use BP_SYM.
8933         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8934         <bp-sym.h> and <bp-asm.h>.
8935         (memcpy): Don't use BP_SYM.
8936         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8937         <bp-sym.h> and <bp-asm.h>.
8938         (memset): Don't use BP_SYM.
8939         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8940         <bp-sym.h> and <bp-asm.h>.
8941         (__memchr): Don't use BP_SYM.
8942         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8943         <bp-sym.h> and <bp-asm.h>.
8944         (memcmp): Don't use BP_SYM.
8945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8946         <bp-sym.h> and <bp-asm.h>.
8947         (memcpy): Don't use BP_SYM.
8948         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8949         <bp-sym.h> and <bp-asm.h>.
8950         (__mempcpy): Don't use BP_SYM.
8951         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8952         <bp-sym.h> and <bp-asm.h>.
8953         (__memrchr): Don't use BP_SYM.
8954         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8955         <bp-sym.h> and <bp-asm.h>.
8956         (memset): Don't use BP_SYM.
8957         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8958         <bp-sym.h> and <bp-asm.h>.
8959         (__rawmemchr): Don't use BP_SYM.
8960         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8961         <bp-sym.h> and <bp-asm.h>.
8962         (__STRCMP): Don't use BP_SYM.
8963         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8964         <bp-sym.h> and <bp-asm.h>.
8965         (strchr): Don't use BP_SYM.
8966         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8967         <bp-sym.h> and <bp-asm.h>.
8968         (__strchrnul): Don't use BP_SYM.
8969         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8970         <bp-sym.h> and <bp-asm.h>.
8971         (strlen): Don't use BP_SYM.
8972         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8973         <bp-sym.h> and <bp-asm.h>.
8974         (strncmp): Don't use BP_SYM.
8975         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8976         <bp-sym.h> and <bp-asm.h>.
8977         (__strnlen): Don't use BP_SYM.
8978         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8979         <bp-asm.h>.
8980         (__mpn_rshift): Don't use BP_SYM.
8981         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8982         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8983         <bp-sym.h> and <bp-asm.h>.
8984         (__sigsetjmp): Don't use BP_SYM.
8985         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8986         (L(start_addresses)): Don't use BP_SYM.
8987         (_start): Likewise.
8988         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8989         <bp-asm.h>.
8990         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8991         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8992         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8993         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8994         <bp-asm.h>.
8995         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8996         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8997         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8998         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8999         <bp-asm.h>.
9000         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9001         comments.
9002         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9003         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9004         <bp-asm.h>.
9005         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
9006         FIXME comments.
9007         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9008         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9009         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9010         <bp-asm.h>.
9011         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9012         comment.
9013         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9014         and <bp-asm.h>.
9015         (strncmp): Don't use BP_SYM,
9016         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9017         <bp-asm.h>.
9018         (__mpn_sub_n): Don't use BP_SYM.
9019         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9020         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9021         and <bp-asm.h>.
9022         (__mpn_submul_1): Don't use BP_SYM.
9023         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9025         <bp-sym.h> and <bp-asm.h>.
9026         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9028         <bp-sym.h> and <bp-asm.h>.
9029         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9030         comment.
9032 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9035         Use ZK to minimize writes to Z.
9036         (sub_magnitudes): Simplify code a bit.
9037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9038         Use ZK to minimize writes to Z.
9039         (sub_magnitudes): Simplify code a bit.
9041 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9043         * csu/gmon-start.c: Add special exception to license text.
9045 2013-02-27  Richard Henderson  <rth@redhat.com>
9047         * scripts/config.guess: Update from config.git.
9048         * scripts/config.sub: Likewise.
9050 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9052         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9054         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9056         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9058         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9060         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9062 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9064         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9065         [$(build-shared = yes].
9067 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9069         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9070         (__mul): Reduce iterations for calculating mantissa.
9072         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9073         MPTWO.
9074         (__mpranred): Likewise.
9076         [BZ #15160]
9077         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9078         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9080 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9082         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9083         Define __attribute__.
9085 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9087         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9088         unused.
9089         * posix/regex_internal.h (__attribute): Remove.
9090         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9091         (re_string_context_at): Likewise.
9092         (bitset_not): Use __attribute__ and mark function as possibly
9093         unused.
9094         (bitset_merge): Likewise.
9095         (bitset_mask): Likewise.
9096         (re_string_char_size_at): Likewise.
9097         (re_string_wchar_at): Likewise.
9098         (re_string_elem_size_at): Likewise.
9100 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9102         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9103         code.
9104         (cc32): Likewise.
9106         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9107         (__acr): Likewise.
9108         (__cpy): Likewise.
9109         (norm): Likewise.
9110         (denorm): Likewise.
9111         (__dbl_mp): Likewise.
9112         (add_magnitudes): Likewise.
9113         (sub_magnitudes): Likewise.
9114         (__mul): Likewise.
9115         (__inv): Likewise.
9117         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9118         style.
9120         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9121         style.
9123         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9124         code.
9126         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9127         up changes with default code.
9128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9129         Likewise.
9131 2013-02-24  Allan McRae  <allan@archlinux.org>
9133         * manual/socket.texi (The Internet Namespace): Order menu items
9134         to match that in the file.
9136         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9137         node listing of the info page menu.
9139 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9141         [BZ #13550]
9142         * sysdeps/i386/bp-asm.h: Remove file.
9143         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9144         (PARMS): Do not use macros from bp-asm.h.
9145         (S1): Likewise.
9146         (S2): Likewise.
9147         (SIZE): Likewise.
9148         (__mpn_add_n): Do not use BP_SYM
9149         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9150         "bp-asm.h".
9151         (PARMS): Do not use macros from bp-asm.h.
9152         (S1): Likewise.
9153         (SIZE): Likewise.
9154         (__mpn_addmul_1): Do not use BP_SYM
9155         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9156         "bp-asm.h".
9157         (PARMS): Do not use macros from bp-asm.h.
9158         (SIGMSK): Likewise.
9159         (_setjmp): Likewise.  Do not use BP_SYM.
9160         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9161         "bp-asm.h".
9162         (PARMS): Do not use macros from bp-asm.h.
9163         (SIGMSK): Likewise.
9164         (setjmp): Likewise.  Do not use BP_SYM.
9165         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9166         "bp-asm.h".
9167         (PARMS): Do not use macros from bp-asm.h.
9168         (__frexp): Do not use BP_SYM.
9169         (frexp): Likewise.
9170         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9171         "bp-asm.h".
9172         (PARMS): Do not use macros from bp-asm.h.
9173         (__frexpf): Do not use BP_SYM.
9174         (frexpf): Likewise.
9175         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9176         "bp-asm.h".
9177         (PARMS): Do not use macros from bp-asm.h.
9178         (__frexpl): Do not use BP_SYM.
9179         (frexpl): Likewise.
9180         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9181         "bp-asm.h".
9182         (PARMS): Do not use macros from bp-asm.h.
9183         (__remquo): Do not use BP_SYM.
9184         (remquo): Likewise.
9185         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9186         "bp-asm.h".
9187         (PARMS): Do not use macros from bp-asm.h.
9188         (__remquof): Do not use BP_SYM.
9189         (remquof): Likewise.
9190         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9191         "bp-asm.h".
9192         (PARMS): Do not use macros from bp-asm.h.
9193         (__remquol): Do not use BP_SYM.
9194         (remquol): Likewise.
9195         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9196         "bp-asm.h".
9197         (PARMS): Do not use macros from bp-asm.h.
9198         (DEST): Likewise.
9199         (SRC): Likewise.
9200         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9201         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9202         "bp-asm.h".
9203         (PARMS): Do not use macros from bp-asm.h.
9204         (strlen): Do not use BP_SYM.
9205         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9206         "bp-asm.h".
9207         (PARMS): Do not use macros from bp-asm.h.
9208         (S1): Likewise.
9209         (S2): Likewise.
9210         (SIZE): Likewise.
9211         (__mpn_add_n): Do not use BP_SYM.
9212         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9213         "bp-asm.h".
9214         (PARMS): Do not use macros from bp-asm.h.
9215         (S1): Likewise.
9216         (SIZE): Likewise.
9217         (__mpn_addmul_1): Do not use BP_SYM.
9218         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9219         weak_alias.
9220         (bzero): Likewise.
9221         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9222         "bp-asm.h".
9223         (PARMS): Do not use macros from bp-asm.h.
9224         (S): Likewise.
9225         (SIZE): Likewise.
9226         (__mpn_lshift): Do not use BP_SYM.
9227         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9228         "bp-asm.h".
9229         (PARMS): Do not use macros from bp-asm.h.
9230         (DEST): Likewise.
9231         (SRC): Likewise.
9232         (LEN): Likewise.
9233         (memcpy): Likewise.  Do not use BP_SYM.
9234         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9235         libc_hidden_def and weak_alias.
9236         (mempcpy): Do not use BP_SYM in weak_alias.
9237         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9238         "bp-asm.h".
9239         (PARMS): Do not use macros from bp-asm.h.
9240         (DEST): Likewise.
9241         (LEN): Likewise.
9242         [!BZERO_P] (CHR): Likewise.
9243         (memset): Likewise.  Do not use BP_SYM.
9244         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9245         "bp-asm.h".
9246         (PARMS): Do not use macros from bp-asm.h.
9247         (S1): Likewise.
9248         (SIZE): Likewise.
9249         (__mpn_mul_1): Do not use BP_SYM.
9250         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9251         "bp-asm.h".
9252         (PARMS): Do not use macros from bp-asm.h.
9253         (S): Likewise.
9254         (SIZE): Likewise.
9255         (__mpn_rshift): Do not use BP_SYM.
9256         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9257         "bp-asm.h".
9258         (PARMS): Do not use macros from bp-asm.h.
9259         (STR): Likewise.
9260         (CHR): Likewise.
9261         (strchr): Likewise.  Do not use BP_SYM.
9262         (index): Do not use BP_SYM in weak_alias.
9263         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9264         "bp-asm.h".
9265         (PARMS): Do not use macros from bp-asm.h.
9266         (DEST): Likewise.
9267         (SRC): Likewise.
9268         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
9269         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9270         "bp-asm.h".
9271         (PARMS): Do not use macros from bp-asm.h.
9272         (strlen): Do not use BP_SYM.
9273         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9274         "bp-asm.h".
9275         (PARMS): Do not use macros from bp-asm.h.
9276         (S1): Likewise.
9277         (S2): Likewise.
9278         (SIZE): Likewise.
9279         (__mpn_sub_n): Do not use BP_SYM.
9280         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9281         "bp-asm.h".
9282         (PARMS): Do not use macros from bp-asm.h.
9283         (S1): Likewise.
9284         (SIZE): Likewise.
9285         (__mpn_submul_1): Do not use BP_SYM.
9286         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9287         "bp-asm.h".
9288         (PARMS): Do not use macros from bp-asm.h.
9289         (S1): Likewise.
9290         (S2): Likewise.
9291         (SIZE): Likewise.
9292         (__mpn_add_n): Do not use BP_SYM.
9293         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9294         weak_alias.
9295         (bzero): Likewise.
9296         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9297         "bp-asm.h".
9298         (PARMS): Do not use macros from bp-asm.h.
9299         (BLK2): Likewise.
9300         (LEN): Likewise.
9301         (memcmp): Do not use BP_SYM.
9302         (bcmp): Do not use BP_SYM in weak_alias.
9303         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9304         "bp-asm.h".
9305         (PARMS): Do not use macros from bp-asm.h.
9306         (DEST): Likewise.
9307         (SRC): Likewise.
9308         (LEN): Likewise.
9309         (memcpy): Likewise.  Do not use BP_SYM.
9310         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9311         "bp-asm.h".
9312         (PARMS): Do not use macros from bp-asm.h.
9313         (DEST): Likewise.
9314         (SRC): Likewise.
9315         (LEN): Likewise.
9316         (memmove): Likewise.  Do not use BP_SYM.
9317         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9318         "bp-asm.h".
9319         (PARMS): Do not use macros from bp-asm.h.
9320         (DEST): Likewise.
9321         (SRC): Likewise.
9322         (LEN): Likewise.
9323         (__mempcpy): Likewise.  Do not use BP_SYM.
9324         (mempcpy): Do not use BP_SYM in weak_alias.
9325         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9326         "bp-asm.h".
9327         (PARMS): Do not use macros from bp-asm.h.
9328         (DEST): Likewise.
9329         (LEN): Likewise.
9330         [!BZERO_P] (CHR): Likewise.
9331         (memset): Likewise.  Do not use BP_SYM.
9332         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9333         "bp-asm.h".
9334         (PARMS): Do not use macros from bp-asm.h.
9335         (STR2): Likewise.
9336         (strcmp): Do not use BP_SYM.
9337         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9338         "bp-asm.h".
9339         (PARMS): Do not use macros from bp-asm.h.
9340         (STR): Likewise.
9341         (DELIM): Likewise.
9342         [USE_AS_STRTOK_R] (SAVE): Likewise.
9343         (FUNCTION): Likewise.  Do not use BP_SYM.
9344         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9345         aliases.
9346         (strtok_r): Likewise.
9347         (__GI___strtok_r): Likewise.
9348         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9349         (PARMS): Do not use macros from bp-asm.h.
9350         (S): Likewise.
9351         (SIZE): Likewise.
9352         (__mpn_lshift): Do not use BP_SYM.
9353         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9354         (PARMS): Do not use macros from bp-asm.h.
9355         (STR): Likewise.
9356         (CHR): Likewise.
9357         (__memchr): Do not use BP_SYM.
9358         (memchr): Do not use BP_SYM in weak_alias.
9359         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9360         (PARMS): Do not use macros from bp-asm.h.
9361         (BLK2): Likewise.
9362         (LEN): Likewise.
9363         (memcmp): Do not use BP_SYM.
9364         (bcmp): Do not use BP_SYM in weak_alias.
9365         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9366         (PARMS): Do not use macros from bp-asm.h.
9367         (S1): Likewise.
9368         (SIZE): Likewise.
9369         (__mpn_mul_1): Do not use BP_SYM.
9370         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9371         "bp-asm.h".
9372         (PARMS): Do not use macros from bp-asm.h.
9373         (STR): Likewise.
9374         (CHR): Likewise.
9375         (__rawmemchr): Do not use BP_SYM.
9376         (rawmemchr): Do not use BP_SYM in weak_alias.
9377         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9378         (PARMS): Do not use macros from bp-asm.h.
9379         (S): Likewise.
9380         (SIZE): Likewise.
9381         (__mpn_rshift): Do not use BP_SYM.
9382         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9383         (PARMS): Do not use macros from bp-asm.h.
9384         (SIGMSK): Likewise.
9385         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9386         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9387         (_start): Do not use BP_SYM.
9388         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9389         (PARMS): Do not use macros from bp-asm.h.
9390         (DEST): Likewise.
9391         (SRC): Likewise.
9392         (__stpcpy): Likewise.  Do not use BP_SYM.
9393         (stpcpy): Do not use BP_SYM in weak_alias.
9394         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9395         "bp-asm.h".
9396         (PARMS): Do not use macros from bp-asm.h.
9397         (DEST): Likewise.
9398         (SRC): Likewise.
9399         (LEN): Likewise.
9400         (__stpncpy): Likewise.  Do not use BP_SYM.
9401         (stpncpy): Do not use BP_SYM in weak_alias.
9402         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9403         (PARMS): Do not use macros from bp-asm.h.
9404         (STR): Likewise.
9405         (CHR): Likewise.
9406         (strchr): Likewise.  Do not use BP_SYM.
9407         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9408         "bp-asm.h".
9409         (PARMS): Do not use macros from bp-asm.h.
9410         (STR): Likewise.
9411         (CHR): Likewise.
9412         (__strchrnul): Likewise.  Do not use BP_SYM.
9413         (strchrnul): Do not use BP_SYM in weak_alias.
9414         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9415         "bp-asm.h".
9416         (PARMS): Do not use macros from bp-asm.h.
9417         (STOP): Likewise.
9418         (strcspn): Do not use BP_SYM.
9419         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9420         "bp-asm.h".
9421         (PARMS): Do not use macros from bp-asm.h.
9422         (STR): Likewise.
9423         (STOP): Likewise.
9424         (strpbrk): Likewise.  Do not use BP_SYM.
9425         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9426         "bp-asm.h".
9427         (PARMS): Do not use macros from bp-asm.h.
9428         (STR): Likewise.
9429         (CHR): Likewise.
9430         (strrchr): Likewise.  Do not use BP_SYM.
9431         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9432         (PARMS): Do not use macros from bp-asm.h.
9433         (SKIP): Likewise.
9434         (strspn): Do not use BP_SYM.
9435         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9436         (PARMS): Do not use macros from bp-asm.h.
9437         (STR): Likewise.
9438         (DELIM): Likewise.
9439         (SAVE): Likewise.
9440         (FUNCTION): Likewise.  Do not use BP_SYM.
9441         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9442         aliases.
9443         (strtok_r): Likewise.
9444         (__GI___strtok_r): Likewise.
9445         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9446         (PARMS): Do not use macros from bp-asm.h.
9447         (S1): Likewise.
9448         (S2): Likewise.
9449         (SIZE): Likewise.
9450         (__mpn_sub_n): Do not use BP_SYM.
9451         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9452         "bp-asm.h".
9453         (PARMS): Do not use macros from bp-asm.h.
9454         (S1): Likewise.
9455         (SIZE): Likewise.
9456         (__mpn_submul_1): Do not use BP_SYM.
9457         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9458         <bp-sym.h>.
9459         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9460         and <bp-asm.h>.
9461         (PARMS): Do not use macros from bp-asm.h.
9462         (FLAGS): Likewise.
9463         (PTID): Likewise.
9464         (TLS): Likewise.
9465         (CTID): Likewise.
9466         (__clone): Do not use BP_SYM.
9467         (clone): Do not use BP_SYM in weak_alias.
9468         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9469         and <bp-asm.h>.
9470         (PARMS): Do not use macros from bp-asm.h.
9471         (LEN): Likewise.
9472         (__mmap64): Do not use BP_SYM.
9473         (mmap64): Do not use BP_SYM in weak_alias.
9474         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9475         <bp-sym.h> and <bp-asm.h>.
9476         (PARMS): Do not use macros from bp-asm.h.
9477         (__posix_fadvise64_l64): Do not use BP_SYM.
9478         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9479         (PARMS): Do not use macros from bp-asm.h.
9480         (NSOPS): Likewise.
9481         (semtimedop): Do not use BP_SYM.
9482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9483         and <bp-asm.h>.
9485 2013-02-21  Allan McRae  <allan@archlinux.org>
9487         * manual/message.texi (Charset conversion in gettext):
9488         Move @end statement to beginning of line.
9490 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9492         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9493         static.
9494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9495         Likewise.
9497         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9498         (denorm): Likewise.
9499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9500         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9502 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9504         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9505         tail-call to the resolved function if pltexit isn't needed.
9507 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9509         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9510         or Y being zero as being unlikely.
9511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9512         Likewise.
9514 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9516         * manual/nss.texi (System Databases and Name Service Switch):
9517         Remove frobnicate @pxref.
9519 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9521         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9522         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9524 2013-02-20  Petr Machata  <pmachata@redhat.com>
9526         * elf/elf.h (R_ARM_TARGET1): New macro.
9527         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9528         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9529         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9530         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9531         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9532         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9533         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9534         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9535         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9536         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9537         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9538         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9539         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9540         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9541         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9542         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9543         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9544         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9545         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9546         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9547         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9548         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9549         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9550         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9551         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9552         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9553         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9554         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9555         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9556         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9557         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9558         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9559         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9560         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9561         (R_ARM_THM_GOT_BREL12): Likewise.
9562         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9563         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9564         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9565         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9566         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9567         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9568         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9569         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9570         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9572 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9574         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9575         __attribute_used__ to __attribute__ ((unused)).
9577 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9579         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9580         powerpc mpa.c.
9581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9582         comment formatting.
9583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9585 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9587         [BZ #13550]
9588         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9589         Remove macro.
9590         (ENTER): Remove both macro definitions.
9591         (LEAVE): Likewise.
9592         (CHECK_BOUNDS_LOW): Likewise.
9593         (CHECK_BOUNDS_HIGH): Likewise.
9594         (CHECK_BOUNDS_BOTH): Likewise.
9595         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9596         (RETURN_BOUNDED_POINTER): Likewise.
9597         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9598         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9599         (POP_ERRNO_LOCATION_RETURN): Likewise.
9600         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9601         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9602         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9603         macros.
9604         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9605         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9606         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9607         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9608         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9609         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9610         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9611         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9612         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9613         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9614         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9615         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9616         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9617         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9618         removed macros.
9619         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9620         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9621         macros.
9622         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9623         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9624         * sysdeps/i386/i586/memset.S (memset): Likewise.
9625         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9626         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9627         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9628         macros.
9629         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9630         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9631         Change uses of L(2) to L(out).
9632         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9633         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9634         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9635         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9636         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9637         removed macros.
9638         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9639         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9640         macros.
9641         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9642         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9643         (RETURN): Do not use macro LEAVE.
9644         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9645         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9646         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9647         * sysdeps/i386/i686/memset.S (memset): Likewise.
9648         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9649         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9650         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9651         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9652         Likewise.
9653         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9654         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9655         L(1_2) and L(1_3) into L(1).
9656         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9657         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9658         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9659         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9660         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9661         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9662         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9663         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9664         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9665         macros.
9666         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9667         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9668         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9669         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9670         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9671         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9672         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9673         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9674         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9675         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9676         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9677         * sysdeps/i386/strspn.S (strspn): Likewise.
9678         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9679         conditional code.
9680         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9681         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9682         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9683         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9684         L(1_3) into L(1_1).
9685         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9686         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9687         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9688         macros.
9689         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9691 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9693         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9694         macro.
9696 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9698         * math/atest-exp.c (exp_mpn): Remove ROUND.
9699         * math/atest-exp2.c (exp_mpn): Likewise.
9700         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9702         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9703         * stdlib/tst-tls-atexit-lib.c: Likewise.
9704         * stdlib/tst-tls-atexit.c: Likewise.
9706 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9708         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9709         and __attribute_alloc_size__.
9711 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9713         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9714         __attribute_alloc_size__.
9715         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9716         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9718 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9720         * include/programs/xmalloc.h: New file.
9721         * catgets/gencat.c: Include it.
9722         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9723         * elf/pldd.c: Likewise.
9724         * iconv/iconv_charmap.c: Likewise.
9725         * iconv/iconvconfig.c: Likewise.
9726         * iconv/strtab.c: Likewise.
9727         * locale/programs/locale.c: Likewise.
9728         * locale/programs/localedef.h: Likewise.
9729         * locale/programs/simple-hash.c: Likewise.
9730         * nscd/nscd.h: Likewise.
9731         * nss/makedb.c: Likewise.
9732         * sysdeps/generic/ldconfig.h: Likewise.
9734 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9736         * Versions.def: Add GLIBC_2.18.
9737         * include/link.h (struct link_map): New member l_tls_dtor_count.
9738         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9739         (__call_tls_dtors): Likewise.
9740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9741         __cxa_thread_atexit_impl.
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9743         Likewise.
9744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9745         Likewise.
9746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9747         Likewise.
9748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9749         Likewise.
9750         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9752         Likewise.
9753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9754         Likewise.
9755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9757         Likewise.
9758         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9759         (tests): Add test case tst-tls-atexit.
9760         (modules-names): Add shared library for tst-tls-atexit.
9761         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9762         (GLIBC_PRIVATE): Add __call_tls_dtors.
9763         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9764         for libstdc++.
9765         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9766         * stdlib/tst-tls-atexit.c: New test case.
9767         * stdlib/tst-tls-atexit-lib.c: New test case.
9769         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9771         * elf/Versions (ld): Add _dl_find_dso_for_object.
9772         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9773         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9774         (dl_open_worker): Use _dl_find_dso_for_object.
9775         * elf/dl-sym.c (do_sym): Likewise.
9776         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9778 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9780         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9781         Syntactic changes only.
9782         (_dl_runtime_profile): Do a tail-call to the resolved function.
9784 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9786         [BZ #13550]
9787         * sysdeps/x86_64/bp-asm.h: Remove file.
9788         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9789         <bp-sym.h> and <bp-asm.h>.
9790         (__clone): Do not use BP_SYM.
9791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9792         <bp-sym.h> and <bp-asm.h>.
9793         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9794         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9795         "bp-asm.h".
9796         (_setjmp): Do not use BP_SYM.
9797         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9798         "bp-asm.h".
9799         (setjmp): Do not use BP_SYM.
9800         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9801         libc_hidden_def.
9802         (mempcpy): Do not use BP_SYM in weak_alias.
9803         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9804         "bp-asm.h".
9805         (strchr): Do not use BP_SYM.
9806         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9807         "bp-asm.h".
9808         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9809         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9810         (_start): Do not use BP_SYM.
9811         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9812         "bp-asm.h".
9813         (strcat): Do not use BP_SYM.
9814         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9815         "bp-asm.h".
9816         (STRCMP): Do not use BP_SYM.
9817         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9818         "bp-asm.h".
9819         (STRCPY): Do not use BP_SYM.
9820         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9821         "bp-asm.h".
9822         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9823         "bp-asm.h".
9824         (FUNCTION): Do not use BP_SYM.
9825         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9826         weak_alias.
9827         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9829 2013-02-17  Andreas Jaeger  <aj@suse.de>
9831         * time/Versions: Sort entries.
9832         * string/Versions: Likewise.
9833         * resolv/Versions: Likewise.
9834         * posix/Versions: Likewise.
9835         * iconv/Versions: Likewise.
9836         * elf/Versions: Likewise.
9837         * wcsmbs/Versions: Likewise.
9839 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9841         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9842         loop termination condition.
9844         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9845         variable to calculate EZ.
9846         (__sqr): Likewise.
9848         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9849         the lower precision input.
9851 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9853         [BZ #13550]
9854         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9855         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9856         (run-via-rtld-prefix): Do not handle %-bp tests.
9857         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9858         (all-object-suffixes): Remove .ob.
9859         (bppfx): Remove variable.
9860         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9861         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9862         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9863         [$(build-bounded) = yes] (libtype.ob): Likewise.
9864         * Makerules (elide-routines.ob): Remove variable.
9865         (do-tests-clean): Do not handle *-bp.out.
9866         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9867         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9868         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9869         (tests): Do not include $(tests-bp.out).
9870         (xtests): Do not include $(xtests-bp.out).
9871         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9872         [$(build-bounded) = yes] ($(addprefix
9873         $(objpfx),$(binaries-bounded))): Remove rule.
9874         ($(objpfx)%-bp.out): Remove rule.
9875         * config.make.in (build-bounded): Remove variable.
9876         * crypt/Makefile [$(build-bounded) = yes]
9877         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9878         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9879         append to variable.
9880         [$(build-bounded) = yes] (install-lib): Likewise.
9881         [$(build-bounded) = yes] (generated): Likewise.
9882         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9883         Remove rule.
9884         * intl/Makefile [$(build-bounded) = yes]
9885         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9886         * math/Makefile [$(build-bounded) = yes]
9887         ($(tests:%=$(objpfx)%-bp): Likewise.
9888         * misc/Makefile [$(build-bounded) = yes]
9889         ($(objpfx)tst-tsearch-bp): Likewise.
9890         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9891         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9892         Remove dependency.
9893         * string/Makefile (o-objects.ob): Remove variable.
9894         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9895         (CFLAGS-.ob): Remove variable.
9896         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9897         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9898         both definitions of variable.
9899         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9900         (ASFLAGS-.ob): Remove variable.
9902 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9904         [BZ #13550]
9905         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9906         Remove __BOUNDED_POINTERS__ from condition.
9907         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9908         * string/bits/string2.h [!__NO_STRING_INLINES &&
9909         !__BOUNDED_POINTERS__]: Likewise.
9910         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9911         Likewise.
9912         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9913         Remove conditional code.
9914         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9915         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9916         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9917         condition.
9919         [BZ #13550]
9920         * csu/libc-start.c: Do not include <bp-sym.h>.
9921         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9922         * elf/dl-open.c: Do not include <bp-sym.h>.
9923         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9924         * math/fegetenv.c: Do not include <bp-sym.h>.
9925         (fegetenv): Do not use BP_SYM in versioned symbols.
9926         * nptl/sysdeps/pthread/bits/libc-lockP.h
9927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9928         <bp-sym.h>.
9929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9930         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9932         (__pthread_mutex_destroy): Likewise.
9933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9934         (__pthread_mutex_lock): Likewise.
9935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9936         (__pthread_mutex_trylock): Likewise.
9937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9938         (__pthread_mutex_unlock): Likewise.
9939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9940         (__pthread_mutexattr_init): Likewise.
9941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9942         (__pthread_mutexattr_destroy): Likewise.
9943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9944         (__pthread_mutexattr_settype): Likewise.
9945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9946         (__pthread_rwlock_init): Likewise.
9947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9948         (__pthread_rwlock_destroy): Likewise.
9949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9950         (__pthread_rwlock_rdlock): Likewise.
9951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9952         (__pthread_rwlock_tryrdlock): Likewise.
9953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9954         (__pthread_rwlock_wrlock): Likewise.
9955         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9956         (__pthread_rwlock_trywrlock): Likewise.
9957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9958         (__pthread_rwlock_unlock): Likewise.
9959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9960         (__pthread_key_create): Likewise.
9961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9962         (__pthread_setspecific): Likewise.
9963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9964         (__pthread_getspecific): Likewise.
9965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9966         Likewise.
9967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9968         (_pthread_cleanup_push_defer): Likewise.
9969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9970         (_pthread_cleanup_pop_restore): Likewise.
9971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9972         (pthread_setcancelstate): Likewise.
9973         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9974         <bp-sym.h>.
9975         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9976         (memchr): Do not use BP_SYM in weak_alias.
9977         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9978         (fegetenv): Do not use BP_SYM in versioned symbols.
9979         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9980         (fesetenv): Do not use BP_SYM in versioned symbols.
9981         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9982         (feupdateenv): Do not use BP_SYM in versioned symbols.
9983         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9984         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9985         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9986         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9987         (open64): Do not use BP_SYM in weak_alias.
9988         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9989         (fegetenv): Do not use BP_SYM in versioned symbols.
9990         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9991         (fesetenv): Do not use BP_SYM in versioned symbols.
9992         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9993         (feupdateenv): Do not use BP_SYM in versioned symbols.
9994         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9995         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9996         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9997         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9998         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9999         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10000         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10001         <bp-sym.h>.
10002         (__libc_start_main): Do not use BP_SYM.
10004 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10007         redundant return line.
10008         (norm): Likewise.
10009         (denorm): Likewise.
10010         (dbl_mp): Likewise.
10011         (sub_magnitudes): Likewise.
10012         (__add): Likewise.
10013         (__sub): Likewise.
10014         (__mul): Likewise.
10015         (__inv): Likewise.
10016         (__dvd): Likewise.
10017         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10018         (norm): Likewise.
10019         (denorm): Likewise.
10020         (dbl_mp): Likewise.
10021         (sub_magnitudes): Likewise.
10022         (__add): Likewise.
10023         (__sub): Likewise.
10024         (__mul): Likewise.
10025         (__inv): Likewise.
10026         (__dvd): Likewise.
10028         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10029         instead of __mul.
10030         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10031         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10032         (cc32): Likewise.
10034         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10035         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10036         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10037         of __mul for squares.
10038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10039         function
10040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10041         Likewise.
10042         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10043         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10045 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10047         [BZ #13550]
10048         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10049         code.
10050         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10051         prototype or function definition.  Rename ubp_* variables and
10052         parameters.  Remove argv definitions conditional on
10053         [__BOUNDED_POINTERS__].
10054         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10055         * elf/dl-runtime.c (_dl_fixup): Likewise.
10056         * include/set-hooks.h (RUN_HOOK): Likewise.
10057         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10058         definition.
10059         * string/strcpy.c (strcpy): Do not use __unbounded.
10060         * sysdeps/generic/frame.h (struct layout): Likewise.
10061         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10062         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10063         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10064         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10065         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10066         (__backtrace): Likewise.
10067         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10068         use __ptrvalue.
10069         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10070         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10071         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10072         Likewise.
10073         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10074         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10075         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10076         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10077         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10078         Do not use __unbounded.
10079         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10080         Rename __unboundedrlimits parameter to rlimits in prototype.
10081         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10082         Do not use __unbounded.
10083         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10084         not use __ptrvalue.
10085         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10086         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10087         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10088         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10089         __ptrvalue or __unbounded.
10090         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10091         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10092         use __unbounded.
10093         (__new_msgctl): Do not use __ptrvalue.
10094         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10095         __unbounded.
10096         (__libc_msgrcv): Do not use __ptrvalue.
10097         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10098         startup_info): Do not use __unbounded.
10099         (__libc_start_main): Likewise.  Rename ubp_* variables and
10100         parameters.  Remove argv definitions conditional on
10101         [__BOUNDED_POINTERS__].
10102         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10103         __ptrvalue.
10104         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10105         use __unbounded.
10106         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10107         or __ptrvalue.
10108         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10109         use __unbounded.
10110         (__new_shmctl): Do not use __ptrvalue.
10111         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10112         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10113         Likewise.
10114         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10115         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10116         (__libc_sigaction): Likewise.
10117         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10118         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10119         Likewise.
10120         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10122 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10124         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10126         * string/mempcpy.c: Implement by calling memcpy.
10128 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10132         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10133         evaluation.
10135         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10136         values in the mantissa.
10138         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10139         minimize writes to Z.
10140         (sub_magnitudes): Simplify code a bit.
10142 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10144         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10145         from the message.  The linker prefixes all warnings with that already.
10147 2013-02-12  Andreas Schwab  <schwab@suse.de>
10149         [BZ #15078]
10150         * posix/regexec.c (extend_buffers): Add parameter min_len.
10151         (check_matching): Pass minimum needed length.
10152         (clean_state_log_if_needed): Likewise.
10153         (get_subexp): Likewise.
10154         * posix/Makefile (tests): Add bug-regex34.
10155         (bug-regex34-ENV): Define.
10156         * posix/bug-regex34.c: New file.
10158         [BZ #11561]
10159         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10160         elements compare against the byte sequence of it, not its name.
10161         * posix/Makefile (tests): Add bug-regex35.
10162         (bug-regex35-ENV): Define.
10163         * posix/bug-regex35.c: New file.
10165 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10167         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10168         comment.
10169         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10170         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10171         (CHECK_EOL): Add undef.
10173 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10175         * bits/stdlib-bsearch.h: New file.
10176         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10177         * stdlib/stdlib.h: Likewise.
10179 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10181         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10182         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10183         declaration.
10184         * manual/search.texi (Array Search Function): Add missing const in
10185         lfind prototype.
10186         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10187         declaration to use rlim_t.
10188         (Basic Scheduling Functions): Remove erroneous const from
10189         sched_getparam prototype.  Remove erroneous * from
10190         sched_get_priority_max and sched_get_priority_min prototypes.
10191         (Resource Usage): Fix summary @comment on vtimes to refer to
10192         sys/vtimes.h rather than vtimes.h.
10193         Add missing *s in vtimes prototype.
10194         (Limits on Resources): Fix ulimit prototype to return long int.
10195         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10196         prototypes to use long int rather than double.
10197         (BSD Random): Fix initstate and setstate to use char *, not void *.
10198         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10199         prototype to make second argument 'struct aiocb64 *const[]'.
10200         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10201         (Status of AIO Operations): Remove erroneous const in aio_return and
10202         aio_return64 prototypes.
10203         (Synchronizing I/O): Fix sync prototype to return void.
10204         * manual/startup.texi (Suboptions): Remove an erroneous const in
10205         getsubopt prototype.
10206         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10207         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10208         use size_t rather than int.
10209         (Scanning All Users): Likewise for getpwent_r.
10210         (Setting Groups): Add missing const to setgroups prototype.
10211         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10212         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10213         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10214         'const void *' rather than 'const char *'.
10215         (Host Address Functions): Likewise for inet_ntop.
10216         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10217         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10218         ssize_t for return value.
10219         (Sending Data): Likewise for send, sendto, sendmsg.
10220         (Socket Option Functions): Add a missing const in setsockopt prototype.
10221         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10222         use wchar_t for the argument.
10223         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10224         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10225         take no arguments.
10226         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10227         double/float/long double for second argument.
10228         Fix return types of significand, significandf, significandl.
10229         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10230         argument in fchmod prototype.
10231         (File Owner): Use uid_t and gid_t in fchown prototype.
10232         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10233         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10234         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10235         use 'const struct dirent **' as argument types to CMP function pointer
10236         argument.
10237         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10238         (File Times): Fix summary magic @comment for struct utimbuf and utime
10239         to refer to utime.h, not time.h.
10240         * manual/string.texi (Argz Functions): Add missing const in
10241         argz_extract and argz_next prototypes.
10242         (Finding Tokens in a String): Likewise for basename.
10243         (String/Array Comparison): Fix typo in wcscasecmp prototype.
10244         (Copying and Concatenation): Fix typo in wmemmove prototype.
10245         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10246         (Signal Stack): Remove erroneous const in sigstack prototype.
10247         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10248         prototype.
10249         (Simple Calendar Time): Likewise for stime.
10250         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10251         prototype.
10252         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10253         say sys/sysctl.h instead.
10254         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10255         and vsyslog prototypes.
10257 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10259         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10260         Remove.
10262 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10264         * misc/sys/mman.h: Fix typo in mremap comment.
10266 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10268         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10269         the '\0' terminator.
10271 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10273         [BZ #13550]
10274         * debug/segfault.c: Don't include <bp-checks.h>.
10275         * sysdeps/generic/bp-checks.h: Remove file.
10276         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10277         (__GETDENTS): Don't use CHECK_N.
10278         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10279         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10280         (__getgroups): Don't use CHECK_N.
10281         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10282         (setgroups): Don't use CHECK_N.
10283         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10284         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10285         (__libc_msgrcv): Don't use CHECK_N.
10286         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10287         (__libc_msgsnd): Don't use CHECK_N.
10288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10289         <bp-checks.h>.
10290         (__libc_pread): Don't use CHECK_N.
10291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10292         include <bp-checks.h>.
10293         (__libc_pread64): Don't use CHECK_N.
10294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10295         include <bp-checks.h>.
10296         (__libc_pwrite): Don't use CHECK_N.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10298         include <bp-checks.h>.
10299         (__libc_pwrite64): Don't use CHECK_N.
10300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10301         <bp-checks.h>.
10302         (__libc_pread): Don't use CHECK_N.
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10304         include <bp-checks.h>.
10305         (__libc_pread64): Don't use CHECK_N.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10307         include <bp-checks.h>.
10308         (__libc_pwrite): Don't use CHECK_N.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10310         include <bp-checks.h>.
10311         (__libc_pwrite64): Don't use CHECK_N.
10312         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10313         (do_pread): Don't use CHECK_N.
10314         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10315         (do_pread64): Don't use CHECK_N.
10316         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10317         (do_pwrite): Don't use CHECK_N.
10318         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10319         (do_pwrite64): Don't use CHECK_N.
10320         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10321         (__libc_readv): Don't use CHECK_N.
10322         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10323         (semop): Don't use CHECK_N.
10324         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10325         <bp-checks.h>.
10326         (semtimedop): Don't use CHECK_N.
10327         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10328         (__libc_pread): Don't use CHECK_N.
10329         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10330         <bp-checks.h>.
10331         (__libc_pread64): Don't use CHECK_N.
10332         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10333         <bp-checks.h>.
10334         (__libc_pwrite): Don't use CHECK_N.
10335         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10336         <bp-checks.h>.
10337         (__libc_pwrite64): Don't use CHECK_N.
10338         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10339         <bp-checks.h>.
10340         (__libc_msgrcv): Don't use CHECK_N.
10341         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10342         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10343         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10344         (__libc_writev): Don't use CHECK_N.
10346 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10348         * string/strcpy.c: Removed unused variable.
10350         * Makeconfig (+sysdep-includes): Define with := rather than =.
10351         Use an existing include/ subdir of each sysdeps dir before it.
10353 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10355         * nscd/connection.c (register_traced_file): Comment function.
10356         [HAVE_INOTIFY] (union __inev): Define.
10357         [HAVE_INOTIFY] (inotify_check_files): New function.
10358         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10359         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10360         clear_db_cache.
10361         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10363 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10365         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10366         loaded if not already and that a failure is permanent.
10368 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10370         [BZ #15006]
10371         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10372         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10374 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10376         [BZ #13550]
10377         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10378         (CHECK_1_NULL_OK): Likewise.
10379         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10380         (__fxstat): Do not use CHECK_1.
10381         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10382         <bp-checks.h>.
10383         (___fxstat64): Do not use CHECK_1.
10384         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10385         <bp-checks.h>.
10386         (__fxstatat): Do not use CHECK_1.
10387         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10388         <bp-checks.h>.
10389         (__fxstatat64): Do not use CHECK_1.
10390         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10391         <bp-checks.h>.
10392         (__fxstat): Do not use CHECK_1.
10393         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10394         <bp-checks.h>.
10395         (__fxstatat): Do not use CHECK_1.
10396         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10397         <bp-checks.h>.
10398         (__getresgid): Do not use CHECK_1.
10399         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10400         <bp-checks.h>.
10401         (__getresuid): Do not use CHECK_1.
10402         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10403         <bp-checks.h>.
10404         (__lxstat): Do not use CHECK_1.
10405         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10406         <bp-checks.h>.
10407         (__old_msgctl): Do not use CHECK_1.
10408         (__new_msgctl): Likewise.
10409         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10410         <bp-checks.h>.
10411         (__new_setrlimit): Do not use CHECK_1.
10412         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10413         <bp-checks.h>.
10414         (__old_shmctl): Do not use CHECK_1.
10415         (__new_shmctl): Likewise.
10416         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10417         <bp-checks.h>.
10418         (__xstat): Do not use CHECK_1.
10419         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10420         (__lxstat): Do not use CHECK_1.
10421         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10422         <bp-checks.h>.
10423         (___lxstat64): Do not use CHECK_1.
10424         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10425         (__old_msgctl): Do not use CHECK_1.
10426         (__new_msgctl): Likewise.
10427         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10428         <bp-checks.h>.
10429         (__gettimeofday): Do not use CHECK_1.
10430         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10431         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10432         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10433         <bp-checks.h>.
10434         (__gettimeofday): Do not use CHECK_1.
10435         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10436         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10437         (__new_shmctl): Do not use CHECK_1.
10438         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10439         <bp-checks.h>.
10440         (do_sigtimedwait): Do not use CHECK_1.
10441         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10442         <bp-checks.h>.
10443         (do_sigwaitinfo): Do not use CHECK_1.
10444         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10445         <bp-checks.h>.
10446         (msgctl): Do not use CHECK_1.
10447         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10448         <bp-checks.h>.
10449         (shmctl): Do not use CHECK_1.
10450         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10451         (ustat): Do not use CHECK_1.
10452         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10453         <bp-checks.h>.
10454         (__fxstat): Do not use CHECK_1.
10455         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10456         <bp-checks.h>.
10457         (__fxstatat): Do not use CHECK_1.
10458         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10459         <bp-checks.h>.
10460         (__lxstat): Do not use CHECK_1.
10461         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10462         <bp-checks.h>.
10463         (__xstat): Do not use CHECK_1.
10464         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10465         (__xstat): Do not use CHECK_1.
10466         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10467         (___xstat64): Do not use CHECK_1.
10469         [BZ #13550]
10470         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10471         definitions.
10472         (CHECK_BOUNDS_HIGH): Likewise.
10473         * string/strcpy.c: Do not include <bp-checks.h>.
10474         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10476 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10478         * nscd/nscd-client.h (__nscd_drop_map_ref):
10479         Add __attribute__ ((unused)).
10480         * nis/nss-nisplus.h (niserr2nss): Likewise.
10482         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10483         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10485         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10486         Remove inline keyword.
10487         * include/rounding-mode.h (round_away): Likewise.
10488         * libio/wfileops.c (adjust_wide_data): Likewise.
10489         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10490         (__m128i_strloadu_tolower): Likewise.
10491         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10492         (__m128i_strloadu_tolower): Likewise.
10493         * time/mktime.c (ydhms_diff): Likewise.
10494         * locale/elem-hash.h (elem_hash): Likewise.
10495         * locale/setlocale.c (setdata): Likewise.
10496         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10497         (re_string_wchar_at): Likewise.
10498         (bitset_not, bitset_merge, bitset_mask): Likewise.
10499         [!(__GNUC__ > 3)] (inline): Remove macro.
10500         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10501         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10502         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10503         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10504         * string/memcmp.c (memcmp_bytes): Likewise.
10505         * locale/programs/locarchive.c (compute_hashval): Likewise.
10506         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10507         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10508         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10509         * nss/getent.c (print_rpc, print_protocols): Likewise.
10510         (print_passwd, print_group, print_aliases): Likewise.
10511         * nis/nss-nisplus.h (niserr2nss): Likewise.
10512         * nscd/connections.c (restart_p): Likewise.
10513         Change return type to bool.
10515 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10517         * Makeconfig (all-Depend-files): Add existing
10518         $(sorted-subdirs:=/Depend) files.
10519         (all-subdirs): Remove nss.
10520         * sysdeps/unix/inet/Subdirs: Add it here instead.
10521         * hesiod/Depend: New file.
10523         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10524         instead of calling alloca.
10526         * io/lseek.c (__lseek): Rename to __libc_lseek.
10527         Define __lseek as an alias.
10529         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10531 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10533         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10534         else clause and remove check for non-standard endianness.
10536 2013-02-04  David S. Miller  <davem@davemloft.net>
10538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10540 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10542         [BZ #13550]
10543         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10544         (__ubp_memchr): Remove prototype.
10545         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10546         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10547         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10548         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10549         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10550         Remove alias.
10551         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10552         (__ubp_memchr): Likewise.
10553         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10554         (__ubp_memchr): Likewise.
10555         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10556         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10557         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10558         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10559         CHECK_STRING.
10560         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10561         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10562         (__getcwd): Do not use CHECK_STRING.
10563         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10564         <bp-checks.h>.
10565         (__real_chown): Do not use CHECK_STRING.
10566         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10567         <bp-checks.h>.
10568         (fchownat): Do not use CHECK_STRING.
10569         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10570         CHECK_STRING.
10571         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10572         <bp-checks.h>.
10573         (__lchown): Do not use CHECK_STRING.
10574         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10575         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10576         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10577         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10579         include <bp-checks.h>.
10580         (truncate64): Do not use CHECK_STRING.
10581         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10582         <bp-checks.h>.
10583         (__real_chown): Do not use CHECK_STRING.
10584         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10585         <bp-checks.h>.
10586         (__lchown): Do not use CHECK_STRING.
10587         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10588         <bp-checks.h>.
10589         (__chown): Do not use CHECK_STRING.
10590         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10591         <bp-checks.h>.
10592         (truncate64): Do not use CHECK_STRING.
10593         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10594         Likewise.
10595         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10596         (__xmknod): Do not use CHECK_STRING.
10597         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10598         <bp-checks.h>.
10599         (__xmknodat): Do not use CHECK_STRING.
10600         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10601         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10603 2013-02-04  Andreas Schwab  <schwab@suse.de>
10605         [BZ #14142]
10606         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10607         * include/netdb.h: Likewise for h_errno.
10608         * elf/tst-stackguard1.c: Include <tls.h>.
10610 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10612         * elf/link.h (struct link_map): Extend the l_addr comment.
10613         * include/link.h (struct link_map): Likewise.
10615 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10617         [BZ #13550]
10618         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10619         (BOUNDED_1): Remove macro.
10620         * debug/backtrace.c: Don't include <bp-checks.h>.
10621         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10622         (__backtrace): Likewise.
10623         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10624         <bp-checks.h>.
10625         (__backtrace): Don't use BOUNDED_1.
10626         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10627         <bp-checks.h>.
10628         (__backtrace): Don't use BOUNDED_1.
10629         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10630         (__backtrace): Don't use BOUNDED_1.
10631         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10632         (shmat): Don't use BOUNDED_N.
10634 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10636         [BZ #13550]
10637         * sysdeps/generic/bp-start.h: Remove file.
10638         * csu/libc-start.c: Don't include <bp-start.h>.
10639         (LIBC_START_MAIN): Set up __environ directly instead of using
10640         INIT_ARGV_and_ENVIRON.
10641         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10642         <bp-start.h>.
10644         [BZ #13550]
10645         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10646         definitions.
10647         (CHECK_FCNTL): Likewise.
10648         (CHECK_N_PAGES): Likewise.
10650         [BZ #13550]
10651         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10652         definitions.
10653         (CHECK_SIGSET_NULL_OK): Likewise.
10654         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10655         <bp-checks.h>.
10656         (sigpending): Don't use CHECK_SIGSET.
10657         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10658         <bp-checks.h>.
10659         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10660         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10661         <bp-checks.h>.
10662         (do_sigsuspend): Don't use CHECK_SIGSET.
10663         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10664         use CHECK_SIGSET.
10665         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10666         (do_sigwait): Don't use CHECK_SIGSET.
10667         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10668         use CHECK_SIGSET.
10669         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10670         include <bp-checks.h>.
10671         (sigpending): Don't use CHECK_SIGSET.
10672         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10673         include <bp-checks.h>.
10674         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10675         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10676         <bp-checks.h>.
10677         (sigpending): Don't use CHECK_SIGSET.
10678         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10679         <bp-checks.h>.
10680         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10682         [BZ #13550]
10683         * sysdeps/generic/bp-semctl.h: Remove file.
10684         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10685         <bp-checks.h> and <bp-semctl.h>.
10686         (__old_semctl): Don't use CHECK_SEMCTL.
10687         (__new_semctl): Likewise.
10688         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10689         and <bp-semctl.h>.
10690         (__old_semctl): Don't use CHECK_SEMCTL.
10691         (__new_semctl): Likewise.
10692         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10693         <bp-checks.h> and <bp-semctl.h>.
10694         (__old_semctl): Don't use CHECK_SEMCTL.
10695         (__new_semctl): Likewise.
10696         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10697         <bp-checks.h> and <bp-semctl.h>.
10698         (semctl): Don't use CHECK_SEMCTL.
10700         [BZ #13550]
10701         * Makerules (elide-bp-thunks): Remove variable.
10702         (elide-routines.oS): Don't use $(elide-bp-thunks).
10703         (elide-routines.os): Likewise.
10704         (elide-routines.o): Likewise.
10705         (elide-routines.op): Likewise.
10706         (elide-routines.og): Likewise.
10707         (objects): Don't use $(bp-thunks).
10708         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10709         include.
10710         (common-generated): Do not add s-proto-bp.d.
10711         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10712         (int): Likewise.
10713         (typ): Likewise.
10714         Do not generate makefile rules for bounded-pointer thunks.
10715         * sysdeps/generic/bp-thunks.h: Remove file.
10716         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10717         * sysdeps/unix/s-proto-bp.S: Likewise.
10719         [BZ #15062]
10720         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10721         parts of result separately when argument is not close to line from
10722         -i to i and one part of argument is small.
10723         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10724         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10725         * math/libm-test.inc (cacos_test): Add more tests.
10726         (casin_test): Likewise.
10727         (casinh_test): Likewise.
10728         * sysdeps/i386/fpu/libm-test-ulps: Update.
10729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10731 2013-01-31  David S. Miller  <davem@davemloft.net>
10733         * po/de.po: Update from translation team.
10735 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10737         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10739 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10741         * configure.in (_AC_PROG_CC_C89): New definition.
10742         * configure: Regenerate.
10744         * configure.in (AC_PROG_CPP): New definition.
10745         * configure: Regenerate.
10747 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10749         * debug/tst-backtrace.h: New file.
10750         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10751         (ret): Remove variable.
10752         (x): Likewise.
10753         (FAIL): Remove macro.
10754         (NO_INLINE): Likewise.
10755         (fn1): Use match function instead of strstr.
10756         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10757         (ret): Remove variable.
10758         (x): Likewise.
10759         (FAIL): Remove macro.
10760         (NO_INLINE): Likewise.
10761         (fn): Use match function instead of strstr.
10762         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10763         (ret): Remove variable.
10764         (x): Likewise.
10765         (FAIL): Remove macro.
10766         (NO_INLINE): Likewise.
10767         (handle_signal): Use match function instead of strstr.
10768         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10769         (ret): Remove variable.
10770         (x): Likewise.
10771         (FAIL): Remove macro.
10772         (NO_INLINE): Likewise.
10773         (handle_signal): Use match function instead of strstr.
10775 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10777         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10779 2013-01-23  David S. Miller  <davem@davemloft.net>
10781         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10782         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10783         argument of CAS if possible.
10784         * sysdeps/sparc/sparc64/bits/atomic.h
10785         (__arch_compare_and_exchange_val_32_acq): Likewise.
10786         (__arch_compare_and_exchange_val_64_acq): Likewise.
10788 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10790         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10791         * sysdeps/posix/ulimit.c: ... this.
10792         Include <limits.h>.
10793         * sysdeps/unix/bsd/ulimit.c: Remove file.
10795 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10797         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10798         (LDFLAGS-tst-array5): Likewise.
10800 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10802         [BZ #15036]
10803         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10804         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10805         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10806         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10808 2013-01-21  David S. Miller  <davem@davemloft.net>
10810         * sysdeps/sparc/backtrace.c: New file.
10811         * sysdeps/sparc/sparc32/backtrace.h: New file.
10812         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10813         * sysdeps/sparc/sparc64/backtrace.h: New file.
10814         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10815         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10816         -funwind-tables.
10818 2013-01-21  Andreas Schwab  <schwab@suse.de>
10820         [BZ #15020]
10821         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10822         closed its stdout.
10824 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10827         "mpa2.h".
10828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10830 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10831             Mark Mitchell  <mark@codesourcery.com>
10832             Tom de Vries  <tom@codesourcery.com>
10833             Paul Pluzhnikov  <ppluzhnikov@google.com>
10835         * debug/tst-backtrace2.c: New file.
10836         * debug/tst-backtrace3.c: Likewise.
10837         * debug/tst-backtrace4.c: Likewise.
10838         * debug/tst-backtrace5.c: Likewise.
10839         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10840         (CFLAGS-tst-backtrace3.c): Likewise.
10841         (CFLAGS-tst-backtrace4.c): Likewise.
10842         (CFLAGS-tst-backtrace5.c): Likewise.
10843         (LDFLAGS-tst-backtrace2): Likewise.
10844         (LDFLAGS-tst-backtrace3): Likewise.
10845         (LDFLAGS-tst-backtrace4): Likewise.
10846         (LDFLAGS-tst-backtrace5): Likewise.
10847         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10848         tst-backtrace4 and tst-backtrace5.
10850 2013-01-18  Anton Blanchard  <anton@samba.org>
10851             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10853         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10854         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10855         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10856         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10858         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10859         "+r" and remove output regs list as redundant.  Add explicit inline
10860         asm to specify register of return val to work around compiler codegen
10861         bug.  Remove (int) cast on return value.  Add return type parameter to
10862         use in macro so that this macro does not truncate return value for
10863         64-bit values.
10864         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10865         pass to INTERNAL_VSYSCALL_NCS.
10866         (INLINE_VSYSCALL): Add 'long int' as return type to
10867         INTERNAL_VSYSCALL_NCS macro invocation.
10868         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10869         INTERNAL_VSYSCALL_NCS macro invocation.
10870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10872 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10874         [BZ #14496]
10875         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10876         Fix application of SIMD FP exception mask.
10878         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10879         mp_no from a power of two.
10880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10881         __mpexp_twomm1.  Use __pow_mp.
10883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10884         multiplication.
10886 2013-01-17  David S. Miller  <davem@davemloft.net>
10888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10890 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10892         [BZ #15023]
10893         * include/complex.h: Condition contents on [!_COMPLEX_H].
10894         (__kernel_casinhf): New prototype.
10895         (__kernel_casinh): Likewise.
10896         (__kernel_casinhl): Likewise.
10897         * math/Makefile (libm_calls): Add k_casinh.
10898         * math/k_casinh.c: New file.
10899         * math/k_casinhf.c: Likewise.
10900         * math/k_casinhl.c: Likewise.
10901         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10902         finite nonzero arguments.
10903         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10904         finite nonzero arguments.
10905         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10906         finite nonzero arguments.
10907         * math/s_casinh.c: Do not include <float.h>.
10908         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10909         * math/s_casinhf.c: Do not include <float.h>.
10910         (__casinhf): Move code for finite nonzero arguments to
10911         k_casinhf.c.
10912         * math/s_casinhl.c: Do not include <float.h>.
10913         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10914         redefine.
10915         (__casinhl): Move code for finite nonzero arguments to
10916         k_casinhl.c.
10917         * math/libm-test.inc (cacos_test): Add more tests.
10918         * sysdeps/i386/fpu/libm-test-ulps: Update.
10919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10923         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10924         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10925         [!HAVE_MREMAP]: Remove [defined linux] case.
10926         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10928 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10930         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10932 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10934         * elf/elf.h (R_386_SIZE32): New relocation.
10935         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10936         R_386_SIZE32.
10937         (elf_machine_rela): Likewise.
10938         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10939         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10941 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10943         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10944         (FP_FAST_FMA): Do not define.
10945         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10946         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10947         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10948         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10949         !_SOFT_FLOAT]: Likewise.
10950         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10951         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10952         value.
10953         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10954         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10955         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10956         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10957         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10958         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10959         file.
10961 2013-01-16  Andreas Schwab  <schwab@suse.de>
10963         [BZ #14327]
10964         * include/stdlib.h (__mktemp): Add declaration.
10965         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10966         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10968 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10970         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10971         definitions.
10972         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10973         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10974         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10975         definitions here.
10976         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10977         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10978         definitions.
10979         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10980         and ONE.
10981         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10982         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10983         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10984         definitions.
10985         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10986         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10987         definitions.
10988         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10990         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10992 2013-01-15  David S. Miller  <davem@davemloft.net>
10994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10995         trunc{,f} to libm-sysdep_routes.
10996         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10998         file.
10999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11001         file.
11002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11003         file.
11004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11006         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11007         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11008         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11009         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11010         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11011         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11014         nearbyint{,f} to libm-sysdep_routes.
11015         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11017         New file.
11018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11019         file.
11020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11021         New file.
11022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11023         file.
11024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11026         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11027         file.
11028         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11029         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11030         file.
11031         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11032         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11033         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11035         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11036         libc_feholdexcept and libc_fesetenv.
11038 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11040         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11042 2013-01-14  David S. Miller  <davem@davemloft.net>
11044         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11045         (SPARC_ASM_VIS2_IFUNC): Likewise.
11046         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11048         use of 'siam' instruction.
11049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11050         Likewise.
11051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11052         Likewise.
11053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11054         Likewise.
11055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11056         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11060         file.
11061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11062         file.
11063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11064         file.
11065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11066         file.
11067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11072         new VIS2 routines.
11073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11076         Likewise.
11077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11082         routines to libm-sysdep_routines.
11083         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11086         fdim/fdimf to libm-sysdep_routines.
11087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11088         file.
11089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11091         file.
11092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11095         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11096         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11097         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11098         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11100 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11102         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11103         to optimize copies.
11105         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11110         local variable MPTWO.
11111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11112         Likewise.
11114 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11116         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11117         GLOB_NOESCAPE.
11119 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11121         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11123 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11125         * manual/pattern.texi (glob_t): Document gl_flags.
11126         (glob64_t): Likewise.
11128 2013-01-11  David S. Miller  <davem@davemloft.net>
11130         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11131         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11132         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11133         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11134         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11135         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11136         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11137         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11138         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11139         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11140         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11141         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11142         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11144         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11145         sparc V9 rather than using V8 code.
11146         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11147         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11149         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11150         Move to...
11151         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11152         Here.
11154 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11156         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11157         not in the main loop.
11158         * configure: Regenerated.
11160 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11162         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11163         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11164         to just #else.
11165         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11166         [!__GLIBC_HAVE_LONG_LONG] case.
11167         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11168         condition to just #else.
11169         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11170         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11171         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11172         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11173         unconditional.
11174         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11175         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11176         #elif condition to just #else.
11177         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11178         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11179         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11180         #elif condition to just #else.
11182 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11184         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11185         (EF_MIPS_ARCH_64): Fix value.
11186         (EF_MIPS_ARCH_32R2): New.
11187         (EF_MIPS_ARCH_64R2): New.
11189 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11191         * Makeconfig (+link-pie-before-libc): New.
11192         (+link-pie-after-libc): Likewise.
11193         (+link-pie-tests): Likewise.
11194         (+link-pie): Rewritten.
11195         (link-before-libc): Remove $(config-LDFLAGS).
11196         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11197         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11198         (config-LDFLAGS): Renamed to ...
11199         (rtld-LDFLAGS): This.
11200         (rtld-tests-LDFLAGS): New macro.
11201         (link-libc-rpath-link): Likewise.
11202         (link-libc-tests-rpath-link): Likewise.
11203         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11204         (link-libc): Prepand $(link-libc-rpath-link).
11205         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11206         (test-program-prefix): New macro.
11207         (test-via-rtld-prefix): Likewise.
11208         (test-program-cmd): Likewise.
11209         (host-test-program-cmd): Likewise.
11210         * Makefile ($(common-objpfx)testrun.sh): Replace
11211         $(run-program-prefix) with $(test-program-prefix).
11212         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11213         $(rtld-LDFLAGS).
11214         ($(common-objpfx)shlib.lds): Likewise.
11215         (build-module-helper): Likewise.
11216         ($(common-objpfx)format.lds): Likewise.
11217         * Rules (binaries-pie-tests): New.
11218         (binaries-pie-notests): Likewise.
11219         (binaries-pie): Rewritten.
11220         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11221         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11222         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11223         (make-test-out): Replace $(host-built-program-cmd) with
11224         $(host-test-program-cmd).
11225         * config.make.in (build-hardcoded-path-in-tests): New variable.
11226         * configure.in (--enable-hardcoded-path-in-tests): New configure
11227         option.
11228         (hardcoded_path_in_tests): New AC_SUBST.
11229         * configure: Regenerated.
11230         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11231         $(built-program-cmd) with $(test-program-cmd).
11232         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11233         (test_program_cmd): This.
11234         * elf/Makefile ($(objpfx)order.out): Run test with
11235         $(test-program-prefix).
11236         ($(objpfx)order2.out): Likewise.
11237         ($(objpfx)tst-initorder.out): Likewise.
11238         ($(objpfx)tst-initorder2.out): Likewise.
11239         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11240         $(test-program-cmd).
11241         ($(objpfx)tst-array1-static.out): Likewise.
11242         ($(objpfx)tst-array2.out): Likewise.
11243         ($(objpfx)tst-array3.out): Likewise.
11244         ($(objpfx)tst-array4.out): Likewise.
11245         ($(objpfx)tst-array5.out): Likewise.
11246         ($(objpfx)tst-array5-static.out): Likewise.
11247         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11248         $(test-program-cmd).
11249         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11250         $(run-program-prefix) with $(test-program-prefix).
11251         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11252         (test_program_prefix): This.
11253         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11254         $(run-program-prefix) with $(test-program-prefix).
11255         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11256         (test_program_prefix): This.
11257         * iconvdata/tst-tables.sh: Likewise.
11258         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11259         $(run-program-prefix) with $(test-program-prefix).
11260         ($(objpfx)tst-translit.out): Likewise.
11261         ($(objpfx)tst-gettext2.out): Likewise.
11262         ($(objpfx)tst-gettext4.out): Likewise.
11263         ($(objpfx)tst-gettext6.out): Likewise.
11264         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11265         (test_program_prefix): This.
11266         * intl/tst-gettext2.sh: Likewise.
11267         * intl/tst-gettext4.sh  Likewise.
11268         * intl/tst-gettext6.sh: Likewise.
11269         * intl/tst-translit.sh: Likewise.
11270         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11271         with $(test-program-cmd).
11272         * libio/Makefile ($(objpfx)test-freopen.out): Replace
11273         $(run-program-prefix) with $(test-program-prefix).
11274         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11275         (test_program_prefix): This.
11276         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11277         $(run-program-prefix) with $(test-program-prefix).
11278         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11279         (test_program_prefix): This.
11280         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11281         * posix/Makefile ($(objpfx)globtest.out): Replace
11282         $(run-via-rtld-prefix) and $(test-wrapper) with
11283         $(test-program-prefix) and $(test-via-rtld-prefix).
11284         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11285         $(test-program-prefix).
11286         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11287         $(host-test-program-cmd).
11288         (tst-spawn-ARGS): Likewise.
11289         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11290         $(test-program-prefix).
11291         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11292         (test_via_rtld_prefix): This.
11293         (test_wrapper): Renamed to ...
11294         (test_program_prefix): This.
11295         (run_program_prefix): Replaced by test_program_prefix.
11296         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11297         (test_program_prefix): This.
11298         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11299         with $(host-test-program-cmd).
11300         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11301         $(run-program-prefix) with $(test-program-prefix).
11302         ($(objpfx)tst-printf.out): Likewise.
11303         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11304         $(test-program-cmd).
11305         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11306         (test_program_prefix): This.
11307         * stdio-common/tst-unbputc.sh: Likewise.
11308         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11309         $(run-program-prefix) with $(test-program-prefix).
11310         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11311         (test_program_prefix): This.
11312         * string/Makefile ($(objpfx)tst-svc.out):  Replace
11313         $(built-program-cmd) with $(test-program-cmd).
11315 2013-01-11  Andreas Jaeger  <aj@suse.de>
11317         [BZ #15003]
11318         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11319         value. Sync with Linux 3.7.
11321 2013-01-10  David S. Miller  <davem@davemloft.net>
11323         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11324         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11325         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11327 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11329         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11330         never set.
11331         * configure: Regenerated.
11333 2013-01-10  David S. Miller  <davem@davemloft.net>
11335         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11336         sparc V9 rather than using V8 code.
11337         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11338         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11340 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11342         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11343         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11344         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11345         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11346         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11347         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11348         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11349         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11350         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11351         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11352         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11353         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11354         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11355         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11356         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11357         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11358         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11359         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11360         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11361         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11362         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11363         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11364         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11365         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11366         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11367         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11368         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11370 2013-01-10  David S. Miller  <davem@davemloft.net>
11372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11374 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11376         * posix/Makefile (tests-static): New variable.
11377         (tests): Add $(tests-static).
11378         (tst-exec-static-ARGS): New variable.
11379         (tst-spawn-static-ARGS): Likewise.
11380         * posix/tst-exec-static.c: New file.
11381         * posix/tst-spawn-static.c: Likewise.
11382         * posix/tst-exec.c: Support run directly.
11383         * posix/tst-spawn.c: Likewise.
11385 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11387         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11388         long.
11389         * math/bits/mathcalls.h (llrint): Likewise.
11390         (llround): Likewise.
11391         * stdlib/stdlib.h (struct drand48_data): Likewise.
11392         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11393         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11394         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11395         Likewise.
11396         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11397         Likewise.
11398         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11399         (elf_greg_t): Likewise.
11400         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11401         (__jmp_buf): Likewise.
11402         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11403         definitions.
11404         (llrint): Likewise, for all definitions.
11405         (llrintl): Likewise.
11407         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11408         Remove [__GNUC__] condition.
11409         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11410         condition to just [__USE_ISOC99].
11411         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11413 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11415         [BZ #14200]
11416         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11417         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11418         defined.
11419         (_POSIX_V6_ILP32_OFF32): Likewise.
11420         (_XBS5_ILP32_OFF32): Likewise.
11421         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11422         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11424 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11426         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11428         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11429         doubles __mpexp_twomm1.  Adjust usage.
11430         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11431         Remove.
11433 2013-01-10  Andreas Schwab  <schwab@suse.de>
11435         [BZ #14964]
11436         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11437         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11439 2013-01-09  David S. Miller  <davem@davemloft.net>
11441         [BZ #15003]
11442         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11443         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11444         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11445         TCP_FASTOPEN): Define.
11446         (tcp_repair_opt): New structure.
11447         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11448         enum values.
11449         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11450         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11451         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11452         (tcp_cookie_transactions): New structure.
11454 2013-01-09  Anton Blanchard  <anton@samba.org>
11456         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11457         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11458         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11459         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11461 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11463         * include/features.h (__USE_ANSI): Remove.
11465 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11467         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11469         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11471 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11473         * sysdeps/s390/fpu/libm-test-ulps: Update.
11475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11477         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11478         (__acr): Likewise.
11479         (__cpy): Likewise.
11480         (norm): Likewise.
11481         (denorm): Likewise.
11482         (__mp_dbl): Likewise.
11483         (__dbl_mp): Likewise.
11484         (add_magnitudes): Likewise.
11485         (sub_magnitudes): Likewise.
11486         (__add): Likewise.
11487         (__sub): Likewise.
11488         (__mul): Likewise.
11489         (__inv): Likewise.
11490         (__dvd): Likewise.
11491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11492         (__acr): Likewise.
11493         (__cpy): Likewise.
11494         (norm): Likewise.
11495         (denorm): Likewise.
11496         (__mp_dbl): Likewise.
11497         (__dbl_mp): Likewise.
11498         (add_magnitudes): Likewise.
11499         (sub_magnitudes): Likewise.
11500         (__add): Likewise.
11501         (__sub): Likewise.
11502         (__mul): Likewise.
11503         (__inv): Likewise.
11504         (__dvd): Likewise.
11505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11506         (__acr): Likewise.
11507         (__cpy): Likewise.
11508         (norm): Likewise.
11509         (denorm): Likewise.
11510         (__mp_dbl): Likewise.
11511         (__dbl_mp): Likewise.
11512         (add_magnitudes): Likewise.
11513         (sub_magnitudes): Likewise.
11514         (__add): Likewise.
11515         (__sub): Likewise.
11516         (__mul): Likewise.
11517         (__inv): Likewise.
11518         (__dvd): Likewise.
11520 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11522         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11523         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11524         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11525         2 && __USE_EXTERN_INLINES]: Likewise.
11527 2013-01-08  Andreas Jaeger  <aj@suse.de>
11529         [BZ# 14985]
11530         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11531         Remove.
11532         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11533         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11535 2013-01-07  Anton Blanchard  <anton@samba.org>
11537         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11538         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11539         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11540         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11541         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11542         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11543         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11544         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11546         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11547         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11548         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11549         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11550         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11551         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11552         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11553         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11554         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11555         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11556         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11557         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11558         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11559         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11560         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11561         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11562         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11563         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11564         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11565         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11566         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11567         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11569         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11570         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11571         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11572         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11573         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11574         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11575         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11576         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11577         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11578         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11579         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11581 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11583         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11584         (__MALLOC_PMT): Likewise.
11585         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11586         [__GNUC__], only on [_LIBC].
11587         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11588         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11589         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11590         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11591         forward declaration.
11592         (realloc_hook_ini): Likewise.
11593         (memalign_hook_ini): Likewise.
11594         (__libc_memalign): Do not use __MALLOC_PMT in variable
11595         declaration.
11596         (__libc_valloc): Likewise.
11597         (__libc_pvalloc): Likewise.
11598         (__libc_calloc): Likewise.
11599         (__posix_memalign): Likewise.
11601         [BZ #14996]
11602         * math/s_casinh.c: Include <float.h>.
11603         (__casinh): Do not do computation with squaring and square root
11604         for large arguments.
11605         * math/s_casinhf.c: Include <float.h>.
11606         (__casinhf): Do not do computation with squaring and square root
11607         for large arguments.
11608         * math/s_casinhl.c: Include <float.h>.
11609         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11610         (__casinhl): Do not do computation with squaring and square root
11611         for large arguments.
11612         * math/libm-test.inc (casin_test): Add more tests.
11613         (casinh_test): Likewise.
11614         * sysdeps/i386/fpu/libm-test-ulps: Update.
11615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11617 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11619         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11620         (__x86_64_raw_data_cache_size): Likewise.
11621         (__x86_64_data_cache_size_half): Likewise.
11622         (__x86_64_raw_data_cache_size_half): Likewise.
11623         (__x86_64_shared_cache_size): Likewise.
11624         (__x86_64_raw_shared_cache_size): Likewise.
11625         (__x86_64_shared_cache_size_half): Likewise.
11626         (__x86_64_raw_shared_cache_size_half): Likewise.
11627         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11628         to ...
11629         (__x86_data_cache_size): This.
11630         (__x86_64_raw_data_cache_size): Renamed to ...
11631         (__x86_raw_data_cache_size): This.
11632         (__x86_64_data_cache_size_half): Renamed to ...
11633         (__x86_data_cache_size_half): This.
11634         (__x86_64_raw_data_cache_size_half): Renamed to ...
11635         (__x86_raw_data_cache_size_half): This.
11636         (__x86_64_shared_cache_size): Renamed to ...
11637         (__x86_shared_cache_size): This.
11638         (__x86_64_raw_shared_cache_size): Renamed to ...
11639         (__x86_raw_shared_cache_size): This.
11640         (__x86_64_shared_cache_size_half): Renamed to ...
11641         (__x86_shared_cache_size_half): This.
11642         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11643         (__x86_raw_shared_cache_size_half): This.
11644         * sysdeps/x86_64/memcpy.S: Updated.
11645         * sysdeps/x86_64/memset.S: Likewise.
11646         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11647         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11648         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11650 2013-01-04  David S. Miller  <davem@davemloft.net>
11652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11654 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11656         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11657         1 to avoid redefinition warning.
11658         (__USE_GNU): Don't define.
11659         (init_signaling_nan): Protoize.
11661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11663 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11665         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11667         (__cpymn): Likewise.
11668         (norm): Remove commented code.
11669         (denorm): Likewise.
11670         (__mp_dbl): Likewise.
11671         (__inv): Likewise.
11672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11673         (__cpymn): Likewise.
11674         (norm): Remove commented code.
11675         (denorm): Likewise.
11676         (__mp_dbl): Likewise.
11677         (__inv): Likewise.
11679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11680         mp_no value for 1.0 and 2.0.
11681         (norm): Use RADIXI instead of radixi.d.
11682         (denorm): Likewise.
11683         (__mul): Use 0.0 instead of zero.d.
11684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11685         mp_no value for 1.0 and 2.0.
11686         (norm): Use RADIXI instead of radixi.d.
11687         (denorm): Likewise.
11688         (__mul): Use 0.0 instead of zero.d.
11690 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11692         [BZ #14994]
11693         * math/s_casinh.c (__casinh): Reduce finite argument to first
11694         quadrant then set signs of results at the end.
11695         * math/s_casinhf.c (__casinhf): Likewise.
11696         * math/s_casinhl.c (__casinhl): Likewise.
11697         * math/libm-test.inc (casin_test): Add more tests.
11698         (casinh_test): Likewise.
11699         * sysdeps/i386/fpu/libm-test-ulps: Update.
11700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11702 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11704         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11706         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11708         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11709         declarations.
11710         (denorm): Likewise.
11711         (__mp_dbl): Likewise.
11712         (__inv): Likewise.
11714         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11715         and adjust the header comment.
11717         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11718         variable name from declaration.
11720 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11722         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11723         Initialize COMMON_CPUID_INDEX_7 element.
11724         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11725         (CPUID_RTM): Likewise.
11726         (HAS_RTM): Likewise.
11727         (COMMON_CPUID_INDEX_7): New enum.
11729 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11731         [BZ #14981]
11732         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11733         size is zero, record memory as freed.
11735 2013-01-03  Andreas Jaeger  <aj@suse.de>
11737         * po/ia.po: Add new Interlingua translation.
11739 2012-01-03  Allan McRae  <allan@archlinux.org>
11741         * locale/programs/localedef.c: Fix description of '--posix' flag.
11743 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11745         * NEWS: Update dates in second copyright notice.
11746         * README: Update copyright dates in example.
11747         * manual/libc.texinfo: Update copyright dates.
11748         * scripts/test-installation.pl: Update copyright date in --version
11749         output.
11751         * hurd/ctty-input.c: Fix copyright notice formatting.
11752         * hurd/ctty-output.c: Likewise.
11753         * hurd/dtable.c: Likewise.
11754         * hurd/hurd-raise.c: Likewise.
11755         * hurd/hurdprio.c: Likewise.
11756         * hurd/msgportdemux.c: Likewise.
11757         * misc/sys/file.h: Likewise.
11758         * misc/sys/ioctl.h: Likewise.
11759         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11760         * sysdeps/mach/hurd/chdir.c: Likewise.
11761         * sysdeps/mach/hurd/fchdir.c: Likewise.
11762         * sysdeps/mach/hurd/rename.c: Likewise.
11763         * sysdeps/mach/hurd/rmdir.c: Likewise.
11764         * sysdeps/mach/hurd/seekdir.c: Likewise.
11765         * sysdeps/mach/hurd/setsid.c: Likewise.
11766         * sysdeps/posix/wait3.c: Likewise.
11768         * All files with FSF copyright notices: Update copyright dates
11769         using scripts/update-copyrights.
11770         * intl/plural.c: Regenerated.
11771         * locale/programs/charmap-kw.h: Likewise.
11772         * locale/programs/locfile-kw.h: Likewise.
11774 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11776         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11777         four values.
11779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11780         calculation loop and add branch prediction.
11782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11783         check access beyond bounds of m1np.
11785         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11786         MPTWO.
11787         (__inv): Remove local variable MPTWO to use the global
11788         constant.
11789         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11790         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11791         variable MPTWO.
11792         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11793         MP3HALFS static const.
11795 2013-01-01  David S. Miller  <davem@davemloft.net>
11797         * po/ca.po: Update from translation team.
11799 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11801         * scripts/update-copyrights: New file.
11802         * Makeconfig: Reformat copyright notice.
11803         * ctype/ctype.h: Likewise.
11804         * debug/swprintf_chk.c: Likewise.
11805         * elf/dl-cache.c: Likewise.
11806         * elf/dl-debug.c: Likewise.
11807         * elf/dl-object.c: Likewise.
11808         * grp/initgroups.c: Likewise.
11809         * hurd/Makefile: Likewise.
11810         * hurd/hurd/signal.h: Likewise.
11811         * hurd/hurdfault.c: Likewise.
11812         * hurd/hurdioctl.c: Likewise.
11813         * hurd/hurdlookup.c: Likewise.
11814         * hurd/intr-msg.c: Likewise.
11815         * iconv/gconv_open.c: Likewise.
11816         * libio/swprintf.c: Likewise.
11817         * locale/lc-ctype.c: Likewise.
11818         * locale/nl_langinfo.c: Likewise.
11819         * mach/Machrules: Likewise.
11820         * mach/Makefile: Likewise.
11821         * malloc/obstack.h: Likewise.
11822         * manual/Makefile: Likewise.
11823         * manual/tsort.awk: Likewise.
11824         * misc/bits/stab.def: Likewise.
11825         * nis/nis_print_group_entry.c: Likewise.
11826         * nis/nis_table.c: Likewise.
11827         * nis/nss_compat/compat-pwd.c: Likewise.
11828         * nis/nss_compat/compat-spwd.c: Likewise.
11829         * po/Makefile: Likewise.
11830         * posix/fnmatch.c: Likewise.
11831         * posix/regex.h: Likewise.
11832         * resolv/Makefile: Likewise.
11833         * resolv/nss_dns/dns-network.c: Likewise.
11834         * resolv/res_hconf.c: Likewise.
11835         * scripts/gen-sorted.awk: Likewise.
11836         * soft-fp/soft-fp.h: Likewise.
11837         * stdio-common/printf.h: Likewise.
11838         * stdlib/monetary.h: Likewise.
11839         * stdlib/random.c: Likewise.
11840         * stdlib/random_r.c: Likewise.
11841         * sysdeps/generic/Makefile: Likewise.
11842         * sysdeps/gnu/Makefile: Likewise.
11843         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11844         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11845         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11846         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11847         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11848         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11849         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11850         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11851         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11852         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11853         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11854         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11855         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11856         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11857         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11858         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11859         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11860         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11861         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11862         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11863         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11864         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11865         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11866         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11867         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11868         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11869         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11870         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11871         * sysdeps/mach/hurd/errnos.awk: Likewise.
11872         * sysdeps/mach/hurd/fork.c: Likewise.
11873         * sysdeps/mach/hurd/getcwd.c: Likewise.
11874         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11875         * sysdeps/mach/hurd/mmap.c: Likewise.
11876         * sysdeps/mach/hurd/utimes.c: Likewise.
11877         * sysdeps/mach/hurd/xmknod.c: Likewise.
11878         * sysdeps/posix/profil.c: Likewise.
11879         * sysdeps/posix/readdir_r.c: Likewise.
11880         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11881         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11882         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11883         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11885         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11886         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11887         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11889         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11890         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11891         * sysdeps/pthread/lio_listio.c: Likewise.
11892         * sysdeps/sparc/dl-procinfo.h: Likewise.
11893         * sysdeps/unix/i386/sysdep.S: Likewise.
11894         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11895         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11896         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11897         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11899         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11900         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11901         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11902         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11903         * sysdeps/wordsize-32/divdi3.c: Likewise.
11904         * time/sys/time.h: Likewise.
11905         * wcsmbs/Makefile: Likewise.
11907 2013-01-01  David S. Miller  <davem@davemloft.net>
11909         * po/fr.po: Update from translation team.
11911         * catgets/gencat.c: Update copyright year.
11912         * csu/version.c: Likewise.
11913         * debug/catchsegv.sh: Likewise.
11914         * debug/pcprofiledump.c: Likewise.
11915         * debug/xtrace.sh: Likewise.
11916         * elf/ldconfig.c: Likewise.
11917         * elf/ldd.bash.in: Likewise.
11918         * elf/pldd.c: Likewise.
11919         * elf/sotruss.ksh: Likewise.
11920         * elf/sprof.c: Likewise.
11921         * iconv/iconv_prog.c: Likewise.
11922         * iconv/iconvconfig.c: Likewise.
11923         * locale/programs/locale.c: Likewise.
11924         * locale/programs/localedef.c: Likewise.
11925         * login/programs/pt_chown.c: Likewise.
11926         * malloc/memusage.sh: Likewise.
11927         * malloc/memusagestat.c: Likewise.
11928         * malloc/mtrace.pl: Likewise.
11929         * nscd/nscd.c: Likewise.
11930         * nss/getent.c: Likewise.
11931         * nss/makedb.c: Likewise.
11932         * posix/getconf.c: Likewise.
11934 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11936         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11937         numbers.
11939 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11941         * math/bits/mathcalls.h (modf): Use __nonnull.
11943 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11945         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11946         (split): Use macro CN instead of the bare value.
11947         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11948         could be used.
11949         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11950         instead of the bare value.
11951         (power1): Likewise.
11953 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11955         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11956         __ATAN_TWOM.
11957         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11959         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11960         their values.
11961         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11962         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11963         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11964         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11966 2012-12-28  Andreas Jaeger  <aj@suse.de>
11968         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11969         values are from Linux 3.7.
11971         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11972         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11974 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11976         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11977         TRUE case.
11979         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11980         (norm): Likewise.
11981         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11982         variables with preprocessor constants.
11983         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11984         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11985         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11987 2012-12-27  Bruno Haible  <bruno@clisp.org>
11989         [BZ #14317]
11990         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11991         only if needed.
11993 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11996         and use variable directly.
11997         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11999         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12000         MPONE.
12001         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12002         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12003         variable MPONE.
12004         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12006         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12007         include directive.  Remove local variable MPONE.
12008         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12009         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12010         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12012 2012-12-25  David S. Miller  <davem@davemloft.net>
12014         * version.h (RELEASE): Set to "development".
12015         (VERSION): Set to "2.17.90".
12016         * NEWS: Add 2.18 section.
12018 2012-12-21  David S. Miller  <davem@davemloft.net>
12020         * po/hr.po: Update from translation team.
12022 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12024         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12026 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12028         * NEWS:  Mention new memcpy for MIPS.
12030 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12032         * manual/contrib.texi (Contributors): Spelling correction.
12034 2012-12-15  David S. Miller  <davem@davemloft.net>
12036         * po/ru.po: Update from translation team.
12038 2012-12-13  David S. Miller  <davem@davemloft.net>
12040         * NEWS: Mention IFUNC testsuite enhancements.
12042         * po/pl.po: Update from translation team.
12043         * po/bg.po: Likewise.
12045         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12046         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12048 2012-12-11  David S. Miller  <davem@davemloft.net>
12050         * po/sv.po: Update from translation team.
12052         * po/vi.po: Update from translation team.
12054         * po/cs.po: Update from translation team.
12056         * po/de.po: Update from translation team.
12057         * po/eo.po: Likewise.
12058         * po/nl.po: Likewise.
12060 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12062         [BZ #14246]
12063         * manual/argp.texi (Argp Helper Functions): Move node to follow
12064         Argp Parsing State.
12066         [BZ #14872]
12067         * manual/conf.texi (Limits on File System Capacity): Mention if
12068         terminating null is included in the max size.
12070 2012-12-10  Andreas Jaeger  <aj@suse.de>
12072         * po/cs.po: Update from translation team.
12074 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12076         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12077         void pointer and cast to uintptr_t.
12078         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12079         path.
12080         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12081         * sysdeps/s390/s390-64/memset.S: Likewise.
12083 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12085         [BZ #14833]
12086         * menual/message.texi (Message Translation): Fix typos.
12087         (Helper programs for gettext): Likewise.
12089 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12091         [BZ #14898]
12092         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12093         Change to -1.
12095 2012-12-07  David S. Miller  <davem@davemloft.net>
12097         * po/libc.pot: Update.
12099 2012-12-07  Richard Henderson  <rth@redhat.com>
12101         [BZ #10114]
12102         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12103         normal/normal case to before the switch.
12104         (_FP_DIV): Likewise.
12106 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12107             Mike Frysinger  <vapier@gentoo.org>
12109         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12110         check for __NR_fadvise64_64.
12112 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12114         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12115         0, not just to plain "0" as a statement.
12116         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12117         with cw.
12119 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12121         * NEWS: Use sourceware.org in Bugzilla URL.
12123 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12126         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12128         * stdio-common/tst-put-error.c (do_test): Add newline to the
12129         padded test to ensure flush.
12131 2012-12-05  Jeff Law  <law@redhat.com>
12133         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12135 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12137         * README: Don't refer to ports add-on as distributed separately.
12138         Mention AArch64 in list of systems supported in the ports add-on.
12140         * LICENSES: Add more non-FSF copyright and license notices.
12142         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12143         ((unused)).
12145         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12147         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12148         10000 as width of padded output.
12150 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12152         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12154         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12155         variable LX with __attribute__ ((unused)).
12156         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12157         Likewise.
12158         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12159         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12160         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12161         with __attribute__ ((unused)).
12163 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12165         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12167 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12169         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12170         (CFLAGS-nldbl-acos.c): New variable.
12171         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12172         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12173         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12174         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12175         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12176         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12177         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12178         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12179         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12180         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12181         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12182         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12183         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12184         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12185         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12186         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12187         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12188         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12189         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12190         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12191         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12192         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12193         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12194         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12195         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12196         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12197         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12198         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12199         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12200         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12201         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12202         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12203         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12204         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12205         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12206         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12207         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12208         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12209         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12210         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12211         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12212         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12213         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12214         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12215         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12216         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12217         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12218         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12219         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12220         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12221         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12222         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12223         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12224         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12225         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12226         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12227         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12228         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12229         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12230         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12231         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12232         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12233         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12234         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12235         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12236         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12237         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12238         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12239         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12240         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12241         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12242         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12243         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12244         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12245         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12246         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12247         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12248         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12249         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12250         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12251         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12252         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12253         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12254         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12255         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12256         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12257         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12258         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12259         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12260         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12261         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12262         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12263         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12264         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12265         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12266         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12267         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12270         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12272         [BZ #14914]
12273         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12274         whole low double instead of just low 47 bits when splitting values
12275         into two parts.
12277 2012-12-03  Allan McRae  <allan@archlinux.org>
12279         * manual/stdio.texi (Predefined Printf Handlers): Remove
12280         @hsep and @vsep usage.
12282 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
12284         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12285         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12287 2012-12-03  Jeff Law  <law@redhat.com>
12289         * time/sys/time.h (settimeofday): Do not mark TV argument
12290         as __nonnull.
12292 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
12294         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12295         when currently writing and seek to current position when not.
12296         * libio/Makefile (tests): Remove bug-fclose1.
12297         * libio/bug-fclose1.c: Delete.
12299 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
12301         * manual/arith.texi (feenableexcept): Fix typo.
12302         (fedisableexcept): Likewise.
12304 2012-11-30  Roland McGrath  <roland@hack.frob.com>
12306         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12307         second, differently-typed declaration, rather than a cast.
12309 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12311         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12312         * include/rpc/svc.h: ... here.
12314 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
12316         [BZ #13013]
12317         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12318         depending n and resplen2 to catch cases where answer
12319         equals answerp2.
12321 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
12323         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12324         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12326 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
12328         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12330 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12332         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12334 2012-11-28  Jeff Law  <law@redhat.com>
12336         [BZ #13761]
12337         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12338         dataset_temporary.  Track alloca usage into alloca_used.
12339         If dataset is large allocate and release it via malloc/free.
12341 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12343         [BZ #14197]
12344         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12346 2012-11-28  David S. Miller  <davem@davemloft.net>
12348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12350 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12352         [BZ #14803]
12353         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12354         of pi/2 rounded to nearest to 64 bits.
12355         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12356         nearest to 64 bits.
12357         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12358         bits.
12360 2012-11-28  Jeff Law <law@redhat.com>
12361             Martin Osvald <mosvald@redhat.com>
12363         [BZ #14889]
12364         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12365         * sunrpc/svc.c: Include time.h.
12366         (__svc_accept_failed): New function.
12367         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12368         any reason other than EINTR, call __svc_accept_failed.
12369         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12370         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12372 2012-11-28  Andreas Schwab  <schwab@suse.de>
12374         * scripts/abilist.awk: Also handle indirect functions in .opd
12375         section.
12377 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12379         [BZ #13881]
12380         * sysdeps/x86/fpu/powl_helper.c: New file.
12381         * sysdeps/x86/fpu/Makefile: Likewise.
12382         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12383         (p3): New object.
12384         (__ieee754_powl): Use __powl_helper for finite arguments except
12385         integer exponents below 8.
12386         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12387         (p3): New object.
12388         (__ieee754_powl): Use __powl_helper for finite arguments except
12389         integer exponents below 8.
12390         * math/libm-test.inc (pow_test): Add more tests and enable some
12391         previously disabled tests.
12392         * sysdeps/i386/fpu/libm-test-ulps: Update.
12393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12395 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12396             Carlos O'Donell  <carlos_odonell@mentor.com>
12398         * nss/makedb.c (is_prime): Assert that input is odd and greater
12399         than 4.  Note that fact in a comment too.
12400         (next_prime): Add 4 to input.
12402 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12404         [BZ #11741]
12405         * libio/Makefile (tests): Add test case tst-fwrite-error.
12406         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12407         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12408         * libio/tst-fwrite-error.c: New test case.
12410 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12412         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12413         before casting to void *.
12414         * include/libc-internal.h (__pointer_type): New macro.
12415         (__integer_if_pointer_type_sub): Likewise.
12416         (__integer_if_pointer_type): Likewise.
12417         (cast_to_integer): Likewise.
12418         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12419         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12420         before casting to atomic64_t.
12421         (atomic_exchange_acq): Likewise.
12422         (__arch_exchange_and_add_body): Likewise.
12423         (__arch_add_body): Likewise.
12424         (atomic_add_negative): Likewise.
12425         (atomic_add_zero): Likewise.
12427 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12429         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12430         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12431         (add_fdes): Likewise.
12432         (linear_search_fdes): Likewise.
12433         (binary_search_unencoded_fdes): Likewise.
12435 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12437         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12439 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12441         * configure.in: Autodetect C++ header directories.
12442         * configure: Regenerated.
12444 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12446         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12448 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12452 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12454         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12455         LDBL_MANT_DIG == 106]: Disable some tests.
12456         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12457         Likewise.
12458         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12459         Likewise.
12461         [BZ #14871]
12462         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12463         input for small inputs.  Return +/- pi/2 for large inputs.
12464         * math/libm-test.inc (atan_test): Add more tests.
12466         * sysdeps/generic/unwind-dw2-fde-glibc.c
12467         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12468         __attribute__ ((unused)).
12470         [BZ #14645]
12471         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12472         x * y if x and y are nonzero and z is zero.
12474         [BZ #14811]
12475         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12476         nonzero exponents with absolute value below 0x1p-117 to +/-
12477         0x1p-117.
12479         [BZ #14869]
12480         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12481         up arguments below 2**-450, not just those below 2**-500.
12482         * math/libm-test.inc (hypot_test): Add another test.
12484         [BZ #14868]
12485         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12486         Return a+b for ratio over 2**120, not 2**60.
12487         * math/libm-test.inc (hypot_test): Add another test.
12489         * math/libm-test.inc (clog_test): Use
12490         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12491         (clog10_test): Likewise.
12493         [BZ #6778]
12494         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12496 2012-11-22  Andreas Schwab  <schwab@suse.de>
12498         * sysdeps/i386/fpu/libm-test-ulps: Update.
12500 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12502         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12503         printf output with newline.
12505 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12507         [BZ #14865]
12508         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12509         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12510         -z nodlopen, -z initfirst and -z execstack support.
12511         * configure: Regenerated.
12513         * elf/elf.h (DF_1_NODIRECT): New macro.
12514         (DF_1_IGNMULDEF): Likewise.
12515         (DF_1_NOKSYMS): Likewise.
12516         (DF_1_NOHDR): Likewise.
12517         (DF_1_EDITED): Likewise.
12518         (DF_1_NORELOC): Likewise.
12519         (DF_1_SYMINTPOSE): Likewise.
12520         (DF_1_GLOBAUDIT): Likewise.
12521         (DF_1_SINGLETON): Likewise.
12522         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12523         DT_1_SUPPORTED_MASK bits.
12524         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12526 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12528         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12530 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12532         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12533         macro.
12535         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12536         (sendmmsg): Move declarations...
12537         * socket/sys/socket.h: ... here.
12538         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12539         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12540         include it from...
12541         * socket/recvmmsg.c: ... this new file.
12542         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12543         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12544         definition of __sendmmsg hidden.
12545         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12546         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12547         Move ENOSYS stub into and include it from...
12548         * socket/sendmmsg.c: ... this new file.
12549         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12550         (sysdep_routines): Move recvmmsg and sendmmsg...
12551         * socket/Makefile (routines): ... here.
12552         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12553         (GLIBC_PRIVATE): Add __sendmmsg.
12554         * include/sys/socket.h (__sendmmsg): Add declarations.
12555         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12556         sendmmsg.
12558 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12560         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12561         variable I1 with __attribute__ ((unused)).
12562         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12564 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12566         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12567         DUMMY variables with __attribute__ ((unused)).
12569         * bits/byteswap.h: Include <bits/types.h>.
12570         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12572 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12574         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12575         string_t.  Do not manually set errno.
12576         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12577         length with __strnlen.  Make sure to both set errno and return it on
12578         failure.
12580 2012-11-19  David S. Miller  <davem@davemloft.net>
12582         With help from Joseph Myers.
12583         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12584         very large arguments properly.
12585         * math/libm-test.inc (atan_test): New tests.
12586         (atan2_test): New tests.
12587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12590 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12592         [BZ #14856]
12593         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12594         Define to 3.
12596         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12597         [POSIX] (EADDRNOTAVAIL): Likewise.
12598         [POSIX] (EAFNOSUPPORT): Likewise.
12599         [POSIX] (EALREADY): Likewise.
12600         [POSIX] (ECONNABORTED): Likewise.
12601         [POSIX] (ECONNREFUSED): Likewise.
12602         [POSIX] (ECONNRESET): Likewise.
12603         [POSIX] (EDESTADDRREQ): Likewise.
12604         [POSIX] (EDQUOT): Likewise.
12605         [POSIX] (EHOSTUNREACH): Likewise.
12606         [POSIX] (EIDRM): Likewise.
12607         [POSIX] (EISCONN): Likewise.
12608         [POSIX] (ELOOP): Likewise.
12609         [POSIX] (EMULTIHOP): Likewise.
12610         [POSIX] (ENETDOWN): Likewise.
12611         [POSIX] (ENETUNREACH): Likewise.
12612         [POSIX] (ENOBUFS): Likewise.
12613         [POSIX] (ENODATA): Likewise.
12614         [POSIX] (ENOLINK): Likewise.
12615         [POSIX] (ENOMSG): Likewise.
12616         [POSIX] (ENOPROTOOPT): Likewise.
12617         [POSIX] (ENOSR): Likewise.
12618         [POSIX] (ENOSTR): Likewise.
12619         [POSIX] (ENOTCONN): Likewise.
12620         [POSIX] (ENOTSOCK): Likewise.
12621         [POSIX] (EOPNOTSUPP): Likewise.
12622         [POSIX] (EOVERFLOW): Likewise.
12623         [POSIX] (EPROTO): Likewise.
12624         [POSIX] (EPROTONOSUPPORT): Likewise.
12625         [POSIX] (EPROTOTYPE): Likewise.
12626         [POSIX] (ESTALE): Likewise.
12627         [POSIX] (ETIME): Likewise.
12628         [POSIX] (ETXTBSY): Likewise.
12629         [POSIX] (EWOULDBLOCK): Likewise.
12630         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12631         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12632         [POSIX] (SEEK_CUR): Likewise.
12633         [POSIX] (SEEK_END): Likewise.
12634         [POSIX || UNIX98] (mode_t): Do not require.
12635         [POSIX] (off_t): Likewise.
12636         [POSIX] (pid_t): Likewise.
12637         [POSIX] (sys/stat.h): Do not allow header.
12638         [POSIX] (unistd.h): Likewise.
12639         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12640         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12641         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12642         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12643         require.
12644         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12645         sigevent): Specify elements.
12646         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12647         entry.
12648         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12649         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12651         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12652         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12653         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12654         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12655         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12656         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12657         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12658         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12659         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12660         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12661         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12662         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12663         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12664         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12665         Likewise.
12666         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12667         Likewise.
12668         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12669         Likewise.
12670         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12671         Likewise.
12672         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12673         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12674         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12675         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12676         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12677         Specify lower bound on value.
12678         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12679         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12680         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12681         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12682         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12683         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12684         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12685         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12686         value.
12687         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12688         as optional.
12689         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12690         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12691         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12692         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12693         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12694         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12695         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12696         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12697         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12698         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12699         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12700         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12701         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12702         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12703         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12704         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12705         entry.
12706         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12707         optional.
12708         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12709         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12710         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12711         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12712         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12713         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12714         Likewise.
12715         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12716         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12717         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12718         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12719         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12720         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12721         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12722         as optional.
12723         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12724         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12725         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12726         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12727         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12728         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12729         specify as optional.
12730         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12731         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12732         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12733         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12734         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12735         [XPG3] (NL_LANGMAX): Likewise.
12736         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12737         [POSIX || XPG3] (NL_NMAX): Likewise.
12738         [POSIX || XPG3] (NL_SETMAX): Likewise.
12739         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12740         [XPG3] (NZERO): Likewise.
12741         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12742         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12743         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12744         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12745         (REG_ERANGE): Expect.
12746         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12747         optional-constant.
12748         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12749         Use (void) in prototype.
12750         [POSIX] (*_t): Allow.
12751         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12752         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12753         (WRDE_BADVAL): Expect.
12755         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12756         expect.
12757         [XPG3 || XPG4] (O_RSYNC): Likewise.
12758         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12759         Likewise.
12760         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12761         [XPG3 || XPG4] (sigqueue): Likewise.
12762         [XPG3 || XPG4] (sigtimedwait): Likewise.
12763         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12764         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12765         [XPG3 || XPG4] (vsnprintf): Likewise.
12766         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12767         Likewise.
12768         [XPG3 || XPG4] (blksize_t): Likewise.
12769         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12770         Likewise.
12771         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12772         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12773         [XPG3 || XPG4] (struct itimerspec): Likewise.
12774         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12775         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12776         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12777         [XPG3 || XPG4] (clockid_t): Likewise.
12778         [XPG3 || XPG4] (timer_t): Likewise.
12779         [XPG3 || XPG4] (clock_getres): Likewise.
12780         [XPG3 || XPG4] (clock_gettime): Likewise.
12781         [XPG3 || XPG4] (clock_settime): Likewise.
12782         [XPG3 || XPG4] (nanosleep): Likewise.
12783         [XPG3 || XPG4] (timer_create): Likewise.
12784         [XPG3 || XPG4] (timer_delete): Likewise.
12785         [XPG3 || XPG4] (timer_gettime): Likewise.
12786         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12787         [XPG3 || XPG4] (timer_settime): Likewise.
12788         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12789         [XPG3 || XPG4] (getlogin_r): Likewise.
12790         [XPG3 || XPG4] (pread): Likewise.
12791         [XPG3 || XPG4] (pthread_atfork): Likewise.
12792         [XPG3 || XPG4] (pwrite): Likewise.
12794         [BZ #14835]
12795         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12796         <bits/siginfo.h>.
12798 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12800         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12801         finalizing MALLSTREAM.
12803         * sysdeps/mach/hurd/syncfs.c: New file.
12805 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12807         [BZ #14719]
12808         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12809         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12810         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12811         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12812         (_nss_dns_gethostbyname4_r): Likewise.
12813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12814         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12816 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12818         [BZ #13763]
12819         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12821 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12823         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12824         * elf/cache.c (print_entry): Print ",AArch64" for
12825         FLAG_AARCH64_LIB64
12827         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12828         * elf/cache.c (print_entry): Print ",hard-float" for
12829         FLAG_ARM_LIBHF.
12831 2012-11-18  David S. Miller  <davem@davemloft.net>
12833         With help from Joseph Myers.
12834         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12835         cutoff to 2**-13.
12836         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12837         cutoff to 2**-25.
12838         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12839         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12840         small.
12841         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12842         * math/libm-test.inc (y0_test): New tests.
12843         (y1_test): New tests.
12844         * sysdeps/i386/fpu/libm-test-ulps: Update.
12845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12848 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12850         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12851         64-bit targets.
12852         * configure: Regenerated.
12854 2012-11-17  David S. Miller  <davem@davemloft.net>
12856         [BZ #14811]
12857         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12858         nonzero exponents with absolute value below 0x1p-128 to +/-
12859         0x1p-128.
12861 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12863         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12865         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12867         * posix/getconf-speclist.c: New file.
12868         * posix/posix-envs.def: Likewise.
12869         * posix/confstr.c (START_ENV_GROUP): New macro.
12870         (END_ENV_GROUP): Likewise.
12871         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12872         (KNOWN_PRESENT_ENV_STRING): Likewise.
12873         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12874         (UNKNOWN_ENVIRONMENT): Likewise.
12875         (confstr): Include posix-envs.def instead of handling
12876         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12877         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12878         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12879         (END_ENV_GROUP): Likewise.
12880         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12881         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12882         (UNKNOWN_ENVIRONMENT): Likewise.
12883         (__sysconf): Include posix-envs.def instead of handling associated
12884         cases directly here.
12885         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12886         preprocessing getconf-speclist.c rather than running getconf or
12887         generating empty file.
12889 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12891         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12893 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12895         [BZ #14672]
12896         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12898 2012-11-16  David S. Miller  <davem@davemloft.net>
12900         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12901         smaller than LDBL_EPSILON/2.0L, just return xm1.
12903 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12905         * elf/tst-array1.c (init): Set constructor priority to 1000.
12906         (fini): Set destructor priority to 1000.
12907         * elf/tst-array2dep.c: Likewise.
12909 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12911         [BZ #11741]
12912         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12913         (_IO_new_file_xsputn): Also return EOF if none of the input
12914         data was written when overflow failed.
12915         * libio/iopadn.c (_IO_padn): Likewise.
12916         * libio/iowpadn.c (_IO_wpadn): Likewise.
12917         * stdio-common/tst-put-error.c: Add copyright notice.
12918         (do_test): Add case for printing padded string.
12919         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12920         _IO_padn returned error.
12921         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12922         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12923         return EOF.
12925 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12927         * libio/libioP.h: Add comment note that the references to C++
12928         bits are now obsolete.
12930 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12932         * math/libm-test.inc (check_complex): Use asprintf.
12934 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12936         * debug/pcprofiledump.c (print_version): Update copyright year.
12937         * malloc/memusagestat.c (print_version): Likewise.
12939 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12941         [BZ #14831]
12942         * elf/Makefile (tests): Add tst-audit8.
12943         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12944         ($(objpfx)tst-audit8.out): New target.
12945         (tst-audit8-ENV): New variable.
12946         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12947         audit if l_reloc_result is NULL.
12948         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12949         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12950         * elf/tst-audit8.c: New file.
12952 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12954         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12955         * misc/Makefile (CFLAGS-select.c): Define.
12956         * posix/Makefile (CFLAGS-pause.c): Define.
12958 2012-11-13  David S. Miller  <davem@davemloft.net>
12960         * crypt/Makefile: Move test targets after toplevel Rules
12961         inclusion.  Grab any necessary sysdep routines when linking.
12962         * crypt/md5.c (md5_process_block): Remove define, we will always
12963         name it __md5_process_block.
12964         (md5_finish_ctx): Update md5_process_block call.
12965         (md5_stream): Likewise.
12966         (md5_process_bytes): Likewise.
12967         (md5_process_block): Rename to __md5_process_block and move to ...
12968         * crypt/md5-block.c: ... here.
12969         * crypt/sha256.c (sha256_process_block): Move to ...
12970         * crypt/sha256-block.c: ... here.
12971         * crypt/sha512.c (sha512_process_block): Move to ...
12972         * crypt/sha512-block.c: ... here.
12973         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12974         path.
12975         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12976         * sysdeps/sparc/sparc64/multiarch/Makefile
12977         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12978         crypt subdir.
12979         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12980         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12981         multiarch changes.
12982         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12983         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12984         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12985         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12986         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12987         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12988         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12989         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12990         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12991         file.
12992         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12993         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12994         file.
12995         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12997 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12999         * timezone/tzselect.ksh: Update from tzcode git revision
13000         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13001         * timezone/zdump.c: Likewise.
13002         * timezone/zic.c: Likewise.
13003         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13004         in TZVERSION setting, not $(PKGVERSION).
13005         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
13006         REPORT_BUGS_TO settings.
13008         [BZ #14838]
13009         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13010         macro.
13012 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13014         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13015         detection to immediately after _FP_ROUND().
13016         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13017         bits are 0.
13019 2012-11-11  David S. Miller  <davem@davemloft.net>
13021         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13022         inttypes.h
13023         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13024         __close rather than their public counterparts.
13026 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13028         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13029         file.
13030         [UNIX98] (sem_timedwait): Do not expect.
13031         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13032         [XPG4 || UNIX98] (sockatmark): Do not expect.
13033         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13034         (clock_getcpuclockid): Do not expect.
13035         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13036         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13037         Do not expect.
13038         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13039         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13040         [UNIX98] (vwscanf): Likewise.
13041         [UNIX98] (vswscanf): Likewise.
13043 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13045         * timezone/version.h: Remove file.
13046         * timezone/README: Do not refer to version.h.
13047         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13048         $(objpfx)version.h.
13049         ($(objpfx)zdump.o): Likewise.
13050         ($(objpfx)version.h): New target.
13052         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13053         2012i.
13054         * timezone/README: Don't mention modification to tzselect.ksh.
13055         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13056         work on unmodified tzselect.ksh.  Substitute version numbers in
13057         tzselect.ksh.
13059         * Makefile (format-me): Remove.
13060         (INSTALL): Adjust indentation.  Use commands directly instead of
13061         using $(format-me).
13063         * aclocal.m4 (ACX_PKGVERSION): New macro.
13064         (ACX_BUGURL): Likewise.
13065         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13066         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13067         (REPORT_BUGS_TO): Likewise.
13068         * configure: Regenerated.
13069         * config.h.in (PKGVERSION): New macro.
13070         (REPORT_BUGS_TO): Likewise.
13071         * config.make.in (PKGVERSION): New variable.
13072         (PKGVERSION_TEXI): Likewise.
13073         (REPORT_BUGS_TO): Likewise.
13074         (REPORT_BUGS_TEXI): Likewise.
13075         * Makefile (format-me): Use -I$(common-objpfx)manual.
13076         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13077         ($(common-objpfx)manual/%): New target.
13078         (manual/%): Remove target.
13079         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13080         (print_version): Use PKGVERSION.
13081         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13082         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13083         and REPORT_BUGS_TO.
13084         ($(objpfx)xtrace): Likewise.
13085         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13086         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13087         (print_version): Use PKGVERSION.
13088         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13089         (do_version): Use PKGVERSION.
13090         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13091         REPORT_BUGS_TO.
13092         (common-ldd-rewrite): Likewise.
13093         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13094         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13095         (print_version): Use PKGVERSION.
13096         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13097         * elf/pldd.c (argp_program_bug_address): Remove variable.
13098         (more_help): New function.
13099         (argp): Use more_help.
13100         (print_version): Use PKGVERSION.
13101         * elf/sln.c (main): Use PKGVERSION.
13102         (usage): Use REPORT_BUGS_TO.
13103         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13104         (top level): Use PKGVERSION.
13105         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13106         (print_version): Use PKGVERSION.
13107         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13108         (print_version): Use PKGVERSION.
13109         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13110         (print_version): Use PKGVERSION.
13111         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13112         (print_version): Use PKGVERSION.
13113         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13114         (print_version): Use PKGVERSION.
13115         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13116         (print_version): Use PKGVERSION.
13117         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13118         and BUGURL.
13119         ($(objpfx)memusage): Likewise.
13120         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13121         (do_version): Use PKGVERSION.
13122         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13123         (print_version): Use PKGVERSION.
13124         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13125         ($PKGVERSION): New variable.
13126         ($REPORT_BUGS_TO): Likewise.
13127         (usage): Use $REPORT_BUGS_TO.
13128         (top level): Use $PKGVERSION.
13129         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13130         ($(objpfx)pkgvers.texi): New rule.
13131         ($(objpfx)stamp-pkgvers): Likewise.
13132         * manual/install.texi: Include pkgvers.texi.
13133         (--with-pkgversion): Document new configure option.
13134         (--with-bugurl): Likewise.
13135         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13136         than necessarily for this particular distribution.  Use
13137         REPORT_BUGS_TO for where to report bugs.
13138         * INSTALL: Regenerated.
13139         * manual/libc.texinfo: Include pkgvers.texi.
13140         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13141         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13142         (print_version): Use PKGVERSION.
13143         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13144         (print_version): Use PKGVERSION.
13145         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13146         (print_version): Use PKGVERSION.
13147         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13148         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13149         macro.
13150         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13151         (print_version): Use PKGVERSION.
13152         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13153         (print_version): Use PKGVERSION.
13154         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13155         and PKGVERSION.
13157         * timezone/checktab.awk: Update from tzcode 2012i.
13158         * timezone/ialloc.c: Likewise.
13159         * timezone/private.h: Likewise.
13160         * timezone/scheck.c: Likewise.
13161         * timezone/tzfile.h: Likewise.
13162         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13163         (TZVERSION): Hardcode tzcode version number.
13164         * timezone/zdump.c: Update from tzcode 2012i.
13165         * timezone/zic.c: Likewise.
13166         * timezone/version.h: New file.
13167         * timezone/README: Describe version.h.  Update upstream location.
13169         [BZ #14824]
13170         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13171         (mktemp): Enable declaration.
13172         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13173         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13174         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13175         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13176         Likewise.
13177         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13178         Likewise.
13179         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13180         Likewise.
13181         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13182         Likewise.
13183         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13184         Likewise.
13185         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13186         Likewise.
13188         [BZ #14821]
13189         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13190         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13191         for copies of such integer values.
13192         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13193         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13195 2012-11-09  Andreas Jaeger  <aj@suse.de>
13197         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13198         definitions and declarations that are provided by
13199         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13201 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13203         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13204         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13205         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13206         definition.
13208 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13210         * elf/elf.h: Update comment before AArch64 relocations.
13212 2012-11-07  David S. Miller  <davem@davemloft.net>
13214         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13215         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13216         (__start_context): Declare.
13217         (__makecontext_ret): Delete.
13218         (__makecontext): Hook up __start_context instead of
13219         __makecontext_ret.
13220         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13221         (sysdep_routines): Add __start_context when in stdlib.
13223 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13225         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13226         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13227         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13228         hardcoded "nm".
13229         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13230         (READELF): New variable.  Use it instead of hardcoded "readelf".
13232 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13234         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13235         * sysdeps/x86/Makefile: Here.
13236         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13237         * sysdeps/x86/tst-xmmymm.sh: This.
13239 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13241         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13242         expectations.
13243         [UNIX98] (pthread_barrier_t): Do not expect.
13244         [UNIX98] (pthread_barrierattr_t): Likewise.
13245         [UNIX98] (pthread_spinlock_t): Likewise.
13246         [UNIX98] (pthread_barrier_destroy): Likewise.
13247         [UNIX98] (pthread_barrier_init): Likewise.
13248         [UNIX98] (pthread_barrier_wait): Likewise.
13249         [UNIX98] (pthread_barrierattr_destroy): Likewise.
13250         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13251         [UNIX98] (pthread_barrierattr_init): Likewise.
13252         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13253         [UNIX98] (pthread_getcpuclockid): Likewise.
13254         [UNIX98] (pthread_mutex_timedlock): Likewise.
13255         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13256         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13257         [UNIX98] (pthread_sigmask): Likewise.
13258         [UNIX98] (pthread_spin_destroy): Likewise.
13259         [UNIX98] (pthread_spin_init): Likewise.
13260         [UNIX98] (pthread_spin_lock): Likewise.
13261         [UNIX98] (pthread_spin_trylock): Likewise.
13262         [UNIX98] (pthread_spin_unlock): Likewise.
13263         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13264         Do not expect.
13265         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13266         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13267         [XPG3 || XPG4] (pthread_cond_t): Likewise.
13268         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13269         [XPG3 || XPG4] (pthread_key_t): Likewise.
13270         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13271         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13272         [XPG3 || XPG4] (pthread_once_t): Likewise.
13273         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13274         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13275         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13276         [XPG3 || XPG4] (pthread_t): Likewise.
13278         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13279         not expect.
13280         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13282         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13283         Change function return type to int.
13285         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13286         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13287         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13288         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13289         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13290         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13291         [!POSIX] (posix_madvise): Likewise.
13292         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13293         && !UNIX98].
13294         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13295         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13296         (mode_t): Likewise.
13297         (posix_mem_offset): Likewise.
13298         (posix_typed_mem_get_info): Likewise.
13299         (posix_typed_mem_open): Likewise.
13301         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13302         Change condition to [XOPEN2K8].
13304         * conform/conformtest.pl: Preprocess allow-header data with -x c
13305         instead of from stdin.
13306         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13307         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13308         [C99-based standards] (cerfc): Likewise.
13309         [C99-based standards] (cexp2): Likewise.
13310         [C99-based standards] (cexpm1): Likewise.
13311         [C99-based standards] (clog10): Likewise.
13312         [C99-based standards] (clog1p): Likewise.
13313         [C99-based standards] (clog2): Likewise.
13314         [C99-based standards] (clgamma): Likewise.
13315         [C99-based standards] (ctgamma): Likewise.
13316         [C99-based standards] (cerff): Likewise.
13317         [C99-based standards] (cerfcf): Likewise.
13318         [C99-based standards] (cexp2f): Likewise.
13319         [C99-based standards] (cexpm1f): Likewise.
13320         [C99-based standards] (clog10f): Likewise.
13321         [C99-based standards] (clog1pf): Likewise.
13322         [C99-based standards] (clog2f): Likewise.
13323         [C99-based standards] (clgammaf): Likewise.
13324         [C99-based standards] (ctgammaf): Likewise.
13325         [C99-based standards] (cerfl): Likewise.
13326         [C99-based standards] (cerfcl): Likewise.
13327         [C99-based standards] (cexp2l): Likewise.
13328         [C99-based standards] (cexpm1l): Likewise.
13329         [C99-based standards] (clog10l): Likewise.
13330         [C99-based standards] (clog1pl): Likewise.
13331         [C99-based standards] (clog2l): Likewise.
13332         [C99-based standards] (clgammal): Likewise.
13333         [C99-based standards] (ctgammal): Likewise.
13334         * conform/data/inttypes.h-data [C99-based standards]: Include
13335         stdint.h-data.  Remove all expectations for stdint.h contents.
13336         [C99-based standards] (PRI*): Do not allow.
13337         [C99-based standards] (SCN*): Likewise.
13338         [C99-based standards] (*_t): Likewise.
13339         [C99-based-standards] (PRId8): Expect macro.
13340         [C99-based-standards] (PRIi8): Likewise.
13341         [C99-based-standards] (PRIo8): Likewise.
13342         [C99-based-standards] (PRIu8): Likewise.
13343         [C99-based-standards] (PRIx8): Likewise.
13344         [C99-based-standards] (PRIX8): Likewise.
13345         [C99-based-standards] (SCNd8): Likewise.
13346         [C99-based-standards] (SCNi8): Likewise.
13347         [C99-based-standards] (SCNo8): Likewise.
13348         [C99-based-standards] (SCNu8): Likewise.
13349         [C99-based-standards] (SCNx8): Likewise.
13350         [C99-based-standards] (PRIdLEAST8): Likewise.
13351         [C99-based-standards] (PRIiLEAST8): Likewise.
13352         [C99-based-standards] (PRIoLEAST8): Likewise.
13353         [C99-based-standards] (PRIuLEAST8): Likewise.
13354         [C99-based-standards] (PRIxLEAST8): Likewise.
13355         [C99-based-standards] (PRIXLEAST8): Likewise.
13356         [C99-based-standards] (SCNdLEAST8): Likewise.
13357         [C99-based-standards] (SCNiLEAST8): Likewise.
13358         [C99-based-standards] (SCNoLEAST8): Likewise.
13359         [C99-based-standards] (SCNuLEAST8): Likewise.
13360         [C99-based-standards] (SCNxLEAST8): Likewise.
13361         [C99-based-standards] (PRIdFAST8): Likewise.
13362         [C99-based-standards] (PRIiFAST8): Likewise.
13363         [C99-based-standards] (PRIoFAST8): Likewise.
13364         [C99-based-standards] (PRIuFAST8): Likewise.
13365         [C99-based-standards] (PRIxFAST8): Likewise.
13366         [C99-based-standards] (PRIXFAST8): Likewise.
13367         [C99-based-standards] (SCNdFAST8): Likewise.
13368         [C99-based-standards] (SCNiFAST8): Likewise.
13369         [C99-based-standards] (SCNoFAST8): Likewise.
13370         [C99-based-standards] (SCNuFAST8): Likewise.
13371         [C99-based-standards] (SCNxFAST8): Likewise.
13372         [C99-based-standards] (PRId16): Likewise.
13373         [C99-based-standards] (PRIi16): Likewise.
13374         [C99-based-standards] (PRIo16): Likewise.
13375         [C99-based-standards] (PRIu16): Likewise.
13376         [C99-based-standards] (PRIx16): Likewise.
13377         [C99-based-standards] (PRIX16): Likewise.
13378         [C99-based-standards] (SCNd16): Likewise.
13379         [C99-based-standards] (SCNi16): Likewise.
13380         [C99-based-standards] (SCNo16): Likewise.
13381         [C99-based-standards] (SCNu16): Likewise.
13382         [C99-based-standards] (SCNx16): Likewise.
13383         [C99-based-standards] (PRIdLEAST16): Likewise.
13384         [C99-based-standards] (PRIiLEAST16): Likewise.
13385         [C99-based-standards] (PRIoLEAST16): Likewise.
13386         [C99-based-standards] (PRIuLEAST16): Likewise.
13387         [C99-based-standards] (PRIxLEAST16): Likewise.
13388         [C99-based-standards] (PRIXLEAST16): Likewise.
13389         [C99-based-standards] (SCNdLEAST16): Likewise.
13390         [C99-based-standards] (SCNiLEAST16): Likewise.
13391         [C99-based-standards] (SCNoLEAST16): Likewise.
13392         [C99-based-standards] (SCNuLEAST16): Likewise.
13393         [C99-based-standards] (SCNxLEAST16): Likewise.
13394         [C99-based-standards] (PRIdFAST16): Likewise.
13395         [C99-based-standards] (PRIiFAST16): Likewise.
13396         [C99-based-standards] (PRIoFAST16): Likewise.
13397         [C99-based-standards] (PRIuFAST16): Likewise.
13398         [C99-based-standards] (PRIxFAST16): Likewise.
13399         [C99-based-standards] (PRIXFAST16): Likewise.
13400         [C99-based-standards] (SCNdFAST16): Likewise.
13401         [C99-based-standards] (SCNiFAST16): Likewise.
13402         [C99-based-standards] (SCNoFAST16): Likewise.
13403         [C99-based-standards] (SCNuFAST16): Likewise.
13404         [C99-based-standards] (SCNxFAST16): Likewise.
13405         [C99-based-standards] (PRId32): Likewise.
13406         [C99-based-standards] (PRIi32): Likewise.
13407         [C99-based-standards] (PRIo32): Likewise.
13408         [C99-based-standards] (PRIu32): Likewise.
13409         [C99-based-standards] (PRIx32): Likewise.
13410         [C99-based-standards] (PRIX32): Likewise.
13411         [C99-based-standards] (SCNd32): Likewise.
13412         [C99-based-standards] (SCNi32): Likewise.
13413         [C99-based-standards] (SCNo32): Likewise.
13414         [C99-based-standards] (SCNu32): Likewise.
13415         [C99-based-standards] (SCNx32): Likewise.
13416         [C99-based-standards] (PRIdLEAST32): Likewise.
13417         [C99-based-standards] (PRIiLEAST32): Likewise.
13418         [C99-based-standards] (PRIoLEAST32): Likewise.
13419         [C99-based-standards] (PRIuLEAST32): Likewise.
13420         [C99-based-standards] (PRIxLEAST32): Likewise.
13421         [C99-based-standards] (PRIXLEAST32): Likewise.
13422         [C99-based-standards] (SCNdLEAST32): Likewise.
13423         [C99-based-standards] (SCNiLEAST32): Likewise.
13424         [C99-based-standards] (SCNoLEAST32): Likewise.
13425         [C99-based-standards] (SCNuLEAST32): Likewise.
13426         [C99-based-standards] (SCNxLEAST32): Likewise.
13427         [C99-based-standards] (PRIdFAST32): Likewise.
13428         [C99-based-standards] (PRIiFAST32): Likewise.
13429         [C99-based-standards] (PRIoFAST32): Likewise.
13430         [C99-based-standards] (PRIuFAST32): Likewise.
13431         [C99-based-standards] (PRIxFAST32): Likewise.
13432         [C99-based-standards] (PRIXFAST32): Likewise.
13433         [C99-based-standards] (SCNdFAST32): Likewise.
13434         [C99-based-standards] (SCNiFAST32): Likewise.
13435         [C99-based-standards] (SCNoFAST32): Likewise.
13436         [C99-based-standards] (SCNuFAST32): Likewise.
13437         [C99-based-standards] (SCNxFAST32): Likewise.
13438         [C99-based-standards] (PRId64): Likewise.
13439         [C99-based-standards] (PRIi64): Likewise.
13440         [C99-based-standards] (PRIo64): Likewise.
13441         [C99-based-standards] (PRIu64): Likewise.
13442         [C99-based-standards] (PRIx64): Likewise.
13443         [C99-based-standards] (PRIX64): Likewise.
13444         [C99-based-standards] (SCNd64): Likewise.
13445         [C99-based-standards] (SCNi64): Likewise.
13446         [C99-based-standards] (SCNo64): Likewise.
13447         [C99-based-standards] (SCNu64): Likewise.
13448         [C99-based-standards] (SCNx64): Likewise.
13449         [C99-based-standards] (PRIdLEAST64): Likewise.
13450         [C99-based-standards] (PRIiLEAST64): Likewise.
13451         [C99-based-standards] (PRIoLEAST64): Likewise.
13452         [C99-based-standards] (PRIuLEAST64): Likewise.
13453         [C99-based-standards] (PRIxLEAST64): Likewise.
13454         [C99-based-standards] (PRIXLEAST64): Likewise.
13455         [C99-based-standards] (SCNdLEAST64): Likewise.
13456         [C99-based-standards] (SCNiLEAST64): Likewise.
13457         [C99-based-standards] (SCNoLEAST64): Likewise.
13458         [C99-based-standards] (SCNuLEAST64): Likewise.
13459         [C99-based-standards] (SCNxLEAST64): Likewise.
13460         [C99-based-standards] (PRIdFAST64): Likewise.
13461         [C99-based-standards] (PRIiFAST64): Likewise.
13462         [C99-based-standards] (PRIoFAST64): Likewise.
13463         [C99-based-standards] (PRIuFAST64): Likewise.
13464         [C99-based-standards] (PRIxFAST64): Likewise.
13465         [C99-based-standards] (PRIXFAST64): Likewise.
13466         [C99-based-standards] (SCNdFAST64): Likewise.
13467         [C99-based-standards] (SCNiFAST64): Likewise.
13468         [C99-based-standards] (SCNoFAST64): Likewise.
13469         [C99-based-standards] (SCNuFAST64): Likewise.
13470         [C99-based-standards] (SCNxFAST64): Likewise.
13471         [C99-based-standards] (PRIdMAX): Likewise.
13472         [C99-based-standards] (PRIiMAX): Likewise.
13473         [C99-based-standards] (PRIoMAX): Likewise.
13474         [C99-based-standards] (PRIuMAX): Likewise.
13475         [C99-based-standards] (PRIxMAX): Likewise.
13476         [C99-based-standards] (PRIXMAX): Likewise.
13477         [C99-based-standards] (SCNdMAX): Likewise.
13478         [C99-based-standards] (SCNiMAX): Likewise.
13479         [C99-based-standards] (SCNoMAX): Likewise.
13480         [C99-based-standards] (SCNuMAX): Likewise.
13481         [C99-based-standards] (SCNxMAX): Likewise.
13482         [C99-based-standards] (PRIdPTR): Likewise.
13483         [C99-based-standards] (PRIiPTR): Likewise.
13484         [C99-based-standards] (PRIoPTR): Likewise.
13485         [C99-based-standards] (PRIuPTR): Likewise.
13486         [C99-based-standards] (PRIxPTR): Likewise.
13487         [C99-based-standards] (PRIXPTR): Likewise.
13488         [C99-based-standards] (SCNdPTR): Likewise.
13489         [C99-based-standards] (SCNiPTR): Likewise.
13490         [C99-based-standards] (SCNoPTR): Likewise.
13491         [C99-based-standards] (SCNuPTR): Likewise.
13492         [C99-based-standards] (SCNxPTR): Likewise.
13493         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13494         allow.
13495         * conform/data/stdint.h-data: Update comments to clarify
13496         requirements.
13497         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13498         type.
13499         [C99-based standards] (INT8_MAX): Likewise.
13500         [C99-based standards] (INT16_MIN): Likewise.
13501         [C99-based standards] (INT16_MAX): Likewise.
13502         [C99-based standards] (INT32_MIN): Likewise.
13503         [C99-based standards] (INT32_MAX): Likewise.
13504         [C99-based standards] (INT64_MIN): Likewise.
13505         [C99-based standards] (INT64_MAX): Likewise.
13506         [C99-based standards] (UINT8_MAX): Likewise.
13507         [C99-based standards] (UINT16_MAX): Likewise.
13508         [C99-based standards] (UINT32_MAX): Likewise.
13509         [C99-based standards] (UINT64_MAX): Likewise.
13510         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13511         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13512         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13513         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13514         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13515         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13516         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13517         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13518         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13519         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13520         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13521         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13522         [C99-based standards] (INT_FAST8_MIN): Likewise.
13523         [C99-based standards] (INT_FAST8_MAX): Likewise.
13524         [C99-based standards] (INT_FAST16_MIN): Likewise.
13525         [C99-based standards] (INT_FAST16_MAX): Likewise.
13526         [C99-based standards] (INT_FAST32_MIN): Likewise.
13527         [C99-based standards] (INT_FAST32_MAX): Likewise.
13528         [C99-based standards] (INT_FAST64_MIN): Likewise.
13529         [C99-based standards] (INT_FAST64_MAX): Likewise.
13530         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13531         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13532         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13533         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13534         [C99-based standards] (INTPTR_MIN): Likewise.
13535         [C99-based standards] (INTPTR_MAX): Likewise.
13536         [C99-based standards] (UINTPTR_MAX): Likewise.
13537         [C99-based standards] (INTMAX_MIN): Likewise.
13538         [C99-based standards] (INTMAX_MAX): Likewise.
13539         [C99-based standards] (UINTMAX_MAX): Likewise.
13540         [C99-based standards] (PTRDIFF_MIN): Likewise.
13541         [C99-based standards] (PTRDIFF_MAX): Likewise.
13542         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13543         [C99-based standards] (SIZE_MAX): Likewise.
13544         [C99-based standards] (WCHAR_MAX): Likewise.
13545         [C99-based standards] (WINT_MAX): Likewise.
13546         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13547         constraint on value.
13548         [C99-based standards] (WCHAR_MIN): Likewise.
13549         [C99-based standards] (WINT_MIN): Likewise.
13550         [C99-based standards] (*_t): Allow.
13551         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13552         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13553         Include math.h-data and complex.h-data.  Remove all expectations
13554         of math.h and complex.h contents.
13555         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13556         at end of line.
13557         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13558         (struct tm): Expect tag.
13559         [C99-based-standards] (wcstof): Expect function.
13560         [C99-based-standards] (wcstold): Likewise.
13561         [C99-based-standards] (wcstoll): Likewise.
13562         [C99-based-standards] (wcstoull): Likewise.
13563         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13564         macro-int-constant.  Specify type.
13565         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13566         constraint on value.
13567         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13568         Specify type.
13569         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13570         Specify value.
13571         [ISO C standards]: Do not allow headers.
13572         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13573         wcs[abcdefghijklmnopqrstuvwxyz]*.
13574         [ISO C standards] (*_t): Do not allow.
13575         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13576         Expect function.
13577         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13578         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13579         Specify type.
13580         [ISO C standards]: Do not allow headers.
13581         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13582         is[abcdefghijklmnopqrstuvwxyz]*.
13583         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13584         to[abcdefghijklmnopqrstuvwxyz]*.
13585         [ISO C standards] (*_t): Do not allow.
13586         * conform/data/stdalign.h-data: New file.
13587         * conform/data/stdbool.h-data: Likewise.
13588         * conform/data/stdnoreturn.h-data: Likewise.
13590 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13592         [BZ #14815]
13593         * manual/filesys.texi (Directory Entries): Typo fix.
13594         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13596 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13598         * elf/elf.h (EM_AARCH64): New macro.
13599         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13600         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13601         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13602         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13603         (R_AARCH64_TLSDESC): Likewise.
13604         (NT_ARM_TLS): Likewise.
13605         (NT_ARM_HW_BREAK): Likewise.
13606         (NT_ARM_HW_WATCH): Likewise.
13608 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13610         [BZ #14811]
13611         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13612         (__ieee754_powl): Saturate nonzero exponents with absolute value
13613         below 0x1p-79 to +/- 0x1p-79.
13614         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13615         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13616         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13617         nonzero exponents with absolute value below 0x1p-32 to +/-
13618         0x1p-32.
13619         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13620         (__ieee754_powl): Saturate nonzero exponents with absolute value
13621         below 0x1p-79 to +/- 0x1p-79.
13622         * math/libm-test.inc (pow_test): Add more tests.
13624 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13626         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13627         _dl_s390_cap_flags with kernel. Increase string length.
13628         (_dl_s390_platforms): Add z196 and zEC12.
13630 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13632         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13633         Change XOPEN21K to XOPEN2K.
13635 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13637         * string/memmove.c: Use memcpy when possible.
13639 2012-11-06  Andreas Jaeger  <aj@suse.de>
13641         * po/eo.po: Update from translation team.
13643 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13645         [BZ #14793]
13646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13647         exponent and small x and y exponents, scale x or y up.  Increase
13648         by 2 the exponent used in scaling up.
13649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13651         * math/libm-test.inc (fma_test): Add more tests.
13652         (fma_test_towardzero): Likewise.
13653         (fma_test_downward): Likewise.
13654         (fma_test_upward): Likewise.
13656 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13658         [BZ #14805]
13659         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13660         fenv_t *.
13662         [BZ #14801]
13663         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13664         namespace for names of struct fields.
13665         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13666         fenv_t fields.
13667         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13668         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13670 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13672         [BZ #3665]
13673         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13675 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13677         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13678         PTR_DEMANGLE.
13680         [BZ #5246]
13681         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13682         PTR_DEMANGLE.
13684 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13686         [BZ #14797]
13687         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13688         definitely overflow as x * y not x * y + z.
13689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13691         * math/libm-test.inc (fma_test): Add more tests.
13692         (fma_test_towardzero): Likewise.
13693         (fma_test_downward): Likewise.
13694         (fma_test_upward): Likewise.
13696 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13698         [BZ #157]
13700         * include/stub-tag.h: Remove file.
13701         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13702         '#include' of it.
13703         * manual/maint.texi (Porting): Don't reference it.
13704         * Makerules ($(objpfx)stubs): Likewise.
13705         * dirent/closedir.c: Don't include <stub-tag.h>.
13706         * dirent/dirfd.c: Likewise.
13707         * dirent/fdopendir.c: Likewise.
13708         * dirent/getdents.c: Likewise.
13709         * dirent/getdents64.c: Likewise.
13710         * dirent/opendir.c: Likewise.
13711         * dirent/readdir.c: Likewise.
13712         * dirent/readdir64.c: Likewise.
13713         * dirent/readdir64_r.c: Likewise.
13714         * dirent/readdir_r.c: Likewise.
13715         * dirent/rewinddir.c: Likewise.
13716         * dirent/seekdir.c: Likewise.
13717         * dirent/telldir.c: Likewise.
13718         * gmon/profil.c: Likewise.
13719         * grp/setgroups.c: Likewise.
13720         * inet/if_index.c: Likewise.
13721         * io/access.c: Likewise.
13722         * io/chdir.c: Likewise.
13723         * io/chmod.c: Likewise.
13724         * io/chown.c: Likewise.
13725         * io/close.c: Likewise.
13726         * io/dup.c: Likewise.
13727         * io/dup2.c: Likewise.
13728         * io/dup3.c: Likewise.
13729         * io/euidaccess.c: Likewise.
13730         * io/faccessat.c: Likewise.
13731         * io/fchdir.c: Likewise.
13732         * io/fchmod.c: Likewise.
13733         * io/fchmodat.c: Likewise.
13734         * io/fchown.c: Likewise.
13735         * io/fchownat.c: Likewise.
13736         * io/fcntl.c: Likewise.
13737         * io/flock.c: Likewise.
13738         * io/fstatfs.c: Likewise.
13739         * io/fstatfs64.c: Likewise.
13740         * io/fstatvfs.c: Likewise.
13741         * io/fstatvfs64.c: Likewise.
13742         * io/futimens.c: Likewise.
13743         * io/fxstat.c: Likewise.
13744         * io/fxstat64.c: Likewise.
13745         * io/fxstatat.c: Likewise.
13746         * io/fxstatat64.c: Likewise.
13747         * io/getcwd.c: Likewise.
13748         * io/isatty.c: Likewise.
13749         * io/lchmod.c: Likewise.
13750         * io/lchown.c: Likewise.
13751         * io/link.c: Likewise.
13752         * io/linkat.c: Likewise.
13753         * io/lseek.c: Likewise.
13754         * io/lseek64.c: Likewise.
13755         * io/lxstat64.c: Likewise.
13756         * io/mkdir.c: Likewise.
13757         * io/mkdirat.c: Likewise.
13758         * io/mkfifo.c: Likewise.
13759         * io/mkfifoat.c: Likewise.
13760         * io/open.c: Likewise.
13761         * io/open64.c: Likewise.
13762         * io/openat.c: Likewise.
13763         * io/openat64.c: Likewise.
13764         * io/pipe.c: Likewise.
13765         * io/pipe2.c: Likewise.
13766         * io/poll.c: Likewise.
13767         * io/posix_fadvise.c: Likewise.
13768         * io/posix_fadvise64.c: Likewise.
13769         * io/posix_fallocate.c: Likewise.
13770         * io/posix_fallocate64.c: Likewise.
13771         * io/read.c: Likewise.
13772         * io/readlink.c: Likewise.
13773         * io/readlinkat.c: Likewise.
13774         * io/rmdir.c: Likewise.
13775         * io/sendfile.c: Likewise.
13776         * io/sendfile64.c: Likewise.
13777         * io/statfs.c: Likewise.
13778         * io/statfs64.c: Likewise.
13779         * io/statvfs.c: Likewise.
13780         * io/statvfs64.c: Likewise.
13781         * io/symlink.c: Likewise.
13782         * io/symlinkat.c: Likewise.
13783         * io/ttyname.c: Likewise.
13784         * io/ttyname_r.c: Likewise.
13785         * io/umask.c: Likewise.
13786         * io/unlink.c: Likewise.
13787         * io/unlinkat.c: Likewise.
13788         * io/utime.c: Likewise.
13789         * io/utimensat.c: Likewise.
13790         * io/write.c: Likewise.
13791         * io/xmknod.c: Likewise.
13792         * io/xmknodat.c: Likewise.
13793         * io/xstat.c: Likewise.
13794         * io/xstat64.c: Likewise.
13795         * login/getpt.c: Likewise.
13796         * login/grantpt.c: Likewise.
13797         * login/unlockpt.c: Likewise.
13798         * math/e_acoshl.c: Likewise.
13799         * math/e_acosl.c: Likewise.
13800         * math/e_asinl.c: Likewise.
13801         * math/e_atan2l.c: Likewise.
13802         * math/e_atanhl.c: Likewise.
13803         * math/e_coshl.c: Likewise.
13804         * math/e_expl.c: Likewise.
13805         * math/e_fmodl.c: Likewise.
13806         * math/e_gammal_r.c: Likewise.
13807         * math/e_hypotl.c: Likewise.
13808         * math/e_j0l.c: Likewise.
13809         * math/e_j1l.c: Likewise.
13810         * math/e_jnl.c: Likewise.
13811         * math/e_lgammal_r.c: Likewise.
13812         * math/e_log10l.c: Likewise.
13813         * math/e_log2l.c: Likewise.
13814         * math/e_logl.c: Likewise.
13815         * math/e_powl.c: Likewise.
13816         * math/e_rem_pio2l.c: Likewise.
13817         * math/e_sinhl.c: Likewise.
13818         * math/e_sqrtl.c: Likewise.
13819         * math/fclrexcpt.c: Likewise.
13820         * math/fedisblxcpt.c: Likewise.
13821         * math/feenablxcpt.c: Likewise.
13822         * math/fegetenv.c: Likewise.
13823         * math/fegetexcept.c: Likewise.
13824         * math/fegetround.c: Likewise.
13825         * math/feholdexcpt.c: Likewise.
13826         * math/fesetenv.c: Likewise.
13827         * math/fesetround.c: Likewise.
13828         * math/feupdateenv.c: Likewise.
13829         * math/fgetexcptflg.c: Likewise.
13830         * math/fraiseexcpt.c: Likewise.
13831         * math/fsetexcptflg.c: Likewise.
13832         * math/ftestexcept.c: Likewise.
13833         * math/k_cosl.c: Likewise.
13834         * math/k_rem_pio2l.c: Likewise.
13835         * math/k_sinl.c: Likewise.
13836         * math/k_tanl.c: Likewise.
13837         * math/s_asinhl.c: Likewise.
13838         * math/s_atanl.c: Likewise.
13839         * math/s_cbrtl.c: Likewise.
13840         * math/s_erfl.c: Likewise.
13841         * math/s_expm1l.c: Likewise.
13842         * math/s_log1pl.c: Likewise.
13843         * math/s_tanhl.c: Likewise.
13844         * misc/acct.c: Likewise.
13845         * misc/brk.c: Likewise.
13846         * misc/chflags.c: Likewise.
13847         * misc/chroot.c: Likewise.
13848         * misc/fchflags.c: Likewise.
13849         * misc/fgetxattr.c: Likewise.
13850         * misc/flistxattr.c: Likewise.
13851         * misc/fremovexattr.c: Likewise.
13852         * misc/fsetxattr.c: Likewise.
13853         * misc/fsync.c: Likewise.
13854         * misc/ftruncate.c: Likewise.
13855         * misc/futimes.c: Likewise.
13856         * misc/futimesat.c: Likewise.
13857         * misc/getdomain.c: Likewise.
13858         * misc/getdtsz.c: Likewise.
13859         * misc/gethostid.c: Likewise.
13860         * misc/gethostname.c: Likewise.
13861         * misc/getloadavg.c: Likewise.
13862         * misc/getpagesize.c: Likewise.
13863         * misc/getsysstats.c: Likewise.
13864         * misc/getxattr.c: Likewise.
13865         * misc/gtty.c: Likewise.
13866         * misc/ioctl.c: Likewise.
13867         * misc/lgetxattr.c: Likewise.
13868         * misc/listxattr.c: Likewise.
13869         * misc/llistxattr.c: Likewise.
13870         * misc/lremovexattr.c: Likewise.
13871         * misc/lsetxattr.c: Likewise.
13872         * misc/lutimes.c: Likewise.
13873         * misc/madvise.c: Likewise.
13874         * misc/mincore.c: Likewise.
13875         * misc/mlock.c: Likewise.
13876         * misc/mlockall.c: Likewise.
13877         * misc/mmap.c: Likewise.
13878         * misc/mprotect.c: Likewise.
13879         * misc/msync.c: Likewise.
13880         * misc/munlock.c: Likewise.
13881         * misc/munlockall.c: Likewise.
13882         * misc/munmap.c: Likewise.
13883         * misc/preadv.c: Likewise.
13884         * misc/preadv64.c: Likewise.
13885         * misc/ptrace.c: Likewise.
13886         * misc/pwritev.c: Likewise.
13887         * misc/pwritev64.c: Likewise.
13888         * misc/readv.c: Likewise.
13889         * misc/reboot.c: Likewise.
13890         * misc/remap_file_pages.c: Likewise.
13891         * misc/removexattr.c: Likewise.
13892         * misc/revoke.c: Likewise.
13893         * misc/select.c: Likewise.
13894         * misc/setdomain.c: Likewise.
13895         * misc/setegid.c: Likewise.
13896         * misc/seteuid.c: Likewise.
13897         * misc/sethostid.c: Likewise.
13898         * misc/sethostname.c: Likewise.
13899         * misc/setregid.c: Likewise.
13900         * misc/setreuid.c: Likewise.
13901         * misc/setxattr.c: Likewise.
13902         * misc/sstk.c: Likewise.
13903         * misc/stty.c: Likewise.
13904         * misc/swapoff.c: Likewise.
13905         * misc/swapon.c: Likewise.
13906         * misc/sync.c: Likewise.
13907         * misc/syncfs.c: Likewise.
13908         * misc/syscall.c: Likewise.
13909         * misc/truncate.c: Likewise.
13910         * misc/ualarm.c: Likewise.
13911         * misc/usleep.c: Likewise.
13912         * misc/ustat.c: Likewise.
13913         * misc/utimes.c: Likewise.
13914         * misc/vhangup.c: Likewise.
13915         * misc/writev.c: Likewise.
13916         * posix/_exit.c: Likewise.
13917         * posix/alarm.c: Likewise.
13918         * posix/execve.c: Likewise.
13919         * posix/fexecve.c: Likewise.
13920         * posix/fork.c: Likewise.
13921         * posix/fpathconf.c: Likewise.
13922         * posix/getaddrinfo.c: Likewise.
13923         * posix/getegid.c: Likewise.
13924         * posix/geteuid.c: Likewise.
13925         * posix/getgid.c: Likewise.
13926         * posix/getgroups.c: Likewise.
13927         * posix/getlogin.c: Likewise.
13928         * posix/getlogin_r.c: Likewise.
13929         * posix/getpgid.c: Likewise.
13930         * posix/getpid.c: Likewise.
13931         * posix/getppid.c: Likewise.
13932         * posix/getresgid.c: Likewise.
13933         * posix/getresuid.c: Likewise.
13934         * posix/getsid.c: Likewise.
13935         * posix/getuid.c: Likewise.
13936         * posix/glob64.c: Likewise.
13937         * posix/nanosleep.c: Likewise.
13938         * posix/pathconf.c: Likewise.
13939         * posix/pause.c: Likewise.
13940         * posix/posix_madvise.c: Likewise.
13941         * posix/pread.c: Likewise.
13942         * posix/pread64.c: Likewise.
13943         * posix/pwrite.c: Likewise.
13944         * posix/pwrite64.c: Likewise.
13945         * posix/sched_getaffinity.c: Likewise.
13946         * posix/sched_getp.c: Likewise.
13947         * posix/sched_gets.c: Likewise.
13948         * posix/sched_primax.c: Likewise.
13949         * posix/sched_primin.c: Likewise.
13950         * posix/sched_rr_gi.c: Likewise.
13951         * posix/sched_setaffinity.c: Likewise.
13952         * posix/sched_setp.c: Likewise.
13953         * posix/sched_sets.c: Likewise.
13954         * posix/sched_yield.c: Likewise.
13955         * posix/setgid.c: Likewise.
13956         * posix/setlogin.c: Likewise.
13957         * posix/setpgid.c: Likewise.
13958         * posix/setresgid.c: Likewise.
13959         * posix/setresuid.c: Likewise.
13960         * posix/setsid.c: Likewise.
13961         * posix/setuid.c: Likewise.
13962         * posix/sleep.c: Likewise.
13963         * posix/spawni.c: Likewise.
13964         * posix/sysconf.c: Likewise.
13965         * posix/times.c: Likewise.
13966         * posix/wait.c: Likewise.
13967         * posix/wait3.c: Likewise.
13968         * posix/wait4.c: Likewise.
13969         * posix/waitpid.c: Likewise.
13970         * resolv/gai_sigqueue.c: Likewise.
13971         * resource/getpriority.c: Likewise.
13972         * resource/getrlimit.c: Likewise.
13973         * resource/getrusage.c: Likewise.
13974         * resource/nice.c: Likewise.
13975         * resource/setpriority.c: Likewise.
13976         * resource/setrlimit.c: Likewise.
13977         * resource/ulimit.c: Likewise.
13978         * rt/aio_cancel.c: Likewise.
13979         * rt/aio_fsync.c: Likewise.
13980         * rt/aio_read.c: Likewise.
13981         * rt/aio_sigqueue.c: Likewise.
13982         * rt/aio_suspend.c: Likewise.
13983         * rt/aio_write.c: Likewise.
13984         * rt/clock_getres.c: Likewise.
13985         * rt/clock_gettime.c: Likewise.
13986         * rt/clock_nanosleep.c: Likewise.
13987         * rt/clock_settime.c: Likewise.
13988         * rt/lio_listio.c: Likewise.
13989         * rt/mq_close.c: Likewise.
13990         * rt/mq_getattr.c: Likewise.
13991         * rt/mq_notify.c: Likewise.
13992         * rt/mq_open.c: Likewise.
13993         * rt/mq_receive.c: Likewise.
13994         * rt/mq_send.c: Likewise.
13995         * rt/mq_setattr.c: Likewise.
13996         * rt/mq_timedreceive.c: Likewise.
13997         * rt/mq_timedsend.c: Likewise.
13998         * rt/mq_unlink.c: Likewise.
13999         * rt/shm_open.c: Likewise.
14000         * rt/shm_unlink.c: Likewise.
14001         * rt/timer_create.c: Likewise.
14002         * rt/timer_delete.c: Likewise.
14003         * rt/timer_getoverr.c: Likewise.
14004         * rt/timer_gettime.c: Likewise.
14005         * rt/timer_settime.c: Likewise.
14006         * setjmp/__longjmp.c: Likewise.
14007         * setjmp/setjmp.c: Likewise.
14008         * signal/kill.c: Likewise.
14009         * signal/killpg.c: Likewise.
14010         * signal/raise.c: Likewise.
14011         * signal/sigaction.c: Likewise.
14012         * signal/sigaltstack.c: Likewise.
14013         * signal/sigblock.c: Likewise.
14014         * signal/sigignore.c: Likewise.
14015         * signal/sigintr.c: Likewise.
14016         * signal/signal.c: Likewise.
14017         * signal/sigpause.c: Likewise.
14018         * signal/sigpending.c: Likewise.
14019         * signal/sigqueue.c: Likewise.
14020         * signal/sigreturn.c: Likewise.
14021         * signal/sigset.c: Likewise.
14022         * signal/sigsetmask.c: Likewise.
14023         * signal/sigstack.c: Likewise.
14024         * signal/sigsuspend.c: Likewise.
14025         * signal/sigtimedwait.c: Likewise.
14026         * signal/sigvec.c: Likewise.
14027         * signal/sigwait.c: Likewise.
14028         * signal/sigwaitinfo.c: Likewise.
14029         * signal/sysv_signal.c: Likewise.
14030         * socket/accept.c: Likewise.
14031         * socket/accept4.c: Likewise.
14032         * socket/bind.c: Likewise.
14033         * socket/connect.c: Likewise.
14034         * socket/getpeername.c: Likewise.
14035         * socket/getsockname.c: Likewise.
14036         * socket/getsockopt.c: Likewise.
14037         * socket/isfdtype.c: Likewise.
14038         * socket/listen.c: Likewise.
14039         * socket/recv.c: Likewise.
14040         * socket/recvfrom.c: Likewise.
14041         * socket/recvmsg.c: Likewise.
14042         * socket/send.c: Likewise.
14043         * socket/sendmsg.c: Likewise.
14044         * socket/sendto.c: Likewise.
14045         * socket/setsockopt.c: Likewise.
14046         * socket/shutdown.c: Likewise.
14047         * socket/sockatmark.c: Likewise.
14048         * socket/socket.c: Likewise.
14049         * socket/socketpair.c: Likewise.
14050         * stdio-common/ctermid.c: Likewise.
14051         * stdio-common/cuserid.c: Likewise.
14052         * stdio-common/remove.c: Likewise.
14053         * stdio-common/rename.c: Likewise.
14054         * stdio-common/renameat.c: Likewise.
14055         * stdio-common/tempname.c: Likewise.
14056         * stdlib/getcontext.c: Likewise.
14057         * stdlib/makecontext.c: Likewise.
14058         * stdlib/setcontext.c: Likewise.
14059         * stdlib/swapcontext.c: Likewise.
14060         * stdlib/system.c: Likewise.
14061         * streams/fattach.c: Likewise.
14062         * streams/fdetach.c: Likewise.
14063         * streams/getmsg.c: Likewise.
14064         * streams/getpmsg.c: Likewise.
14065         * streams/putmsg.c: Likewise.
14066         * streams/putpmsg.c: Likewise.
14067         * sysdeps/unix/bsd/getpt.c: Likewise.
14068         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14069         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14070         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14072         Likewise.
14073         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14074         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14075         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14076         * sysvipc/msgctl.c: Likewise.
14077         * sysvipc/msgget.c: Likewise.
14078         * sysvipc/msgrcv.c: Likewise.
14079         * sysvipc/msgsnd.c: Likewise.
14080         * sysvipc/semctl.c: Likewise.
14081         * sysvipc/semget.c: Likewise.
14082         * sysvipc/semop.c: Likewise.
14083         * sysvipc/semtimedop.c: Likewise.
14084         * sysvipc/shmat.c: Likewise.
14085         * sysvipc/shmctl.c: Likewise.
14086         * sysvipc/shmdt.c: Likewise.
14087         * sysvipc/shmget.c: Likewise.
14088         * termios/tcdrain.c: Likewise.
14089         * termios/tcflow.c: Likewise.
14090         * termios/tcflush.c: Likewise.
14091         * termios/tcgetattr.c: Likewise.
14092         * termios/tcgetpgrp.c: Likewise.
14093         * termios/tcsendbrk.c: Likewise.
14094         * termios/tcsetattr.c: Likewise.
14095         * termios/tcsetpgrp.c: Likewise.
14096         * time/adjtime.c: Likewise.
14097         * time/clock.c: Likewise.
14098         * time/getitimer.c: Likewise.
14099         * time/gettimeofday.c: Likewise.
14100         * time/setitimer.c: Likewise.
14101         * time/settimeofday.c: Likewise.
14102         * time/stime.c: Likewise.
14103         * time/time.c: Likewise.
14105 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14107         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14108         /usr/old/bin.
14110         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14111         instead of spaces.
14112         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14114 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14116         [BZ #14796]
14117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14118         FE_TONEAREST before applying Dekker multiplication and Knuth
14119         addition.  Clear inexact exceptions and check for exact zero
14120         results afterwards.
14121         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14122         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14123         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14124         * math/libm-test.inc (fma_test): Add more tests.
14125         (fma_test_towardzero): Likewise.
14126         (fma_test_downward): Likewise.
14127         (fma_test_upward): Likewise.
14128         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14129         function.
14130         (libc_fesetround): New macro.
14131         (libc_fesetroundf): Likewise.
14132         (libc_fesetroundl): Likewise.
14133         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14134         function.
14135         (libc_fesetround_387): Likewise.
14136         (libc_fesetroundf): New macro.
14137         (libc_fesetround): Likewise.
14138         (libc_fesetroundl): Likewise.
14139         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14140         function.
14141         (libc_fesetroundf): New macro.
14142         (libc_fesetround): Likewise.
14143         (libc_fesetroundl): Likewise.
14144         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14145         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14146         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14147         libm_hidden_ver.
14148         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14149         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14150         libm_hidden_def.
14151         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14152         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14153         libm_hidden_ver.
14154         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14155         libm_hidden_def.
14157         [BZ #3439]
14158         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14159         integer constant usable in #if and use that to give value to enum
14160         constant.
14161         (FE_DIVBYZERO): Likewise.
14162         (FE_UNDERFLOW): Likewise.
14163         (FE_OVERFLOW): Likewise.
14164         (FE_INVALID): Likewise.
14165         (FE_INVALID_SNAN): Likewise.
14166         (FE_INVALID_ISI): Likewise.
14167         (FE_INVALID_IDI): Likewise.
14168         (FE_INVALID_ZDZ): Likewise.
14169         (FE_INVALID_IMZ): Likewise.
14170         (FE_INVALID_COMPARE): Likewise.
14171         (FE_INVALID_SOFTWARE): Likewise.
14172         (FE_INVALID_SQRT): Likewise.
14173         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14174         (FE_TONEAREST): Likewise.
14175         (FE_TOWARDZERO): Likewise.
14176         (FE_UPWARD): Likewise.
14177         (FE_DOWNWARD): Likewise.
14178         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14179         (FE_DIVBYZERO): Likewise.
14180         (FE_OVERFLOW): Likewise.
14181         (FE_UNDERFLOW): Likewise.
14182         (FE_INEXACT): Likewise.
14183         (FE_TONEAREST): Likewise.
14184         (FE_DOWNWARD): Likewise.
14185         (FE_UPWARD): Likewise.
14186         (FE_TOWARDZERO): Likewise.
14187         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14188         (FE_UNDERFLOW): Likewise.
14189         (FE_OVERFLOW): Likewise.
14190         (FE_DIVBYZERO): Likewise.
14191         (FE_INVALID): Likewise.
14192         (FE_TONEAREST): Likewise.
14193         (FE_TOWARDZERO): Likewise.
14194         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14195         (FE_OVERFLOW): Likewise.
14196         (FE_UNDERFLOW): Likewise.
14197         (FE_DIVBYZERO): Likewise.
14198         (FE_INEXACT): Likewise.
14199         (FE_TONEAREST): Likewise.
14200         (FE_TOWARDZERO): Likewise.
14201         (FE_UPWARD): Likewise.
14202         (FE_DOWNWARD): Likewise.
14203         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14204         (FE_DIVBYZERO): Likewise.
14205         (FE_OVERFLOW): Likewise.
14206         (FE_UNDERFLOW): Likewise.
14207         (FE_INEXACT): Likewise.
14208         (FE_TONEAREST): Likewise.
14209         (FE_DOWNWARD): Likewise.
14210         (FE_UPWARD): Likewise.
14211         (FE_TOWARDZERO): Likewise.
14213 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14215         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14217 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14219         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14220         commands.  Quote $PWD.
14221         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14222         -x" by "export".
14223         (remove_newlines): Remove.
14225 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14227         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14228         * stdlib/stdlib.h (atof): Moved to ...
14229         * include/bits/stdlib-float.h: Here.  New file.
14230         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14231         * stdlib/bits/stdlib-float.h: New file.
14232         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14233         -mno-sse -mno-mmx.
14234         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14235         <xmmintrin.h>.
14237 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14239         * conform/conformtest.pl (@headers): Add fenv.h.
14240         * conform/data/fenv.h-data: New file.
14241         * include/fenv.h [_ISOMAC]: Disable all contents of file except
14242         include of <math/fenv.h>.
14244         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14245         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14246         && !UNIX98].  Enables tests for XOPEN2K8.
14247         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14248         POSIX2008]: Likewise.
14250         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14251         (struct rusage): Do not expect type or its members.
14253         [BZ #3439]
14254         * math/math.h (FP_NAN): Define macro to integer constant usable in
14255         #if and use that to give value to enum constant.
14256         (FP_INFINITE): Likewise.
14257         (FP_ZERO): Likewise.
14258         (FP_SUBNORMAL): Likewise.
14259         (FP_NORMAL): Likewise.
14261 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
14263         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14264         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14265         arguments.
14267 2012-11-02  Roland McGrath  <roland@hack.frob.com>
14269         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14270         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14271         autoconf-time if not.
14272         * configure.in: Remove AC_PREREQ.
14274 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14276         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14277         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14278         of the internal implementation.
14280 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14282         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14283         except include of <misc/sys/syslog.h>.
14285 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14288         function returns with a NULL context exit with zero.
14290 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14292         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14294 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
14296         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14297         (run_program_cmd): This.
14298         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14299         (tst_langinfo): New variable.  Use it.
14301 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
14303         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14304         floating point opcodes.
14306 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14308         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14309         variable.
14311         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14313         * sysdeps/mach/hurd/powerpc: Remove directory.
14314         * sysdeps/mach/powerpc: Likewise.
14316 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14318         * scripts/check-local-headers.sh: Ignore c++ headers.
14320 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14322         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14323         __libc_cleanup_region_start argument.
14325 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
14327         [BZ #14784]
14328         [BZ #14785]
14329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14330         x * y using scaling, not as x * y + z.
14331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14332         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14333         * math/libm-test.inc (fma_test): Add more tests.
14334         (fma_test_towardzero): Likewise.
14335         (fma_test_downward): Likewise.
14336         (fma_test_upward): Likewise.
14338 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14340         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14342 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14344         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14345         New variable.
14347 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14349         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14351 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14354         Fix sort order.
14355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14356         Likewise.
14358 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14361         Fix the order of the list for glibc 2.17.
14362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14363         Likewise.
14365 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14369 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14371         [BZ #14610]
14372         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14373         for low part of x being zero before using __atanl (y).
14374         * math/libm-test.inc (atan2_test): Add another test.
14376         * manual/install.texi (Configuring and compiling): Document
14377         general use of test-wrapper and test-wrapper-env.
14378         * INSTALL: Regenerated.
14380         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14381         (__fma): Do not extract and scale down low bits on after-rounding
14382         systems when result rounded to normal precision would have normal
14383         exponent.
14384         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14385         (__fmal): Do not extract and scale down low bits on after-rounding
14386         systems when result rounded to normal precision would have normal
14387         exponent.
14388         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14389         (__fmal): Do not extract and scale down low bits on after-rounding
14390         systems when result rounded to normal precision would have normal
14391         exponent.
14392         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14393         macro.
14394         (fma_test): Add more tests.
14395         (fma_test_towardzero): Likewise.
14396         (fma_test_downward): Likewise.
14397         (fma_test_upward): Likewise.
14399 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14401         * sysdeps/i386/tininess.h: Renamed to ...
14402         * sysdeps/x86/tininess.h: This.
14403         * sysdeps/x86_64/tininess.h: Removed.
14405 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14407         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14408         input.  Use $(build-program-cmd).
14409         ($(objpfx)tst-array1-static.out): Likewise.
14410         ($(objpfx)tst-array2.out): Likewise.
14411         ($(objpfx)tst-array3.out): Likewise.
14412         ($(objpfx)tst-array4.out): Likewise.
14413         ($(objpfx)tst-array5.out): Likewise.
14414         ($(objpfx)tst-array5-static.out): Likewise.
14416 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14418         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14419         if defined.
14421         * nss/nsswitch.h (nss_interface_function): Provide new
14422         macro for use with NSS functions.
14423         * grp/initgroups.c: Use new macro.
14424         * nss/getXXbyYY.c: Likewise.
14425         * nss/getXXbyYY_r.c: Likewise.
14426         * nss/getXXent.c: Likewise.
14427         * nss/getXXent_r.c: Likewise.
14428         * sysdeps/posix/getaddrinfo.c: Likewise.
14430 2012-10-30  Andreas Jaeger  <aj@suse.de>
14432         * po/ru.po: Update Russion translation from translation project.
14434 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14436         [BZ #14152]
14437         [BZ #14783]
14438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14439         result and shift together with sticky bit instead of replicating
14440         round-to-nearest rounding.
14441         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14442         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14443         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14444         missing underflow exceptions.
14445         (fma_test_towardzero): Add more tests.
14446         (fma_test_downward): Likewise.
14447         (fma_test_upward): Likewise.
14449         [BZ #14047]
14450         * sysdeps/generic/tininess.h: New file.
14451         * sysdeps/i386/tininess.h: Likewise.
14452         * sysdeps/sh/tininess.h: Likewise.
14453         * sysdeps/x86_64/tininess.h: Likewise.
14454         * stdlib/tst-strtod-underflow.c: Likewise.
14455         * stdlib/tst-tininess.c: Likewise.
14456         * stdlib/strtod_l.c: Include <tininess.h>.
14457         (round_and_return): Do not set errno for exact underflow cases.
14458         Force an underflow exception when setting errno for underflow.
14459         Determine underflow based on rounding to normal precision if
14460         TININESS_AFTER_ROUNDING.
14461         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14462         ERANGE for exact underflow cases.
14463         * stdlib/Makefile (tests): Add tst-tininess and
14464         tst-strtod-underflow.
14465         ($(objpfx)tst-tininess): Use $(link-libm).
14466         ($(objpfx)tst-strtod-underflow): Likewise.
14468 2012-10-30  Andreas Jaeger  <aj@suse.de>
14470         [BZ#14767]
14471         * elf/Makefile (tests): Remove conditional for have-initfini-array
14472         since this is now always required and the variable does not exist
14473         anymore.
14474         (tests-static): Likewise.
14475         (modules-names): Likewise.
14477         * po/eo.po: Add Esperanto translation from translation project.
14479         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14480         merged with constructor/destructor.
14481         (init_array): Likewise.
14482         * elf/tst-array2dep.c (fini_array): Likewise.
14483         (init_array): Likewise.
14485 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14487         * manual/message.texi: Delete @cartouche tags.
14489 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14491         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14492         EOPNOTSUPP.
14493         * sysdeps/mach/hurd/fsync.c: Likewise.
14495         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14496         [_POSIX_REALTIME_SIGNALS]: Change condition to
14497         [_POSIX_REALTIME_SIGNALS > 0].
14499 2012-10-27  Andreas Jaeger  <aj@suse.de>
14501         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14502         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14503         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14504         [__WORDSIZE != 64]: Likewise.
14506 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14508         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14509         *  iconvdata/tst-tables.sh: Likewise.
14511 2012-10-25  David S. Miller  <davem@davemloft.net>
14513         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14514         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14515         of strtoull.
14517         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14518         ifunc-impl-list.c
14519         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14520         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14521         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14522         file.
14524 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14526         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14527         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14528         __getdirentries.
14530 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14531             Jim Blandy  <jimb@codesourcery.com>
14533         * scripts/cross-test-ssh.sh: New file.
14534         * manual/install.texi (Configuring and compiling): Document use of
14535         cross-test-ssh.sh.
14536         * INSTALL: Regenerated.
14538 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14540         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14541         EOPNOTSUPP.
14543 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14545         * Makeconfig (run-program-prefix): Fix comment.
14547 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14548             Jim Blandy  <jimb@codesourcery.com>
14550         * Makeconfig (test-wrapper): New variable,
14551         (test-wrapper-env): Likewise.
14552         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14553         (run-built-tests): Define to yes.
14554         (run-program-prefix): Use $(test-wrapper).
14555         (built-program-cmd): Likewise.
14556         * Rules (make-test-out): Use $(test-wrapper-env) and
14557         $(host-built-program-cmd).
14558         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14559         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14560         tst-pathopt.sh.
14561         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14562         $(test-wrapper-env) to tst-rtld-load-self.sh.
14563         ($(objpfx)order2.out): Use $(test-wrapper).
14564         ($(objpfx)tst-initorder.out): Likewise.
14565         ($(objpfx)tst-initorder2.out): Likewise.
14566         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14567         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14568         (test_wrapper_env): New variable.  Use it to run ld.so.
14569         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14570         Use it to run ld.so.
14571         (test_wrapper_env): Likewise.
14572         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14573         $(test-wrapper) to run-iconv-test.sh.
14574         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14575         (ICONV): Use $test_wrapper.
14576         * posix/Makefile ($(objpfx)globtest.out): Pass
14577         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14578         globtest.sh, not $(run-program-prefix).
14579         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14580         (test_wrapper): Likewise.
14581         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14582         set together with run_via_rtld_prefix.
14583         (run_program_prefix): Define in terms of test_wrapper and
14584         run_via_rtld_prefix.
14586 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14588         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14589         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14590         Targets removed.
14592         [BZ #14743]
14593         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14594         Declare __clock_getres, __clock_gettime, __clock_settime,
14595         __clock_nanosleep, and __clock_getcpuclockid.
14596         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14597         Remove librt_hidden_def (clock_gettime).
14598         * sysdeps/unix/clock_gettime.c: Likewise.
14599         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14600         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14601         * rt/clock_getres.c: Define __clock_getres as an alias.
14602         * sysdeps/posix/clock_getres.c: Likewise.
14603         * rt/clock_settime.c: Define __clock_settime as an alias.
14604         * sysdeps/unix/clock_settime.c: Likewise.
14605         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14606         * sysdeps/unix/clock_nanosleep.c: Likewise.
14607         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14608         * rt/clock-compat.c: New file.
14609         * rt/Makefile (librt-routines): Add clock-compat and move
14610         $(clock-routines) to ...
14611         (routines): ... here, new variable.
14612         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14613         Don't add get_clockfreq here.
14614         * rt/Versions (libc: GLIBC_2.17): New version set.
14615         Add clock_* symbols here.
14616         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14617         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14618         (GLIBC_2.17): Add clock_* symbols.
14619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14621         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14623         Likewise.
14624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14625         Likewise.
14626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14630         * NEWS: Mention the move.
14632         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14633         Use __open, __read, __close rather than their public counterparts.
14634         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14635         (__get_clockfreq_via_cpuinfo): Likewise.
14636         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14637         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14639         * config.h.in (HAVE_IFUNC): New #undef.
14640         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14641         was successful.
14642         * configure: Regenerated.
14644 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14646         * configure.in: Move READELF check to start of file.
14647         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14648         libc_cv_asm_gnu_indirect_function in the process.
14649         * configure: Regenerated.
14651 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14653         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14654         send the output to /dev/null.
14655         (libc_cv_cc_with_libunwind): Likewise.
14656         (libc_cv_as_noexecstack): Likewise.
14657         * configure: Regenerate.
14659 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14661         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14663         * posix/globtest.sh (TMPDIR): Do not set.
14664         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14665         (testout): Likewise.
14667 2012-10-24  Andreas Jaeger  <aj@suse.de>
14669         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14670         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14671         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14672         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14673         posix_fadvise64, posix_fallocate64.
14675         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14676         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14677         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14678         Likewise.
14679         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14680         Likewise.
14681         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14684         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14685         <bits/fcntl-linux.h>.
14686         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14688         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14689         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14690         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14691         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14692         [__WORDSIZE != 64]: Likewise.
14694 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14696         * Makeconfig (run-built-tests): New variable.
14697         * Rules [$(cross-compiling) = yes]: Change condition to
14698         [$(run-built-tests) = no].
14699         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14700         to [$(run-built-tests) = yes].
14701         * elf/Makefile [$(cross-compiling) = no]: Likewise
14702         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14703         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14704         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14705         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14706         * io/Makefile [$(cross-compiling) = no]: Likewise.
14707         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14708         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14709         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14710         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14711         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14712         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14713         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14714         * string/Makefile [$(cross-compiling) = no]: Likewise.
14716         * posix/Makefile ($(objpfx)globtest.out): Pass
14717         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14718         $(rtld-installed-name).
14719         * posix/globtest.sh (elf_objpfx): Remove variable.
14720         (rtld_installed_name): Likewise.
14721         (library_path): Likewise.
14722         (run_program_prefix): New variable.  Use for running globtest
14723         binary.
14725 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14726             Joseph Myers  <joseph@codesourcery.com>
14728         * Makeconfig (host-built-program-cmd): New variable.
14729         * elf/Makefile (tst-stackguard1-ARGS): Use
14730         $(host-built-program-cmd).
14731         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14732         (tst-spawn-ARGS): Likewise.
14733         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14735 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14736             Jim Blandy  <jimb@codesourcery.com>
14738         * Makeconfig (run-via-rtld-prefix): New variable.
14739         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14740         (built-program-cmd): Likewise.
14742 2012-10-22  Andreas Jaeger  <aj@suse.de>
14744         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14745         __O_RSYNC if it exists, otherwise to O_SYNC.
14747 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14748             Joseph Myers  <joseph@codesourcery.com>
14750         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14751         /dev/null.
14752         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14753         from /dev/null
14754         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14755         /dev/null.
14757 2012-10-22  Andreas Jaeger  <aj@suse.de>
14759         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14760         Define always.
14761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14764         bits/fcntl-linux.h.
14766         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14767         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14769         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14770         to __O_LARGEFILE.
14771         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14772         to __O_LARGEFILE.
14774 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14775             Joseph Myers  <joseph@codesourcery.com>
14777         * config.make.in (NM): New variable.
14779 2012-10-21  Andreas Jaeger  <aj@suse.de>
14781         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14782         definitions and declarations that are provided by
14783         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14785 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14787         [BZ #14683]
14788         * elf/Makefile (tests-static): Add tst-leaks1-static.
14789         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14790         ($(objpfx)tst-leaks1-static): New rule.
14791         ($(objpfx)tst-leaks1-static-mem): Likewise.
14792         (tst-leaks1-static-ENV): New macro.
14793         * elf/dl-open.c (dl_open_worker): Check the main application
14794         only if SHARED is defined.
14795         * elf/tst-leaks1-static.c: New file.
14797 2012-10-20  Andreas Jaeger  <aj@suse.de>
14799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14800         generic values for Linux.
14801         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14802         and declarations that are provided by <bits/fcntl-linux.h> and
14803         include <bits/fcntl-linux.h>.
14804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14805         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14807 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14809         * io/fcntl.h: Move include of <bits/types.h> to the top and
14810         include it unconditionally.
14812 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14814         * wcsmbs/Makefile (tests-ifunc): New variable.
14815         (tests): Add $(tests-ifunc).
14816         * wcsmbs/test-wcschr-ifunc.c: New file.
14817         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14818         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14819         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14820         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14821         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14823         * string/Makefile (tests-ifunc): New variable.
14824         (tests): Add $(tests-ifunc).
14825         * string/test-memccpy.c (TEST_NAME): New macro.
14826         * string/test-memchr.c (TEST_NAME): Likewise.
14827         * string/test-memcmp.c (TEST_NAME): Likewise.
14828         * string/test-memcpy.c (TEST_NAME): Likewise.
14829         * string/test-memmem.c (TEST_NAME): Likewise.
14830         * string/test-memmove.c (TEST_NAME): Likewise.
14831         * string/test-memset.c (TEST_NAME): Likewise.
14832         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14833         * string/test-stpcpy.c (TEST_NAME): Likewise.
14834         * string/test-stpncpy.c (TEST_NAME): Likewise.
14835         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14836         * string/test-strcasestr.c (TEST_NAME): Likewise.
14837         * string/test-strcat.c (TEST_NAME): Likewise.
14838         * string/test-strchr.c (TEST_NAME): Likewise.
14839         * string/test-strcmp.c(TEST_NAME): Likewise.
14840         * string/test-strcpy.c (TEST_NAME): Likewise.
14841         * string/test-strcspn.c (TEST_NAME): Likewise.
14842         * string/test-strlen.c (TEST_NAME): Likewise.
14843         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14844         * string/test-strncmp.c (TEST_NAME): Likewise.
14845         * string/test-strncpy.c (TEST_NAME): Likewise.
14846         * string/test-strnlen.c (TEST_NAME): Likewise.
14847         * string/test-strpbrk.c (TEST_NAME): Likewise.
14848         * string/test-strrchr.c (TEST_NAME): Likewise.
14849         * string/test-strspn.c (TEST_NAME): Likewise.
14850         * string/test-strstr.c (TEST_NAME): Likewise.
14851         * string/test-bcopy-ifunc.c: New file.
14852         * string/test-bzero-ifunc.c: Likewise.
14853         * string/test-memccpy-ifunc.c: Likewise.
14854         * string/test-memchr-ifunc.c: Likewise.
14855         * string/test-memcmp-ifunc.c: Likewise.
14856         * string/test-memcpy-ifunc.c: Likewise.
14857         * string/test-memmem-ifunc.c: Likewise.
14858         * string/test-memmove-ifunc.c: Likewise.
14859         * string/test-mempcpy-ifunc.c: Likewise.
14860         * string/test-memset-ifunc.c: Likewise.
14861         * string/test-rawmemchr-ifunc.c: Likewise.
14862         * string/test-stpcpy-ifunc.c: Likewise.
14863         * string/test-stpncpy-ifunc.c: Likewise.
14864         * string/test-strcasecmp-ifunc.c: Likewise.
14865         * string/test-strcasestr-ifunc.c: Likewise.
14866         * string/test-strcat-ifunc.c: Likewise.
14867         * string/test-strchr-ifunc.c: Likewise.
14868         * string/test-strchrnul-ifunc.c: Likewise.
14869         * string/test-strcmp-ifunc.c: Likewise.
14870         * string/test-strcpy-ifunc.c: Likewise.
14871         * string/test-strcspn-ifunc.c: Likewise.
14872         * string/test-strlen-ifunc.c: Likewise.
14873         * string/test-strncasecmp-ifunc.c: Likewise.
14874         * string/test-strncat-ifunc.c: Likewise.
14875         * string/test-strncmp-ifunc.c: Likewise.
14876         * string/test-strncpy-ifunc.c: Likewise.
14877         * string/test-strnlen-ifunc.c: Likewise.
14878         * string/test-strpbrk-ifunc.c: Likewise.
14879         * string/test-strrchr-ifunc.c: Likewise.
14880         * string/test-strspn-ifunc.c: Likewise.
14881         * string/test-strstr-ifunc.c: Likewise.
14883         * debug/Makefile (tests-ifunc): New variable.
14884         (tests): Add $(tests-ifunc).
14885         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14886         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14887         * debug/test-stpcpy_chk-ifunc.c: New file.
14888         * debug/test-strcpy_chk-ifunc.c: Likewise.
14890 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14892         [BZ #13601]
14893         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14894         header is not read in.
14896 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14898         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14899         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14900         directly.  Pass built executable to script as
14901         $(built-program-cmd).
14902         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14903         $testprogram without using LD_LIBRARY_PATH and $ldso.
14905         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14906         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14907         $(rtld-installed-name).
14908         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14909         (rtld_installed_name): Likewise.
14910         (library_path): Likewise.
14911         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14912         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14913         $(run-program-prefix) to tst-tables.sh.
14914         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14915         it to run tst-table-from and tst-table-to.
14916         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14917         Pass it to tst-table.sh.
14918         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14919         $(run-program-prefix) to tst-gettext.sh.
14920         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14921         tst-translit.sh.
14922         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14923         tst-gettext2.sh.
14924         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14925         to run tst-gettext.
14926         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14927         to run tst-gettext2.
14928         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14929         to run tst-translit.
14930         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14931         $(run-program-prefix) to tst-mtrace.sh.
14932         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14933         to run tst-mtrace.
14934         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14935         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14936         $(rtld-installed-name).
14937         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14938         (rtld_installed_name): Likewise.
14939         (run_program_prefix): New variable.  Use it to run wordexp-test.
14941         * Makeconfig (ARCH): Remove all definitions.
14942         (machine): Likewise.
14943         [ARCH]: Remove conditional code.
14944         [!objdir]: Give error.
14945         [!objdir] (objpfx): Remove.
14946         [!objdir] (common-objpfx): Likewise.
14947         [!objdir] (common-objdir): Likewise.
14948         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14949         AC_CONFIG_FILES call.
14950         * configure: Regenerated.
14952         [BZ #13888]
14953         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14954         or TMPDIR.
14955         (testout): Likewise.
14957         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14958         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14959         $(rtld-installed-name).
14960         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14961         (rtld_installed_name): Likwise.
14962         (runit): Remove function.
14963         (run_getconf): New variable,  Use it for running getconf binary.
14965 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14967         [BZ #14716]
14968         * string/test-memmem.c (check_result): New function.
14969         (do_one_test): Use it.
14970         (check1): New function.
14971         (test_main): Use it.
14973 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14975         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14977 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14979         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14980         (_G_LSEEK64): Likewise.
14981         (_G_MMAP64): Likewise.
14982         (_G_FSTAT64): Likewise.
14983         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14984         (_G_LSEEK64): Likewise.
14985         (_G_MMAP64): Likewise.
14986         (_G_FSTAT64): Likewise.
14987         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14988         unconditional.  Call __mmap64 directly.
14989         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14990         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14991         __lseek64 directly.
14992         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14993         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14994         __mmap64 directly.
14995         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14996         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14997         __lseek64 directly.
14998         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14999         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15000         __lseek64 directly.
15001         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15002         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
15003         __lseek64 directly.
15004         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15005         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
15006         __fxstat64 directly.
15007         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15008         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15009         unconditional.
15010         (freopen64) [!_G_OPEN64]: Remove conditional code.
15011         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15012         unconditional.
15013         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15014         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15015         unconditional.
15016         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15017         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15018         unconditional.
15019         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15020         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15021         unconditional.
15022         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15023         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15024         unconditional.
15025         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15026         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15027         unconditional.
15028         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15029         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15030         unconditional.
15031         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15033 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15035         [BZ #12140]
15036         * manual/memory.texi (Malloc Tunable Parameters): Add note
15037         about free list pointers overwriting some perturb bytes.
15038         Wording suggested by Roland McGrath.
15040 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15042         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15043         (lgamma_test): Likewise.
15044         (tgamma_test): Likewise.
15046 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15048         [BZ #14700]
15049         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15050         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15052 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15054         * NEWS: Mention BZ #14716.
15055         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15056         when removing AVAILABLE1_USES_J macro.
15058 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15060         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15061         (__bswap_64): __uint64_t for unsigned 64-bit int.
15063 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15065         * include/string.h (memmem): Declare libc hidden alias.
15066         * string/memmem.c (memmem): Define libc hidden alias.
15067         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15068         __read, __close instead of open, read, close.
15070 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15072         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15073         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15074         global and hidden.
15075         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15076         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15077         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15078         Likewise.
15079         (__rawmemchr_sse2): Likewise.
15080         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15081         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15082         (__strchr_sse2): Likewise.
15083         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15084         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15085         (__strcasecmp_sse2): Likewise.
15086         (__strncasecmp_sse2): Likewise.
15087         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15088         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15089         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15090         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15091         (__strrchr_sse2): Likewise.
15092         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15093         ifunc-impl-list.c.
15094         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15095         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15096         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15097         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15098         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15099         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15100         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15101         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15102         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15103         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15104         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15105         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15106         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15107         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15108         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15109         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15110         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15111         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15112         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15113         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15114         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15115         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15116         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15117         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15118         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15119         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15120         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15121         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15122         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15123         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15125         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15126         global and hidden.
15127         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15128         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15129         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15130         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15131         Likewise.
15132         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15133         Likewise.
15134         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15135         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15136         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15137         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15138         ifunc-impl-list.c.
15139         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15140         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15141         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15142         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15143         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15144         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15145         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15146         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15147         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15148         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15149         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15150         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15151         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15152         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15153         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15154         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15155         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15156         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15157         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15158         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15159         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15160         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15161         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15162         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15163         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15164         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15165         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15166         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15167         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15168         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15169         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15170         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15171         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15172         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15173         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15174         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15175         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15176         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15177         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15178         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15179         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15181         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15182         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15183         * include/ifunc-impl-list.h: New file.
15184         * misc/ifunc-impl-list.c: Likewise.
15185         * misc/Makefile (routines): Add ifunc-impl-list.
15186         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15187         * string/test-string.h: Include <ifunc-impl-list.h>.
15188         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15189         impl_array): New variables.
15190         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15191         are defined.
15192         (test_init): Call __libc_ifunc_impl_list to initialize
15193         func_list if TEST_IFUNC and TEST_NAME are defined.
15195         * string/Makefile (strop-tests): Add bcopy and bzero.
15196         * string/test-bcopy.c: New file.
15197         * string/test-bzero.c: Likewise.
15198         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15199         defined.
15200         * string/test-memset.c: Support bzero test if TEST_BZERO is
15201         defined.
15202         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15203         __libc_memmove.
15204         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15205         __libc_memset.
15206         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15207         of memset.
15209 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15211         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15212         * configure: Regenerated.
15214         * Makeconfig (+link-static-before-libc): Don't include
15215         $(link-static-libc).
15217         * libio/libio.h (_IO_pos_t): Remove.
15219 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15221         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15222         McGrath.
15224 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15226         * crypt/crypt-entry.c: Include fips-private.h.
15227         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15228         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15229         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15230         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15232 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15234         * crypt/crypt-private.h: Include stdbool.h.
15235         (_ufc_setup_salt_r): Return bool.
15236         * crypt/crypt-entry.c: Include errno.h.
15237         (__crypt_r): Return NULL with EINVAL for bad salt.
15238         * crypt/crypt_util.c (bad_for_salt): New.
15239         (_ufc_setup_salt_r): Check that salt is long enough and within
15240         the specified alphabet.
15241         * crypt/badsalttest.c: New file.
15242         * crypt/Makefile (tests): Add it.
15243         ($(objpfx)badsalttest): New.
15245 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
15247         * NEWS: Add entry for BZ #14602.
15249 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15251         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15252         type-generic.
15253         * math/libm-test.inc: Update comment listing what functions and
15254         macros are tested.
15255         (isgreater_test): New function.
15256         (isgreaterequal_test): Likewise.
15257         (isless_test): Likewise.
15258         (islessequal_test): Likewise.
15259         (islessgreater_test): Likewise.
15260         (isunordered_test): Likewise.
15261         (main): Call the new functions.
15263 2012-10-09  Roland McGrath  <roland@hack.frob.com>
15265         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15266         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15267         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15268         * sysdeps/i386/configure: Regenerated.
15269         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15270         * sysdeps/mach/configure: Regenerated.
15271         * sysdeps/mach/hurd/configure: Regenerated.
15272         * sysdeps/powerpc/configure: Regenerated.
15273         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15274         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15275         * sysdeps/s390/s390-32/configure: Regenerated.
15276         * sysdeps/s390/s390-64/configure: Regenerated.
15277         * sysdeps/sh/configure: Regenerated.
15278         * sysdeps/sparc/configure: Regenerated.
15279         * sysdeps/unix/sysv/linux/configure: Regenerated.
15280         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15281         * sysdeps/x86_64/configure: Regenerated.
15283         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15284         defined.  Don't check if MAP is NULL.
15286 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15288         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15289         (_G_stat64): Likewise.
15290         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15291         (_G_stat64): Likewise.
15292         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15293         instead of struct _G_stat64.
15294         * libio/fileops.c (mmap_remap_check): Likewise.
15295         (decide_maybe_mmap): Likewise.
15296         (_IO_new_file_seekoff): Likewise.
15297         (_IO_file_stat): Likewise.
15298         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15299         _G_off64_t.
15300         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15301         instead of struct _G_stat64.
15302         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15304 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
15306         [BZ #14602]
15307         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15308         Replace with ...
15309         (CHECK_EOL): New macro.
15310         (two_way_short_needle): Check beginning of haystack for EOL.  Use
15311         CHECK_EOL.
15312         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15313         Replace with CHECK_EOL.
15314         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15315         Replace with CHECK_EOL.
15317 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
15319         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15320         type-generic.
15321         * math/libm-test.inc: Update comment listing what functions and
15322         macros are tested.
15323         (finite_test): New function.
15324         (isinf_test): Likewise.
15325         (isnan_test): Likewise.
15326         (fpclassify_test): Test subnormal input.
15327         (isfinite_test): Likewise.
15328         (isnormal_test): Likewise.
15329         (main): Call the new functions.
15331 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15333         [BZ #14660]
15334         * Makerules (%.dynsym): Force C locale when running
15335         $(OBJDUMP) --dynamic-syms.
15337 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15339         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15340         <stdint.h>.
15342 2012-10-06  David S. Miller  <davem@davemloft.net>
15344         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15345         upper 32-bits of the length value in %o2 since we use branch-on-register
15346         tests which consider the entire 64-bit register.
15348 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15350         * string/test-strstr.c (check2): Add a test for page boundary.
15352 2012-10-05  David S. Miller  <davem@davemloft.net>
15354         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15355         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15356         file.
15357         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15358         sysdep_routines.
15359         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15360         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15361         and bzero when HWCAP_SPARC_CRYPTO is present.
15363 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15365         [BZ #14602]
15366         * string/test-strstr.c (check2): New function.
15367         (test_main): Call check2.
15369         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15370         and bug-strchr1.
15371         * string/bug-strcasestr1.c (do_test): Moved to ...
15372         * string/test-strcasestr.c (check1): Here.  New function.
15373         (do_one_test): Break out result checking code into ...
15374         (check_result): This.  New function.
15375         (do_one_test): Call check_result.
15376         (test_main): Call check1.
15377         * string/bug-strchr1.c (do_test): Moved to ...
15378         * string/test-strchr.c (check1): Here.  New function.
15379         (do_one_test): Break out result checking code into ...
15380         (check_result): This.  New function.
15381         (do_one_test): Call check_result.
15382         (test_main): Call check1.
15383         * string/bug-strstr1.c (main): Moved to ...
15384         * string/test-strstr.c (check1): Here.  New function.
15385         (do_one_test): Break out result checking code into ...
15386         (check_result): This.  New function.
15387         (do_one_test): Call check_result.
15388         (test_main): Call check1.
15389         * string/bug-strcasestr1.c: Removed.
15390         * string/bug-strchr1.c: Likewise.
15391         * string/bug-strstr1.c: Likewise.
15393         * elf/Makefile (dl-routines): Add hwcaps.
15394         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15395         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15396         (_dl_important_hwcaps): Moved to ...
15397         * elf/dl-hwcaps.c: Here.  New file.
15398         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15400         [BZ #14557]
15401         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15402         if IS_IN_rtld isn't defined.
15404         * elf/dl-support.c (_dl_sysinfo_map): New.
15405         Include "get-dynamic-info.h" and "setup-vdso.h".
15406         (_dl_non_dynamic_init): Call setup_vdso.
15407         * elf/dynamic-link.h: Don't include <assert.h>.
15408         (elf_get_dynamic_info): Moved to ...
15409         * elf/get-dynamic-info.h: Here.  New file.
15410         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15411         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15412         * elf/setup-vdso.h: Here.  New file.
15413         * elf/rtld.c: Include "setup-vdso.h".
15414         (dl_main): Call setup_vdso.
15416 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15418         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15419         creal in comment listing functions tested.  List finite, isinf,
15420         isnan, isless, islessequal, isgreater, isgreaterequal,
15421         islessgreater, isunordered, lgamma_r and pow10 as functions and
15422         macros not tested.  Mention which functions not tested are aliases
15423         for other functions.  Fix typo.  Note that signs of NaNs are not
15424         tested.
15426         * scripts/config.guess: Update from config.git.
15427         * scripts/config.sub: Likewise.
15429 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15431         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15432         * misc/madvise.c (madvise): Renamed to __madvise.
15433         Make madvise a weak alias.
15434         * include/sys/mman.h: Declare __madvise.
15435         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15436         * sysdeps/unix/syscalls.list
15437         (madvise): Make __madvise the strong name, and madvise a weak alias.
15438         * sysdeps/unix/sysv/linux/syscalls.list
15439         (madvise, mmap): Remove redundant entries.
15440         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15441         * malloc/malloc.c (mtrim): Likewise.
15442         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15444 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15446         * sysdeps/mach/hurd/dl-cache.c: File removed.
15447         * config.h.in (USE_LDCONFIG): New #undef.
15448         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15449         * configure: Regenerated.
15450         * elf/Makefile (dl-routines): Add dl-cache only under
15451         [$(use-ldconfig) = yes].
15452         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15453         cache on [USE_LDCONFIG].
15454         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15455         [USE_LDCONFIG].
15456         * elf/rtld.c (dl_main): Likewise.
15458 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15460         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15461         _SC_LEVEL4_CACHE_LINESIZE.
15463 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15465         * sysdeps/unix/bsd/confstr.h: File removed.
15467 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15469         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15470         sys/sdt-config.h.
15472 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15474         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15475         Make 'mapoff' field ElfW(Off) rather than off_t.
15477 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15479         * nscd/Makefile: Remove nscd-cflags and all its users.
15480         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15481         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15483         [BZ #10631]
15484         * malloc.c (malloc_printerr): Clarify error message.
15486 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15488         [BZ #14648]
15489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15490         Set bit_FMA_Usable if FMA is supported.
15491         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15492         macro.
15493         (bit_FMA4_Usable): Updated.
15494         (index_FMA_Usable): New macro.
15495         (CPUID_FMA): Likewise
15496         (HAS_FMA): Defined with bit_FMA_Usable.
15498 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15500         * bits/types.h (__swblk_t): Type removed.
15501         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15502         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15503         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15504         (__SWBLK_T_TYPE): Likewise.
15505         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15506         (__SWBLK_T_TYPE): Likewise.
15507         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15508         (__SWBLK_T_TYPE): Likewise.
15509         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15510         (__SWBLK_T_TYPE): Likewise.
15512 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15513             Honza Horak <hhorak@redhat.com>
15515         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15516         (xdr_mapname): Use YPMAXMAP as maxsize.
15517         (xdr_peername): Use YPMAXPEER as maxsize.
15518         (xdr_keydat): Use YPAXRECORD as maxsize.
15519         (xdr_valdat): Use YPMAXRECORD as maxsize.
15521 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15523         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15525         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15526         * csu/init-first.c: ... here.
15527         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15528         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15529         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15530         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15531         * sysdeps/i386/init-first.c: File removed.
15532         * sysdeps/sh/init-first.c: File removed.
15534 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15536         [BZ #14645]
15537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15538         if x * y might underflow to zero and z is zero.
15539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15541         * math/libm-test.inc (min_subnorm_value): New variable.
15542         (fma_test): Add more tests.
15543         (fma_test_towardzero): Likewise.
15544         (fma_test_downward): Likewise
15545         (fma_test_upward): Likewise.
15546         (initialize): Set min_subnorm_value.
15548 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15550         [BZ #14638]
15551         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15552         0 + 0.
15553         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15554         mode for addition resulting in exact zero.
15555         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15557         exact 0 + 0.
15558         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15559         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15560         * math/libm-test.inc (fma_test): Add more tests.
15561         (fma_test_towardzero): New function.
15562         (fma_test_downward): Likewise.
15563         (fma_test_upward): Likewise.
15564         (main): Call the new functions.
15566 2012-09-28  David S. Miller  <davem@davemloft.net>
15568         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15570 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15572         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15573         instead of SIGALRM.
15575         * sysdeps/gnu/_G_config.h: Moved to ...
15576         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15577         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15578         * sysdeps/generic/_G_config.h: ... here.
15580         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15582         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15584         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15585         Conditionalize target on [libnss_test1.so-version].
15587         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15589         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15590         (elfobjdir): Move out of conditionals.
15592         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15593         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15594         (__nss_lookup_function): Conditionalize label remove_from_tree on
15595         [!DO_STATIC_NSS || SHARED], matching its only use.
15597 2012-09-28  David S. Miller  <davem@davemloft.net>
15599         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15600         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15601         file.
15602         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15603         sysdep_routines.
15604         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15605         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15606         when HWCAP_SPARC_CRYPTO is present.
15608 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15610         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15612 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15614         [BZ #6530]
15615         * stdio-common/vfprintf.c (process_string_arg): Revert
15616         2000-07-22 change.
15618 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15620         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15621         for testcase.
15622         * stdio-common/tst-sprintf.c: Include <locale.h>
15623         (main): Test sprintf's handling of incomplete multibyte
15624         characters.
15626 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15628         * elf/dl-runtime.c (VERSYMIDX): Removed.
15629         * elf/dl-version.c (VERSYMIDX): Likewise.
15630         * elf/do-rel.h (VERSYMIDX): Likewise.
15631         (VALIDX): Likewise.
15632         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15633         * elf/rtld.c (VALIDX): Likewise.
15634         (ADDRIDX): Likewise.
15635         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15636         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15637         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15638         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15639         (VALIDX): Likewise.
15640         (ADDRIDX): Likewise.
15642 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15644         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15646 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15648         [BZ #11438]
15649         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15650         to global scope.
15651         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15652         addresses are in the same scope as 192.0.2/24.
15653         * posix/gai.conf: Document new scope table defaults.
15655 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15657         [BZ #5298]
15658         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15659         for ftell.  Compute offsets from write pointers instead.
15660         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15662 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15664         [BZ #14543]
15665         * libio/Makefile (tests): New test case tst-fseek.
15666         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15667         combination works in wide mode.
15668         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15669         state when the external buffer state changes.
15671 2012-09-27  David S. Miller  <davem@davemloft.net>
15673         [BZ #14376]
15674         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15675         pass reloc->r_addend in as the 'high' argument to
15676         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15680 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15682         * rt/tst-aio2.c: Include <pthread.h>.
15683         * rt/tst-aio3.c: Likewise.
15685 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15687         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15689 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15691         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15692         contents on [SHARED].
15694 2012-09-26  Marek Polacek  <polacek@redhat.com>
15696         [BZ #14530]
15697         [BZ #13741]
15698         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15699         for C++ and GCC <4.3 as well as for non GCC compilers.
15701 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15705 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15707         * Makefile.in (all, install): Declare with .PHONY.
15708         Reported by Michael Hope <michael.hope@linaro.org>.
15710 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15712         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15713         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15714         system header.
15715         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15716         Likewise.
15717         (sydep_routines): Add the new and the internal functions.
15718         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15719         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15721         (GLIBC_2.17): Add the new function.
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15723         (GLIBC_2.17): Likewise.
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15725         (GLIBC_2.17): Likewise.
15726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15727         (GLIBC_2.17): Likewise.
15728         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15730 2012-09-25  Alan Modra  <amodra@gmail.com>
15732         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15733         Add release barrier before setting once_control to say
15734         initialisation is done.  Add hints on lwarx.  Use macro in
15735         place of isync.
15736         (clear_once_control): Add release barrier.
15738 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15740         [BZ #13629]
15741         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15742         specially.
15743         * math/s_clog10.c (__clog10): Likewise.
15744         * math/s_clog10f.c (__clog10f): Likewise.
15745         * math/s_clog10l.c (__clog10l): Likewise.
15746         * math/s_clogf.c (__clogf): Likewise.
15747         * math/s_clogl.c (__clogl): Likewise.
15748         * math/Makefile (libm-calls): Add x2y2m1.
15749         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15750         (__x2y2m1): Likewise.
15751         (__x2y2m1l): Likewise.
15752         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15753         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15754         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15755         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15756         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15757         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15758         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15759         * sysdeps/i386/fpu/libm-test-ulps: Update.
15760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15762         [BZ #14621]
15763         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15764         int as type of variable DEPTH.
15765         (glob): Use size_t instead of int as type of variables NEWCOUNT
15766         and OLD_PATHC.
15768 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15770         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15771         Add s_sincosf-sse2.
15772         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15773         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15774         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15775         macros for using routine as __sincosf_ia32.
15776         Use macro for function declaration and weak_alias.
15777         * sysdeps/i386/fpu/libm-test-ulps: Update.
15779         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15782         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15783         subnormal argument.
15784         * math/s_cexpf.c (__cexpf): Likewise.
15785         * math/s_csinf.c (__csinf): Likewise.
15786         * math/s_csinhf.c (__csinhf): Likewise.
15787         * math/s_ctanf.c (__ctanf): Likewise.
15788         * math/s_ctanhf.c (__ctanhf): Likewise.
15789         * math/s_ccosh.c (__ccoshf): Likewise.
15790         * math/s_cexp.c (__cexpl): Likewise.
15791         * math/s_csin.c (__csin): Likewise.
15792         * math/s_csinh.c (__csinh): Likewise.
15793         * math/s_ctan.c (__ctan): Likewise.
15794         * math/s_ctanh.c (ctanh): Likewise.
15795         * math/s_ccoshl.c (__ccoshl): Likewise.
15796         * math/s_cexpl.c (__cexpl): Likewise.
15797         * math/s_csinl.c (__csinl): Likewise.
15798         * math/s_csinhl.c (__csinhl): Likewise.
15799         * math/s_ctanl.c (__ctanl): Likewise.
15800         * math/s_ctanhl.c (__ctanhl): Likewise.
15802 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15804         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15805         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15806         (_IO_off_t): Define to __off_t, not _G_off_t.
15807         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15808         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15809         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15810         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15811         type of __dummy and __dummy2 fields.
15812         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15813         (_G_ssize_t): Likewise.
15814         (_G_off_t): Likewise.
15815         (_G_pid_t): Likewise.
15816         (_G_uid_t): Likewise.
15817         (_G_wchar_t): Likewise.
15818         (_G_wint_t): Likewise.
15819         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15820         (_G_ssize_t): Likewise.
15821         (_G_off_t): Likewise.
15822         (_G_pid_t): Likewise.
15823         (_G_uid_t): Likewise.
15824         (_G_wchar_t): Likewise.
15825         (_G_wint_t): Likewise.
15826         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15827         (_G_ssize_t): Likewise.
15828         (_G_off_t): Likewise.
15829         (_G_pid_t): Likewise.
15830         (_G_uid_t): Likewise.
15831         (_G_wchar_t): Likewise.
15832         (_G_wint_t): Likewise.
15834 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15836         * malloc/arena.c: Include malloc-sysdep.h.
15837         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15838         is sufficient to shrink the heap or an unmap is needed.
15839         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15840         new function check_may_shrink_heap.
15841         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15842         new function check_may_shrink_heap.
15844 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15846         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15847         comments.
15849 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15851         * catgets/test-gencat.sh: Add "set -e".
15852         * elf/tst-pathopt.sh: Likewise.
15853         * grp/tst_fgetgrent.sh: Likewise.
15854         * iconvdata/run-iconv-test.sh: Likewise.
15855         * intl/tst-gettext.sh: Likewise.
15856         * intl/tst-gettext2.sh: Likewise.
15857         * intl/tst-gettext4.sh: Likewise.
15858         * intl/tst-gettext6.sh: Likewise.
15859         * intl/tst-translit.sh: Likewise.
15860         * io/ftwtest-sh: Likewise.
15861         * libio/test-freopen.sh: Likewise.
15862         * malloc/tst-mtrace.sh: Likewise.
15863         * posix/globtest.sh: Likewise.
15864         * posix/tst-getconf.sh: Likewise.
15865         * posix/wordexp-tst.sh: Likewise.
15866         * stdio-common/tst-printf.sh: Likewise.
15867         * stdio-common/tst-unbputc.sh: Likewise.
15868         * stdlib/tst-fmtmsg.sh: Likewise.
15869         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15870         * catgets/Makefile: Do not specify -e option when running
15871         testsuite shell scripts.
15872         * elf/Makefile: Likewise.
15873         * grp/Makefile: Likewise.
15874         * iconvdata/Makefile: Likewise.
15875         * intl/Makefile: Likewise.
15876         * io/Makefile: Likewise.
15877         * libio/Makefile: Likewise.
15878         * malloc/Makefile: Likewise.
15879         * posix/Makefile: Likewise.
15880         * stdio-common/Makefile: Likewise.
15881         * stdlib/Makefile: Likewise.
15882         * sysdeps/x86_64/Makefile: Likewise.
15884         * io/ftwtest-sh: Add copyright header.
15885         * posix/globtest.sh: Likewise.
15886         * posix/tst-getconf.sh: Likewise.
15887         * posix/wordexp-tst.sh: Likewise.
15888         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15890 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15892         [BZ #13679]
15893         * Makeconfig (+link): Defined as $(+link-static) if
15894         $(build-shared) isn't yes.
15895         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15896         isn't yes.
15897         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15899         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15901         [BZ #14562]
15902         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15903         new chunk size with MALLOC_ALIGN_MASK.
15905 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15907         [BZ #5044]
15908         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15909         <rounding-mode.h>.
15910         (__printf_fphex): Determine rounding using get_rounding_mode and
15911         round_away.
15912         * stdio-common/tst-printf-round.c (struct hex_test): New
15913         structure.
15914         (hex_tests): New variable.
15915         (test_hex_in_one_mode): New function.
15916         (do_test): Also run tests for hex float output.
15918 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15920         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15921         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15922         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15923         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15924         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15925         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15926         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15927         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15929 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15931         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15932         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15933         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15934         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15936 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15938         [BZ #14579]
15939         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15940         mode only.
15941         * elf/tst-rtld-load-self.sh: New test.
15942         * elf/Makefile: Run it.
15944 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15946         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15947         (tst-writev-ENV): Remove.
15948         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15950 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15952         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15954 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15956         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15957         unconditional.
15958         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15959         Likewise.
15960         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15961         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15962         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15963         Likewise.
15965 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15967         [BZ #14587]
15968         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15969         * config.make.in (have-cpp-asm-debuginfo): Removed.
15970         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15971         * configure: Regenerated.
15973 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15975         [BZ #5044]
15976         * stdio-common/printf_fp.c: Include <stdbool.h> and
15977         <rounding-mode.h>.
15978         (___printf_fp): Determine rounding using get_rounding_mode and
15979         round_away.
15980         * stdio-common/tst-printf-round.c: New file.
15981         * stdio-common/Makefile (tests): Add tst-printf-round.
15982         (link-libm): New variable.
15983         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15985 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15987         [BZ #14576]
15988         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15989         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15990         Likewise.
15991         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15992         Likewise.
15994 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15996         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15997         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15998         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15999         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16001 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
16003         [BZ #14518]
16004         * include/rounding-mode.h: New file.
16005         * sysdeps/generic/get-rounding-mode.h: Likewise.
16006         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16007         * stdlib/strtod_l.c: Include <rounding-mode.h>.
16008         (MAX_VALUE): New macro.
16009         (MIN_VALUE): Likewise.
16010         (overflow_value): New function.
16011         (underflow_value): Likewise.
16012         (round_and_return): Use overflow_value and underflow_value to
16013         determine return values in overflow and underflow cases.  Use
16014         round_away to determine rounding depending on rounding mode.
16015         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16016         determine return values in overflow and underflow cases.
16017         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16018         (struct test_results): New structure.
16019         (struct test): Use struct test_results to store expected results
16020         for all rounding modes.
16021         (TEST): Include expected results for all rounding modes.
16022         (test_in_one_mode): New function.
16023         (do_test): Use test_in_one_mode to compute and check results.
16024         Check results for all rounding modes.
16025         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16026         $(link-libm).
16028 2012-12-09  Allan McRae  <allan@archlinux.org>
16030         * sysdeps/i386/fpu/libm-test-ulps: Update
16032 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16034         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16035         (_G_int32_t): Likewise.
16036         (_G_uint16_t): Likewise.
16037         (_G_uint32_t): Likewise.
16038         (_G_HAVE_BOOL): Likewise.
16039         (_G_HAVE_ATEXIT): Likewise.
16040         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16041         (_G_HAVE_IO_FILE_OPEN): Likewise.
16042         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16043         (_G_int32_t): Likewise.
16044         (_G_uint16_t): Likewise.
16045         (_G_uint32_t): Likewise.
16046         (_G_HAVE_BOOL): Likewise.
16047         (_G_HAVE_ATEXIT): Likewise.
16048         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16049         (_G_HAVE_IO_FILE_OPEN): Likewise.
16050         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16051         (_G_int32_t): Likewise.
16052         (_G_uint16_t): Likewise.
16053         (_G_uint32_t): Likewise.
16054         (_G_HAVE_BOOL): Likewise.
16055         (_G_HAVE_ATEXIT): Likewise.
16056         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16057         (_G_HAVE_IO_FILE_OPEN): Likewise.
16059 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16061         * csu/libc-tls.c: Update copyright years.
16063 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16065         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16066         [!_G_USING_THUNKS]: Remove conditional code.
16067         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16068         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16070         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16071         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16072         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16073         (_G_VTABLE_LABEL_PREFIX): Likewise.
16074         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16075         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16076         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16077         (_G_VTABLE_LABEL_PREFIX): Likewise.
16078         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16079         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16080         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16081         (_G_VTABLE_LABEL_PREFIX): Likewise.
16082         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16084 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16086         * libio/Makefile: Include ../Makeconfig before tests.
16087         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16088         only if $(build-shared) is yes.
16090         * iconv/gconv_db.c: Update copyright years.
16092 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16094         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16095         unwind info if defined PIC. Fix special cases description.
16096         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16098         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16099         DP_HI_MASK entry.
16100         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16102 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16104         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16106         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16107         is NULL.
16109         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16110         (LDLIBS-tst-chk4): This.
16111         (LDFLAGS-tst-chk5): Renamed to ...
16112         (LDLIBS-tst-chk5): This.
16113         (LDFLAGS-tst-chk6): Renamed to ...
16114         (LDLIBS-tst-chk6): This.
16115         (LDFLAGS-tst-lfschk4): Renamed to ...
16116         (LDLIBS-tst-lfschk4): This.
16117         (LDFLAGS-tst-lfschk5): Renamed to ...
16118         (LDLIBS-tst-lfschk5): This.
16119         (LDFLAGS-tst-lfschk6): Renamed to ...
16120         (LDLIBS-tst-lfschk6): This.
16122         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16123         on $(common-objpfx)soversions.mk.
16125 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16127         [BZ #10014]
16128         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16129         example host name.
16131 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16133         * malloc/arena.c (arena_get_retry): New function that gets
16134         another arena for the caller to try its request on.
16135         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16136         current arena cannot fulfill the request.
16137         (__libc_memalign): Likewise.
16138         (__libc_memalign): Likewise.
16139         (__libc_pvalloc): Likewise.
16140         (__libc_calloc): Likewise.
16142 2012-09-05  John Tobey  <john.tobey@gmail.com>
16144         [BZ #13542]
16145         * manual/arith.texi (Operations on Complex): Fix description
16146         of carg branch cut.
16148 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16150         [BZ #10014]
16151         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16152         host name.
16154         [BZ #10038]
16155         * manual/memory.texi (Memory): Make order of menu items match
16156         order of sections.
16158 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16160         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16161         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16162         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16164 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16166         * csu/libc-tls.c (static_dtv): Renamed to ...
16167         (_dl_static_dtv): This.  Make it global.
16168         (_dl_initial_dtv): Removed.
16169         (__libc_setup_tls): Updated.
16170         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16171         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16172         DL_INITIAL_DTV.
16174 2012-09-06  Petr Machata  <pmachata@redhat.com>
16176         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16177         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16178         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16179         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16181 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16183         [BZ #14545]
16184         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16185         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16186         freeing dtv[-1].
16188 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16190         [BZ #14544]
16191         * Makeconfig (link-static-before-libc): Replace $(+prector)
16192         with $(+prectorT).
16193         (link-static-after-libc): Replace $(+postctor) with
16194         $(+postctorT).
16195         (link-bounded): Replace $(+prector)/$(+postctor) with
16196         $(+prectorT)/$(+postctorT).
16197         (+prectorT): New macro.
16198         (+postctorT): Likewise.
16200 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16202         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16203         (round_str): Handle values above the maximum for IBM long double
16204         as inexact.
16205         * stdlib/tst-strtod-round.c (tests): Regenerated.
16207 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16209         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16210         assembler flag.
16211         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16212         zarch_nohighgprs around the zarch optimized routines.
16213         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16214         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16215         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16216         for zarch.
16218 2012-09-05  David S. Miller  <davem@davemloft.net>
16220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16222         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16223         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16224         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16225         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16226         entries.
16228 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16230         * malloc/arena.c: Fold copyright years.
16231         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16233 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16235         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16237 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16239         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
16241 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16243         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16244         change internal state upon failure.
16246 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16248         * malloc/mcheck.c (mcheck_check_all): Fix typo.
16249         * malloc/memusage.c (mmap): Likewise.
16250         (mmap64, mremap): Likewise.  Adjust name in comment.
16252 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16254         * libio/fileops.c: Fix typos in comments.
16255         * libio/oldfileops.c: Likewise.
16256         * libio/wfileops.c: Likewise.
16258 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16260         [BZ #1349]
16261         * malloc/Makefile (tests): Add tst-malloc-usable test case.
16262         (tst-malloc-usable-ENV): Set environment for test case.
16263         * malloc/hooks.c (malloc_check_get_size): New function to get
16264         requested size.
16265         * malloc/malloc.c (musable): Use malloc_check_get_size.
16266         * malloc/tst-malloc-usable.c: New test case.
16268 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16270         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16272 2012-09-05  Allan McRae  <allan@archlinux.org>
16274         [BZ #13966]
16275         * configure.in (CXX_SYSINCLUDES): Use compiler output to
16276         determine header location.
16277         * configure: Regenerated.
16279 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16281         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16282         float format.
16283         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16284         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16285         format.
16286         (test): Regenerate.
16288 2012-09-04  David S. Miller  <davem@davemloft.net>
16290         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16291         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16292         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16294 2012-09-04  Florian Weimer  <fweimer@redhat.com>
16296         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16297         failures.
16299         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16301 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
16303         [BZ #9914]
16304         * libio/iogetdelim.c: Include <limits.h>.
16305         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16306         + len + 1 would overflow.
16308 2012-09-03  Andreas Jaeger  <aj@suse.de>
16310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16311         * sysdeps/i386/fpu/libm-test-ulps: Update.
16313 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16315         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16316         Add s_sinf-sse2, s_conf-sse2.
16318         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16319         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16320         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16321         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16323         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16324         for using routine as __sinf_ia32.
16325         Use macro for function declaration and weak_alias.
16326         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16327         for using routine as __cosf_ia32.
16328         Use macro for function declaration and weak_alias.
16330         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16331         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16333         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16334         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16337         * math/libm-test.inc (cos_test): Add more test cases.
16338         (sin_test): Likewise.
16339         (sincos_test): Likewise.
16341 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16343         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16344         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16345         hidden.
16346         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16348 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16350         [BZ #14538]
16351         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16352         first element of the GOT.
16353         (elf_machine_load_address): Return the difference between
16354         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16356 2012-09-01  Allan McRae  <allan@archlinux.org>
16358         [BZ #13412]
16359         * configure.in (AWK): Require gawk version 3.0 or later.
16360         * configure: Regenerated.
16362 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16364         * sysdeps/unix/sysv/linux/kernel-features.h
16365         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16366         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16367         [__NR_clock_getres]: Make code unconditional.
16368         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16369         (clock_getcpuclockid): Remove code left unreachable by removal of
16370         conditionals.
16371         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16372         code unconditional.
16373         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16374         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16375         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16376         Make code unconditional.
16377         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16378         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16379         * sysdeps/unix/sysv/linux/clock_settime.c
16380         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16381         conditional code.
16382         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16383         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16385 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16387         [BZ #14476]
16388         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16389         scripts/test-installation.pl.
16391         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16392         and $ld_so_version if it is set.
16394 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16396         [BZ #14516]
16397         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16398         failure if reading from procfs failed.
16399         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16401 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16403         * sysdeps/unix/sysv/linux/kernel-features.h
16404         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16405         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16406         Remove conditional code.
16407         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16408         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16409         Remove conditional code.
16410         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16411         * sysdeps/unix/sysv/linux/i386/fxstat.c
16412         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16413         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16414         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16415         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16416         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16417         * sysdeps/unix/sysv/linux/i386/lxstat.c
16418         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16419         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16420         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16421         Remove conditional code.
16422         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16423         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16424         Remove conditional code.
16425         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16426         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16427         <kernel-features.h>.
16428         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16429         Remove.
16430         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16431         Remove conditional code.
16432         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16433         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16434         Remove conditional.
16436 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16438         [BZ #5400]
16439         * NEWS: Add fixed bug number.
16441 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16443         [BZ #14519]
16444         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16445         underflowing exponent in case of negative sign.
16446         * stdlib/tst-strtod-round-data: Add more tests.
16447         * stdlib/tst-strtod-round.c (tests): Regenerated.
16449         [BZ #3479]
16450         * stdlib/strtod_l.c (NDIG): Remove.
16451         (HEXNDIG): Likewise.
16452         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16453         smallest representable value.
16454         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16455         lie within an exact representation of 1/2 ulp of the result.
16456         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16457         unconditionally.
16458         (TENS_P9_IDX): Define unconditionally.
16459         (TENS_P9_SIZE): Likewise.
16460         (TENS_P10_IDX): Likewise.
16461         (TENS_P10_SIZE): Likewise.
16462         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16463         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16464         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16465         entries for 10^2^13 and 10^2^14.
16466         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16467         (TENS_P13_IDX): Define.
16468         (TENS_P13_SIZE): Likewise.
16469         (TENS_P14_IDX): Likewise.
16470         (TENS_P14_SIZE): Likewise.
16471         (_fpioconst_pow10): Change array size to
16472         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16473         unconditional.
16474         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16475         1024]: Add entries for 10^2^13 and 10^2^14.
16476         [LAST_POW10 > _LAST_POW10]: Remove #error.
16477         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16478         (_fpioconst_pow10): Change array size to
16479         FPIOCONST_POW10_ARRAY_SIZE.
16480         * stdlib/gen-fpioconst.c: New file.
16481         * stdlib/gen-tst-strtod-round.c: Likewise.
16482         * stdlib/tst-strtod-round-data: Likewise.
16483         * stdlib/tst-strtod-round.c: Likewise.
16484         * stdlib/Makefile (tests): Add tst-strtod-round.
16486         [BZ #14459]
16487         * stdlib/strtod_l.c: Include <stdint.h>.
16488         (NDEBUG): Do not define.
16489         (round_and_return): Change EXPONENT parameter to type intmax_t.
16490         Rearrange calculations to avoid internal overflow possibilities.
16491         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16492         Rearrange calculations to avoid internal overflow possibilities.
16493         Assert that number fits inside MPNSIZE limbs.
16494         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16495         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16496         calculations and add assertions to avoid internal overflow
16497         possibilities.  Add casts to avoid signed/unsigned operations.
16498         * stdlib/tst-strtod-overflow.c: New file.
16499         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16501 2012-08-25  Marek Polacek  <polacek@redhat.com>
16503         * time/time.h: Fix some typos in comments.
16505 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16507         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16508         * posix/tst-rfc3484-2.c: Likewise.
16509         * posix/tst-rfc3484-3.c: Likewise.
16511 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16513         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16514         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16516 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16518         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16519         #include of fxstatat64.c.
16521 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16523         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16524         * shadow/getspent_r.c: Likewise.
16525         * shadow/getspnam.c: Likewise.
16526         * shadow/getspnam_r.c: Likewise.
16527         * gshadow/getsgent.c: Likewise.
16528         * gshadow/getsgent_r.c: Likewise.
16529         * gshadow/getsgnam.c: Likewise.
16530         * gshadow/getsgnam_r.c: Likewise.
16531         * inet/getnetbyad.c: Likewise.
16532         * inet/getnetbyad_r.c: Likewise.
16533         * inet/getnetbynm.c: Likewise.
16534         * inet/getnetbynm_r.c: Likewise.
16535         * inet/getnetent.c: Likewise.
16536         * inet/getnetent_r.c: Likewise.
16537         * inet/getproto.c: Likewise.
16538         * inet/getproto_r.c: Likewise.
16539         * inet/getprtent.c: Likewise.
16540         * inet/getprtent_r.c: Likewise.
16541         * inet/getprtname.c: Likewise.
16542         * inet/getprtname_r.c: Likewise.
16543         * inet/getrpcbyname.c: Likewise.
16544         * inet/getrpcbyname_r.c: Likewise.
16545         * inet/getrpcbynumber.c: Likewise.
16546         * inet/getrpcbynumber_r.c: Likewise.
16547         * inet/getrpcent.c: Likewise.
16548         * inet/getrpcent_r.c: Likewise.
16549         * inet/getaliasent.c: Likewise.
16550         * inet/getaliasent_r.c: Likewise.
16551         * inet/getaliasname.c: Likewise.
16552         * inet/getaliasname_r.c: Likewise.
16553         * nscd/getgrgid_r.c: Likewise.
16554         * nscd/getgrnam_r.c: Likewise.
16555         * nscd/gethstbyad_r.c: Likewise.
16556         * nscd/gethstbynm3_r.c: Likewise.
16557         * nscd/getpwnam_r.c: Likewise.
16558         * nscd/getpwuid_r.c: Likewise.
16559         * nscd/getsrvbynm_r.c: Likewise.
16560         * nscd/getsrvbypt_r.c: Likewise.
16561         * nscd/gai.c: Likewise.
16563         * configure.in (build_nscd): New substituted variable, set
16564         by --disable-build-nscd and defaults to $use_nscd.
16565         * configure: Regenerated.
16566         * config.make.in (build-nscd): New substituted variable.
16567         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16568         Change conditional to require [$(build-nscd) = yes] as well.
16569         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16571         [BZ# 13696]
16572         * configure.in (use_nscd): New substituted variable, set by
16573         --disable-nscd.  If enabled, define USE_NSCD.
16574         * configure: Regenerated.
16575         * config.h.in: Add USE_NSCD.
16576         * config.make.in (use-nscd): New substituted variable.
16577         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16578         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16579         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16580         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16581         (CFLAGS-getgrnam_r.c): Likewise.
16582         (CFLAGS-initgroups.c): Likewise.
16583         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16584         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16585         Variables removed.
16586         * inet/getnetgrent_r.c
16587         (nscd_setnetgrent): New function, broken out of ...
16588         (setnetgrent): ... here.  Call it.
16589         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16590         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16591         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16592         * nscd/Makefile (routines, aux): Move definitions after include of
16593         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16594         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16595         Conditionalize on [USE_NSCD].
16596         (is_nscd, nscd_init_cb): Likewise.
16597         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16598         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16599         * nss/nss_db/db-init.c: Likewise.
16600         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16601         [USE_NSCD].
16602         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16603         (make_request): Use it.
16604         (cache_valid_p): New function.
16605         (__check_pf): Use it.
16606         * NEWS: Add item for --disable-nscd.
16608 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16610         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16611         to support sed >= 4.2.1-20-ga9bf076.
16612         * configure: Regenerated.
16614 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16616         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16617         Conditionalize whole body on [IREL].
16619 2012-08-22  Jeff Law <law@redhat.com>
16621         [BZ #14505]
16622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16623         if the family is PF_UNSPEC.
16625 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16627         * Makerules (lib-version): Rename from V.
16628         (install-lib-nosubdir): Change V to lib-version.
16630 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16632         [BZ #14252]
16633         * powerpc32/power6/wcschr.c: New file.
16634         * powerpc32/power6/wcscpy.c: New file.
16635         * powerpc32/power6/wcsrchr.c: New file.
16636         * powerpc64/power6/wcschr.c: New file.
16637         * powerpc64/power6/wcscpy.c: New file.
16638         * powerpc64/power6/wcsrchr.c: New file.
16640 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16642         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16643         (two_way_short_needle): Use it.
16644         * string/strstr.c (AVAILABLE1_USES_J): Define.
16645         * string/strcasestr.c: Likewise.
16647         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16648         array references.
16649         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16651         [BZ #11607]
16652         * NEWS: Add an entry.
16653         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16654         define their defaults.
16655         (two_way_short_needle): Detect end-of-string on-the-fly.
16656         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16657         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16658         * string/bug-strcasestr1.c: New test.
16659         * string/Makefile: Run it.
16661 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16663         [BZ #11607]
16664         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16665         the first character.
16667 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16669         * csu/elf-init.c (__libc_csu_irel): Function removed.
16670         * csu/libc-start.c (apply_irel): New function.
16671         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16673 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16675         * sysdeps/unix/sysv/linux/kernel-features.h
16676         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16677         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16678         <kernel-features.h>.
16679         [__NR_fadvise64_64]: Make code unconditional.
16680         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16681         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16682         !__NR_fadvise64_64)]: Likewise.
16683         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16684         !__NR_fadvise64_64))]: Likewise.
16685         [__NR_fadvise64]: Make code unconditional.
16686         [!__NR_fadvise64]: Remove conditional code.
16687         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16688         <kernel-features.h>.
16689         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16690         unconditional.
16691         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16692         conditional code.
16693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16694         not include <kernel-features.h>.
16695         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16696         unconditional.
16697         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16698         conditional code.
16699         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16700         include <kernel-features.h>.
16701         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16702         unconditional.
16703         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16704         conditional code.
16706 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16708         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16709         slight instruction rearrangements per scrollpipe analysis.
16710         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16712 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16714         * manual/syslog.texi (syslog; vsyslog, closelog):
16715         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16716         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16718         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16719         DSOCAPS to match condition on defining it.
16721 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16723         * sysdeps/unix/sysv/linux/kernel-features.h
16724         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16726         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16727         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16729         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16730         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16732         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16733         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16735         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16736         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16738         * sysdeps/unix/sysv/linux/kernel-features.h
16739         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16740         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16741         unconditional.
16742         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16743         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16744         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16745         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16746         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16747         Make code unconditional.
16748         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16749         (__mmap64) [!__NR_mmap2]: Likewise.
16750         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16751         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16752         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16753         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16754         [__NR_mmap2]: Make code unconditional.
16755         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16756         (__mmap64) [!__NR_mmap2]: Likewise.
16758 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16760         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16762 2012-08-18  Andreas Jaeger  <aj@suse.de>
16764         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16766 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16768         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16769         * include/unistd.h (__have_sock_cloexec): Likewise.
16770         (__have_pipe2): Likewise.
16771         (__have_dup3): Likewise.
16773 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16775         [BZ #9685]
16776         * include/unistd.h (__have_pipe2): Change define into an extern int.
16777         (__have_dup3): Likewise.
16778         * socket/have_sock_cloexec.c: Include fcntl.h.
16779         (__have_pipe2): New variable.
16780         (__have_dup3): Likewise.
16782 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16784         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16786 2012-08-17  Marek Polacek  <polacek@redhat.com>
16788         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16789         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16791 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16793         * configure.in: Add AC_SUBST for sysheaders.
16794         * configure: Regenerated.
16795         * config.make.in (sysheaders): New substituted variable.
16797         * sysdeps/unix/mkfifo.c: Moved ...
16798         * sysdeps/posix/mkfifo.c: ... here.
16799         * sysdeps/unix/mkfifoat.c: Moved ...
16800         * sysdeps/posix/mkfifoat.c: ... here.
16802         * sysdeps/unix/utime.c: Moved ...
16803         * sysdeps/posix/utime.c: ... here.
16805         * sysdeps/unix/time.c: Moved ...
16806         * sysdeps/posix/time.c: ... here.
16807         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16808         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16810         * sysdeps/unix/nice.c: Moved ...
16811         * sysdeps/posix/nice.c: ... here.
16813         * sysdeps/unix/alarm.c: Moved ...
16814         * sysdeps/posix/alarm.c: ... here.
16816         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16818 2012-08-17  Jeff Law <law@redhat.com>
16820         * intl/Makefile (codeset_mo): New variable.
16821         ($(codeset_mo)): New target.
16822         (tst-codeset.out): Depend on that.  Remove explicit rule.
16823         (tst-gettext3.out, tst-gettext5.out): Likewise.
16824         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16825         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16826         * intl/tst-codeset.sh: Remove.
16827         * intl/tst-gettext3.sh: Likewise.
16828         * intl/tst-gettext5.sh: Likewise.
16830 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16832         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16833         * sysdeps/unix/syscalls.list: ... here.
16835         * sysdeps/posix/getaddrinfo.c
16836         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16837         (gaiconf_init, gaiconf_reload): Use them.
16838         [!_STATBUF_ST_NSEC]
16839         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16840         Define using time_t rather than struct timespec.
16842         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16843         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16844         Macros removed.
16845         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16846         [!NO_THREADS].
16847         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16848         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16849         Likewise.
16851         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16852         __libc_cleanup_push argument.
16854         * bits/param.h: New file.
16855         * misc/sys/param.h: New file.
16856         * include/sys/param.h: New file.
16857         * misc/Makefile (headers): Add bits/param.h.
16858         * sysdeps/generic/sys/param.h: File removed.
16859         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16860         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16861         * sysdeps/mach/hurd/bits/param.h: New file.
16862         * sysdeps/mach/hurd/sys/param.h: File removed.
16864         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16865         last change.
16867         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16868         [_IO_MTSAFE_IO].
16869         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16870         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16871         New macros.
16873         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16874         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16875         rather than -D_IO_MTSAFE_IO conditionally.
16876         * stdio-common/Makefile (CPPFLAGS): Likewise.
16877         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16878         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16879         Use $(libio-mtsafe).
16880         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16881         of -D_IO_MTSAFE_IO.
16882         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16883         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16884         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16885         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16886         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16887         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16888         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16889         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16890         (CFLAGS-fread_u_chk.c): Likewise.
16891         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16892         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16893         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16894         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16895         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16896         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16897         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16898         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16899         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16901         * libio/Makefile: Test [$(libc-reentrant) = yes]
16902         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16904         * Makeconfig
16905         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16906         * sysdeps/pthread/configure: File removed.
16907         * sysdeps/pthread/Makeconfig: New file.
16908         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16909         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16911 2012-08-16  Gary Benson  <gbenson@redhat.com>
16913         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16914         unmapping the first object in a namespace.
16916 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16918         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16919         (__internal_setnetgrent): ... this.  Add internal_function to
16920         definition.  Add libc_hidden_def.
16921         (setnetgrent): Update caller.
16922         (internal_endnetgrent): Renamed to ...
16923         (__internal_endnetgrent): ... this.  Add internal_function to
16924         definition.  Add libc_hidden_def.
16925         (endnetgrent): Update caller.
16926         (internal_getnetgrent_r): Renamed to ...
16927         (__internal_getnetgrent_r): ... this.  Add internal_function to
16928         definition.  Add libc_hidden_def.
16929         (__getnetgrent_r): Update caller.
16930         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16932 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16934         * stdlib/longlong.h: Update from GCC.
16936 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16938         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16939         on _QL, which is set by umul_ppmm but never used.
16940         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16941         variables, which are set by GMP macros but never used.
16942         * stdio-common/_itowa.c (_itowa): Likewise.
16943         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16944         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16946 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16948         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16949         struct La_sh_regs is not constant.
16950         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16951         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16952         and struct La_sparc64_regs are not constant.
16954 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16956         * sysdeps/unix/sysv/linux/kernel-features.h
16957         (__ASSUME_POSIX_TIMERS): Remove.
16958         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16959         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16960         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16961         Make code unconditional.
16962         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16963         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16964         Make code unconditional.
16965         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16966         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16967         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16968         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16969         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16970         Make code unconditional.
16971         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16972         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16973         (__libc_missing_posix_timers): Remove.
16975 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16977         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16978         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16980         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16982         * elf/dl-sym.c: Include <stdlib.h>.
16984         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16985         constants, which avoids warnings in 32-bit builds.
16987         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16988         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16990         * misc/lseek.c: File moved to ...
16991         * io/lseek.c: ... here.
16993         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16995         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16996         shifting LEN more than 31 bits at once.
16998 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17000         [BZ #14195]
17001         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17002         segmentation fault for a case of two empty input strings.
17003         * string/test-strncasecmp.c (check1): Renamed to...
17004         (bz12205): ...this.
17005         (bz14195): Add new testcase for two empty input strings and N > 0.
17006         (test_main): Call new testcase, adapt for renamed function.
17008 2012-08-15  Andreas Jaeger  <aj@suse.de>
17010         [BZ #14090]
17011         * crypt/md5test2.c: New test, based on test supplied by Serge
17012         Belyshev <belyshev@depni.sinp.msu.ru>.
17013         * crypt/Makefile (xtests): Add md5test-giant..
17014         * crypt/Makefile ($(objpfx)md5test-giant): Add.
17016 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17018         [BZ #14090]
17019         * crypt/md5.c (md5_process_block): Don't assume the buffer
17020         length is less than 2**32.
17021         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17022         length is less than 2**64.
17024 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17026         * string/str-two-way.h: Include <sys/param.h>.
17027         (MAX): Macro removed.
17029         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17030         Move #define and #undef of memmove to just before and after
17031         including <string.h>.
17033         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17034         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17035         and after including <string.h>.  Move declarations of
17036         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17037         to before #include "string/memmove.c".
17039         * include/dirent.h: Declare __getdirentries.
17041         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17042         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17044 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17046         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17047         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17048         * sysdeps/i386/configure: Regenerated.
17049         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17050         STABS_CURRENT_FILE, and STABS_FUN.
17051         (END): Remove call to STABS_FUN_END.
17052         (STABS_CURRENT_FILE1): Delete.
17053         (STABS_CURRENT_FILE): Likewise.
17054         (STABS_FUN): Likewise.
17055         (STABS_FUN_END): Likewise.
17056         (STABS_FUN2): Likewise.
17057         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17058         * sysdeps/x86_64/configure: Regenerated.
17060 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17062         * elf/dl-open.c: Include <atomic.h>.
17063         * elf/dl-lookup.c: Likewise.
17065 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17067         * sysdeps/unix/sysv/linux/kernel-features.h
17068         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17069         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17070         unconditionally.
17071         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17072         unconditionally.
17073         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17074         condition on __ASSUME_CLONE_THREAD_FLAGS.
17076 2012-08-14  Andreas Jaeger  <aj@suse.de>
17078         * sysdeps/i386/fpu/libm-test-ulps: Update.
17080 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17082         * include/atomic.h (atomic_exchange_and_add): Split into ...
17083         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17084         New atomic macros.
17086 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17090 2012-08-13  Jeff Law <law@redhat.com>
17092         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17093         null byte in the output string.
17095 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17097         * sysdeps/unix/sysv/linux/kernel-features.h
17098         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17099         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17100         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17101         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17102         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17103         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17104         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17106 2012-08-09  Jeff Law <law@redhat.com>
17108         [BZ #13939]
17109         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17110         When avoid_arena is set, don't retry in the that arena.  Pick the
17111         next one, whatever it might be.
17112         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17113         (arena_lock): Pass in new parameter to arena_get2.
17114         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17115         arena_get2.
17116         (__libc_malloc): Unify retrying after main arena failure with
17117         __libc_memalign version.
17118         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17120 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17122         [BZ #14166]
17123         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17124         to __redirect_strstr.
17125         (__strstr_sse42): Use typeof __redirect_strstr.
17126         (__strstr_ia32): Likewise.
17127         (__libc_strstr): New prototype.
17128         (strstr): Renamed to ...
17129         (__libc_strstr): This.
17130         (strstr): New strong alias of __libc_strstr.
17131         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17132         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17133         __redirect_time.
17134         Include <time.h>.
17135         (__libc_time): New prototype.
17136         (time_ifunc): Replace time with __libc_time.
17137         (time): New strong alias and hidden definition of __libc_time.
17138         (__GI_time): Remove strong alias.
17139         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17140         Include <stddef.h>.
17141         (memmove): Redefined to __redirect_memmove.
17142         (__memmove_sse2): Use typeof __redirect_memmove.
17143         (__memmove_ssse3): Likewise.
17144         (__memmove_ssse3_back): Likewise.
17145         (__libc_memmove): New prototype.
17146         (memmove): Renamed to ...
17147         (__libc_memmove): This.
17148         (memmove): New strong alias of __libc_memmove.
17150 2012-08-08  Mark Salter  <msalter@redhat.com>
17152         * elf/elf.h
17153         (R_MN10300_TLS_GD): Define.
17154         (R_MN10300_TLS_LD): Likewise.
17155         (R_MN10300_TLS_LDO): Likewise.
17156         (R_MN10300_TLS_GOTIE): Likewise.
17157         (R_MN10300_TLS_IE): Likewise.
17158         (R_MN10300_TLS_LE): Likewise.
17159         (R_MN10300_TLS_DTPMOD): Likewise.
17160         (R_MN10300_TLS_DTPOFF): Likewise.
17161         (R_MN10300_TLS_TPOFF): Likewise.
17162         (R_MN10300_SYM_DIFF): Likewise.
17163         (R_MN10300_ALIGN): Likewise.
17164         (R_MN10300_NUM): Update.
17166 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17169         Remove.
17171 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17173         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17175         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17176         sysdeps/unix -> sysdeps/posix move.
17177         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17179 2012-08-07      Allan McRae     <allan@archlinux.org>
17181         [BZ #14303]
17182         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17183         (SUNOS_CPP): Likewise.
17184         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17185         not found.
17186         (open_input): Call CPP using execvp.
17188 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17190         * sysdeps/unix/sysv/linux/kernel-features.h
17191         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17192         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17193         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17194         (__ASSUME_WAITID_SYSCALL): Likewise.
17195         * sysdeps/unix/sysv/linux/dl-execstack.c
17196         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17197         code unconditional.
17198         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17199         conditional code.
17200         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17201         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17202         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17203         code.
17204         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17205         unconditional.
17206         [__ASSUME_WAITID_SYSCALL]: Likewise.
17207         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17209 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17211         * sysdeps/unix/closedir.c: Renamed to ...
17212         * sysdeps/posix/closedir.c: ... here.
17213         * sysdeps/unix/dirfd.c: Renamed to ...
17214         * sysdeps/posix/dirfd.c: ... here.
17215         * sysdeps/unix/dirstream.h: Renamed to ...
17216         * sysdeps/posix/dirstream.h: ... here.
17217         * sysdeps/unix/fdopendir.c: Renamed to ...
17218         * sysdeps/posix/fdopendir.c: ... here.
17219         * sysdeps/unix/opendir.c: Renamed to ...
17220         * sysdeps/posix/opendir.c: ... here.
17221         * sysdeps/unix/readdir.c: Renamed to ...
17222         * sysdeps/posix/readdir.c: ... here.
17223         * sysdeps/unix/readdir_r.c: Renamed to ...
17224         * sysdeps/posix/readdir_r.c: ... here.
17225         * sysdeps/unix/rewinddir.c: Renamed to ...
17226         * sysdeps/posix/rewinddir.c: ... here.
17227         * sysdeps/unix/seekdir.c: Renamed to ...
17228         * sysdeps/posix/seekdir.c: ... here.
17229         * sysdeps/unix/telldir.c: Renamed to ...
17230         * sysdeps/posix/telldir.c: ... here.
17231         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17232         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17233         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17234         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17236         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17237         * bits/fcntl.h: ... here.
17239         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17240         not 0.
17241         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17242         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17243         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17244         (struct flock): Move l_start, l_len to the beginning.
17245         Use __pid_t for l_pid.
17246         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17247         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17248         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17249         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17250         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17251         [__USE_LARGEFILE64] (struct flock64): New type.
17252         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17254         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17255         * bits/dirent.h: ... here.
17257         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17258         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17260 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17262         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17263         Change from 2.6.0 to 2.6.16.
17264         * sysdeps/unix/sysv/linux/configure: Regenerated.
17265         * sysdeps/unix/sysv/linux/kernel-features.h
17266         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17267         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17268         version.
17269         (__ASSUME_UTIMES): Likewise.
17270         (__ASSUME_CLONE_STOPPED): Remove.
17271         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17272         architectures, not kernel version.
17273         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17274         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17275         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17276         (__ASSUME_WAITID_SYSCALL): Likewise.
17277         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17278         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17279         * README: State 2.6.16 as minimum Linux kernel version.  Do not
17280         refer to older versions.
17282 2012-08-06  Roland McGrath  <roland@hack.frob.com>
17284         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17285         Define alphasort64 as an alias.
17286         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17287         Define versionsort64 as an alias.
17288         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17289         Define scandir64 as an alias.
17290         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17291         Define scandirat64 as an alias.
17292         * dirent/alphasort64.c (alphasort64):
17293         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17294         * dirent/versionsort64.c: Likewise.
17295         * dirent/scandir64.c: Likewise.
17296         * dirent/scandirat64.c: Likewise.
17297         * sysdeps/wordsize-64/alphasort.c: File removed.
17298         * sysdeps/wordsize-64/alphasort64.c: File removed.
17299         * sysdeps/wordsize-64/scandir.c: File removed.
17300         * sysdeps/wordsize-64/scandir64.c: File removed.
17301         * sysdeps/wordsize-64/scandirat.c: File removed.
17302         * sysdeps/wordsize-64/scandirat64.c: File removed.
17303         * sysdeps/wordsize-64/versionsort.c: File removed.
17304         * sysdeps/wordsize-64/versionsort64.c: File removed.
17305         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17306         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17307         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17308         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17309         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17310         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17311         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17312         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17314         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17316         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17318         [defined __arch64__ || defined __sparcv9]
17319         (__INO_T_MATCHES_INO64_T): New macro.
17320         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17321         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17322         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17323         * sysdeps/unix/sysv/linux/bits/dirent.h
17324         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17325         (_DIRENT_MATCHES_DIRENT64): New macro.
17327         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17328         Define lockf64 as an alias.
17329         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17330         Define fseeko64 as an alias.
17331         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17332         Define ftello64 as an alias.
17333         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17334         Define _IO_fgetpos64 and fgetpos64 as aliases.
17335         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17336         Define _IO_fsetpos64 and fsetpos64 as aliases.
17337         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17338         Conditionalize body on this.
17339         * libio/fseeko64.c: Likewise.
17340         * libio/ftello64.c: Likewise.
17341         * libio/iofgetpos64.c: Likewise.
17342         * libio/iofsetpos64.c: Likewise.
17343         * sysdeps/wordsize-64/lockf.c: File removed.
17344         * sysdeps/wordsize-64/lockf64.c: File removed.
17345         * sysdeps/wordsize-64/fseeko.c: File removed.
17346         * sysdeps/wordsize-64/fseeko64.c: File removed.
17347         * sysdeps/wordsize-64/ftello.c: File removed.
17348         * sysdeps/wordsize-64/ftello64.c: File removed.
17349         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17350         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17351         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17352         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17353         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17354         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17355         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17356         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17357         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17358         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17359         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17360         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17361         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17362         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17364         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17366         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17367         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17368         [defined __arch64__ || defined __sparcv9]
17369         (__OFF_T_MATCHES_OFF64_T): New macro.
17370         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17371         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17372         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17373         (__OFF_T_MATCHES_OFF64_T): New macro.
17375 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17377         * stdlib/secure-getenv.c (__secure_getenv): Replace
17378         GLIBC_2_16 with GLIBC_2_17.
17380 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17382         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17383         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17385 2012-08-03  David S. Miller  <davem@davemloft.net>
17387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17389 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17391         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17392         Remove.
17393         (__ASSUME_CORRECT_SI_PID): Likewise.
17394         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17395         (__ASSUME_TMPFS_NAME): Likewise.
17396         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17397         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17398         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17399         (HAVE_AUX_SECURE): Make definition unconditional.
17400         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17401         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17403 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17405         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17406         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17407         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17408         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17409         __eloop_threshold instead of SYMLOOP_MAX.
17411         * sysdeps/generic/eloop-threshold.h: New file.
17412         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17413         of MAXSYMLINKS.
17414         * elf/chroot_canon.c (chroot_canon): Likewise.
17416 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17418         [BZ #13717]
17419         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17420         Change to 2.6.0 everywhere.
17421         * sysdeps/unix/sysv/linux/configure: Regenerated.
17422         * sysdeps/unix/sysv/linux/kernel-features.h
17423         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17424         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17425         kernel versions.
17426         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17427         (__ASSUME_FUTEX_REQUEUE): Remove.
17428         (__ASSUME_STATFS64): Define unconditionally.
17429         (__ASSUME_AT_SECURE): Likewise.
17430         (__ASSUME_CORRECT_SI_PID): Likewise.
17431         (__ASSUME_TGKILL): Define without depending on kernel version for
17432         i386.
17433         (__ASSUME_UTIMES): Likewise.
17434         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17435         kernel version.
17436         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17437         (__ASSUME_TMPFS_NAME): Likewise.
17438         * README: Update reference to Linux kernel versions.
17440 2012-08-02  Marek Polacek  <polacek@redhat.com>
17442         [BZ# 14150]
17443         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17444         libc_cv_asm_type_prefix with %.
17445         * configure: Regenerated.
17446         * include/libc-symbols.h: Remove comment about
17447         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17448         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17449         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17450         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17451         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17452         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17453         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17454         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17455         * elf/tst-unique2mod1.c: Likewise.
17456         * elf/tst-unique1mod2.c: Likewise.
17457         * elf/tst-unique1mod1.c: Likewise.
17458         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17459         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17460         Replace ASM_TYPE_DIRECTIVE with .type.
17461         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17462         * sysdeps/i386/sysdep.h: Likewise.
17463         * sysdeps/x86_64/sysdep.h: Likewise.
17464         * sysdeps/sh/sysdep.h: Likewise.
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17466         Do not define ASM_TYPE_DIRECTIVE.
17467         * sysdeps/powerpc/sysdep.h: Likewise.
17468         * sysdeps/powerpc/powerpc32/sysdep.h:
17469         Replace ASM_TYPE_DIRECTIVE with .type.
17470         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17471         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17472         * sysdeps/i386/fpu/e_powf.S: Likewise.
17473         * sysdeps/i386/fpu/e_expl.S: Likewise.
17474         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17475         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17476         * sysdeps/i386/fpu/e_pow.S: Likewise.
17477         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17478         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17479         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17480         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17481         * sysdeps/i386/fpu/e_log2.S: Likewise.
17482         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17483         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17484         * sysdeps/i386/fpu/e_powl.S: Likewise.
17485         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17486         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17487         * sysdeps/i386/fpu/e_logl.S: Likewise.
17488         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17489         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17490         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17491         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17492         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17493         * sysdeps/i386/fpu/e_log.S: Likewise.
17494         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17495         * sysdeps/i386/fpu/e_logf.S: Likewise.
17496         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17497         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17498         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17499         * sysdeps/i386/fpu/e_log10.S: Likewise.
17500         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17501         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17502         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17503         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17504         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17505         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17506         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17507         * sysdeps/i386/i686/strtok.S: Likewise.
17508         * sysdeps/i386/i386-mcount.S: Likewise.
17509         * sysdeps/i386/strtok.S: Likewise.
17510         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17511         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17512         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17513         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17514         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17515         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17516         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17517         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17518         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17519         * sysdeps/x86_64/_mcount.S: Likewise.
17520         * sysdeps/x86_64/strtok.S: Likewise.
17521         * sysdeps/sh/_mcount.S: Likewise.
17523 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17525         * libio/iofopen.c: Include <fcntl.h>.
17526         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17527         (_IO_fopen64, fopen64): Define as aliases.
17528         * libio/iofopen64.c: Include <fcntl.h>.
17529         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17530         Conditionalize body on this.
17531         * sysdeps/wordsize-64/iofopen.c: File removed.
17532         * sysdeps/wordsize-64/iofopen64.c: File removed.
17534 2012-08-01  Marek Polacek  <polacek@redhat.com>
17536         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17537         Use dlfcn directly instead of a variable.
17538         (binfmt-subdir): Do not define.
17539         (dlfcn): Likewise.
17541 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17543         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17544         Remove all definitions.
17545         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17546         <kernel-features.h>.
17547         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17548         (miss_F_GETOWN_EX): Remove all definitions.
17549         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17550         macro definition.
17551         [!__ASSUME_FCNTL64]: Remove conditional code.
17552         [__ASSUME_FCNTL64]: Make code unconditional.
17553         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17554         <kernel-features.h>.
17555         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17556         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17557         (lockf64) [__NR_fcntl64]: Make code unconditional.
17558         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17560         * sysdeps/unix/sysv/linux/kernel-features.h
17561         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17562         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17563         Make code unconditional.
17564         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17565         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17567         [__NR_vfork]: Make code unconditional.
17568         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17569         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17571         [__NR_vfork]: Make code unconditional.
17572         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17573         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17575 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17577         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17578         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17580         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17581         Define mkstemp64 as an alias.
17582         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17583         Define mkstemps64 as an alias.
17584         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17585         Define mkostemp64 as an alias.
17586         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17587         Define mkostemps64 as an alias.
17588         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17589         Conditionalize body on this.
17590         * misc/mkostemp64.c: Likewise.
17591         * misc/mkostemps64.c: Likewise.
17592         * misc/mkstemps64.c: Likewise.
17593         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17594         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17595         * sysdeps/wordsize-64/mkostemp.c: File removed.
17596         * sysdeps/wordsize-64/mkstemp.c: File removed.
17597         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17598         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17599         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17600         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17602         [BZ #14138]
17603         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17604         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17605         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17606         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17608         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17609         compat_symbol macros from <shlib-compat.h> rather than the underlying
17610         default_symbol_version and symbol_version macros, so that DEFAULT
17611         lines in shlib-versions are respected.
17612         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17614 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17616         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17617         Declare with warn_unused_result.
17618         (setgid, setregid, setegid, setresgid): Likewise.
17619         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17620         Likewise.
17621         * WUR-REPORT: Remove set*id functions.
17623 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17625         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17627 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17629         [BZ #10191]
17630         * include/sys/socket.h (__libc_accept, __libc_accept4):
17631         Add attribute_hidden.
17632         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17634         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17635         use of PTR_MANGLE.
17636         * inet/getnetgrent_r.c (setup): Likewise.
17638         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17640 2012-07-31  David S. Miller  <davem@davemloft.net>
17642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17644 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17646         [BZ #13629]
17647         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17648         value between 1.0 and 2.0 and smaller part has absolute value less
17649         than 1.0.
17650         * math/s_clog10.c (__clog10): Likewise.
17651         * math/s_clog10f.c (__clog10f): Likewise.
17652         * math/s_clog10l.c (__clog10l): Likewise.
17653         * math/s_clogf.c (__clogf): Likewise.
17654         * math/s_clogl.c (__clogl): Likewise.
17655         * math/libm-test.inc (clog_test): Add more tests.
17656         (clog10_test): Likewise.
17657         * sysdeps/i386/fpu/libm-test-ulps: Update.
17658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17660 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17662         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17663         Exit with zero in case no suitable GID is found, and write a
17664         message to standard error.
17666 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17668         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17669         rather than to 1.
17670         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17671         (MAXPATHLEN): Removed.
17672         (NOGROUP, NODEV): New macros.
17673         (setbit, clrbit, isset, isclr): New macros.
17674         (howmany, roundup, powerof2): New macros.
17675         (DEV_BSIZE): New macro.
17677         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17678         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17680         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17681         definition on [!__NO_LONG_DOUBLE_MATH].
17683         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17684         PTR_MANGLE and PTR_DEMANGLE.
17686         * socket/accept4.c (accept4): Rename to __libc_accept4.
17687         Define accept4 as a weak alias.
17689         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17690         on [_DIRENT_HAVE_D_TYPE].
17691         * io/ftw.c (ftw_dir): Likewise.
17693         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17695         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17697         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17698         Use the BSD numbers rather than the arbitrary ones we had.
17699         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17700         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17701         (SIGXCPU, SIGXFSZ): New macros.
17702         (_NSIG): Now 32.
17704         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17705         initializer on [_LIBC_REENTRANT].
17707         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17708         definitions inside [_POSIX_MAPPED_FILES].
17710         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17712         * dirent/opendir.c: Include <fcntl.h>.
17714         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17715         (__libc_getspecific): Likewise.
17716         (__libc_key_create): Likewise.
17718         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17719         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17720         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17721         (tmpfile64): Define as alias.
17722         * sysdeps/wordsize-64/tmpfile.c: File removed.
17723         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17724         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17725         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17727         * stdio-common/vfscanf.c: Include <stdbool.h>.
17728         * nss/makedb.c: Likewise.
17729         * stdio-common/_i18n_number.h: Likewise.
17730         * argp/argp-help.c: Likewise.
17731         * posix/wordexp.c: Likewise.
17732         * sysdeps/posix/spawni.c: Likewise.
17733         * nss/nss_files/files-initgroups.c: Likewise.
17734         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17735         * nss/nss_files/files-initgroups.c: Likewise.
17736         * nss/nss_db/db-netgrp.c: Likewise.
17737         * nss/nss_db/db-initgroups.c: Likewise.
17738         * io/fchmodat.c: Include <sys/stat.h>.
17740         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17741         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17743         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17744         [HAVE_MMAP].
17746         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17747         Add multiple inclusion protection.
17749 2012-07-27  David S. Miller  <davem@davemloft.net>
17751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17753 2012-07-27  Gary Benson  <gbenson@redhat.com>
17755         [BZ #14298]
17756         * elf/rtld.c: Include <stap-probe.h>.
17757         (dl_main): Added static probes "init_start" and "init_complete".
17758         * elf/dl-load.c: Include <stap-probe.h>.
17759         (lose): Take new parameter "nsid".
17760         Added static probe "map_failed".
17761         (_dl_map_object_from_fd): Pass namespace id to lose.
17762         Added static probe "map_start".
17763         (open_verify): Pass namespace id to lose.
17764         * elf/dl-open.c: Include <stap-probe.h>.
17765         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17766         and "reloc_complete".
17767         * elf/dl-close.c: Include <stap-probe.h>.
17768         (_dl_close_worker): Added static probes "unmap_start" and
17769         "unmap_complete".
17770         * elf/rtld-debugger-interface.txt: New file documenting the above.
17772 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17774         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17775         rather than a string variable.
17776         * sunrpc/rpc_main.c (h_output): Likewise.
17777         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17779 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17781         * inet/check_native.c: New file.
17783 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17785         [BZ #13629]
17786         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17787         if larger part has absolute value 1.0.
17788         * math/s_clog10.c (__clog10): Likewise.
17789         * math/s_clog10f.c (__clog10f): Likewise.
17790         * math/s_clog10l.c (__clog10l): Likewise.
17791         * math/s_clogf.c (__clogf): Likewise.
17792         * math/s_clogl.c (__clogl): Likewise.
17793         * math/libm-test.inc (clog_test): Add more tests.
17794         (clog10_test): Likewise.
17795         * sysdeps/i386/fpu/libm-test-ulps: Update.
17796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17798         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17799         (pltexit): Likewise.
17800         (La_regs): Likewise.
17801         (La_retval): Likewise.
17802         (int_retval): Likewise.
17803         Update #error for removed macros to refer only to definitions in
17804         tst-audit.h.
17805         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17806         macro.
17807         (pltexit): Likewise.
17808         (La_regs): Likewise.
17809         (La_retval): Likewise.
17810         (int_retval): Likewise.
17811         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17812         macro.
17813         (pltexit): Likewise.
17814         (La_regs): Likewise.
17815         (La_retval): Likewise.
17816         (int_retval): Likewise.
17817         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17818         macro.
17819         (pltexit): Likewise.
17820         (La_regs): Likewise.
17821         (La_retval): Likewise.
17822         (int_retval): Likewise.
17823         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17824         macro.
17825         (pltexit): Likewise.
17826         (La_regs): Likewise.
17827         (La_retval): Likewise.
17828         (int_retval): Likewise.
17829         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17830         macro.
17831         (pltexit): Likewise.
17832         (La_regs): Likewise.
17833         (La_retval): Likewise.
17834         (int_retval): Likewise.
17835         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17836         macro.
17837         (pltexit): Likewise.
17838         (La_regs): Likewise.
17839         (La_retval): Likewise.
17840         (int_retval): Likewise.
17841         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17842         macro definitions in tst-audit.h.
17843         * sysdeps/i386/tst-audit.h: New file.
17844         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17845         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17846         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17847         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17848         * sysdeps/sh/tst-audit.h: Likewise.
17849         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17850         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17851         * sysdeps/x86_64/tst-audit.h: Likewise.
17853 2012-07-26  Andreas Jaeger  <aj@suse.de>
17855         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17856         ptrace.
17858         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17859         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17860         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17861         PTRACE_O_MASK.
17862         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17863         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17864         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17866         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17867         value.
17869         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17870         _sigsys.
17871         (si_call_addr, si_syscall, si_arch): Define new macro.
17872         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17873         _sigsys.
17874         (si_call_addr, si_syscall, si_arch): Define new marcro.
17875         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17876         _sigsys.
17877         (si_call_addr, si_syscall, si_arch): Define new macro.
17878         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17879         _sigsys.
17880         (si_call_addr, si_syscall, si_arch): Define new macro.
17882 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17884         [BZ #13717]
17885         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17886         Change to 2.4.21 where previously 2.4.1.
17887         * sysdeps/unix/sysv/linux/configure: Regenerated.
17888         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17889         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17890         Linux kernel version.
17891         (__ASSUME_STD_AUXV): Remove.
17892         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17893         kernel version.
17894         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17895         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17896         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17897         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17898         (__ASSUME_NETLINK_SUPPORT): Likewise.
17899         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17900         (__no_netlink_support): Remove conditional definition.
17901         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17902         Remove.
17903         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17904         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17905         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17906         (if_nameindex_ioctl): Remove.
17907         (if_nameindex_netlink): Do not handle __no_netlink_support.
17908         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17909         code.
17910         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17911         Remove conditional code.
17912         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17913         code.
17914         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17915         unconditional.
17916         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17917         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17918         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17919         Remove.
17920         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17921         [!__ASSUME_STD_AUXV]: Remove conditional code.
17922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17923         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17924         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17926         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17927         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17928         code.
17929         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17931         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17932         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17933         conditional code.
17934         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17936         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17937         code.
17938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17939         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17940         conditional code.
17941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17942         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17943         code unconditional.
17944         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17945         conditional code.
17946         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17947         unconditional.
17948         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17949         conditional code.
17950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17951         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17952         unconditional.
17953         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17954         conditional code.
17955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17956         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17957         code unconditional.
17958         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17959         conditional code.
17960         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17961         unconditional.
17962         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17963         conditional code.
17964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17965         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17966         code unconditional.
17967         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17968         conditional code.
17969         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17970         unconditional.
17971         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17972         conditional code.
17974 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17976         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17977         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17978         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17979         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17980         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17981         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17982         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17983         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17984         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17985         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17986         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17987         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17988         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17989         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17990         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17991         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17992         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17993         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17994         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17996         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17997         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17998         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18000 2012-07-25  Florian Weimer  <fweimer@redhat.com>
18002         * Versions.def: Add GLIBC_2.17.
18003         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18004         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18005         Introduce __libc_secure_getenv.
18006         * stdlib/Versions (2.17): Add secure_getenv
18007         (GLIBC_PRIVATE): Add __libc_secure_getenv.
18008         * stdlib/secure-getenv.c: Rename __secure_getenv to
18009         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
18010         symbol __secure_getenv for GLIBC_2.0.
18011         * stdlib/tst-secure-getenv.c: New.
18012         * stdlib/Makefile (tests): Add testcase.
18013         * manual/startup.texi (Environment Access): Document
18014         secure_getenv.
18015         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18016         __libc_secure_getenv.
18017         * inet/ruserpass.c (ruserpass): Likewise.
18018         * malloc/mtrace.c (mtrace): Likewise.
18019         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18020         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18021         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18022         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18023         HAVE_SECURE_GETENV.
18024         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18025         __secure_getenv to __libc_secure_getenv.
18026         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18028         Likewise.
18029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18030         Likewise.
18031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18033         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18039 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18041         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18042         (struct La_i86_retval): Likewise.
18043         (struct La_x86_64_regs): Likewise.
18044         (struct La_x86_64_retval): Likewise.
18045         (struct La_x32_regs): Likewise.
18046         (struct La_x32_retval): Likewise.
18047         (struct La_ppc32_regs): Likewise.
18048         (struct La_ppc32_retval): Likewise.
18049         (struct La_ppc64_regs): Likewise.
18050         (struct La_ppc64_retval): Likewise.
18051         (struct La_sh_regs): Likewise.
18052         (struct La_sh_retval): Likewise.
18053         (struct La_s390_32_regs): Likewise.
18054         (struct La_s390_32_retval): Likewise.
18055         (struct La_s390_64_regs): Likewise.
18056         (struct La_s390_64_retval): Likewise.
18057         (struct La_sparc32_regs): Likewise.
18058         (struct La_sparc32_retval): Likewise.
18059         (struct La_sparc64_regs): Likewise.
18060         (struct La_sparc64_retval): Likewise.
18061         (struct audit_ifaces): Remove architecture-specific pltenter and
18062         pltexit members.
18063         * sysdeps/i386/ldsodefs.h: New file.
18064         * sysdeps/powerpc/ldsodefs.h: Likewise.
18065         * sysdeps/s390/ldsodefs.h: Likewise.
18066         * sysdeps/sh/ldsodefs.h: Likewise.
18067         * sysdeps/sparc/ldsodefs.h: Likewise.
18068         * sysdeps/x86_64/ldsodefs.h: Likewise.
18070 2012-07-25  Marek Polacek  <polacek@redhat.com>
18072         [BZ #6808]
18073         * math/libm-test.inc (yn_test): Add another test.
18074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18075         to ERANGE when the result is +-Inf.
18076         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18077         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18078         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18079         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18081 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18083         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18084         equal to 0.
18085         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18086         clock_t.
18087         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18089 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18091         * configure.in <sysdeps resolving>: Correct printing
18092         Implies_before.
18093         * configure: Regenerate.
18095 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18097         * math/w_ilogb.c: Include <limits.h>.
18098         * math/w_ilogbl.c: Likewise.
18100 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18102         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18103         va_copy.  Document allowing for unavailable va_copy only as
18104         pre-C99 compatibility.
18105         * manual/string.texi (Copying and Concatenation): Use va_copy
18106         instead of __va_copy in concat example.
18108 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18110         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18111         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18112         it if not null.
18114         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18115         with O_NOLINK passed to __file_name_lookup.
18117         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18118         with O_NOLINK passed to __file_name_lookup.
18120         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18121         negative N or less than NGIDS.
18123         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18124         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18125         enough.  Use memcpy instead of strncpy.
18127 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18129         * elf/Makefile (check-data): Remove.
18130         (localplt.data): New vpath directive.
18131         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18132         instead of $(check-data).
18133         * scripts/data/localplt-generic.data: Move to ...
18134         * sysdeps/generic/localplt.data: ... here.
18135         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18136         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18137         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18139         ... here.
18140         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18142         ... here.
18143         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18145         ... here.
18146         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18148         ... here.
18149         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18151         ... here.
18152         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18154         ... here.
18156 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18158         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18159         PPC32 and PPC64 files.
18160         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18161         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18163 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18165         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18166         __makecontext_ret to ...
18167         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18168         ... here and call exit if uc_link is NULL.  New file.
18169         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18170         __makecontext_ret.S.
18171         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18172         __makecontext_ret to ...
18173         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18174         ... here and call exit if uc_link is NULL.  New file.
18175         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18176         __makecontext_ret.S.
18178 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18180         * elf/elf.h (R_390_IRELATIVE): New definition.
18181         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18182         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18183         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18184         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18185         (elf_machine_lazy_rel): Likewise.
18186         * sysdeps/s390/dl-irel.h: New file.
18187         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18188         * sysdeps/s390/s390-64/memset.S: New asm code.
18189         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18190         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18191         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18192         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18193         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18194         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18195         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18196         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18197         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18198         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18199         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18200         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18201         * sysdeps/s390/s390-32/memset.S: New asm code.
18202         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18204 2012-07-17  Marek Polacek  <polacek@redhat.com>
18206         [BZ #14349]
18207         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18208         * sysdeps/s390/s390-64/configure.in: Likewise.
18209         * sysdeps/sparc/configure.in: Likewise.
18210         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18211         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18212         * sysdeps/i386/configure.in: Likewise.
18213         * sysdeps/x86_64/configure.in: Likewise.
18214         * sysdeps/sh/configure.in: Likewise.
18215         * sysdeps/s390/s390-32/configure: Regenerated.
18216         * sysdeps/s390/s390-64/configure: Likewise.
18217         * sysdeps/x86_64/configure: Likewise.
18218         * sysdeps/sh/configure: Likewise.
18219         * sysdeps/powerpc/powerpc64/configure: Likewise.
18220         * sysdeps/powerpc/powerpc32/configure: Likewise.
18221         * sysdeps/sparc/configure: Likwise.
18222         * sysdeps/i386/configure: Likewise.
18224         * elf/dl-open.c: Comment fixes.
18226 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18228         * Makefile [CXX] (check-data): Remove.
18229         [CXX] (c++-types.data): New vpath directive.
18230         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18231         vpath.  Do not allow for C++ type data being missing.
18232         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18233         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18234         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18235         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18236         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18237         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18238         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18240         ... here.
18241         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18243         ... here.
18244         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18246         ... here.
18247         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18249         ... here.
18250         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18252         ... here.
18253         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18255         ... here.
18256         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18258         ... here.
18259         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18262         * elf/tls-macros.h (TLS_LE): Move architecture-specific
18263         definitions to architecture-specific files.
18264         (TLS_IE): Likewise.
18265         (TLS_LD): Likewise.
18266         (TLS_GD): Likewise.
18267         * sysdeps/i386/tls-macros.h: New file.
18268         * sysdeps/powerpc/tls-macros.h: Likewise.
18269         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18270         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18271         * sysdeps/sh/tls-macros.h: Likewise.
18272         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18273         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18274         * sysdeps/x86_64/tls-macros.h: Likewise.
18276 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18278         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18279         zero value for regular exit case.
18281         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18282         (__start_context): Preserve zero value for regular exit case.
18284 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18285             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18287         * manual/setjmp.texi (setcontext): Clarify normal process
18288         termination when uc_link is the null pointer.
18289         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18290         exit call.
18292 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
18294         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18295         preprocessor.  Test for each exception mask separately.
18297 2012-07-16  Andreas Jaeger  <aj@suse.de>
18299         * po/ru.po: Update from translation team.
18301 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
18303         * conform/data/string.h-data (NULL): Use macro-constant.  Require
18304         equal to 0.
18305         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18306         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18307         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18308         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18309         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18311 2012-07-13  Andreas Jaeger  <aj@suse.de>
18313         * po/fr.po: Update from translation team.
18315 2012-07-12  Marek Polacek  <polacek@redhat.com>
18317         [BZ #14173]
18318         * math/libm-test.inc (yn_test): Add test for BZ #14173.
18319         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18320         loop condition.
18322 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
18324         [BZ #13717]
18325         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18326         Change to 2.4.1 where previously 2.4.0.
18327         * sysdeps/unix/sysv/linux/configure: Regenerated.
18328         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18329         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18330         version.
18331         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18332         (__ASSUME_AT_CLKTCK): Remove.
18333         (__ASSUME_AT_PAGESIZE): Likewise.
18334         (__ASSUME_AT_XID): Likewise.
18335         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18336         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18337         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18338         unconditionally.
18339         (HAVE_AUX_PAGESIZE): Likewise.
18340         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18341         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18342         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18344 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18346         [BZ #14307]
18347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18348         the temporary buffer used to invoke __gethostbyname2_r,
18349         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18350         host_data / struct gaih_addrtuple.
18351         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18352         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18353         header file nss/nsswitch.h.
18354         * nss/nsswitch.h (global scope): Add definition of implementation
18355         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18356         resolv/nss_dns/dns-host.c).
18358 2012-07-11  Andreas Jaeger  <aj@suse.de>
18360         * po/fr.po: Update from translation team.
18362         * po/sv.po: Update from translation team
18363         * po/fr.po: Another update from translation team.
18365 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18367         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18368         for subnormals or multiply small sinh result by itself.
18369         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18372 2012-07-11  David S. Miller  <davem@davemloft.net>
18374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18376 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18378         [BZ #14347]
18379         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18380         (INTERNAL_MARK): Shift it here.
18382 2012-07-10  Marek Polacek  <polacek@redhat.com>
18384         [BZ #14151]
18385         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18386         libc_cv_asm_global_directive with .globl.
18387         * configure: Regenerated.
18388         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18389         with .globl.
18390         * sysdeps/i386/configure: Regenerated.
18391         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18392         with .globl.
18393         * sysdeps/x86_64/configure: Regenerated.
18394         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18395         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18396         * elf/tst-unique2mod2.c: Likewise.
18397         * elf/tst-unique2mod1.c: Likewise.
18398         * elf/tst-unique1mod2.c: Likewise.
18399         * elf/tst-unique1mod1.c: Likewise.
18400         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18401         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18402         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18403         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18404         * sysdeps/mach/sysdep.h: Likewise.
18405         * sysdeps/i386/sysdep.h: Likewise.
18406         * sysdeps/i386/i386-mcount.S: Likewise.
18407         * sysdeps/x86_64/_mcount.S: Likewise.
18408         * sysdeps/x86_64/sysdep.h: Likewise.
18409         * sysdeps/sh/_mcount.S: Likewise.
18410         * sysdeps/sh/sysdep.h: Likewise.
18411         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18412         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18413         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18414         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18415         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18416         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18417         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18418         * locale/localeinfo.h: Likewise.
18419         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18420         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18422 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18424         [BZ #14336]
18425         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18426         system".
18427         * manual/message.texi (The Uniforum approach): Likewise.
18428         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18429         (glibc iconv Implementation): Likewise.
18431 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18433         [BZ #14337]
18434         * math/s_clog.c (__clog): Avoid scaling a value down where that
18435         could result in underflow.
18436         * math/s_clog10.c (__clog10): Likewise.
18437         * math/s_clog10f.c (__clog10f): Likewise.
18438         * math/s_clog10l.c (__clog10l): Likewise.
18439         * math/s_clogf.c (__clogf): Likewise.
18440         * math/s_clogl.c (__clogl): Likewise.
18441         * math/libm-test.inc (clog_test): Add more tests.
18442         (clog10_test): Likewise.
18443         * sysdeps/i386/fpu/libm-test-ulps: Update.
18444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18446 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18448         [BZ #14283]
18449         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18450         by 7 not 8 to examine high bit of fractional part.
18452         [BZ #14042]
18453         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18454         for call to __mcount_internal.
18455         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18456         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18457         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18459 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18461         [BZ #14154]
18462         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18463         approximation for values within 0x1p-13f of an odd multiple of
18464         pi/4.
18465         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18466         exception.  Add more tests.
18467         * sysdeps/i386/fpu/libm-test-ulps: Update.
18469         [BZ #6778]
18470         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18471         inputs and return -1 for them.  Do not check for +Inf in case not
18472         reachable for +Inf.
18473         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18474         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18475         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18476         and return -1 for them.  Do not check for +Inf in case not
18477         reachable for +Inf.
18478         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18479         define.
18480         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18481         and return -1 for them.  Do not check for +Inf in case not
18482         reachable for +Inf.
18483         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18484         spurious underflow.
18485         * sysdeps/i386/fpu/libm-test-ulps: Update.
18486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18488 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18490         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18492 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18494         [BZ #14157]
18495         [BZ #14331]
18496         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18497         could result in spurious underflow.  Scale down values above
18498         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18499         * math/s_csqrtf.c (__csqrtf): Likewise.
18500         * math/s_csqrtl.c (__csqrtl): Likewise.
18501         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18502         spurious underflow.
18503         * sysdeps/i386/fpu/libm-test-ulps: Update.
18504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18506 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18508         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18509         xopen-msg.sed.
18510         * catgets/xopen-msg.awk: New file.
18511         * catgets/xopen-msg.sed: Removed.
18513         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18514         po2text.sed.
18515         * intl/po2test.awk: New file.
18516         * intl/po2test.sed: Removed.
18518 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18520         [BZ #14328]
18521         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18522         or multiply small sinh result by itself.
18523         * math/s_ctanf.c (__ctanf): Likewise.
18524         * math/s_ctanh.c (__ctanh): Likewise.
18525         * math/s_ctanhf.c (__ctanhf): Likewise.
18526         * math/s_ctanhl.c (__ctanhl): Likewise.
18527         * math/s_ctanl.c (__ctanl): Likewise.
18528         * math/libm-test.inc (ctan_test_tonearest): New function.
18529         (ctan_test_towardzero): Likewise.
18530         (ctan_test_downward): Likewise.
18531         (ctan_test_upward): Likewise.
18532         (ctanh_test_tonearest): Likewise.
18533         (ctanh_test_towardzero): Likewise.
18534         (ctanh_test_downward): Likewise.
18535         (ctanh_test_upward): Likewise.
18536         (main): Call these new functions.
18537         * sysdeps/i386/fpu/libm-test-ulps: Update.
18538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18540 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18542         * .gitignore: Delete /ports entry.
18544 2012-07-03  Andreas Jaeger  <aj@suse.de>
18546         * po/bg.po: Update from translation team.
18547         * po/cs.po: Likewise.
18548         * po/de.po: Likewise.
18549         * po/hr.po: Likewise.
18550         * po/nl.pl: Likewise.
18551         * po/pl.po: Likewise.
18552         * po/vi.po: Likewise.
18554 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18556         * Makeconfig [!+link] (+link-before-libc): New variable.
18557         [!+link] (+link-after-libc): Likewise.
18558         [!+link] (+link-tests): Likewise.
18559         [!+link] (+link): Define in terms of $(+link-before-libc) and
18560         $(+link-after-libc).
18561         [!+link-static] (+link-static-before-libc): New variable.
18562         [!+link-static] (+link-static-after-libc): Likewise.
18563         [!+link-static] (+link-static-tests): Likewise.
18564         [!+link-static] (+link-static): Define in terms of
18565         $(+link-static-before-libc) and $(+link-static-after-libc).
18566         [build-shared] (link-libc-before-gnulib): New variable.
18567         [build-shared] (link-libc-tests): Likewise.
18568         [build-shared] (link-libc): Define in terms of
18569         $(link-libc-before-gnulib).
18570         [!build-shared] (link-libc-tests): New variable.
18571         (link-libc-static-tests): New variable.
18572         [!gnulib] (gnulib-arch): New variable.
18573         [!gnulib] (gnulib-tests): Likewise.
18574         [!gnulib] (static-gnulib-arch): Likewise.
18575         [!gnulib] (static-gnulib-tests): Likewise.
18576         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18577         Define with "=" instead of ":=".
18578         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18579         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18580         * Rules (binaries-all-notests): New variable.
18581         (binaries-all-tests): Likewise.
18582         (binaries-static-notests): Likewise.
18583         (binaries-static-tests): Likewise.
18584         (binaries-all): Define using $(binaries-all-notests) and
18585         $(binaries-all-tests).
18586         (binaries-static): Define using $(binaries-static-notests) and
18587         $(binaries-static-tests).
18588         (binaries-shared-tests): New variable.
18589         (binaries-shared-notests): Likewise.
18590         (binaries-shared): Remove variable.
18591         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18592         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18593         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18594         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18595         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18596         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18597         * elf/Makefile (sln-modules): New variable.
18598         (extra-objs): Add $(sln-modules:=.o).
18599         (ldconfig-modules): Add static-stubs.
18600         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18601         * elf/static-stubs.c: New file.
18603         [BZ #14283]
18604         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18605         by 7 not 8 to examine high bit of fractional part.  Use volatile
18606         variables when splitting into final array of floats if
18607         __FLT_EVAL_METHOD__ != 0.
18608         * math/libm-test.inc (cos_test): Add another test.
18609         (sin_test): Likewise.
18610         * sysdeps/i386/fpu/libm-test-ulps: Update.
18612         [BZ #14273]
18613         * math/libm-test.inc (cosh_test): Add more tests.
18615         * version.h (RELEASE): Set to "development".
18616         (VERSION): Set to "2.16.90".
18618 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18620         * NEWS: Update copyright. Remove last-updated date.
18621         Mention math library bug fixes and timezone data changes.
18622         * README: Mention GNU/Hurd, x32, and HPPA support status.
18624 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18626         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18628 2012-06-27  Andreas Jaeger  <aj@suse.de>
18630         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18632 2012-06-25  Andreas Jaeger  <aj@suse.de>
18634         * sysdeps/s390/fpu/libm-test-ulps: Update.
18636 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18637             Thomas Schwinge  <thomas@codesourcery.com>
18639         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18640         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18641         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18642         fanotify_mark.
18644 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18646         * sysdeps/mach/start.c: Remove file.
18647         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18648         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18649         * sysdeps/sh/init-first.c: Likewise.
18651         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18652         registers for frame unwinding purposes, add CFI directives.
18653         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18654         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18655         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18656         Likewise.
18658         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18659         __fortify_fail returning.
18660         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18662         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18663         sysdeps/sh/____longjmp_chk.S.
18664         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18665         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18666         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18667         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18669         * sysdeps/sh/abort-instr.h: New file.
18670         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18671         process in case exit returns.
18673         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18674         initialize the GOT register before use.
18676         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18677         calculation of ARGC > 4.
18679         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18680         meaningful names to some local labels.
18682 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18683             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18685         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18686         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18687         (__arch_compare_and_exchange_val_16_acq): Likewise.
18688         (__arch_compare_and_exchange_val_32_acq): Likewise.
18689         (atomic_exchange_and_add): Fix gUSA sequence.
18690         (atomic_add): Likewise.
18691         (atomic_add_negative): Likewise.
18692         (atomic_add_zero): Likewise.
18693         (atomic_bit_test_set): Likewise.
18695 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18697         [BZ #13579]
18698         * include/link.h (struct link_map): Add l_free_initfini.
18699         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18700         l_initfini.
18701         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18702         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18703         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18704         set.
18706 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18708         * configure.in: Use AC_LANG_SOURCE.
18709         * configure: Regenerate.
18711 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18713         * configure.in (libc_cv_localstatedir): New substituted variable.
18714         * configure: Regenerated.
18715         * config.make.in (localstatedir): New variable, substituted from
18716         libc_cv_localstatedir.
18717         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18718         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18719         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18720         * sysdeps/gnu/configure: Regenerated.
18722 2012-06-21  Jeff Law  <law@redhat.com>
18724         [BZ #14277]
18725         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18726         free.  Simplify list management for _LIBC case.
18728 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18730         [BZ #14273]
18731         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18732         Clear sign bit of 64-bit integer value before comparing against
18733         overflow value.
18735         * sysdeps/mach/configure: Regenerated.
18737 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18739         [BZ #14278]
18740         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18742 2012-06-21  Jeff Law  <law@redhat.com>
18744         [BZ #13882]
18745         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18746         uint16_t for elements in the "seen" array to avoid char overflows.
18747         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18748         * elf/dl-open.c (dl_open_worker): Likewise.
18750 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18752         * scripts/list-sources.sh: Scan PORTS for translations.
18753         * po/libc.pot: Regenerated.
18755 2012-06-21  Andreas Jaeger  <aj@suse.de>
18757         [BZ #12194]
18758         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18759         warning.
18760         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18761         * bits/byteswap-16.h (__bswap_16): Likewise.
18762         * bits/byteswap.h (__bswap_constant_16): Likewise.
18764 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18766         [BZ #14117]
18767         * sysdeps/i386/fpu_control.h: Removed.
18768         * sysdeps/x86_64/fpu_control.h: Moved to ...
18769         * sysdeps/x86/fpu_control.h: Here.
18771         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18772         (_FPU_SETCW): Likewise.
18774 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18776         [BZ #14117]
18777         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18778         * sysdeps/x86/fpu/bits/mathinline.h: This.
18779         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18781         [BZ #14050]
18782         [BZ #14117]
18783         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18784         functions if __x86_64__ is defined.
18786 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18788         * string/endian.h: Add !__ASSEMBLER__ condition for including
18789         conversion interfaces.
18791 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18793         [BZ #14241]
18794         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18795         of ABS(x) in calculating zero to negative powers other than odd
18796         integers.
18797         * math/libm-test.inc (pow_test): Add more tests.
18799 2012-06-15  Andreas Jaeger  <aj@suse.de>
18801         * manual/contrib.texi (Contributors): Update entry of Liubov
18802         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18803         Machado Filho.
18805 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18807         * string/string.h: Add __wur to GNU version of strerror_r.
18809 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18811         [BZ #14229]
18812         * string/Makefile (tests): Add tst-strtok_r.
18813         * string/tst-strtok_r.c: New file.
18814         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18815         RAX_LP/RDX_LP on SAVE_PTR.
18817 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18819         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18821 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18823         * libm_test.inc (csqrt_test): Allow more spurious underflow
18824         exceptions.
18825         (j0_test): Likewise.
18826         (j1_test): Likewise.
18827         (y0_test): Likewise.
18828         (y1_test): Likewise.
18830 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18832         * po/Makefile (libc.pot): Use UTF-8 charset.
18834 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18836         [BZ #14210]
18837         Suppress sign-conversion warning from FD_SET.
18838         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18839         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18840         not unsigned long int.
18841         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18843 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18845         [BZ #14050]
18846         [BZ #14117]
18847         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18848         __extern_always_inline instead of __extern_inline.
18849         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18850         (__signbit): Likewise.
18851         (__signbitl): Support C++ namespace.
18852         (lrintf): New inline function.
18853         (lrint): Likewise.
18854         (llrintf): Likewise.
18855         (llrint): Likewise.
18856         (fmaxf): Likewise.
18857         (fmax): Likewise.
18858         (fminf): Likewise.
18859         (fmin): Likewise.
18860         (rint): Likewise.
18861         (rintf): Likewise.
18862         (ceil): Likewise.
18863         (ceilf): Likewise.
18864         (floor): Likewise.
18865         (floorf): Likewise.
18866         (nearbyint): Likewise.
18867         (nearbyintf): Likewise.
18869 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18871         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18872         non-default versions.
18874 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18876         [BZ #14218]
18877         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18879 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18881         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18882         (FE_UPWARD, FE_DOWNWARD): Don't define.
18883         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18884         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18886         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18887         reading it.
18888         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18889         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18891 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18893         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18894         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18895         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18896         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18898 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18900         [BZ #14117]
18901         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18902         * sysdeps/i386/fpu/Implies: New file.
18903         * sysdeps/x86_64/fpu/Implies: Likewise.
18904         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18905         * sysdeps/x86/fpu/bits/fenv.h: This.
18907         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18908         __SSE_MATH__.
18910 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18912         [BZ #14134]
18913         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18914         character 0xffff that matches the last element of the
18915         conversion table.
18917 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18919         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18920         fmodl commit.
18922 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18924         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18925         values higher than 25.6283.
18927 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18929         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18930         subnormal exponent extraction and add some __builtin_expect.
18931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18932         Fix for subnormal mantissa calculation.
18934 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18936         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18937         cpu2 is -1 and errno is not ENOSYS.
18939 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18941         [BZ #14117]
18942         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18943         * sysdeps/x86/bits/string.h: This.
18944         * sysdeps/x86_64/bits/string.h: Removed.
18946         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18947         if not compiling for x86-64, but compiling for >= i486.
18949         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18950         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18952         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18953         New macro from Linux kernel 3.4.0.
18954         (FP_XSTATE_MAGIC2): Likewise.
18955         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18956         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18957         (struct _fpx_sw_bytes): New struct.
18958         (struct _xsave_hdr): Likewise.
18959         (struct _ymmh_state): Likewise.
18960         (struct _xstate): Likewise.
18962         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18963         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18964         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18965         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18966         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18967         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18969         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18970         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18971         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18972         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18973         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18974         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18976 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18978         [BZ #13743]
18979         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18980         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18981         (sysdep_headers): Include sys/platform/ppc.h.
18982         * sysdeps/powerpc/test-gettimebase.c: Test for
18983         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18984         * manual/Makefile (appendices): Include platform.texi.
18985         * manual/contrib.texi (Contributors): Update @node pointers.
18986         * manual/maint.texi (Maintenance): Likewise.
18987         (Platform): New node.
18988         * manual/platform.texi: New file.  Document the new features.
18990 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18991             Jakub Jelinek  <jakub@redhat.com>
18993         [BZ #14188]
18994         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18995         where __builtin_expect is unavailable.
18997 2012-06-03  David S. Miller  <davem@davemloft.net>
18999         * stdlib/longlong.h: Updated from GCC.
19001 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
19003         [BZ #14042]
19004         * sysdeps/powerpc/powerpc32/mcount.c: New file.
19005         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19006         __mcount_internal.
19007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19008         (GLIBC_2.16): Likewise.
19010 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19012         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19014 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19017         (default-abi): New variable.
19018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19019         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19020         variable.
19021         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19022         Likewise.
19023         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19024         Likewise.
19025         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19026         Likewise.
19028         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19029         definition.  Document in comment.
19031 2012-06-01  David S. Miller  <davem@davemloft.net>
19033         * stdlib/longlong.h: Updated from GCC.
19035 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19037         [BZ #14117]
19038         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19039         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19040         sys/debugreg.h sys/io.h here.
19041         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19042         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19043         sys/io.h.
19044         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19045         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19046         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19047         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19048         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19049         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19051         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19052         Define only if __x86_64__ is defined.
19054 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19056         [BZ #14048]
19057         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19058         Use int64_t for variable i.
19059         * math/libm-test.inc (fmod_test): Add more tests.
19061         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19062         z computation is not scheduled after fetestexcept.
19063         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19064         Use math_force_eval instead of asm to ensure calculation scheduled
19065         before exception test.
19066         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19067         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19069 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19071         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19072         computation is not scheduled after fetestexcept.
19074 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19076         [BZ #14117]
19077         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19078         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19080 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19082         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19083         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19085 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19087         [BZ #14117]
19088         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19089         <bits/wordsize.h>.
19090         (__WCHAR_MIN): Support __WORDSIZE == 64.
19091         (__WCHAR_MAX): Likewise.
19093         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19094         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19096         [BZ #14183]
19097         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19098         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19100         [BZ #14117]
19101         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19102         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19104         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19105         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19107         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19108         Defined to 1 if __x86_64__ isn't defined.
19109         (_STAT_VER_LINUX_OLD): New.
19110         (st_atime): Remove duplicate.
19111         (st_mtime): Likewise.
19112         (st_ctime): Likewise.
19114 2012-05-31  David S. Miller  <davem@davemloft.net>
19116         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19117         entries.
19119 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19121         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19122         gen-libm-test.pl.
19124         [BZ #14132]
19125         * elf/dl-reloc.c: Include <_itoa.h>.
19126         (_dl_reloc_bad_type): Remove use of INTUSE.
19127         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19128         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19129         * stdio-common/psiginfo.c (psiginfo): Likewise.
19130         * stdio-common/psignal.c (psignal): Likewise.
19131         * string/strsignal.c (strsignal): Likewise.
19132         * include/signal.h (_sys_siglist): Declare hidden proto.
19133         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19134         INTVARDEF with libc_hidden_data_def.
19135         * stdio-common/itoa-udigits.c: Likewise.
19136         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19137         (_itoa_lower_digits_internal): Remove declaration.
19138         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19139         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19140         (_sys_sigabbrev_internal): Remove aliases.
19141         (_sys_siglist): Define hidden alias.
19143 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19146         bits/sysctl.h.
19148 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19150         [BZ #14117]
19151         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19152         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19154         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19155         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19156         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19157         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19158         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19159         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19161         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19162         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19163         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19165         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19166         with __addr.
19167         (insw): Likewise.
19168         (insl): Likewise.
19169         (outsb): Likewise.
19170         (outsw): Likewise.
19171         (outsl): Likewise.
19173         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19174         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19175         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19177         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19178         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19179         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19180         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19181         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19182         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19184         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19185         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19187         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19188         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19190         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19191         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19192         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19194         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19195         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19196         to ...
19197         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19199         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19200         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19201         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19203         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19204         for x86-64.
19205         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19207 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19209         * math/math.h (M_El): Use two more decimal places.
19210         (M_LOG2El): Likewise.
19211         (M_LOG10El): Likewise.
19212         (M_LN2l): Likewise.
19213         (M_LN10l): Likewise.
19214         (M_PIl): Likewise.
19215         (M_PI_2l): Likewise.
19216         (M_PI_4l): Likewise.
19217         (M_1_PIl): Likewise.
19218         (M_2_PIl): Likewise.
19219         (M_2_SQRTPIl): Likewise.
19220         (M_SQRT2l): Likewise.
19221         (M_SQRT1_2l): Likewise.
19223 2012-05-31  David S. Miller  <davem@davemloft.net>
19225         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19226         values between float registers.
19227         * sysdeps/sparc/sparc64/memset.S: Likewise.
19228         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19230 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19232         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19233         -D_FORTIFY_SOURCE=1.
19234         (CPPFLAGS-tst-longjmp_chk.c): Define.
19235         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19236         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19237         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19238         CFLAGS-tst-wchar-h.c.
19240 2012-05-31  Marek Polacek  <polacek@redhat.com>
19242         [BZ #14132]
19243         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19244         __endmntent_internal): Remove declaration.
19245         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19246         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19247         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19249 2012-05-30  David S. Miller  <davem@davemloft.net>
19251         * sysdeps/sparc/sparc32/soft-fp/q_util.c
19252         (___Q_simulate_exceptions): Use real FP ops rather than writing
19253         into the %fsr.
19254         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19255         Likewise.
19257 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19259         [BZ #14117]
19260         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19261         * sysdeps/x86/bits/xtitypes.h: This.
19263         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19264         * sysdeps/x86/bits/wordsize.h: This.
19266         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19267         * sysdeps/x86/bits/huge_vall.h: This.
19269         * sysdeps/i386/bits/select.h: Removed.
19270         * sysdeps/x86_64/bits/select.h: Renamed to ...
19271         * sysdeps/x86/bits/select.h: This.
19273         * sysdeps/i386/bits/setjmp.h: Removed.
19274         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19275         * sysdeps/x86/bits/setjmp.h: This.
19277         * sysdeps/i386/bits/mathdef.h: Removed.
19278         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19279         * sysdeps/x86/bits/mathdef.h: This.
19281 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
19283         [BZ #14132]
19284         * include/sys/socket.h (__connect_internal)
19285         (__libc_sa_len_internal): Remove declaration.
19286         (__connect, __libc_sa_len): Declare hidden_proto.
19287         (SA_LEN): Remove use of INTUSE.
19288         * socket/connect.c: Add libc_hidden_def.
19289         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19290         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19291         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19292         alias.
19293         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19294         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19295         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19296         of adding _internal alias.
19298 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19300         [BZ #14117]
19301         * sysdeps/i386/bits/link.h: Removed.
19302         * sysdeps/i386/bits/linkmap.h: Likewise.
19303         * sysdeps/x86_64/bits/link.h: Renamed to ...
19304         * sysdeps/x86/bits/link.h: This.
19305         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19306         * sysdeps/x86/bits/linkmap.h: This.
19308         * sysdeps/i386/bits/endian.h: Removed.
19309         * sysdeps/x86_64/bits/endian.h: Renamed to ...
19310         * sysdeps/x86/bits/endian.h: This.
19312         * sysdeps/i386/bits/byteswap.h: Removed.
19313         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19314         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19315         * sysdeps/x86/bits/byteswap.h: This.
19316         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19317         * sysdeps/x86/bits/byteswap-16.h: This.
19318         * sysdeps/i386/Implies: Add x86.
19319         * sysdeps/x86_64/Implies: Likewise.
19321 2012-05-30  David S. Miller  <davem@davemloft.net>
19323         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19324         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19325         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19326         (FP_TRAPPING_EXCEPTIONS): Define.
19327         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19328         (FP_TRAPPING_EXCEPTIONS): Define.
19329         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19330         subnormals only when inexact has been signalled or underflow
19331         exceptions are enabled.
19332         (_FP_PACK_CANONICAL): Likewise.
19334 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19336         [BZ #14183]
19337         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19338         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19340 2012-05-30  Richard Henderson  <rth@twiddle.net>
19342         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19343         with #ifndef NOT_IN_libc.
19345         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19346         marked to avoid plt entry.
19348 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19350         [BZ #14112]
19351         * Makeconfig (default-abi): New macro.
19352         (abi-includes): Likewise.
19353         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19354         $(abi-$(default-abi)-lib-soname) for soname if defined.
19355         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19356         abi-variants.
19357         * Makefile (installed-stubs): Likewise.
19358         * include/stubs-biarch.h: Removed.
19359         * scripts/lib-names.awk: Only handle one library at a time.
19360         * scripts/soversions.awk: Remove WORDSIZE support.
19361         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19362         entries.
19363         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19364         Removed.
19365         (syscall-list-default-condition): Likewise.
19366         (syscall-list-default-condition): Likewise.
19367         (syscall-list-includes): Likewise.
19368         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19369         syscall-list-* with abi-*.  Handle undefined abi-variants.
19370         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19371         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19372         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19373         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19374         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19375         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19376         Removed.
19377         (syscall-list-32-options): Likewise.
19378         (syscall-list-32-condition): Likewise.
19379         (syscall-list-64-options): Likewise.
19380         (syscall-list-64-condition): Likewise.
19381         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19382         macro.
19383         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19384         Renamed to ...
19385         (abi-*): This.
19386         (abi-64-ld-soname): New macro.
19387         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19388         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19389         Renamed to ...
19390         (abi-*): This.
19391         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19392         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19394 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19396         * sysdeps/unix/sysv/linux/kernel-features.h
19397         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19398         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19399         include <kernel-features.h>.
19400         [!__NR_ftruncate64]: Remove conditional code.
19401         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19402         [__NR_ftruncate64]: Make code unconditional.
19403         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19404         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19405         include <kernel-features.h>.
19406         [!__NR_ftruncate64]: Remove conditional code.
19407         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19408         [__NR_ftruncate64]: Make code unconditional.
19409         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19411         include <kernel-features.h>.
19412         [!__NR_ftruncate64]: Remove conditional code.
19413         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19414         [__NR_ftruncate64]: Make code unconditional.
19415         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19417         include <kernel-features.h>.
19418         [!__NR_ftruncate64]: Remove conditional code.
19419         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19420         [__NR_ftruncate64]: Make code unconditional.
19421         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19423         * configure.in (libc_cv_fpie): Weaken to a compile test using
19424         LIBC_TRY_CC_OPTION.
19425         * configure: Regenerated.
19427 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19433         Refreshed.
19434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19440         Refreshed.
19442 2012-05-27  David S. Miller  <davem@davemloft.net>
19444         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19445         (___Q_zero): New.
19446         (__Q_simulate_exceptions): Return void.  Change to simulate
19447         exceptions by writing into the %fsr.
19448         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19449         (__Qp_handle_exceptions): Likewise.
19450         (numbers): Delete.
19451         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19452         __Qp_handle_exceptions.
19453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19454         __Qp_handle_exceptions.
19455         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19456         as unused and give dummy FP_RND_NEAREST initializer.
19457         (FP_INHIBIT_RESULTS): Define.
19458         (___Q_simulate_exceptions): Update declaration.
19459         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19460         formatting.
19461         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19462         as unused and give dummy FP_RND_NEAREST initializer.
19463         (__Qp_handle_exceptions): Update declaration.
19464         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19465         formatting.
19467 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19469         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19470         the temporary FPU control word.
19471         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19472         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19473         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19474         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19475         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19476         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19477         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19478         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19479         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19480         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19481         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19483 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19485         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19486         fields.
19488 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19490         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19491         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19492         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19493         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19494         Likewise.
19495         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19496         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19497         Likewise.
19499 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19501         * po/h.po: Update from translation team.
19503 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19505         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19507         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19508         handling of denormals.
19509         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19510         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19511         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19512         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19513         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19516         Likewise.
19518 2012-05-26  Marek Polacek  <polacek@redhat.com>
19520         [BZ #14152]
19521         * math/libm-test.inc (fma_test): Don't always expect underflow
19522         exception.
19524 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19526         [BZ #12416]
19527         * elf/tst-execstack.c: Include stackinfo.h.
19528         (do_test): Adjust test case to ensure that pthread_getattr_np
19529         behaviour remains the same after marking stack executable.
19531 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19533         * sysdeps/unix/sysv/linux/kernel-features.h
19534         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19535         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19536         kernel-features.h.
19537         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19538         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19539         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19540         kernel-features.h.
19541         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19542         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19544 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19546         * configure.in: Define the default includes to being none.
19547         * configure: Regenerated.
19549 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19551         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19552         * sysdeps/x86_64/setjmp.S: Likewise.
19553         * sysdeps/i386/bsd-setjmp.S: Likewise.
19554         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19555         * sysdeps/i386/setjmp.S: Likewise.
19556         * sysdeps/i386/__longjmp.S: Likewise.
19557         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19558         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19560         * include/stap-probe.h: New file.
19561         * configure.in: Handle --enable-systemtap.
19562         * configure: Regenerated.
19563         * config.h.in (USE_STAP_PROBE): New #undef.
19564         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19565         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19566         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19568 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19570         [BZ #13717]
19571         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19572         to 2.4.0 where earlier.
19573         * sysdeps/unix/sysv/linux/configure: Regenerated.
19574         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19575         <kernel-features.h>.
19576         [__ASSUME_32BITUIDS]: Make code unconditional.
19577         [!__ASSUME_32BITUIDS]: Remove conditional code.
19578         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19579         <kernel-features.h>.
19580         [__ASSUME_32BITUIDS]: Make code unconditional.
19581         [!__ASSUME_32BITUIDS]: Remove conditional code.
19582         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19583         [__ASSUME_32BITUIDS]: Make code unconditional.
19584         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19585         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19586         <kernel-features.h>.
19587         [__ASSUME_32BITUIDS]: Make code unconditional.
19588         [!__ASSUME_32BITUIDS]: Remove conditional code.
19589         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19590         <kernel-features.h>.
19591         [__ASSUME_32BITUIDS]: Make code unconditional.
19592         [!__ASSUME_32BITUIDS]: Remove conditional code.
19593         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19594         <kernel-features.h>.
19595         [__ASSUME_32BITUIDS]: Make code unconditional.
19596         [!__ASSUME_32BITUIDS]: Remove conditional code.
19597         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19598         <kernel-features.h>.
19599         [__ASSUME_32BITUIDS]: Make code unconditional.
19600         [!__ASSUME_32BITUIDS]: Remove conditional code.
19601         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19602         <kernel-features.h>.
19603         [__ASSUME_32BITUIDS]: Make code unconditional.
19604         [!__ASSUME_32BITUIDS]: Remove conditional code.
19605         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19606         <kernel-features.h>.
19607         [__ASSUME_32BITUIDS]: Make code unconditional.
19608         [!__ASSUME_32BITUIDS]: Remove conditional code.
19609         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19610         <kernel-features.h>.
19611         [__ASSUME_32BITUIDS]: Make code unconditional.
19612         [!__ASSUME_32BITUIDS]: Remove conditional code.
19613         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19614         <kernel-features.h>.
19615         [__ASSUME_32BITUIDS]: Make code unconditional.
19616         [!__ASSUME_32BITUIDS]: Remove conditional code.
19617         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19618         <kernel-features.h>.
19619         [__ASSUME_32BITUIDS]: Make code unconditional.
19620         [!__ASSUME_32BITUIDS]: Remove conditional code.
19621         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19622         <kernel-features.h>.
19623         [__ASSUME_32BITUIDS]: Make code unconditional.
19624         [!__ASSUME_32BITUIDS]: Remove conditional code.
19625         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19626         <kernel-features.h>.
19627         [__NR_setresgid] (__setresgid): Do not declare.
19628         [__ASSUME_32BITUIDS]: Make code unconditional.
19629         [!__ASSUME_32BITUIDS]: Remove conditional code.
19630         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19631         <kernel-features.h>.
19632         [__NR_setresuid] (__setresuid): Do not declare.
19633         [__ASSUME_32BITUIDS]: Make code unconditional.
19634         [!__ASSUME_32BITUIDS]: Remove conditional code.
19635         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19636         <kernel-features.h>.
19637         [__ASSUME_32BITUIDS]: Make code unconditional.
19638         [!__ASSUME_32BITUIDS]: Remove conditional code.
19639         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19640         <kernel-features.h>.
19641         [__ASSUME_32BITUIDS]: Make code unconditional.
19642         [!__ASSUME_32BITUIDS]: Remove conditional code.
19643         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19644         <kernel-features.h>.
19645         [__ASSUME_32BITUIDS]: Make code unconditional.
19646         [!__ASSUME_32BITUIDS]: Remove conditional code.
19647         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19648         <kernel-features.h>.
19649         [__ASSUME_32BITUIDS]: Make code unconditional.
19650         [!__ASSUME_32BITUIDS]: Remove conditional code.
19651         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19652         <kernel-features.h>.
19653         [__ASSUME_32BITUIDS]: Make code unconditional.
19654         [!__ASSUME_32BITUIDS]: Remove conditional code.
19655         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19656         <kernel-features.h>.
19657         [__ASSUME_32BITUIDS]: Make code unconditional.
19658         [!__ASSUME_32BITUIDS]: Remove conditional code.
19659         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19660         <kernel-features.h>.
19661         [__ASSUME_32BITUIDS]: Make code unconditional.
19662         [!__ASSUME_32BITUIDS]: Remove conditional code.
19663         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19664         <kernel-features.h>.
19665         [__ASSUME_32BITUIDS]: Make code unconditional.
19666         [!__ASSUME_32BITUIDS]: Remove conditional code.
19667         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19668         <kernel-features.h>.
19669         [__ASSUME_32BITUIDS]: Make code unconditional.
19670         [!__ASSUME_32BITUIDS]: Remove conditional code.
19671         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19672         <kernel-features.h>.
19673         [__ASSUME_32BITUIDS]: Make code unconditional.
19674         [!__ASSUME_32BITUIDS]: Remove conditional code.
19675         * sysdeps/unix/sysv/linux/kernel-features.h
19676         (__ASSUME_SETRESUID_SYSCALL): Remove.
19677         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19678         (__ASSUME_32BITUIDS): Likewise.
19679         (__ASSUME_LDT_WORKS): Likewise.
19680         (__ASSUME_O_DIRECTORY): Likewise.
19681         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19682         architecture but not kernel version.
19683         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19684         (__ASSUME_MMAP2_SYSCALL): Likewise.
19685         (__ASSUME_STAT64_SYSCALL): Likewise.
19686         (__ASSUME_IPC64): Likewise.
19687         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19688         <kernel-features.h>.
19689         [__ASSUME_32BITUIDS]: Make code unconditional.
19690         [!__ASSUME_32BITUIDS]: Remove conditional code.
19691         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19692         <kernel-features.h>.
19693         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19694         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19695         132096]: Remove conditional code.
19696         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19697         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19698         <kernel-features.h>.
19699         [__ASSUME_32BITUIDS]: Make code unconditional.
19700         [!__ASSUME_32BITUIDS]: Remove conditional code.
19701         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19702         <kernel-features.h>.
19703         [__ASSUME_32BITUIDS]: Make code unconditional.
19704         [!__ASSUME_32BITUIDS]: Remove conditional code.
19705         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19706         <kernel-features.h>.
19707         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19708         unconditional.
19709         (__setresgid): Do not declare.
19710         [__ASSUME_32BITUIDS]: Make code unconditional.
19711         [!__ASSUME_32BITUIDS]: Remove conditional code.
19712         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19713         <kernel-features.h>.
19714         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19715         unconditional.
19716         (__setresuid): Do not declare.
19717         [__ASSUME_32BITUIDS]: Make code unconditional.
19718         [!__ASSUME_32BITUIDS]: Remove conditional code.
19719         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19720         <kernel-features.h>.
19721         [__ASSUME_32BITUIDS]: Make code unconditional.
19722         [!__ASSUME_32BITUIDS]: Remove conditional code.
19723         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19724         <kernel-features.h>.
19725         [__ASSUME_32BITUIDS]: Make code unconditional.
19726         [!__ASSUME_32BITUIDS]: Remove conditional code.
19728 2012-05-25  Richard Henderson  <rth@twiddle.net>
19730         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19731         dl_hwcap to ifunc resolver.
19732         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19733         elf_ifunc_invoke.
19734         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19735         dl_hwcap to ifunc resolver.
19736         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19738 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19740         [BZ #14153]
19741         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19742         for |x| <= 2**-26, not 2**-57.
19743         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19744         exception.
19746 2012-05-24  Jeff Law  <law@redhat.com>
19748         * stdio-common/Makefile (tests): Add bug25.
19749         * stdio-common/bug25.c: New test.
19751 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19753         [BZ #13576]
19754         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19755         multiple of MALLOC_ALIGNMENT in size.
19756         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19758 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19760         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19761         Require >= 256.
19762         (FILENAME_MAX): Use macro-int-constant.
19763         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19764         (_IOFBF): Use macro-int-constant.
19765         (_IOLBF): Likewise.
19766         (_IONBF): Likewise.
19767         (SEEK_CUR): Likewise.
19768         (SEEK_END): Likewise.
19769         (SEEK_SET): Likewise.
19770         (TMP_MAX): Likewise.
19771         (EOF): Use macro-int-constant.  Require < 0.
19772         (NULL): Use macro-constant.  Require == 0.
19773         (stdin): Require type to be FILE *.
19774         (stdout): Likewise.
19775         (stderr): Likewise.
19776         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19777         macro-int-constant.
19778         (EXIT_SUCCESS): Likewise.
19779         (NULL): Use macro-constant.  Require == 0.
19780         (RAND_MAX): Use macro-int-constant.
19781         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19782         [C99-based standards] (strtof): Require function.
19783         [C99-based standards] (strtold): Likewise.
19784         [C99-based standards] (strtoll): Likewise.
19785         [C99-based standards] (strtoull): Likewise.
19786         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19787         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19788         [ISO || ISO99 || ISO11] (math.h): Likewise.
19789         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19790         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19791         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19793 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19795         [BZ #14132]
19796         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19797         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19798         * intl/dgettext.c (DCGETTEXT): Likewise.
19799         * intl/gettext.c (DCGETTEXT): Likewise.
19800         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19801         * posix/regex_internal.h (gettext): Likewise.
19802         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19803         Remove declaration.
19804         * include/argz.h (__argz_count_internal)
19805         (__argz_stringify_internal): Remove declaration.
19806         (__argz_count, __argz_stringify): Declare hidden proto.
19807         * intl/dcgettext.c: Remove use of INTDEF.
19808         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19809         * string/argz-stringify.c: Likewise.
19810         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19811         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19812         Declare hidden proto.
19813         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19814         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19815         Declare hidden proto.
19816         * include/stdio.h (__asprintf_internal): Don't declare.
19817         (__asprintf): Don't define as macro.  Declare hidden proto.
19818         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19819         (__fsetlocking): Declare hidden proto.
19820         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19821         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19822         hidden proto.
19823         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19824         (_IO_setlinebuf): Remove use of INTUSE.
19825         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19826         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19827         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19828         Remove declaration.
19829         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19830         (_IO_do_flush): Remove use of INTUSE.
19831         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19832         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19833         (_IO_adjust_column, _IO_least_wmarker)
19834         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19835         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19836         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19837         (_IO_default_doallocate, _IO_wdefault_doallocate)
19838         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19839         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19840         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19841         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19842         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19843         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19844         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19845         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19846         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19847         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19848         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19849         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19850         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19851         proto.
19852         (_IO_flush_all_internal, _IO_adjust_column_internal)
19853         (_IO_default_uflow_internal, _IO_default_finish_internal)
19854         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19855         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19856         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19857         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19858         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19859         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19860         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19861         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19862         (_IO_file_close_internal, _IO_file_close_it_internal)
19863         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19864         (_IO_file_init_internal, _IO_file_attach_internal)
19865         (_IO_file_fopen_internal, _IO_file_read_internal)
19866         (_IO_file_sync_internal, _IO_file_seek_internal)
19867         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19868         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19869         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19870         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19871         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19872         (_IO_list_all_internal, _IO_link_in_internal)
19873         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19874         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19875         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19876         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19877         (_IO_do_write_internal, _IO_padn_internal)
19878         (_IO_getline_info_internal, _IO_getline_internal)
19879         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19880         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19881         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19882         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19883         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19884         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19885         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19886         with libc_hidden_ver, remove use of INTUSE.
19887         * libio/genops.c: Likewise.
19888         * libio/freopen.c: Likewise.
19889         * libio/freopen64.c: Likewise.
19890         * libio/iofclose.c: Likewise.
19891         * libio/iofdopen.c: Likewise.
19892         * libio/iofflush.c: Likewise.
19893         * libio/iofflush_u.c: Likewise.
19894         * libio/iofgets.c: Likewise.
19895         * libio/iofgets_u.c: Likewise.
19896         * libio/iofopen.c: Likewise.
19897         * libio/iofopncook.c: Likewise.
19898         * libio/iofread.c: Likewise.
19899         * libio/iofread_u.c: Likewise.
19900         * libio/ioftell.c: Likewise.
19901         * libio/iofwrite.c: Likewise.
19902         * libio/iogetline.c: Likewise.
19903         * libio/iogets.c: Likewise.
19904         * libio/iogetwline.c: Likewise.
19905         * libio/iopadn.c: Likewise.
19906         * libio/iopopen.c: Likewise.
19907         * libio/ioseekoff.c: Likewise.
19908         * libio/ioseekpos.c: Likewise.
19909         * libio/iosetbuffer.c: Likewise.
19910         * libio/iosetvbuf.c: Likewise.
19911         * libio/ioungetc.c: Likewise.
19912         * libio/ioungetwc.c: Likewise.
19913         * libio/iovdprintf.c: Likewise.
19914         * libio/iovsprintf.c: Likewise.
19915         * libio/iovsscanf.c: Likewise.
19916         * libio/memstream.c: Likewise.
19917         * libio/obprintf.c: Likewise.
19918         * libio/oldfileops.c: Likewise.
19919         * libio/oldiofclose.c: Likewise.
19920         * libio/oldiofdopen.c: Likewise.
19921         * libio/oldiofopen.c: Likewise.
19922         * libio/oldiopopen.c: Likewise.
19923         * libio/oldstdfiles.c: Likewise.
19924         * libio/putc.c: Likewise.
19925         * libio/setbuf.c: Likewise.
19926         * libio/setlinebuf.c: Likewise.
19927         * libio/stdfiles.c: Likewise.
19928         * libio/strops.c: Likewise.
19929         * libio/vasprintf.c: Likewise.
19930         * libio/vscanf.c: Likewise.
19931         * libio/vsnprintf.c: Likewise.
19932         * libio/vswprintf.c: Likewise.
19933         * libio/wfiledoalloc.c: Likewise.
19934         * libio/wfileops.c: Likewise.
19935         * libio/wgenops.c: Likewise.
19936         * libio/wmemstream.c: Likewise.
19937         * libio/wstrops.c: Likewise.
19938         * libio/__fpurge.c: Likewise.
19939         * libio/__fsetlocking.c: Likewise.
19940         * assert/assert.c: Likewise.
19941         * debug/fgets_chk.c: Likewise.
19942         * debug/fgets_u_chk.c: Likewise.
19943         * debug/fread_chk.c: Likewise.
19944         * debug/fread_u_chk.c: Likewise.
19945         * debug/gets_chk.c: Likewise.
19946         * debug/obprintf_chk.c: Likewise.
19947         * debug/vasprintf_chk.c: Likewise.
19948         * debug/vdprintf_chk.c: Likewise.
19949         * debug/vsnprintf_chk.c: Likewise.
19950         * debug/vsprintf_chk.c: Likewise.
19951         * malloc/mtrace.c: Likewise.
19952         * misc/error.c: Likewise.
19953         * misc/syslog.c: Likewise.
19954         * stdio-common/asprintf.c: Likewise.
19955         * stdio-common/fxprintf.c: Likewise.
19956         * stdio-common/getw.c: Likewise.
19957         * stdio-common/isoc99_fscanf.c: Likewise.
19958         * stdio-common/isoc99_scanf.c: Likewise.
19959         * stdio-common/isoc99_vfscanf.c: Likewise.
19960         * stdio-common/isoc99_vscanf.c: Likewise.
19961         * stdio-common/isoc99_vsscanf.c: Likewise.
19962         * stdio-common/printf-prs.c: Likewise.
19963         * stdio-common/printf_fp.c: Likewise.
19964         * stdio-common/printf_fphex.c: Likewise.
19965         * stdio-common/printf_size.c: Likewise.
19966         * stdio-common/putw.c: Likewise.
19967         * stdio-common/scanf.c: Likewise.
19968         * stdio-common/sprintf.c: Likewise.
19969         * stdio-common/tmpfile.c: Likewise.
19970         * stdio-common/vfprintf.c: Likewise.
19971         * stdio-common/vfscanf.c: Likewise.
19972         * stdlib/strfmon_l.c: Likewise.
19973         * sunrpc/openchild.c: Likewise.
19974         * sunrpc/xdr_stdio.c: Likewise.
19975         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19976         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19978 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19980         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19982         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19983         in the third column, to generate for the shared library an IFUNC
19984         that uses _dl_vdso_vsym.
19985         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19986         * Makeconfig (object-suffixes-noshared): New variable.
19988         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19989         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19990         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19991         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19993         [BZ #14132]
19994         * include/sys/time.h (__gettimeofday): Remove macro.
19995         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19996         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19997         Remove INTDEF.
19998         (__gettimeofday): Add libc_hidden_def.
19999         (gettimeofday): Add libc_hidden_weak.
20000         * sysdeps/mach/gettimeofday.c: Likewise.
20001         * sysdeps/posix/gettimeofday.c: Likewise.
20002         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20003         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20004         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20005         (__gettimeofday_internal): Remove strong_alias.
20006         (__gettimeofday): Add libc_hidden_def.
20007         (gettimeofday): Add libc_hidden_weak.
20008         * sysdeps/unix/syscalls.list (gettimeofday):
20009         Remove __gettimeofday_internal alias.
20011 2012-05-24  Daniel Jacobowitz  <drow@false.org>
20012             H.J. Lu  <hongjiu.lu@intel.com>
20014         [BZ #12495]
20015         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20016         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20017         (largebin_index_32_big): New.
20018         (largebin_index): Use it for 16-byte alignment.
20019         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20020         correction with front_misalign.
20022 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20026         Likewise.
20027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20028         Likewise.
20029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20030         Likewise.
20031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20032         Likewise.
20033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20034         Likewise.
20035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20036         Likewise.
20037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20038         Likewise.
20039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20040         Likewise.
20041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20042         Likewise.
20043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20044         Likewise.
20045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20046         Likewise.
20047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20048         Likewise.
20050         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20051         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20053 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20055         [BZ #10846]
20056         [BZ #14036]
20057         * math/libm-test.inc (exp_test): Add test from bug 14036.
20058         (pow_test): Add test from bug 10846.
20060         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20061         and other flags.
20062         (special_function): Do not include flags in test name.
20063         (parse_args): Likewise.
20064         * sysdeps/i386/fpu/libm-test-ulps: Update.
20065         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20066         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20067         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20070         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20071         exceptions.
20072         * math/libm-test.inc ("Philosophy"): Update comment about
20073         exception testing.
20074         (UNDERFLOW_EXCEPTION): New macro.
20075         (UNDERFLOW_EXCEPTION_OK): Likewise.
20076         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20077         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20078         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20079         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20080         (INVALID_EXCEPTION_OK): Update value.
20081         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20082         (OVERFLOW_EXCEPTION_OK): Likewise.
20083         (IGNORE_ZERO_INF_SIGN): Likewise.
20084         (test_exceptions): Handle underflow exceptions.
20085         (acos_test): Update for underflow exception expectations.
20086         (cexp_test): Likewise.
20087         (clog_test): Likewise.
20088         (clog10_test): Likewise.
20089         (csqrt_test): Likewise.
20090         (ctan_test): Likewise.
20091         (ctanh_test): Likewise.
20092         (exp_test): Likewise.
20093         (exp10_test): Likewise.
20094         (exp2_test): Likewise.
20095         (expm1_test): Likewise.
20096         (fma_test): Likewise.
20097         (j0_test): Likewise.
20098         (jn_test): Likewise.
20099         (nexttoward_test): Likewise.
20100         (pow_test): Likewise.
20101         (scalbn_test): Likewise.
20102         (scalbln_test): Likewise.
20103         (tan_test): Likewise.
20104         (y1_test): Likewise.
20105         * sysdeps/i386/fpu/libm-test-ulps: Update.
20106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20108 2012-05-23  David S. Miller  <davem@davemloft.net>
20110         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20111         (__libc_sigaction): Remove unused local variables.
20113 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20115         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20117 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20119         mktime: avoid signed integer overflow
20120         * time/mktime.c (__mktime_internal): Do not mishandle the case
20121         where diff == INT_MIN.
20123         mktime: simplify computation of average
20124         * time/mktime.c (ranged_convert): Use new time_t_avg function
20125         instead of rolling our own (probably-slower) code.
20127         mktime: do not assume signed right shift propagates sign bit
20128         * time/mktime.c (isdst_differ): New static function.
20129         (__mktime_internal): No need to normalize tm_isdst now.
20130         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20131         tm_isdst values.
20133         mktime: merge another wrapv change from gnulib
20134         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20135         from some compilers.
20137         mktime: remove incorrect attempt at unusual arithmetics
20138         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20139         The code didn't really work on such machines anyway.
20140         (TYPE_MINIMUM): Assume two's complement.
20141         (twos_complement_arithmetic): Verify that long_int and time_t
20142         are two's complement (or unsigned, in the latter case).
20144         mktime: check signed shifts on long_int and time_t, too
20145         * time/mktime.c (SHR): Check that shifts work as desired
20146         on the types long_int and time_t too, as SHR is used on
20147         such types.
20149         mktime: do not assume 'long' is wide enough
20150         * time/mktime.c (verify): Move decl up.
20151         (long_int): New type.
20152         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20153         to remove assumption in the code that 'long' is wide enough to
20154         store year values.  This assumption is not true on x32 and on
20155         some non-glibc platforms.
20157         mktime: merge wrapv change from gnulib
20158         * time/mktime.c (WRAPV): New macro.
20159         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20160         (guess_time_tm, __mktime_internal): Do not assume that signed
20161         integer overflow wraps around; modern compilers generate code
20162         where this assumption is no longer valid.
20164 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20166         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20167         Replace "jmp L(pseudo_end)" with "ret".
20168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20169         Likewise.
20171 2012-05-23  Andreas Jaeger  <aj@suse.de>
20173         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20174         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20176 2012-05-23  Andreas Jaeger  <aj@suse.de>
20177             Maximilian Attems  <max@stro.at>
20179         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20180         New macros.
20182 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20184         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20185         code so that pseudo_end is just ret and the stack pointer is
20186         correct also for static library in error case.
20188 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20190         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20191         move to syscalls.list.
20192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20197         * manual/install.texi (Running make install): Do not mention Linux
20198         kernel version for which pt_chown is not needed.
20199         (Linux): Do not mention problems with nscd with 2.0 kernels.
20200         * INSTALL: Regenerated.
20202 2012-05-23  Andreas Jaeger  <aj@suse.de>
20204         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20205         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20206         macro.
20207         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20208         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20209         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20210         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20211         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20212         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20213         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20214         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20215         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20216         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20217         * sysdeps/unix/sysv/linux/bits/in.h
20218         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20220 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20222         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20223         (PREPARE_VERSION): Just use assert instead, it will be elided
20224         under [NDEBUG] anyway.
20226 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20228         * sysdeps/unix/sysv/linux/Makefile: Include
20229         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20230         (sysdep_routines): Remove sysctl.
20231         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20232         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20233         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20234         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20235         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20237 2012-05-22  Andreas Jaeger  <aj@suse.de>
20239         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20240         that pseudo_end is just ret and the stack pointer is correct also
20241         for static library in error case.
20243 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20245         [BZ #14122]
20246         * nss/nsswitch.c (defconfig_entries): New variable.
20247         (__nss_database_lookup): Don't leak defconfig entries.
20248         (nss_parse_service_list): Don't leak on error paths.
20249         (free_database_entries): New function.
20250         (free_defconfig): New function.
20251         (free_mem): Move common code to free_database_entries.
20253 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20255         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20256         Add arch_prctl.
20257         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20259         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20260         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20262         New macro.
20263         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20264         (INTERNAL_SYSCALL_TYPES): Likewise.
20265         (LOAD_ARGS_TYPES_[1-6]): Likewise.
20266         (LOAD_REGS_TYPES_[1-6]): Likewise.
20267         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20268         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20270 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20272         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20273         copysignl for GLIBC_2_0.
20274         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20275         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20276         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20277         logbl for GLIBC_2_0.
20278         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20279         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20281 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20283         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20284         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20286         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20287         Use "neg %eax".
20289         * time/mktime.c: Update copyright years.
20291 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20293         mktime: merge comment-quoting-style change from gnulib
20294         * time/mktime.c: Quote 'like this' in comments.
20295         The GNU coding standards suggest that we no longer quote `like this',
20296         as "`" and "'" are typically rendered asymmetrically nowadays.
20297         The typical gnulib style is to quote 'like this' when quoting
20298         code, and "like this" when quoting English.
20300         * time/mktime.c (compile-command): Add "-I.".
20302         mktime: merge mktime-internal.h change from gnulib
20303         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20305         mktime: merge time_r change from gnulib
20306         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20308         mktime: merge DEBUG change from gnulib
20309         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20310         case system <time.h> has a #define.
20312         mktime: merge <sys/types.h> change from gnulib
20313         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20314         since <time.t> is now guaranteed to define time_t.
20316         mktime: merge HAVE_CONFIG_H change from gnulib
20317         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20319 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20322         Use "neg %eax".
20324         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20325         __rlim_t cast.
20326         (struct rusage): Use anonymous union to pad each field to
20327         __syscall_slong_t.
20329 2012-05-21  David S. Miller  <davem@davemloft.net>
20331         * Makefules (o-iterator): Remove .s cases.
20332         (compile-command.s): Delete.
20333         (COMPILE.s): Delete.
20334         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20336 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20338         * configure.in (libc_cv_predef_stack_protector): Only consider
20339         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20340         * configure: Regenerated.
20342 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20345         New macro.  Use R*LP on int and pointer.
20346         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20347         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20348         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20349         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20351         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20352         [__WORDSIZE_TIME64_COMPAT32] instead of
20353         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20354         (struct utmp): Likewise.
20355         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20356         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20357         Renamed to ...
20358         (__WORDSIZE_TIME64_COMPAT32): This.
20359         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20360         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20361         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20362         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20363         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20364         (__WORDSIZE_TIME64_COMPAT32): New macro.
20366 2012-05-21  Andreas Jaeger  <aj@suse.de>
20368         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20369         only if [SHARED]. Add prototype for __wcschr_ia32.
20371 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20373         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20374         of %rbp unmolested in the jmp_buf while mangling the low bits.
20375         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20376         unmolested high bits of %rbp while demangling the low bits.
20377         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20379 2012-05-21  Andreas Jaeger  <aj@suse.de>
20381         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20382         * sunrpc/svc_simple.c: Use it for registerrpc.
20383         * sunrpc/xcrypt.c: Use it for passwd2des.
20385         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20387 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20389         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20390         Don't define if [__SYSCALL_WORDSIZE != 32].
20391         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20392         New macro.
20394 2012-05-21  Bruno Haible  <bruno@clisp.org>
20395             Andreas Jaeger  <aj@suse.de>
20397         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20398         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20399         inptr and inend for must_buffer_ch.
20400         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20401         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20402         * stdio-common/Makefile (tests): Remove bug15.
20403         (bug15-ENV): Remove macro.
20404         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20405         anymore.
20407 2012-05-19  Andreas Jaeger  <aj@suse.de>
20408             Roland McGrath  <roland@hack.frob.com>
20410         * manual/contrib.texi: Completely rewritten. It contains now an
20411         alphabetical list of contributors and their contributions.
20413 2012-05-21  Richard Henderson  <rth@twiddle.net>
20415         * misc/getauxval.c (__getauxval): Use unsigned long int.
20416         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20417         (getauxval): Use unsigned long int.
20419 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20421         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20423 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20425         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20426         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20427         __alignof__ (long double).
20429 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20433 2012-05-20  Richard Henderson  <rth@twiddle.net>
20435         * misc/getauxval.c: New file.
20436         * misc/sys/auxv.h: New file.
20437         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20438         (routines): Add getauxval.
20439         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20440         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20441         * elf/dl-sysdep.c (_dl_auxv): Remove.
20442         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20443         * elf/dl-support.c (_dl_auxv): New variable.
20444         (_dl_aux_init): Initialize it.
20445         * manual/startup.texi (Auxiliary Vector): New node.
20446         * sysdeps/generic/bits/hwcap.h: New file.
20447         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20448         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20449         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20450         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20451         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20452         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20454         Update.
20455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20458         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20464 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20468 2012-05-19  David S. Miller  <davem@davemloft.net>
20470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20472 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20474         [BZ #14123]
20475         * math/s_ccosh.c: Include <float.h>
20476         (__ccosh): Avoid internal overflow calculating sinh and cosh
20477         values before multiplying by sin and cos values.
20478         * math/s_ccoshf.c: Likewise.
20479         * math/s_ccoshl.c: Likewise.
20480         * math/s_csin.c: Likewise.
20481         * math/s_csinf.c: Likewise.
20482         * math/s_csinl.c: Likewise.
20483         * math/s_csinh.c: Likewise.
20484         * math/s_csinhf.c: Likewise.
20485         * math/s_csinhl.c: Likewise.
20486         * math/libm-test.inc (ccos_test): Add more tests.
20487         (ccosh_test): Likewise.
20488         (csin_test): Likewise.
20489         (csinh_test): Likewise.
20490         * sysdeps/i386/fpu/libm-test-ulps: Update.
20491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20493 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20495         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20496         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20498         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20500 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20502         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20503         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20504         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20505         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20506         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20507         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20508         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20509         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20510         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20511         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20512         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20513         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20514         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20515         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20516         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20517         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20518         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20519         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20520         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20521         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20522         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20523         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20524         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20525         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20526         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20527         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20528         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20529         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20530         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20531         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20532         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20534 2012-05-18  Andreas Jaeger  <aj@suse.de>
20536         * csu/.gitignore: Delete.
20538 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20540         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20541         (timex): Use __syscall_slong_t.
20543 2012-05-18  Andreas Jaeger  <aj@suse.de>
20544             Carlos O'Donell  <carlos_odonell@mentor.com>
20546         * manual/install.texi (Configuring and compiling): Update
20547         description about files modified in the source directory.
20548         * INSTALL: Regenerated.
20550 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20552         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20553         value.  Use "or" to set return value to -1.
20554         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20555         negate return value.
20557 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20559         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20560         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20561         failure if the compiler has Graphite support disabled.
20562         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20563         Likewise.
20564         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20565         CFLAGS-memmove.c): Likewise.
20566         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20567         Likewise.
20569 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20571         * sysdeps/x86_64/x32/_itoa.h: New file.
20573         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20574         getdents system call only if kernel and user dirents have the
20575         same d_ino and d_off.
20577         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20578         LLONG_MAX != LONG_MAX.
20579         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20580         (_fitoa_word): Likewise.
20582         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20583         years.
20584         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20585         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20586         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20588         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20589         include <bits/wordsize.h>.  Check __x86_64__ instead of
20590         __WORDSIZE.
20591         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20592         if __x86_64__ is defined.  Use anonymous union on fpstate.
20594         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20595         anonymous union.
20597 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20599         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20600         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20601         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20602         Refer to _rtld_local_ro instead of _rtld_global_ro.
20603         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20604         Likewise.
20605         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20606         Likewise.
20607         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20608         Likewise.
20609         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20610         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20611         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20613         * sysdeps/powerpc/powerpc32/dl-machine.c
20614         (__elf_machine_runtime_setup) [PROF]: Don't reference
20615         _dl_prof_resolve.
20617 2012-05-18  Andreas Jaeger  <aj@suse.de>
20619         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20620         function only available for GCCs before 3.4 since GCC 3.4
20621         introduced a builtin.
20622         (lrint): Likewise.
20623         (llrintf): Likewise.
20624         (llrint): Likewise.
20625         (fmaxf): Likewise.
20626         (fmax): Likewise.
20627         (fminf): Likewise.
20628         (fmin): Likewise.
20629         (rint): Likewise.
20630         (rintf): Likewise.
20631         (nearbyint): Likewise.
20632         (nearbyintf): Likewise.
20633         (ceil): Likewise.
20634         (ceilf): Likewise.
20635         (floor): Likewise.
20636         (floorf): Likewise.
20638 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20640         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20641         on both fields and cast pointer to __syscall_ulong_t.
20643         * bits/types.h (__fsword_t): New type.
20644         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20645         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20646         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20647         (__FSWORD_T_TYPE): Likewise.
20648         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20649         (__FSWORD_T_TYPE): Likewise.
20650         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20651         (__FSWORD_T_TYPE): Likewise.
20652         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20653         (__FSWORD_T_TYPE): Likewise.
20654         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20655         __SWORD_TYPE with __fsword_t.
20656         (statfs64): Likewise.
20658 2012-05-17  David S. Miller  <davem@davemloft.net>
20660         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20662 2012-05-17  Andreas Jaeger  <aj@suse.de>
20664         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20665         warning.
20667 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20669         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20671 2012-05-17  Andreas Jaeger  <aj@suse.de>
20673         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20674         when it is used.
20676 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20678         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20680 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20682         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20683         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20685 2012-05-17  Andreas Jaeger  <aj@suse.de>
20686             Carlos O'Donell  <carlos_odonell@mentor.com>
20688         [BZ #14059]
20689         * sysdeps/x86_64/multiarch/init-arch.h
20690         (bit_YMM_Usable): Rename to...
20691         (bit_AVX_Usable): ... this.
20692         (bit_FMA4_Usable): New macro.
20693         (bit_XMM_state): New macro.
20694         (bit_YMM_state): New macro.
20695         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20696         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20697         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20698         (CPUID_OSXSAVE): New macro.
20699         (CPUID_AVX): New macro.
20700         (CPUID_FMA4): New macro.
20701         (index_YMM_Usable): Rename to...
20702         (index_AVX_Usable): ... this.
20703         (HAS_AVX): Use HAS_ARCH_FEATURE.
20704         (HAS_FMA4): Likewise.
20705         (HAS_YMM_USABLE): Remove.
20706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20707         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20708         are present.
20709         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20710         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20711         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20712         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20713         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20715 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20717         * math/libm-test.c: Support platforms without multiple rounding modes.
20718         * math/bug-nextafter.c: Support platforms without FP exceptions.
20719         * math/bug-nexttoward.c: Likewise.
20720         * math/test-fenv.c: Likewise.
20721         * math/test-misc.c: Likewise.
20722         * stdlib/bug-getcontext.c: Likewise.
20724 2012-05-17  Andreas Jaeger  <aj@suse.de>
20726         * manual/examples/search.c (critter_cmp): Change signature to
20727         avoid warnings.
20728         * manual/string.texi (Collation Functions): Likewise.
20730 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20732         * bits/types.h: Fold copyright years.
20733         * bits/typesizes.h: Likewise.
20734         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20735         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20736         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20737         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20738         * time/time.h: Likewise.
20740 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20742         [BZ #208]
20743         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20744         in instead of returning them.  Return void.
20745         (__libc_mallinfo): Accumulate over all arenas.
20746         (__malloc_stats): Adjust for change in int_mallinfo interface.
20748 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20750         [BZ #10375]
20751         * configure.in (NM): Add AC_CHECK_TOOL for it.
20752         (libc_extra_cflags): New substituted variable.
20753         Check for -fstack-protector being used implicitly.
20754         * configure: Regenerated.
20755         * config.make.in (config-extra-cflags): New variable,
20756         gets @libc_extra_cflags@.
20757         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20759         [BZ #10375]
20760         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20761         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20762         * configure: Regenerated.
20763         * config.make.in (CPPUNDEFS): New substituted variable.
20764         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20765         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20766         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20768 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20770         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20771         (mq_attr): Use __syscall_slong_t.
20773 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20775         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20776         Check __x86_64__ instead of __WORDSIZE.
20777         (_STAT_VER_LINUX): Likewise.
20778         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20779         __syscall_ulong_t and __syscall_slong_t.
20780         (stat64): Likewise.
20782 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20784         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20786 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20788         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20790 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20792         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20793         __syscall_ulong_t.
20795         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20796         include <bits/wordsize.h>.  Check __x86_64__ instead of
20797         __WORDSIZE.
20798         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20799         defined.
20800         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20802         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20803         include <bits/wordsize.h>.  Check __x86_64__ instead of
20804         __WORDSIZE.
20805         (user_regs_struct): Use "__extension__ unsigned long long"
20806         instead of "unsigned long" if __x86_64__ is defined.
20807         (user): Likewise.  Pad after pointer field if __ILP32__ is
20808         defined.
20810 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20812         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20813         versions 5 to 9.
20814         * configure: Regenerated.
20815         * manual/install.texi (texinfo): Increase version requirement to
20816         4.5 or later.
20817         * INSTALL: Regenerated.
20819         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20821 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20823         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20825         * sysdeps/x86_64/x32/ffs.c: New file.
20827         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20828         __syscall_ulong_t.
20829         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20830         defined.  Use __syscall_ulong_t.
20831         (shminfo): Use __syscall_ulong_t.
20832         (shm_info): Likewise.
20834         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20835         __syscall_ulong_t.
20837         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20838         <bits/wordsize.h>.
20839         (msgqnum_t): Use __syscall_ulong_t.
20840         (msglen_t): Likewise.
20841         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20842         __syscall_ulong_t.
20844         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20845         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20847         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20849         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20850         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20852         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20853         __syscall_slong_t.
20855         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20856         include <bits/wordsize.h>.  Check __x86_64__ instead of
20857         __WORDSIZE.
20859         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20860         "unsigned long long int" if __x86_64__ is defined.
20861         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20863         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20864         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20865         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20867         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20868         <stdint.h>.
20869         (GET_PC): Cast to uintptr_t first.
20870         (GET_FRAME): Likewise.
20871         (GET_STACK): Likewise.
20873         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20874         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20875         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20876         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20877         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20878         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20879         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20880         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20881         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20882         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20883         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20884         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20885         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20886         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20887         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20888         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20889         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20890         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20891         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20892         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20893         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20894         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20895         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20896         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20897         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20898         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20899         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20900         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20901         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20903 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20905         * Makerules (+depfiles): Also collect depfiles from .oS in
20906         $(extra-objs).
20907         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20908         .oS, $(libnldbl-routines)).
20910         * Makerules (native-compile-mkdep-flags): Define.
20911         * sunrpc/Makefile (extra-objs): Add $(addprefix
20912         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20913         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20914         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20915         calling $(make-target-directory).
20917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20919         * bits/types.h (__snseconds_t): Removed.
20920         * time/time.h (struct timespec): Replace __snseconds_t with
20921         __syscall_slong_t.
20922         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20923         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20924         Likewise.
20925         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20926         (__SNSECONDS_T_TYPE): Likewise.
20927         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20928         (__SNSECONDS_T_TYPE): Likewise.
20929         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20930         (__SNSECONDS_T_TYPE): Likewise.
20932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20934         * sysdeps/mach/hurd/bits/typesizes.h
20935         (__SYSCALL_SLONG_TYPE): New macro.
20936         (__SYSCALL_ULONG_TYPE): Likewise.
20938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20940         * bits/types.h (__syscall_slong_t): New type.
20941         (__syscall_ulong_t): Likewise.
20943         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20944         (__SYSCALL_ULONG_TYPE): Likewise.
20945         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20946         (__SYSCALL_SLONG_TYPE): Likewise.
20947         (__SYSCALL_ULONG_TYPE): Likewise.
20948         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20949         (__SYSCALL_SLONG_TYPE): Likewise.
20950         (__SYSCALL_ULONG_TYPE): Likewise.
20951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20952         (__SYSCALL_SLONG_TYPE): Likewise.
20953         (__SYSCALL_ULONG_TYPE): Likewise.
20955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20957         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20958         Add sigaltstack-offsets.sym.
20959         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20960         <sigaltstack-offsets.h>.
20961         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20962         longjmp_msg pointer.
20963         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20964         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20965         signal stack.
20966         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20968 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20970         * elf/stackguard-macros.h: Remove file.
20971         * sysdeps/generic/stackguard-macros.h: New file.
20972         * sysdeps/i386/stackguard-macros.h: Likewise.
20973         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20974         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20975         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20976         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20977         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20978         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20979         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20980         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20981         <elf/stackguard-macros.h>.
20983         [BZ #14109]
20984         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20985         __aligned__ in attribute.
20986         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20987         (gregset_t): Likewise.
20989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20991         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20992         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20993         * sysdeps/x86_64/x32/Implies-after: New file.
20995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20997         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20998         and access return value for _dl_profile_fixup.  Use R10_LP to
20999         load frame size.
21001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21003         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21007         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21008         * sysdeps/x86_64/x32/sysdep.h: New file.
21010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21012         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21013         * sysdeps/x86_64/setjmp.S: Likewise.
21015 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21017         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21018         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21019         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21020         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21021         remove unused global constant.
21023 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21025         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21026         include of <not-cancel.h>.
21028 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21030         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21032 2012-05-15  Jeff Law  <law@redhat.com>
21033             Andreas Jaeger  <aj@suse.de>
21035         [BZ #13594]
21036         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21037         out from...
21038         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21039         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21040         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21041         code changing __hst_map_handle.map.
21043 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21045         * configure.in (sysnames): Look for Implies-before and Implies-after
21046         files.
21047         * configure: Regenerated.
21049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21051         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21052         8-byte data alignment with LP_SIZE alignment.
21054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21056         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21057         into R10_LP.
21059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21061         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21065         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21066         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21067         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21068         Likewise.
21069         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21073         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21074         (stackinfo_sub_sp): Likewise.
21076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21078         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21079         RAX_LP.
21081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21083         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21084         into R*_LP.
21086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21088         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21089         sizes into R*_LP.
21091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21093         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21097         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21098         into R11_LP and load __x86_64_shared_cache_size_half into
21099         R8_LP.
21101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21103         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21104         R8_LP.
21106 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21108         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21109         logb for POWER7.
21110         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21111         logbf for POWER7.
21112         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21113         logbl for POWER7.
21114         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21115         powerpc32/power7/fpu/s_logb.c via #include.
21116         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21117         powerpc32/power7/fpu/s_logbf.c via #include.
21118         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21119         powerpc32/power7/fpu/s_logbl.c via #include.
21121 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21123         * README.libm: Remove file.
21125 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21127         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21128         count for x32.  Use R*_LP and omit operand-size suffix.
21130 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21132         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21133         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21134         * sysdeps/x86_64/x32/shlib-versions: New file.
21136 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21138         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21139         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21140         Use _dl_fatal_printf instead.
21142 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21144         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21145         set if not set by the user.  Do not allow for being unset.
21146         * sysdeps/unix/sysv/linux/configure: Regenerated.
21148 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21150         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21151         the `q' suffix from lea and replace .quad with ASM_ADDR.
21153 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21155         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21156         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21157         instead of $17.
21158         (PTR_DEMANGLE): Likewise.
21160 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21162         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21163         (LP_OP): Likewise.
21164         (ASM_ADDR): Likewise.
21165         (RAX_LP): Likewise.
21166         (RBP_LP): Likewise.
21167         (RBX_LP): Likewise.
21168         (RCX_LP): Likewise.
21169         (RDI_LP): Likewise.
21170         (RSI_LP): Likewise.
21171         (RSP_LP): Likewise.
21172         (R8_LP): Likewise.
21173         (R9_LP): Likewise.
21174         (R10_LP): Likewise.
21175         (R10_LP): Likewise.
21176         (R11_LP): Likewise.
21177         (R12_LP): Likewise.
21178         (R13_LP): Likewise.
21179         (R14_LP): Likewise.
21180         (R15_LP): Likewise.
21182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21184         * sysdeps/x86_64/x32/dl-machine.h: New file.
21186 2012-05-14  Andreas Jaeger  <aj@suse.de>
21188         * manual/Makefile (subdir): Remove export of subdir.
21189         (all): Remove target.
21190         (.PHONY): Remove all from list.
21191         (mkinstalldirs): Remove.
21192         (.PHONY): Remove installdirs from list.
21193         ($(inst_infodir)/libc.info): Use make-target-directory.
21194         (installdirs): Remove.
21195         (subdir_%): Remove.
21196         (glibc-targets): Remove.
21197         (lib): Remove.
21198         (stubs): Remove.
21199         ($(objpfx)stubs ../po/manual.pot): Remove.
21200         ($(objpfx)stamp%): Remove.
21201         (make-target-directory): Remove.
21202         (subdir_install): Remove.
21203         (routines): Remove.
21204         (aux): Remove.
21205         (sources): Remove.
21206         (objects): Remove.
21207         (headers): Remove.
21209         [BZ #13750]
21210         * manual/.gitignore: Remove, it's not needed anymore.
21211         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21212         all files in it.
21213         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21214         directory.
21215         (texis): Renamed to $(objpfx)texis.
21216         (texis-path): New, contains path to generated files.
21217         (chapters.%): Use texis-path for complete path, add extra argument
21218         libc-texinfo.sh.
21219         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21220         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21221         (summary,texi, stamp-summary): Use complete path of
21222         files. Generate files in build dir.
21223         (dir-add.texi): Build in build dir.
21224         (libm-err.texi,stamp-libm-err): Likewise.
21225         (version.texi, stamp-version): Likewise.
21226         (.%c.texi): Likewise.
21227         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21228         (mostlyclean): Remove target.
21229         (realclean): Remove target.
21230         (generated): Add new variable with contents from mostlyclean and
21231         realclean, remove entries duplicated in common-mostlyclean, add
21232         stamp-libm-err and stamp-version.
21233         (generated-dirs): Add libc directory.
21234         ($(inst_infodir)/libc.info): Install files from build dir.
21236         * manual/install.texi (Configuring and compiling): Adjust since
21237         the info files are not part of the tar ball anymore.
21239 2012-05-14  Andreas Jaeger  <aj@suse.de>
21241         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21242         variable.
21244 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21246         [BZ #13717]
21247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21248         to 2.2.0 where earlier.
21249         * sysdeps/unix/sysv/linux/configure: Regenerated.
21250         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21251         Remove conditional code.
21252         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21253         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21254         Remove conditional code.
21255         [!__NR_lchown]: Likewise.
21256         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21257         [__NR_lchown]: Likewise.
21258         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21259         comment referencing __ASSUME_LCHOWN_SYSCALL.
21260         * sysdeps/unix/sysv/linux/i386/sigaction.c
21261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21263         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21264         Remove conditional code.
21265         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21266         (__protocol_available): Remove #if 0 code.
21267         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21268         conditional code.
21269         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21270         * sysdeps/unix/sysv/linux/kernel-features.h
21271         (__ASSUME_GETCWD_SYSCALL): Don't define.
21272         (__ASSUME_REALTIME_SIGNALS): Likewise.
21273         (__ASSUME_PREAD_SYSCALL): Likewise.
21274         (__ASSUME_PWRITE_SYSCALL): Likewise.
21275         (__ASSUME_POLL_SYSCALL): Likewise.
21276         (__ASSUME_LCHOWN_SYSCALL): Likewise.
21277         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21278         non-SPARC.
21279         (__ASSUME_SIOCGIFNAME): Don't define.
21280         (__ASSUME_MSG_NOSIGNAL): Likewise.
21281         (__ASSUME_SENDFILE): Define unconditionally.
21282         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21283         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21284         conditional code.
21285         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21286         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21287         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21288         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21289         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21290         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21291         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21293         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21294         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21296         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21297         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21299         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21300         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21302         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21303         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21305         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21306         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21308         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21309         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21311         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21312         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21314         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21315         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21316         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21317         Remove conditional code.
21318         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21319         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21320         Remove conditional code.
21321         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21322         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21323         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21324         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21325         Remove conditional code.
21326         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21327         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21328         Remove conditional code.
21329         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21330         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21331         Remove conditional code.
21332         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21333         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21334         Remove conditional code.
21335         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21336         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21337         Remove conditional code.
21338         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21339         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21340         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21341         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21342         * sysdeps/unix/sysv/linux/sigaction.c
21343         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21344         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21345         * sysdeps/unix/sysv/linux/sigpending.c
21346         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21347         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21348         * sysdeps/unix/sysv/linux/sigprocmask.c
21349         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21350         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21351         * sysdeps/unix/sysv/linux/sigsuspend.c
21352         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21353         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21354         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21355         (__libc_missing_rt_sigs): Remove.
21356         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21357         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21358         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21359         Remove conditional code.
21360         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21361         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21362         return 1.
21363         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21364         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21365         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21366         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21368 2012-05-14  Andreas Jaeger  <aj@suse.de>
21370         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21371         it's not used in glibc.
21372         (__coshm1): Likewise.
21373         (__acosh1p): Likewise.
21374         (__sgn): Likewise.
21376         * manual/string.texi (Copying and Concatenation): Add missing
21377         variable in concat example.
21378         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21380 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21382         [BZ #14103]
21383         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21384         __builtin_clzl with __builtin_clzll.
21386 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21388         [BZ #14104]
21389         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21390         libc_freeres_ptr.
21392 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21394         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21395         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21396         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21397         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21399 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21401         * NEWS: Update ia64 info.
21403 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21405         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21406         used as bcopy.
21408 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21410         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21411         * sysdeps/unix/syscalls.list (dup3): Likewise.
21412         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21413         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21415 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21417         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21418         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21420 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21422         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21423         thread pointer.
21424         (TLS_IE): Use mov/add instead of movq/addq to load thread
21425         pointer.
21426         (TLS_GD_PREFIX): New.
21427         (TLS_GD): Use it.
21429 2012-05-11  David S. Miller  <davem@davemloft.net>
21431         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21432         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21433         (_FPU_SETCW): Likewise.
21435 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21437         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21438         is 32-byte aligned.
21440 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21442         [BZ #11837]
21443         * iconvdata/gb18030.c: Update tables.
21444         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21445         characters specially.
21446         (BODY for TO_LOOP): Add encoding of missing ranges.
21448 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21450         [BZ #13673]
21451         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21452         * sysdeps/mach/hurd/dup3.c: Likewise.
21453         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21454         * sysdeps/powerpc/memmove.c:: Likewise.
21456 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21459         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21461 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21463         * elf/elf.h (R_X86_64_RELATIVE64): New.
21464         (R_X86_64_NUM): Updated.
21465         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21466         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21467         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21468         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21469         tst-quad1pie tst-quad2pie
21470         (modules-names): Add tst-quadmod1 tst-quadmod2.
21471         ($(objpfx)tst-quad1): New dependency.
21472         ($(objpfx)tst-quad2): Likewise.
21473         ($(objpfx)tst-quad1pie): Likewise.
21474         ($(objpfx)tst-quad2pie): Likewise.
21475         * sysdeps/x86_64/tst-quad1.c: New file.
21476         * sysdeps/x86_64/tst-quad1pie.c: New file.
21477         * sysdeps/x86_64/tst-quad2.c: Likewise.
21478         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21479         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21480         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21481         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21482         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21484 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21486         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21487         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21488         * streams/stropts.h (t_scalar_t): Define type.
21490         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21491         (_PATH_PRESERVE): Set to "/var/lib".
21492         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21494         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21495         instead of int.
21497         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21498         if __dir_mkfile succeeded.
21500         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21501         checking for _hurd_dtablesize.  Unlock it right after having
21502         finished _hurd_dtable allocation.
21504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21506         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21507         * sysdeps/mach/hurd/configure: Regenerated.
21508         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21509         special-casing to...
21510         * sysdeps/gnu/configure.in: ... this new file.
21511         * sysdeps/unix/sysv/linux/configure: Regenerated.
21512         * sysdeps/gnu/configure: New generated file.
21514         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21515         for Linux: use nsec instead of usec, as well as:
21516         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21517         members of type struct timespec.
21518         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21519         New macros.
21520         (struct stat64): Likewise.
21521         (_STATBUF_ST_NSEC): New macro.
21522         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21524         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21525         __strtoul_internal rather than strtoul.
21527 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21529         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21530         and reject them.
21532 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21534         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21535         which preserves existing values.
21536         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21538 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21540         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21541         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21542         greater than FD_SETSIZE.
21544 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21546         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21547         allocated, call __vm_protect to finish enabling the existing space, and
21548         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21549         allocate the remainder.
21551 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21553         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21554         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21558         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21559         sysdeps/mach/hurd/readlink.c.
21561         * posix/tst-sysconf.c (posix_options): Only use
21562         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21563         _POSIX_SYNCHRONIZED_IO when they are defined
21564         * sysdeps/mach/hurd/bits/posix_opt.h:
21565         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21566         (_XOPEN_REALTIME): Undefine macro.
21567         (_XOPEN_REALTIME_THREADS): Undefine macro.
21568         (_XOPEN_SHM): Undefine macro.
21569         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21570         macro to -1.
21571         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21572         macro to -1.
21573         (_POSIX_ASYNC_IO): Undefine macro.
21574         (_POSIX_PRIORITIZED_IO): Undefine macro.
21575         (_POSIX_SPIN_LOCKS): Define macro to -1.
21577         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21578         SA_NODEFER, SA_RESETHAND.
21579         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21580         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21581         F_DUPFD_CLOEXEC.
21583 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21585         * elf/Makefile (pldd-modules): Define unconditionally.
21587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21589         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21591 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21593         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21594         Return ENOENT when name is empty.
21595         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21599         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21601         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21605         Fix mlock in all cases except non-readable pages.
21606         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21607         instead of VM_PROT_ALL as parameter to __vm_wire function.
21609         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21610         (__mkdir): When path is `/', just fail with EEXIST.
21611         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21613 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21615         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21616         <sys/uio.h> (for writev).
21617         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21618         and <sys/param.h> (for MIN).
21620 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21622         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21623         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21624         if interrupted.
21626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21628         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21629         Depend on against $(link-rpcuserlibs).
21631 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21633         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21634         (__libc_stack_end): Do not use attribute_relro.
21635         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21636         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21637         to libthread-provided value.
21638         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21639         attribute_relro.
21641 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21643         [BZ #3748]
21644         * bits/libc-lock.h (__libc_once_get): New macro.
21645         * sysdeps/mach/bits/libc-lock.h: Likewise.
21646         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21647         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21648         instead of using implementation details.
21650         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21651         * libio/freopen.c: Likewise.
21652         * libio/freopen64.c: Likewise.
21653         * misc/syslog.c: Likewise.
21654         * nscd/connections.c: Likewise.
21655         * nscd/netgroupcache.c: Likewise.
21656         * sysdeps/posix/getcwd.c: Likewise.
21658 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21660         * math/w_ilogbf.c: Add #include <limits.h>.
21662 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21664         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21665         path instead of returning without unlocking.
21667         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21668         immediate-write ioctls.
21669         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21671 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21673         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21674         __builtin_frame_address instead of making assumptions about the
21675         location of the return address relative to DATA.  Force early load of
21676         the return address.
21677         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21678         __builtin_frame_address.
21680         dup3 for GNU Hurd.
21681         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21682         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21683         implement dup3 and do some further code clean-ups.
21684         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21685         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21689         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21691         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21692         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21693         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21694         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21695         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21696         d->port.lock.
21698         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21699         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21700         when handler == SIG_ERR, not when handler != SIG_ERR.
21702 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21704         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21705         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21706         definitions.
21708         accept4 for GNU Hurd.
21709         * include/sys/socket.h (__libc_accept4): New prototype.
21710         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21711         to implement __libc_accept4.
21712         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21713         __libc_accept4.
21714         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21716         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21717         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21718         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21719         signal-defines.sym.
21721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21723         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21727         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21728         assertion on O_CLOEXEC flag.
21729         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21730         * hurd/intern-fd.c: Likewise.
21731         * hurd/port2fd.c: Likewise.
21733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21735         [BZ #3906]
21736         * bits/in.h (IPV6_PKTINFO): Define new macro.
21737         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21739 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21741         [BZ #13954]
21742         [BZ #13955]
21743         [BZ #13956]
21744         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21745         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21746         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21747         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21749         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21750         * math/libm-test.inc (logb_test) : Additional logb tests.
21752 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21753             Andreas Jaeger  <aj@suse.de>
21755         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21756         * configure: Regenerated.
21757         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21758         * config.make.in (link-obsolete-rpc): New substituted variable.
21759         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21760         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21761         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21762         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21763         so that libc.a contains the symbols.
21764         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21765         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21766         * sunrpc/auth_none.c: Likewise.
21767         * sunrpc/auth_unix.c: Likewise.
21768         * sunrpc/authdes_prot.c: Likewise.
21769         * sunrpc/authuxprot.c: Likewise.
21770         * sunrpc/clnt_gen.c: Likewise.
21771         * sunrpc/clnt_perr.c: Likewise.
21772         * sunrpc/clnt_raw.c: Likewise.
21773         * sunrpc/clnt_simp.c: Likewise.
21774         * sunrpc/clnt_tcp.c: Likewise.
21775         * sunrpc/clnt_udp.c: Likewise.
21776         * sunrpc/clnt_unix.c: Likewise.
21777         * sunrpc/des_crypt.c: Likewise.
21778         * sunrpc/des_soft.c: Likewise.
21779         * sunrpc/get_myaddr.c: Likewise.
21780         * sunrpc/key_call.c: Likewise.
21781         * sunrpc/key_prot.c: Likewise.
21782         * sunrpc/netname.c: Likewise.
21783         * sunrpc/pm_getmaps.c: Likewise.
21784         * sunrpc/pm_getport.c: Likewise.
21785         * sunrpc/pmap_clnt.c: Likewise.
21786         * sunrpc/pmap_prot.c: Likewise.
21787         * sunrpc/pmap_prot2.c: Likewise.
21788         * sunrpc/pmap_rmt.c: Likewise.
21789         * sunrpc/publickey.c: Likewise.
21790         * sunrpc/rpc_cmsg.c: Likewise.
21791         * sunrpc/rpc_common.c: Likewise.
21792         * sunrpc/rpc_dtable.c: Likewise.
21793         * sunrpc/rpc_prot.c: Likewise.
21794         * sunrpc/rpc_thread.c: Likewise.
21795         * sunrpc/rtime.c: Likewise.
21796         * sunrpc/svc.c: Likewise.
21797         * sunrpc/svc_auth.c: Likewise.
21798         * sunrpc/svc_raw.c: Likewise.
21799         * sunrpc/svc_run.c: Likewise.
21800         * sunrpc/svc_tcp.c: Likewise.
21801         * sunrpc/svc_udp.c: Likewise.
21802         * sunrpc/svc_unix.c: Likewise.
21803         * sunrpc/svcauth_des.c: Likewise.
21804         * sunrpc/xcrypt.c: Likewise.
21805         * sunrpc/xdr.c: Likewise.
21806         * sunrpc/xdr_array.c: Likewise.
21807         * sunrpc/xdr_float.c: Likewise.
21808         * sunrpc/xdr_intXX_t.c: Likewise.
21809         * sunrpc/xdr_mem.c: Likewise.
21810         * sunrpc/xdr_rec.c: Likewise.
21811         * sunrpc/xdr_ref.c: Likewise.
21812         * sunrpc/xdr_sizeof.c: Likewise.
21813         * sunrpc/xdr_stdio.c: Likewise.
21815 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21817         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21818         change.  Update copyright years.
21820 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21822         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21824 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21825             Joseph Myers  <joseph@codesourcery.com>
21826             Paul Pluzhnikov  <ppluzhnikov@google.com>
21828         [BZ #14012]
21829         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21830         requiring rpcgen.
21831         [cross-compiling] (extra-libs): Likewise.
21832         [cross-compiling] (extra-libs-others): Likewise.
21833         [cross-compiling] (librpcsvc-routines): Likewise.
21834         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21835         [cross-compiling] (omit-deps): Likewise.
21836         (sunrpc-CPPFLAGS): New variable.
21837         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21838         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21839         (cross-rpcgen-objs): New variable.
21840         (extra-objs): Append $(cross-rpcgen-objs).
21841         ($(cross-rpcgen-objs)): New rule.
21842         ($(objpfx)cross-rpcgen): Likewise.
21843         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21844         comment.
21845         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21846         ($(objpfx)x%.stmp): Likewise.
21847         * sunrpc/proto.h [IS_IN_build] (_): Define.
21848         [IS_IN_build] (_libc_intl_domainname): Likewise.
21850 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21852         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21853         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21854         and R_X86_64_TPOFF64.
21856 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21858         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21859         sysdeps/unix/sysv/syscalls.list.
21860         (stime): Likewise.
21861         (utime): Likewise.
21862         * sysdeps/unix/sysv/syscalls.list: Remove file.
21864 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21866         [BZ #3440]
21867         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21868         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21869         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21870         (__LC_IDENTIFICATION): Make these macros useful in #if
21871         expressions, as required by C99.
21873 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21875         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21876         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21877         after this.
21879 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21881         * stdlib/longlong.h: Updated from GCC.
21883 2012-05-09  Andreas Jaeger  <aj@suse.de>
21885         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21886         default is first entry.
21887         (run_mode): Set type.
21888         (main): Remove informal message about syslog.
21889         (options): Fix typo.
21891         [BZ #14053]
21892         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21893         to asm.
21894         (lrint): Likewise.
21895         (llrintf): Likewise.
21896         (llrint): Likewise.
21897         (rint): Likewise.
21898         (rintf): Likewise.
21899         (nearbyint): Likewise.
21900         (nearbyintf): Likewise.
21902 2012-05-09  Andreas Jaeger  <aj@suse.de>
21903             Pedro Alves  <palves@redhat.com>
21905         * nscd/nscd.c (run_mode): Use enum.
21906         (main): Cleanup coding style issue.
21908 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21909             Andreas Jaeger  <aj@suse.de>
21911         * nscd/nscd.c (go_background): Replaced with...
21912         (run_mode): ... this.
21913         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21914         (options): Add -F --foreground.
21915         (main): Implement it.
21916         (parse_opt): Parse it.
21918 2012-05-09  Andreas Jaeger  <aj@suse.de>
21920         [BZ #14083]
21921         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21922         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21923         -Wconversion warning.
21924         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21925         Likewise.
21927 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21929         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21930         == 0.
21931         (LC_ALL): Use macro-int-constant.
21932         (LC_COLLATE): Likewise.
21933         (LC_CTYPE): Likewise.
21934         (LC_MESSAGES): Likewise.
21935         (LC_MONETARY): Likewise.
21936         (LC_NUMERIC): Likewise.
21937         (LC_TIME): Likewise.
21938         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21939         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21940         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21941         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21942         Specify type.
21943         [C99-based standards] (float_t): Expect type.
21944         [C99-based standards] (double_t): Expect type.
21945         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21946         type.
21947         [C99-based standards] (HUGE_VALL): Likewise.
21948         [C99-based standards] (INFINITY): Likewise.
21949         [C99-based standards] (NAN): Likewise.
21950         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21951         [C99-based standards] (FP_NAN): Likewise.
21952         [C99-based standards] (FP_NORMAL): Likewise.
21953         [C99-based standards] (FP_SUBNORMAL): Likewise.
21954         [C99-based standards] (FP_ZERO): Likewise.
21955         [C99-based standards] (FP_FAST_FMA): Use
21956         optional-macro-int-constant.  Specify type.  Require == 1.
21957         [C99-based standards] (FP_FAST_FMAF): Likewise.
21958         [C99-based standards] (FP_FAST_FMAL): Likewise.
21959         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21960         [C99-based standards] (FP_ILOGBNAN): Likewise.
21961         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21962         Specify type.
21963         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21964         [C99-based standards] (math_errhandling): Specify type.
21965         [ISO99 || ISO11] (signgam): Do not allow.
21966         [non-C99-based standards] (copysignf): Do not allow.
21967         [non-C99-based standards] (exp2f): Likewise.
21968         [non-C99-based standards] (log2f): Likewise.
21969         [non-C99-based standards] (modff): Allow.
21970         [non-C99-based standards] (erff): Do not allow.
21971         [non-C99-based standards] (erfcf): Likewise.
21972         [non-C99-based standards] (gammaf): Likewise.
21973         [non-C99-based standards] (hypotf): Likewise.
21974         [non-C99-based standards] (j0f): Likewise.
21975         [non-C99-based standards] (j1f): Likewise.
21976         [non-C99-based standards] (jnf): Likewise.
21977         [non-C99-based standards] (lgammaf): Likewise.
21978         [non-C99-based standards] (tgammaf): Likewise.
21979         [non-C99-based standards] (y0f): Likewise.
21980         [non-C99-based standards] (y1f): Likewise.
21981         [non-C99-based standards] (ynf): Likewise.
21982         [non-C99-based standards] (isnanf): Likewise.
21983         [non-C99-based standards] (acoshf): Likewise.
21984         [non-C99-based standards] (asinhf): Likewise.
21985         [non-C99-based standards] (atanhf): Likewise.
21986         [non-C99-based standards] (cbrtf): Likewise.
21987         [non-C99-based standards] (expm1f): Likewise.
21988         [non-C99-based standards] (ilogbf): Likewise.
21989         [non-C99-based standards] (log1pf): Likewise.
21990         [non-C99-based standards] (logbf): Likewise.
21991         [non-C99-based standards] (nextafterf): Likewise.
21992         [non-C99-based standards] (remainderf): Likewise.
21993         [non-C99-based standards] (rintf): Likewise.
21994         [non-C99-based standards] (scalbf): Likewise.
21995         [non-C99-based standards] (copysignl): Likewise.
21996         [non-C99-based standards] (exp2l): Likewise.
21997         [non-C99-based standards] (log2l): Likewise.
21998         [non-C99-based standards] (modfl): Allow.
21999         [non-C99-based standards] (erfl): Do not allow.
22000         [non-C99-based standards] (erfcl): Likewise.
22001         [non-C99-based standards] (gammal): Likewise.
22002         [non-C99-based standards] (hypotl): Likewise.
22003         [non-C99-based standards] (j0l): Likewise.
22004         [non-C99-based standards] (j1l): Likewise.
22005         [non-C99-based standards] (jnl): Likewise.
22006         [non-C99-based standards] (lgammal): Likewise.
22007         [non-C99-based standards] (tgammal): Likewise.
22008         [non-C99-based standards] (y0l): Likewise.
22009         [non-C99-based standards] (y1l): Likewise.
22010         [non-C99-based standards] (ynl): Likewise.
22011         [non-C99-based standards] (isnanl): Likewise.
22012         [non-C99-based standards] (acoshl): Likewise.
22013         [non-C99-based standards] (asinhl): Likewise.
22014         [non-C99-based standards] (atanhl): Likewise.
22015         [non-C99-based standards] (cbrtl): Likewise.
22016         [non-C99-based standards] (expm1l): Likewise.
22017         [non-C99-based standards] (ilogbl): Likewise.
22018         [non-C99-based standards] (log1pl): Likewise.
22019         [non-C99-based standards] (logbl): Likewise.
22020         [non-C99-based standards] (nextafterl): Likewise.
22021         [non-C99-based standards] (remainderl): Likewise.
22022         [non-C99-based standards] (rintl): Likewise.
22023         [non-C99-based standards] (scalbl): Likewise.
22024         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22025         [non-C99-based standards] (FP_*): Do not allow.
22026         [C99-based standards] (FP_*): Change to
22027         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22028         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22029         allow.
22030         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22031         (SIG_ERR): Likewise.
22032         [X/Open-based standards] (SIG_HOLD): Likewise.
22033         (SIG_IGN): Likewise.
22034         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22035         positive value.
22036         (SIGFPE): Likewise.
22037         (SIGILL): Likewise.
22038         (SIGINT): Likewise.
22039         (SIGSEGV): Likewise.
22040         (SIGTER): Likewise.
22041         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22042         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22043         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22044         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22045         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22046         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22047         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22048         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22049         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22050         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22051         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22052         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22053         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22054         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22055         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22056         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22057         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22058         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22059         [X/Open-based standards] (SIGTRAP): Likewise.
22060         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22061         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22062         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22063         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22064         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22065         allow.
22067 2012-05-08  Ian Wienand  <ianw@vmware.com>
22069         [BZ #14080]
22070         * time/tzset.c (__tzset_parse_tz): Update default rules for
22071         daylight time changes in the Energy Policy Act of 2005.
22073 2012-05-09  Andreas Jaeger  <aj@suse.de>
22075         [BZ #13983]
22076         * elf/ldconfig.c (parse_conf): Change string to make clear that
22077         ldconfig only issued a warning if ld.so.conf does not exist.
22079 2012-05-08  David S. Miller  <davem@davemloft.net>
22081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22082         movxtod instead of popping the value on the stack.
22084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22086 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22088         * config.h.in: Add HAVE_ARM_PCS_VFP.
22090 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22092         [BZ #13979]
22093         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22094         checking but the checks are disabled for any reason.
22096 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22098         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22099         and ELF64_R_TYPE with ELFW(R_TYPE).
22101 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22103         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22104         (ulimit): Likewise.
22106         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22107         (settimeofday): Likewise.
22109 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22111         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22112         a struct th_u2 inside the union, and move tu_block/tu_code into
22113         a new th_u3 union of tu_block/tu_code inside of that.  Move
22114         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22115         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22116         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22117         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22118         (th_stuff): Change to th_u1.tu_stuff.
22119         (th_data): Define.
22120         (th_msg): Change to th_u1.th_u2.tu_data.
22122 2012-05-07  David S. Miller  <davem@davemloft.net>
22124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22126         [BZ #14074]
22127         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22128         (SETUP_PIC_REG): Use it.
22129         (SETUP_PIC_REG_LEAF): Use it.
22131 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22133         [BZ #13885]
22134         [BZ #13923]
22135         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22136         USE_AS_EXPM1L.
22137         (EXPL_FINITE): Likewise.
22138         (FLDLOG): Likewise.
22139         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22140         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22141         e_expl.S.
22142         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22143         USE_AS_EXPM1L.
22144         (EXPL_FINITE): Likewise.
22145         (FLDLOG): Likewise.
22146         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22147         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22148         e_expl.S.
22149         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22150         test of -max_value argument for long double.
22151         * sysdeps/i386/fpu/libm-test-ulps: Update.
22152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22154 2012-05-06  David S. Miller  <davem@davemloft.net>
22156         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22157         quad soft-float symbols whose references which are compiler
22158         generated.
22159         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22161 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22163         [BZ #13884]
22164         [BZ #13914]
22165         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22166         USE_AS_EXP10L.
22167         (EXPL_FINITE): Likewise.
22168         (FLDLOG): Likewise.
22169         (c0): Likewise.
22170         (c1): Likewise.
22171         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22172         Adjust comments for base varying.
22173         (__expl_finite): Change alias to EXPL_FINITE.
22174         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22175         e_expl.S.
22176         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22177         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22178         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22179         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22180         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22181         USE_AS_EXP10L.
22182         (EXPL_FINITE): Likewise.
22183         (FLDLOG): Likewise.
22184         (c0): Likewise.
22185         (c1): Likewise.
22186         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22187         Adjust comments for base varying.
22188         (__expl_finite): Change alias to EXPL_FINITE.
22189         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22190         tests for bugs.
22191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22193         [BZ #14064]
22194         * math/libm-test.inc (check_float_internal): Correct ulp
22195         calculation for subnormal expected results.
22197 2012-05-06  Andreas Jaeger  <aj@suse.de>
22199         * Makeconfig (+math-flags): New, set to -frounding-math.
22200         (+cflags): Add +math-flags so that all of glibc gets compiled with
22201         it.
22203         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22205 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22207         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22208         Disable one test.
22210         [BZ #13787]
22211         [BZ #13922]
22212         [BZ #14036]
22213         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22214         (__ieee754_expl): Allow for and saturate large arguments.
22215         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22216         (u_threshold): Likewise.
22217         (__exp): Call __ieee754_exp before checking for overflow and
22218         underflow.
22219         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22220         (u_threshold): Likewise.
22221         (__expf): Call __ieee754_expf before checking for overflow and
22222         underflow.
22223         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22224         (u_threshold): Likewise.
22225         (__expl): Call __ieee754_expl before checking for overflow and
22226         underflow.
22227         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22228         (__ieee754_expl): Allow for and saturate large arguments.
22229         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22230         missing overflow exception on overflow.
22231         (expm1_test): Do not allow missing overflow exception on overflow.
22233         * sysdeps/i386/fpu/e_expl.c: Move to ...
22234         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22235         rather than using inline asm.
22236         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22237         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22238         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22240         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22241         (nice): Likewise.
22242         (poll): Likewise.
22243         (signal): Likewise.
22244         (time): Likewise.
22245         (times): Likewise.
22247 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22249         * sysdeps/unix/syscalls.list (adjtime): Add entry from
22250         sysdeps/unix/common/syscalls.list.
22251         (fchmod): Likewise.
22252         (fchown): Likewise.
22253         (ftruncate): Likewise.
22254         (getrusage): Likewise.
22255         (gettimeofday): Likewise.
22256         (setpgid): Likewise.
22257         (setregid): Likewise.
22258         (setreuid): Likewise.
22259         (sigaction): Likewise.
22260         (truncate): Likewise.
22261         (vhangup): Likewise.
22262         * sysdeps/unix/common/syscalls.list: Remove file.
22263         * sysdeps/unix/bsd/Implies: Don't include unix/common.
22264         * sysdeps/unix/sysv/linux/Implies: Likewise.
22266 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
22268         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22270         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22271         Moved to ...
22272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22273         Here.
22274         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22275         to ...
22276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22277         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22278         to ...
22279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22280         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22281         to ...
22282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22283         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22284         to ...
22285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22286         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22287         to ...
22288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22289         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22290         to ...
22291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22292         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22293         to ...
22294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22295         Here.
22296         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22297         to ...
22298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22299         Here.
22300         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22301         to ...
22302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22303         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22304         Moved to ...
22305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22306         Here.
22307         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22308         to ...
22309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22311 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22313         * sysdeps/unix/common/bits/dirent.h: Remove file.
22314         * sysdeps/unix/common/bits/fcntl.h: Likewise.
22316         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22317         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22318         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22319         * sysdeps/unix/bsd/isatty.c: Likewise.
22320         * sysdeps/unix/bsd/tcdrain.c: Likewise.
22321         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22322         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22324 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22326         [BZ #13563]
22327         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22328         long double comparison inaccuracies.
22329         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22332 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22334         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22335         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22337 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22339         [BZ #14049]
22340         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22341         nonzero digits before rounding a hex value.
22342         * stdlib/tst-strtod.c (tests): Add another test.
22344 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22346         * sysdeps/s390/fpu/libm-test-ulps: Update.
22348 2012-05-03  Andreas Jaeger  <aj@suse.de>
22350         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22351         does not get optimized out.
22352         (malloc_opt_barrier): New.
22354 2012-05-03  Andreas Jaeger  <aj@suse.de>
22355             Roland McGrath  <roland@hack.frob.com>
22357         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22358         intermediate file deletion.
22359         (generated): Add .symlist files.
22361 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22363         [BZ #13775]
22364         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22365         Redirect under this condition.
22366         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22367         [__USE_GNU] (__dprintf_chk): Not under this condition.
22368         [__USE_GNU] (__vdprintf_chk): Likewise.
22369         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22370         under this condition.
22371         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22372         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22373         [__USE_XOPEN2K8] (vdprintf): Likewise.
22374         [__USE_GNU] (__dprintf_chk): Not under this condition.
22375         [__USE_GNU] (__vdprintf_chk): Likewise.
22376         [__USE_GNU] (dprintf): Likewise.
22377         [__USE_GNU] (vdprintf): Likewise.
22379 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22381         * elf/Makefile (common-generated): Set this instead of generated for
22382         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22383         $(all-built-dso)-derived lists.
22385 2012-05-03  Andreas Jaeger  <aj@suse.de>
22387         * sysdeps/i386/fpu/libm-test-ulps: Update.
22389         * FAQ: Removed.
22390         * FAQ.in: Likewise.
22391         * scripts/gen-FAQ.pl: Likewise.
22392         * manual/install.texi (Installation): Point to online location of
22393         FAQ.
22394         * Makefile (files-for-dist): Remove FAQ.
22395         (FAQ): Remove.
22397 2012-05-02  Allan McRae  <allan@archlinux.org>
22399         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22400         (LDFLAGS-reldepmod5.so): Likewise.
22401         (LDFLAGS-reldep6mod1.so): Likewise.
22402         (LDFLAGS-reldep6mod4.so): Likewise.
22403         (LDFLAGS-reldep8mod3.so): Likewise.
22404         (LDFLAGS-unload4mod1.so): Likewise.
22405         (LDFLAGS-unload4mod2.so): Likewise.
22406         (LDFLAGS-tst-initorder): Likewise.
22407         (LDFLAGS-tst-initordera2.so): Likewise.
22408         (LDFLAGS-tst-initordera3.so): Likewise.
22409         (LDFLAGS-tst-initordera4.so): Likewise.
22410         (LDFLAGS-tst-initorderb2.so): Likewise.
22411         (LDFLAGS-noload): Likewise.
22412         (LDFLAGS-next): Likewise.
22413         (LDFLAGS-order2mod1.so): Likewise.
22414         (LDFLAGS-order2mod2.so): Likewise.
22415         (LDFLAGS-tst-initorder2): Likewise.
22416         (LDFLAGS-tst-initorder2a.so): Likewise.
22417         (LDFLAGS-tst-initorder2b.so): Likewise.
22418         (LDFLAGS-tst-initorder2c.so): Likewise.
22419         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22421 2012-05-02  David S. Miller  <davem@davemloft.net>
22423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22425 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22427         [BZ #14055]
22428         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22430 2012-05-02  Andreas Jaeger  <aj@suse.de>
22432         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22433         since we manipulate rounding mode.
22434         (CPPFLAGS-test-idouble.c): Likewise.
22435         (CPPFLAGS-test-ifloat.c): Likewise.
22436         (CFLAGS-test-ldouble.c): Likewise.
22437         (CFLAGS-test-double.c): Likewise.
22438         (CFLAGS-test-float.c): Likewise.
22439         (CFLAGS-test-misc.c): Likewise.
22440         (CFLAGS-test-test-fenv.c): Likewise.
22442 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22444         [BZ #2550]
22445         [BZ #2570]
22446         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22447         comparisons to determine direction to adjust input.
22449 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22451         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22452         output to the target.
22454         * scripts/localplt.awk: New file.
22455         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22456         (check-localplt-CFLAGS): Variable removed.
22457         ($(all-built-dso:=.jmprel)): New static pattern rule.
22458         (generated): Add those targets.
22459         (localplt-built-dso): New variable.
22460         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22462         * elf/check-localplt.c: File removed.
22464         * scripts/check-execstack.awk: New file.
22465         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22466         (check-execstack-CFLAGS): Variable removed.
22467         ($(objpfx)check-execstack.h): Target removed.
22468         ($(objpfx)execstack-default): New target.
22469         (generated): Add that instead of check-execstack.h.
22470         ($(all-built-dso:=.phdr)): New static pattern rule.
22471         (generated): Add those targets.
22472         * elf/check-execstack.c: File removed.
22474         * scripts/check-textrel.awk: New file.
22475         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22476         (check-textrel-CFLAGS): Variable removed.
22477         (all-built-dso): Use := to define.o
22478         ($(all-built-dso:=.dyn)): New static pattern rule.
22479         (generated): Add those targets.
22480         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22481         * config.make.in (READELF): New substituted variable.
22482         * elf/check-textrel.c: File removed.
22484 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22486         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22487         allow.
22488         * conform/data/ctype.h-data [C99-based standards] (isblank):
22489         Expect function.
22490         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22491         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22492         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22493         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22494         Specify type.  Require positive value.
22495         (EILSEQ): Likewise.
22496         (ERANGE): Likewise.
22497         [ISO || POSIX] (EILSEQ): Do not expect.
22498         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22499         Specify type.  Require positive value.
22500         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22501         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22502         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22503         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22504         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22505         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22506         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22507         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22508         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22509         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22510         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22511         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22512         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22513         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22514         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22515         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22516         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22517         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22518         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22519         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22520         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22521         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22522         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22523         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22524         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22525         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22526         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22527         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22528         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22529         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22530         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22531         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22532         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22533         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22534         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22535         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22536         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22537         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22538         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22539         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22540         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22541         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22542         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22543         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22544         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22545         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22546         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22547         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22548         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22549         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22550         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22551         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22552         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22553         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22554         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22555         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22556         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22557         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22558         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22559         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22560         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22561         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22562         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22563         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22564         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22565         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22566         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22567         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22568         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22569         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22570         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22571         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22572         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22573         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22574         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22575         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22576         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22577         Require >= 2.
22578         (FLT_ROUNDS): Expect as macro, not constant.
22579         (FLT_MANT_DIG): Use macro-int-constant.
22580         (DBL_MANT_DIG): Likewise.
22581         (LDBL_MANT_DIG): Likewise.
22582         (FLT_DIG): Likewise.
22583         (DBL_DIG): Likewise.
22584         (LDBL_DIG): Likewise.
22585         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22586         (DBL_MIN_EXP): Likewise.
22587         (LDBL_MIN_EXP): Likewise.
22588         (FLT_MAX_EXP): Use macro-int-constant.
22589         (DBL_MAX_EXP): Likewise.
22590         (LDBL_MAX_EXP): Likewise.
22591         (FLT_MAX_10_EXP): Likewise.
22592         (DBL_MAX_10_EXP): Likewise.
22593         (LDBL_MAX_10_EXP): Likewise.
22594         (FLT_MAX): Use macro-constant.
22595         (DBL_MAX): Likewise.
22596         (LDBL_MAX): Likewise.
22597         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22598         (DBL_EPSILON): Likewise.
22599         (LDBL_EPSILON): Likewise.
22600         (FLT_MIN): Likewise.
22601         (DBL_MIN): Likewise.
22602         (LDBL_MIN): Likewise.
22603         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22604         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22605         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22606         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22607         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22608         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22609         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22610         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22611         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22612         [ISO11] (FLT_TRUE_MIN): Likewise.
22613         [ISO11] (LDBL_TRUE_MIN): Likewise.
22614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22615         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22616         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22617         (SCHAR_MAX): Likewise.
22618         (UCHAR_MAX): Likewise.
22619         (CHAR_MIN): Likewise.
22620         (CHAR_MAX): Likewise.
22621         (MB_LEN_MAX): Use macro-int-constant.
22622         (SHRT_MIN): Use macro-int-constant.  Specify type.
22623         (SHRT_MAX): Likewise.
22624         (USHRT_MAX): Likewise.
22625         (INT_MAX): Likewise.
22626         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22627         bound negative.
22628         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22629         bound with "U".
22630         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22631         bound with "L".
22632         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22633         bound negative.  Suffix upper bound with "L".
22634         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22635         bound with "UL".
22636         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22637         Specify type.
22638         [C99-based standards] (LLONG_MAX): Likewise.
22639         [C99-based standards] (ULLONG_MAX): Likewise.
22640         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22641         == 0.
22642         [ISO11] (max_align_t): Require type.
22643         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22645         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22646         from $CFLAGS, without defining away __attribute__ calls.
22647         (checknamespace): Use $CFLAGS_namespace.
22649         * conform/conformtest.pl (@keywords): Only include C99 keywords
22650         for standards based on C99 or C11.
22652         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22653         Disable tests.
22654         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22655         UNIX98]: Likewise.
22657         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22658         usability of symbols in #if.
22660         * conform/conformtest.pl: If macro or constant types start
22661         "promoted:", expect the symbol to be of the following type
22662         promoted by the integer promotions.
22664         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22665         in one place.  Also handle "macro-constant".
22667         * conform/conformtest.pl: Only accept expected macro values with
22668         "==".  Parse all "macro" lines in one place.
22669         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22671         * conform/conformtest.pl: Handle braced types on "constant" lines
22672         instead of handling "typed-constant".
22673         * conform/data/signal.h-data: Use "constant" instead of
22674         "typed-constant".
22676         * conform/conformtest.pl: Handle "optional-" at start of lines in
22677         one place rather than duplicating several cases.  Handle each
22678         format of "macro" line with initial "optional-".
22680         * conform/conformtest.pl: Only accept expected constant or
22681         optional-constant values with "==".  Parse all "constant" lines in
22682         one place.  Parse all "optional-constant" lines in one place.
22683         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22684         * conform/data/fmtmsg.h-data: Likewise.
22685         * conform/data/netinet/in.h-data: Likewise.
22686         * conform/data/tar.h-data: Likewise.
22687         * conform/data/limits.h-data: Use "==" form on "constant" and
22688         "optional-constant" lines.
22690         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22691         Use -std=c99 for XOPEN2K.
22692         (@knownproblems): Remove.
22693         (newtoken): Don't check %isknown.
22695         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22696         Do not expect macro.
22697         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22698         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22699         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22700         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22701         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22702         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22703         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22704         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22705         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22706         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22707         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22708         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22709         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22710         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22711         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22712         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22713         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22714         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22715         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22716         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22717         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22718         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22719         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22720         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22721         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22722         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22723         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22724         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22725         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22726         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22727         [XPG3] (acosh): Likewise.
22728         [XPG3] (asinh): Likewise.
22729         [XPG3] (atanh): Likewise.
22730         [XPG3] (cbrt): Likewise.
22731         [XPG3] (expm1): Likewise.
22732         [XPG3] (ilogb): Likewise.
22733         [XPG3] (log1p): Likewise.
22734         [XPG3] (logb): Likewise.
22735         [XPG3] (nextafter): Likewise.
22736         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22737         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22738         [XPG3] (remainder): Likewise.
22739         [XPG3] (rint): Likewise.
22740         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22741         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22742         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22743         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22744         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22745         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22746         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22747         [UNIX98 || XOPEN2K] (scalb): Expect.
22748         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22749         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22750         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22751         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22752         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22753         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22754         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22755         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22756         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22757         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22758         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22759         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22760         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22761         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22762         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22763         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22764         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22765         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22766         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22767         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22768         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22769         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22770         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22771         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22772         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22773         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22774         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22775         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22776         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22777         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22778         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22779         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22780         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22781         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22782         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22783         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22784         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22785         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22786         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22787         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22788         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22789         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22790         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22791         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22792         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22793         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22794         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22795         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22796         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22797         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22798         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22799         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22800         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22801         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22802         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22803         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22804         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22805         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22806         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22807         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22808         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22809         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22810         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22811         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22812         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22813         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22814         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22815         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22816         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22817         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22818         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22819         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22820         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22821         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22822         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22823         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22824         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22825         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22826         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22827         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22828         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22829         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22830         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22831         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22832         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22833         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22834         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22835         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22836         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22837         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22838         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22839         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22840         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22841         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22842         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22843         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22844         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22845         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22846         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22847         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22848         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22849         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22850         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22851         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22852         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22853         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22854         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22855         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22856         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22857         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22858         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22859         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22860         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22861         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22862         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22863         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22864         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22865         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22866         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22867         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22868         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22869         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22870         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22871         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22872         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22873         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22874         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22875         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22876         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22877         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22878         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22879         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22880         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22881         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22882         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22883         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22884         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22886         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22887         _XOPEN_SOURCE_EXTENDED for XPG4.
22889         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22891         * Makeconfig (localtime): Remove variable.
22892         (inst_localtime-file): Likewise.
22894 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22897         Update.
22898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22899         Update.
22900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22901         Update.
22902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22903         Update.
22904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22905         Update.
22906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22907         Update.
22908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22909         Update.
22910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22911         Update.
22912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22913         Update.
22915 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22917         [BZ #2550]
22918         [BZ #2570]
22919         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22920         comparisons to determine direction to adjust input.
22921         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22922         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22923         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22924         Likewise.
22925         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22926         Likewise.
22927         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22928         Likewise.
22929         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22930         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22931         Likewise.
22932         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22933         Likewise.
22934         * math/libm-test.inc (nexttoward_test): Add more tests.
22936 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22938         [BZ #14040]
22939         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22940         in version GLIBC_2.1, not GLIBC_2.0.
22941         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22942         Likewise.
22944 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22946         [BZ #13942]
22947         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22948         (1 - x) * (1 + x).
22949         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22950         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22951         * math/libm-test.inc (acos_test): Add more tests.
22952         (asin_test): Likewise.
22953         * sysdeps/i386/fpu/libm-test-ulps: Update.
22954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22956         [BZ #14034]
22957         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22958         of square root.
22959         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22960         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22961         * math/libm-test.inc (acos_test_tonearest): New function.
22962         (acos_test_towardzero): Likewise.
22963         (acos_test_downward): Likewise.
22964         (acos_test_upward): Likewise.
22965         (asin_test_tonearest): Likewise.
22966         (asin_test_towardzero): Likewise.
22967         (asin_test_downward): Likewise.
22968         (asin_test_upward): Likewise.
22969         (main): Call the new functions.
22970         * sysdeps/i386/fpu/libm-test-ulps: Update.
22971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22973         [BZ #13884]
22974         [BZ #13924]
22975         * math/e_exp10.c: Include <float.h>.
22976         (__ieee754_exp10): Handle underflow here rather than multiplying
22977         large negative argument by M_LN10.
22978         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22979         of __ieee754_expf.
22980         * math/e_exp10l.c: Include <float.h>.
22981         (__ieee754_exp10l): Handle underflow here rather than multiplying
22982         large negative argument by M_LN10l.
22983         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22984         spurious overflow exception on underflow.
22986 2012-04-29  Marek Polacek  <polacek@redhat.com>
22988         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22989         (__fortify_function): New macro.
22990         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22991         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22992         __extern_always_inline.
22993         * libio/bits/stdio2.h: Likewise.
22994         * libio/bits/stdio.h: Likewise.
22995         * string/string.h: Likewise.
22996         * string/bits/string3.h: Likewise.
22997         * include/stdio.h: Likewise.
22998         * stdlib/bits/stdlib.h: Likewise.
22999         * stdlib/stdlib.h: Likewise.
23000         * rt/bits/mqueue2.h: Likewise.
23001         * rt/mqueue.h: Likewise.
23002         * posix/bits/unistd.h: Likewise.
23003         * posix/unistd.h: Likewise.
23004         * io/bits/poll2.h: Likewise.
23005         * io/bits/fcntl2.h: Likewise.
23006         * io/fcntl.h: Likewise.
23007         * io/sys/poll.h: Likewise.
23008         * misc/bits/syslog.h: Likewise.
23009         * misc/bits/syslog-ldbl.h: Likewise.
23010         * misc/sys/syslog.h: Likewise.
23011         * socket/bits/socket2.h: Likewise.
23012         * socket/sys/socket.h: Likewise.
23013         * debug/tst-chk1.c: Likewise.
23014         * wcsmbs/bits/wchar2.h: Likewise.
23015         * wcsmbs/bits/wchar-ldbl.h: Likewise.
23016         * wcsmbs/wchar.h: Likewise.
23018 2012-04-29  Andreas Jaeger  <aj@suse.de>
23020         * Makerules (tests): Remove enable-check-abi protection.
23021         (check-abi-warn): Remove.
23022         (check-abi-%): Remove check-abi-warn usage.
23024         * configure.in: Remove check-abi configure option.
23025         * configure: Regenerated.
23026         * config.make.in (enable-check-abi): Remove.
23028 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23030         [BZ #14033]
23031         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23032         double functions to double *_finite functions.
23034         [BZ #13941]
23035         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23036         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23037         LDBL_MIN_EXP.
23038         * stdio-common/Makefile (tests): Add tst-sprintf3.
23039         * stdio-common/tst-sprintf3.c: New file.
23041         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23042         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23044 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23046         * conform/conformtest.pl: Remove duplicate typed-constant
23047         handling.
23049 2012-04-28  David S. Miller  <davem@davemloft.net>
23051         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23052         (check-abi-%): Remove AWK script prerequisite and explicit
23053         abilist directory.
23054         (check-abi): Rewrite to just diff the symlist with the abilist.
23055         (config-tls, config-abi-config): Delete, no longer used.
23056         (update-abi-%): Remove AWK script and explicit abilist directory.
23057         (update-abi): Rewrite to simply compare and conditionally copy the
23058         symlist and the sysdep abilist file.  Remove update-abi-config
23059         checks.
23060         * abilist/ld.abilist: Remove.
23061         * abilist/libBrokenLocale.abilist: Remove.
23062         * abilist/libanl.abilist: Remove.
23063         * abilist/libcrypt.abilist: Remove.
23064         * abilist/libdl.abilist: Remove.
23065         * abilist/librt.abilist: Remove.
23066         * abilist/libthread_db.abilist: Remove.
23067         * abilist/libutil.abilist: Remove.
23068         * scripts/extract-abilist.awk: Remove.
23069         * scripts/merge-abilist.awk: Remove.
23070         * sysdeps/generic/libcidn.abilist: New file.
23071         * sysdeps/generic/libnss_compat.abilist: New file.
23072         * sysdeps/generic/libnss_db.abilist: New file.
23073         * sysdeps/generic/libnss_dns.abilist: New file.
23074         * sysdeps/generic/libnss_files.abilist: New file.
23075         * sysdeps/generic/libnss_hesiod.abilist: New file.
23076         * sysdeps/generic/libnss_nis.abilist: New file.
23077         * sysdeps/generic/libnss_nisplus.abilist: New file.
23078         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23079         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23080         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23081         file.
23082         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23083         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23084         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23085         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23086         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23087         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23088         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23089         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23090         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23091         file.
23092         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23093         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23094         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23095         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23096         file.
23097         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23098         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23099         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23100         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23101         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23102         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23103         file.
23104         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23105         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23106         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23107         file.
23108         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23109         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23110         New file.
23111         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23112         New file.
23113         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23114         New file.
23115         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23116         New file.
23117         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23118         New file.
23119         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23120         New file.
23121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23122         New file.
23123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23124         New file.
23125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23126         New file.
23127         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23128         New file.
23129         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23130         New file.
23131         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23132         New file.
23133         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23134         New file.
23135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23136         file.
23137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23138         New file.
23139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23140         New file.
23141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23142         file.
23143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23144         New file.
23145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23146         New file.
23147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23148         file.
23149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23150         New file.
23151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23152         New file.
23153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23154         New file.
23155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23156         New file.
23157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23158         New file.
23159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23160         New file.
23161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23163         file.
23164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23165         New file.
23166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23167         file.
23168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23169         file.
23170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23171         file.
23172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23173         file.
23174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23175         file.
23176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23177         New file.
23178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23179         file.
23180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23181         file.
23182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23183         New file.
23184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23185         file.
23186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23188         file.
23189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23190         New file.
23191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23192         file.
23193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23194         file.
23195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23196         file.
23197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23198         file.
23199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23200         file.
23201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23202         New file.
23203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23204         file.
23205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23206         file.
23207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23208         New file.
23209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23210         file.
23211         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23212         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23213         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23214         file.
23215         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23216         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23217         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23218         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23219         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23220         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23221         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23222         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23223         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23224         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23227         file.
23228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23229         New file.
23230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23231         file.
23232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23233         file.
23234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23235         file.
23236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23237         file.
23238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23239         file.
23240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23241         New file.
23242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23243         New file.
23244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23245         file.
23246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23247         New file.
23248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23249         file.
23250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23252         file.
23253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23254         New file.
23255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23256         file.
23257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23258         file.
23259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23260         file.
23261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23262         file.
23263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23264         file.
23265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23266         New file.
23267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23268         New file.
23269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23270         file.
23271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23272         New file.
23273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23274         file.
23276 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23278         * conform/conformtest.pl: Fix typo in handling typed-constant from
23279         allow-header.
23281 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23283         * README: Cut down references to pre-2.6 Linux kernels and
23284         Linuxthreads.  Update lists of configurations in libc and ports
23285         and sort alphabetically.  Say "or newer" with Linux kernel version
23286         requirements.
23288         * config.h.in [IS_IN_build]: Allow compiling without optimization.
23290 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23292         [BZ #887]
23293         * math/libm-test.inc (logb_test_downward): New test to expose
23294         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23295         rounding mode.
23297 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23299         [BZ #14027]
23300         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23301         to be done.
23302         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23303         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23305 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
23307         * sysdeps/unix/i386/brk.S: Remove file.
23308         * sysdeps/unix/i386/dl-brk.S: Likewise.
23309         * sysdeps/unix/i386/pipe.S: Likewise.
23310         * sysdeps/unix/i386/sigreturn.S: Likewise.
23311         * sysdeps/unix/i386/syscall.S: Likewise.
23312         * sysdeps/unix/i386/vfork.S: Likewise.
23313         * sysdeps/unix/i386/wait.S: Likewise.
23315         * sysdeps/unix/common/tcsendbrk.c: Move to ...
23316         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23318         * configure.in (arm*-none*): Do not allow without
23319         --enable-hacker-mode.
23320         (netbsd*): Remove case setting base_os.
23321         (386bsd*): Likewise.
23322         (freebsd*): Likewise.
23323         (bsdi*): Likewise.
23324         (osf*): Likewise.
23325         (sunos*): Likewise.
23326         (ultrix*): Likewise.
23327         (newsos*): Likewise.
23328         (dynix*): Likewise.
23329         (*bsd*): Likewise.
23330         (sysv*): Likewise.
23331         (isc*): Likewise.
23332         (esix*): Likewise.
23333         (sco*): Likewise.
23334         (minix*): Likewise.
23335         (irix4*): Likewise.
23336         (irix6*): Likewise.
23337         (solaris[2-9]*): Likewise.
23338         (none): Likewise.
23339         * configure: Regenerated.
23341 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23343         [BZ #11521]
23344         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23345         overflow or cancellation in calculating denominator.
23346         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23347         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23348         down expression to avoid unexpected rounding in newer GCCs.
23349         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23351 2012-04-26  David S. Miller  <davem@davemloft.net>
23353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23354         long-double compat symbols.
23355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23369 2012-04-25  David S. Miller  <davem@davemloft.net>
23371         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23372         HWCAP_* values only after the memory barriers have been defined.
23373         (atomic_full_barrier): Define.
23374         (atomic_read_barrier): Define.
23375         (atomic_write_barrier): Define.
23377 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23379         * shlib-versions: Add libgcc_s version information.
23380         * sysdeps/generic/libgcc_s.h: Remove.
23381         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23382         libgcc_s.h.
23383         * sysdeps/gnu/unwind-resume.c: Likewise.
23384         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23386 2012-04-25  David S. Miller  <davem@davemloft.net>
23388         * sysdeps/unix/sparc/brk.S: Delete.
23389         * sysdeps/unix/sparc/dl-brk.S: Delete.
23390         * sysdeps/unix/sparc/pipe.S: Delete.
23391         * sysdeps/unix/sparc/sysdep.S: Delete.
23392         * sysdeps/unix/sparc/sysdep.h: Delete.
23393         * sysdeps/unix/sparc/vfork.S: Delete.
23394         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23395         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23396         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23397         ret_ERRVAL, r0, r1, MOVE): Define.
23398         (JUMPTARGET): Remove.
23399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23400         sysdeps/unix/sparc/sysdep.h
23401         (ENTRY, END): Remove.
23402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23404 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23406         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23407         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23408         -DIS_IN_build.
23410         * timezone/README: Update upstream location and email address for
23411         tzcode and tzdata.
23412         * timezone/zdump.c: Update from tzcode 2012b.
23413         * timezone/zic.c: Likewise.
23415         * configure.in (libc_cv_as_needed): Remove test.
23416         * configure: Regenerated.
23417         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23418         conditional definition.
23419         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23420         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23421         * config.make.in (have-as-needed): Remove variable.
23423 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23424             Paul Pluzhnikov  <ppluzhnikov@google.com>
23426         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23427         strings correctly.
23429 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23431         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23432         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23433         * sysdeps/sh/strlen.S: Likewise.
23435 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23437         * sysdeps/unix/fork.S: Remove file.
23438         * sysdeps/unix/i386/fork.S: Likewise.
23439         * sysdeps/unix/sparc/fork.S: Likewise.
23441         * sysdeps/unix/system.c: Remove file.
23442         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23444         * sysdeps/unix/getegid.S: Remove file.
23445         * sysdeps/unix/geteuid.S: Likewise.
23447 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23449         * scripts/check-localplt.awk: New file.
23450         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23451         of diff.
23452         * scripts/data/localplt-generic.data: Add a comment.
23454         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23455         NODE when __dir_mkfile failed.
23456         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23457         Reported by Ludovic Courtès <ludo@gnu.org>.
23459 2012-04-24  Andreas Jaeger  <aj@suse.de>
23461         * Makerules (common-clean): Also remove gen-as-const-headers
23462         files.
23464 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23466         * Makerules (native-compile): Do not change working directory for
23467         build.  Use $(OUTPUT_OPTION) in command.
23468         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23470 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23472         [BZ #13886]
23473         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23474         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23475         * math/libm-test.inc (floor_test): Add more tests.
23476         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23478 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23480         * sysdeps/unix/getdents.c: Remove file.
23481         * sysdeps/unix/sysv/getdents.c: Likewise.
23482         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23484         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23485         sysdeps/unix/mman/syscalls.list.
23486         (mmap): Likewise.
23487         (mprotect): Likewise.
23488         (msync): Likewise.
23489         (munmap): Likewise.
23490         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23491         * sysdeps/unix/mman/syscalls.list: Remove.
23492         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23494         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23495         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23496         * configure: Regenerated.
23497         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23498         $(libgcc_s_suffix).
23499         * config.make.in (libgcc_s_suffix): Remove variable.
23501 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23503         * sysdeps/unix/sysv/gethostname.c: Move to ...
23504         * sysdeps/posix/gethostname.c: ... here.
23506         * sysdeps/unix/execve.S: Remove file.
23508         * sysdeps/unix/_exit.S: Remove file.
23510 2012-04-23  Andreas Jaeger  <aj@suse.de>
23512         [BZ #13739]
23513         * manual/Makefile: Remove make dist support, there's no
23514         need for a stand-alone documentation tar ball.
23515         (TEXI2DVI): Define always, it's not in Makeconfig.
23516         (dist): Removed.
23517         (tar-it): Removed.
23518         (edition): Removed.
23519         (glibc-doc-$(edition).tar): Removed
23520         (%.Z): Removed.
23521         (%.gz): Removed.
23522         (%.uu): Removed.
23523         (ETAGS): Remove, it's in Makeconfig.
23524         (move-if-change): Remove, it's in Makeconfig.
23526 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23528         [BZ #13970]
23529         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23530         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23531         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23532         (strtod_l, strtof_l, strtold_l): Remove __wur.
23533         It is not necessarily an error to ignore strtol's return value.
23534         One can reliably look at the stored endptr to decide whether
23535         the number had valid syntax.
23537 2012-04-21  Andreas Jaeger  <aj@suse.de>
23539         [BZ #13739]
23540         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23542 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23544         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23545         * sysdeps/unix/sysv/Versions: Remove file.
23547 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23549         [BZ #13927]
23550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23552 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23554         [BZ #7064]
23555         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23556         version from __vm86.
23558 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23560         * sysdeps/unix/common/lxstat.c: Remove file.
23561         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23563         * sysdeps/unix/sysv/Makefile: Remove file.
23565         * sysdeps/unix/sysv/direct.h: Remove file.
23567         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23568         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23569         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23570         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23571         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23572         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23573         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23575         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23577         * sysdeps/unix/xmknod.c: Remove file.
23578         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23580         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23582         * sysdeps/unix/sysv/i386/time.S: Remove file.
23584         * sysdeps/unix/fxstat.c: Remove file.
23585         * sysdeps/unix/xstat.c: Likewise.
23586         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23588         * sysdeps/unix/sysv/sigaction.c: Remove file.
23590         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23591         (sysdep_headers): Remove variable.
23592         [termio.h not in sysdep_headers] (generated): Likewise.
23593         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23594         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23595         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23596         * sysdeps/unix/sysv/tcflow.c: Likewise.
23597         * sysdeps/unix/sysv/tcflush.c: Likewise.
23598         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23599         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23600         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23601         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23602         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23604         * sysdeps/unix/siglist.c: Remove file.
23606         * sysdeps/unix/getppid.S: Remove file.
23608         * sysdeps/unix/mkdir.c: Remove file.
23609         * sysdeps/unix/rmdir.c: Likewise.
23611 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23613         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23614         ERR_MAX value.
23615         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23616         errlist-compat value.
23618 2012-04-18  David S. Miller  <davem@davemloft.net>
23620         * sysdeps/generic/memcopy.h (reg_char): Delete.
23621         * debug/strcat_chk.c: Use char, not reg_char.
23622         * debug/strcpy_chk.c: Likewise.
23623         * debug/strncat_chk.c: Likewise.
23624         * debug/strncpy_chk.c: Likewise.
23625         * string/memchr.c: Likewise.
23626         * string/memrchr.c: Likewise.
23627         * string/rawmemchr.c: Likewise.
23628         * string/strcat.c: Likewise.
23629         * string/strchr.c: Likewise.
23630         * string/strchrnul.c: Likewise.
23631         * string/strcmp.c: Likewise.
23632         * string/strcpy.c: Likewise.
23633         * string/strncat.c: Likewise.
23634         * string/strncmp.c: Likewise.
23635         * string/strncpy.c: Likewise.
23637 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23639         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23640         __builtin_memcopy is called when src and dest ranges are known to not
23641         overlap.
23643 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23645         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23646         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23647         fwd_align_merge macro call.
23648         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23649         bwd_align_merge macro call.
23650         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23652 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23654         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23655         bwd_align_merge macros.
23656         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23657         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23658         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23660 2012-04-18  David S. Miller  <davem@davemloft.net>
23662         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23664 2012-04-18  Andreas Jaeger  <aj@suse.de>
23666         [BZ# 6794]
23667         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23668         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23669         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23671         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23672         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23673         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23675         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23676         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23677         Adjust for changed ldbl-128 files.
23679         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23680         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23681         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23683 2012-04-17  David S. Miller  <davem@davemloft.net>
23685         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23687 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23689         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23690         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23691         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23692         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23693         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23694         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23696 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23698         [BZ #6794]
23699         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23700         * math/libm-test.inc: Add ilogb errno and exception tests.
23701         * math/w_ilogb.c: New file: ilogb wrapper.
23702         * math/w_ilogbf.c: New file: ilogbf wrapper.
23703         * math/w_ilogbl.c: New file: ilogbl wrapper.
23704         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23705         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23706         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23707         exception being thrown with 0.0 as argument.
23708         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23709         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23710         exception being thrown with 0.0 as argument.
23711         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23712         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23713         exception being thrown with 0.0 as argument.
23714         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23715         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23716         exception being thrown with 0.0 as argument.
23717         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23718         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23719         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23720         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23721         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23722         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23723         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23724         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23725         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23727 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23729         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23730         with altivec.
23732 2012-04-16  Marek Polacek  <polacek@redhat.com>
23734         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23736 2012-04-16  Marek Polacek  <polacek@redhat.com>
23738         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23739         operands of fdivp instruction.
23741 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23743         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23744         * elf/tst-auditmod3b.c: Likewise.
23745         * elf/tst-auditmod4b.c: Likewise.
23746         * elf/tst-auditmod5b.c: Likewise.
23747         * elf/tst-auditmod6b.c: Likewise.
23748         * elf/tst-auditmod6c.c: Likewise.
23749         * elf/tst-auditmod7b.c: Likewise.
23750         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23751         * sysdeps/x86_64/preconfigure.in: Likewise.
23752         * sysdeps/x86_64/preconfigure: Regenerated.
23754 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23756         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23757         __ILP32__.
23759 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23761         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23762         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23764 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23766         [BZ #13973]
23767         * locale/iso-639.def: Fix gl language name. Spotted by
23768         Yaron Shahrabani.
23770 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23772         [BZ #2074]
23773         * libio/libio.h (__io_write_fn): Update comment.
23775 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23777         [BZ #2074]
23778         * stdio.texi (Hook Functions): The user provided writer function
23779         is not allowed to return -1.
23781 2012-04-11  David S. Miller  <davem@davemloft.net>
23783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23785 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23787         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23788         Add a leading slash to rtkaio.
23790 2012-04-11  Jim Meyering  <meyering@redhat.com>
23792         [BZ #11959]
23793         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23794         It is not necessarily an error to ignore fwrite's return
23795         value.  One can reliably use ferror to test for errors after
23796         the fact.
23798 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23800         * bits/types.h (__snseconds_t): New type.
23801         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23803         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23804         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23805         (__SNSECONDS_T_TYPE): Likewise.
23806         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23807         (__SNSECONDS_T_TYPE): Likewise.
23808         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23809         (__SNSECONDS_T_TYPE): Likewise.
23811 2012-04-10  Andreas Jaeger  <aj@suse.de>
23813         [BZ #2636]
23814         * manual/time.texi (Processor Time): Return type of times is
23815         elapsed real time since an arbitrary point in the past.
23816         (CPU Time): Move CLK_TCK from here...
23817         (Processor Time): ...to here.  Correct description.
23818         * manual/conf.texi (Constants for Sysconf): Correct description of
23819         _SC_CLK_TCK.
23821 2012-04-10  David S. Miller  <davem@davemloft.net>
23823         [BZ #13967]
23824         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23825         where the is a gap between DT_REL(A) and DT_JMPREL.
23827 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23829         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23830         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23831         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23833 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23835         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23836         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23837         (dl_main): Handle --inhibit-cache.
23838         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23839         _dl_inhibit_cache.
23840         * elf/dl-load.c (_dl_map_object): Use it.
23841         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23843 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23845         [BZ #13872]
23846         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23847         (__ieee754_powl): Saturate large exponents rather than testing for
23848         overflow of y*log2(x).
23849         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23850         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23851         exceptions.
23853         [BZ #11521]
23854         * math/s_ctan.c: Include <float.h>.
23855         (__ctan): Avoid internal overflow or cancellation in calculating
23856         denominator.
23857         * math/s_ctanf.c: Likewise.
23858         * math/s_ctanl.c: Likewise.
23859         * math/s_ctanh.c: Likewise.
23860         * math/s_ctanhf.c: Likewise.
23861         * math/s_ctanhl.c: Likewise.
23862         * math/libm-test.inc (ctan_test): Add more tests.
23863         (ctanh_test): Likewise.
23864         * sysdeps/i386/fpu/libm-test-ulps: Update.
23865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23867 2012-04-09  Andreas Jaeger  <aj@suse.de>
23869         [BZ #6894]
23870         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23871         is an optional BSD extension.
23873         [BZ #10254]
23874         * manual/stdio.texi (Opening Streams): Document additional fopen
23875         parameters.
23877 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23879         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23880         %eax without telling the compiler.
23882 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23884         [BZ # 13963]
23885         * manual/install.texi: Use sourceware.org.
23887 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23889         [BZ #13873]
23890         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23891         (__ieee754_pow): Generate overflow and underflow using huge*huge
23892         and tiny*tiny rather than just returning constant infinity or zero
23893         for large exponents.
23894         * math/libm-test.inc (pow_test): Require overflow exceptions for
23895         applicable cases of large exponents.
23897         [BZ #706]
23898         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23899         (__ieee754_pow): Use iterative multiplication algorithm only for
23900         integer exponents with absolute value below 1024.  Check for odd
23901         integer exponents when using algorithm for real exponents.
23902         * math/libm-test.inc (pow_test): Add more tests.
23903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23905 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23907         [BZ #13705]
23908         * math/libm-test.inc (exp_test): Do not allow overflow exception
23909         on underflow test.
23911 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23913         [BZ #13705]
23914         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23915         instead of __kernel_standard_f.
23917 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23919         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23920         * sysdeps/x86_64/memset_chk.S: Likewise.
23922 2012-04-08  Andreas Jaeger  <aj@suse.de>
23924         [BZ #10153]
23925         * manual/startup.texi (Environment Access): Describe return value
23926         for putenv and setenv.
23928         [BZ #6895]
23929         * manual/filesys.texi (Directory Entries): Add description for
23930         DT_LNK.
23932         [BZ #6890]
23933         * manual/filesys.texi (Directory Entries): Clarify that it's file
23934         system not operating system in the description of DT_UNKNOWN.
23936         [BZ #6578]
23937         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23939 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23941         [BZ #6649]
23942         * manual/llio.texi (Opening and Closing Files): Add cross
23943         reference to explain mode argument.
23945 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23947         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23948         * sysdeps/x86_64/memset_chk.S: Likewise.
23950 2012-04-07  David S. Miller  <davem@davemloft.net>
23952         * elf/elf.h (R_SPARC_WDISP10): Define.
23953         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23954         R_SPARC_SIZE32.
23955         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23956         R_SPARC_SIZE64 and R_SPARC_H34.
23958 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23960         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23961         conditions and remove no longer applicable assertion.
23963 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23965         * bits/byteswap.h: Include <features.h>.
23966         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23967         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23969 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23971         * bits/byteswap.h (__bswap_16): Removed.
23972         Include <bits/byteswap-16.h> to get __bswap_16.
23973         * sysdeps/i386/bits/byteswap.h: Likewise.
23974         * sysdeps/s390/bits/byteswap.h: Likewise.
23975         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23976         * bits/byteswap-16.h: New file.
23977         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23978         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23979         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23980         * string/Makefile (headers): Add bits/byteswap-16.h.
23982 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23984         [BZ #13895]
23985         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23986         extra indirection.
23987         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23988         * nss/tst-nss-static.c: New.
23990 2012-04-06  Robert Millan  <rmh@gnu.org>
23992         [BZ #6486]
23993         * manual/llio.texi (File Position Primitive): lseek
23994         refers to WHENCE when it really means OFFSET.
23996 2012-04-06  Andreas Jaeger  <aj@suse.de>
23998         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23999         strncmp declarations.
24001         * abilist/libc.abilist: Add __poll and __ppoll.
24003 2012-04-05  David S. Miller  <davem@davemloft.net>
24005         * scripts/check-local-headers.sh: Accept a host triplet in the
24006         path matched by the exclude regexp.
24008         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24009         definition.
24010         * sysdeps/powerpc/powerpc32/dl-machine.h
24011         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24012         * sysdeps/s390/s390-32/dl-machine.h
24013         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24014         * sysdeps/sparc/sparc32/dl-machine.h
24015         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24016         * sysdeps/sparc/sparc64/dl-machine.h
24017         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24019         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24020         lazy binding.
24021         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24022         undefined symbol errors.
24024         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24025         DT_NEEDED entries.
24027 2012-04-05  Michael Matz  <matz@suse.de>
24029         [BZ #13592]
24030         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24032 2012-04-05  Andreas Jaeger  <aj@suse.de>
24034         [BZ #13908]
24035         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24036         comment.
24038 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24040         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24041         which ROUND is no valid rounding mode.
24043 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24045         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24046         read again.
24047         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24049 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24051         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24052         an exception using FPU order intentionally.
24054 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24056         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24057         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24058         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24059         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24061 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24063         [BZ #12340]
24064         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24065         EINVAL when BUFLEN is too smal.
24067 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24069         [BZ #13553]
24070         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24071         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24073 2012-04-03  Andreas Jaeger  <aj@suse.de>
24075         [BZ #13938]
24076         * manual/setjmp.texi (System V contexts): Fix sentence.
24078         [BZ #13926]
24079         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24080         New macro for this case.
24081         [!__GNUC__] (__bswap_64): New inline function for this case.
24082         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24083         * bits/byteswap.h: Likewise.
24084         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24085         ull, guard with __GLIBC_HAVE_LONG_LONG.
24087         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24088         __GLIBC_HAVE_LONG_LONG.
24090         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24091         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24093 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24095         [BZ #13691]
24096         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24097         inptr and inend, rather than using last_ch.
24099 2012-04-02  David S. Miller  <davem@davemloft.net>
24101         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24102         * stdio-common/printf-parse.h (read_int): Change return type to
24103         'int', return -1 on INT_MAX overflow.
24104         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24105         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24106         overflows INT_MAX.  Check for overflow of in-format-string precision
24107         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24108         SIZE_MAX not INT_MAX for integer overflow test.
24109         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24110         skip the construct in the format string but do not record anything.
24111         * stdio-common/bug22.c: Adjust to test both width/prevision
24112         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24113         explicitly for proper errno values.
24115 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24117         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24118         CHAR_MAX.
24119         * string/test-strcmp.c [! WIDE]: Likewise.
24120         * time/tst-mktime2.c: Likewise for INT_MAX.
24121         * string/test-string.h: #include <sys/param.h> for MIN.
24123         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24124         * sysdeps/i386/init-first.c (init): Likewise.
24125         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24126         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24127         * sysdeps/sh/init-first.c (init): Likewise.
24129 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24131         * po/ru.po: Update from translation team.
24132         * po/vi.po: Likewise.
24134 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24136         * resolv/nss_dns/dns-host.c: Merge copyright years.
24138 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24140         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24141         Optimize memcpy with prefetch if
24142         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24143         src, dst pointers have unequal 16 byte alignments.
24145 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24147         [BZ #13928]
24148         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24149         from a CNAME entry and return the minimum ttl for the query.
24150         (gaih_getanswer_slice): Likewise.
24152 2012-03-30  Jeff Law  <law@redhat.com>
24154         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24155         due to long keys.
24156         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24157         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24159         * resolv/nss_dns/dns-host.c: Update copyright year.
24161 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24163         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24164         requests to save a system call.  Fix check that all bytes are sent.
24166         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24167         comments for sendmmsg.
24169 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24171         [BZ #13691]
24172         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24173         with only 1 character between 0x0041 and 0x01b0.
24174         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24175         * wcsmbs/tst-mbsnrtowcs.c: New file.
24177 2012-03-29  David S. Miller  <davem@davemloft.net>
24179         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24180         small copies by hand.
24182 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24184         [BZ #13761]
24185         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24186         _nss_compat_initgroups_dyn): Fall back to malloc/free
24187         for large group memberships.
24189 2012-03-28  David S. Miller  <davem@davemloft.net>
24191         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24192         that branches into memcpy.
24193         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24194         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24195         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24196         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24197         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24198         bits.
24199         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24200         implementation too.
24201         * sysdeps/sparc/mempcpy.S: New file.
24203         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24204         the IFUNC routine in the libc case.
24205         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24207         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24208         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24209         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24210         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24211         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24212         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24213         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24214         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24216         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24217         loop to 256 bytes instead of 64 bytes and fix test signedness.
24219         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24220         * sysdeps/sparc/sparc32/Makefile: rather than here...
24221         * sysdeps/sparc/sparc64/Makefile: and here.
24223 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24225         * malloc/mallocbug.c: Avoid warnings about unused variables.
24227 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24229         [BZ #13760]
24230         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24231         in the right place. Discard and retry query if response is
24232         larger than input buffer size.
24234 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24236         [BZ #369]
24237         [BZ #2678]
24238         [BZ #3866]
24239         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24240         x for large integer exponent.
24241         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24242         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
24243         sign of result as needed afterwards.
24244         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24245         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24246         result for underflowing pow the same as for overflow.
24247         (__kernel_standard_l): Handle powl overflow and underflow here
24248         rather than calling __kernel_standard.
24249         * math/libm-test.inc (pow_test): Add more tests.
24251         [BZ #3868]
24252         [BZ #13879]
24253         [BZ #13910]
24254         [BZ #13911]
24255         [BZ #13912]
24256         [BZ #13913]
24257         [BZ #13915]
24258         [BZ #13916]
24259         [BZ #13917]
24260         [BZ #13918]
24261         [BZ #13919]
24262         [BZ #13920]
24263         [BZ #13921]
24264         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24265         * sysdeps/ieee754/k_standard.c: Include <float.h>.
24266         (__kernel_standard_l): New function.
24267         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24268         __kernel_standard.
24269         * math/w_acosl.c (__acosl): Likewise.
24270         * math/w_asinl.c (__asinl): Likewise.
24271         * math/w_atan2l.c (__atan2l): Likewise.
24272         * math/w_atanhl.c (__atanhl): Likewise.
24273         * math/w_coshl.c (__coshl): Likewise.
24274         * math/w_exp10l.c (__exp10l): Likewise.
24275         * math/w_exp2l.c (__exp2l): Likewise.
24276         * math/w_fmodl.c (__fmodl): Likewise.
24277         * math/w_hypotl.c (__hypotl): Likewise.
24278         * math/w_j0l.c (__j0l, __y0l): Likewise.
24279         * math/w_j1l.c (__j1l, __y1l): Likewise.
24280         * math/w_jnl.c (__jnl, __ynl): Likewise.
24281         * math/w_lgammal.c (__lgammal): Likewise.
24282         * math/w_log10l.c (__log10l): Likewise.
24283         * math/w_log2l.c (__log2l): Likewise.
24284         * math/w_logl.c (__logl): Likewise.
24285         * math/w_powl.c (__powl): Likewise.
24286         * math/w_remainderl.c (__remainderl): Likewise.
24287         * math/w_scalbl.c (sysv_scalbl): Likewise.
24288         * math/w_sinhl.c (__sinhl): Likewise.
24289         * math/w_sqrtl.c (__sqrtl): Likewise.
24290         * math/w_tgammal.c (__tgammal): Likewise.
24291         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24292         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24293         * math/libm-test.inc (acos_test): Add more tests.
24294         (acosh_test): Likewise.
24295         (asin_test): Likewise.
24296         (atanh_test): Likewise.
24297         (exp_test): Likewise.
24298         (exp10_test): Likewise.
24299         (exp2_test): Likewise.
24300         (expm1_test): Likewise.
24301         (lgamma_test): Likewise.
24302         (log_test): Likewise.
24303         (log10_test): Likewise.
24304         (log1p_test): Likewise.
24305         (log2_test): Likewise.
24306         (pow_test): Do not allow some spurious overflow exceptions.
24307         (sqrt_test): Add more tests.
24308         (tgamma_test): Likewise.
24309         (y0_test): Likewise.
24310         (y1_test): Likewise.
24311         (yn_test): Likewise.
24313 2012-03-27  Anton Blanchard  <anton@samba.org>
24315         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24316         MAP_HUGETLB.
24317         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24318         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24319         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24321 2012-03-27  David S. Miller  <davem@davemloft.net>
24323         * conform/Makefile: Run run-conformtest.sh using $(BASH).
24325         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24326         have-as-vis3 check.
24328 2012-03-27  Andreas Jaeger  <aj@suse.de>
24330         * sysdeps/x86_64/elf/configure.in: Moved to ...
24331         * sysdeps/x86_64/configure.in: ... here.
24332         * sysdeps/x86_64/elf/start.S: Moved to ...
24333         * sysdeps/x86_64/start.S: ... here.
24334         * sysdeps/x86_64/elf/configure: Delete.
24336         * sysdeps/x86_64/configure.in: Merge contents from
24337         sysdeps/i386/configure.in (without i686 check).
24339         * sysdeps/i386/elf/Versions: Merge into ...
24340         * sysdeps/i386/Versions: ... this.
24341         * sysdeps/i386/elf/Versions: Delete file.
24342         * sysdeps/i386/elf/start.S: Moved to ...
24343         * sysdeps/i386/start.S: ...here.
24344         * sysdeps/i386/elf/configure.in: Merge into...
24345         * sysdeps/i386/configure.in: ...here.
24346         * sysdeps/i386/elf/configure.in: Delete file.
24347         * sysdeps/i386/elf/configure: Delete file.
24349         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24350         * debug/backtracesyms.c: ... here.
24351         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24352         * debug/backtracesymsfd.c: ... here.
24353         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24354         * sysdeps/generic/ifunc-sel.h: ... here.
24356         * sysdeps/unix/i386/start.c: Delete file.
24357         * sysdeps/unix/sparc/start.c: Delete file.
24358         * sysdeps/unix/start.c: Delete file.
24360         * sysdeps/sh/elf/configure.in: Moved to ...
24361         * sysdeps/sh/configure.in: ... here.
24362         * sysdeps/sh/elf/start.S: Moved to ...
24363         * sysdeps/sh/start.S: ... here.
24364         * sysdeps/sh/elf/configure: Delete file.
24366         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24367         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24368         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24369         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24370         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24371         * sysdeps/powerpc/powerpc64/start.S: here.
24372         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24373         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24374         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24375         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24376         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24378         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24379         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24380         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24381         * sysdeps/powerpc/powerpc32/start.S: ... here.
24382         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24383         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24384         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24386         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24387         * sysdeps/powerpc/ifunc-sel.h: ... here.
24388         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24389         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24391         * sysdeps/sparc/elf/configure.in: Moved to ...
24392         * sysdeps/sparc/configure.in: ... here.
24393         * sysdeps/sparc/elf/configure: Delete file.
24394         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24395         * sysdeps/sparc/sparc32/start.S: ... here.
24396         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24397         * sysdeps/sparc/sparc64/start.S: ... here.
24398         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24399         * sysdeps/sparc/sparc32/Makefile: ... this.
24400         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24401         * sysdeps/sparc/sparc64/Makefile: ... this.
24403         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24404         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24405         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24406         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24407         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24408         * sysdeps/s390/s390-32/setjmp.S: ... here.
24409         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24410         * sysdeps/s390/s390-32/configure.in: ... here.
24411         * sysdeps/s390/s390-32/elf/configure: Delete file.
24412         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24413         * sysdeps/s390/s390-32/start.S: ... here.
24415         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24416         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24417         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24418         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24419         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24420         * sysdeps/s390/s390-64/setjmp.S: ... here.
24421         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24422         * sysdeps/s390/s390-64/configure.in: ... here
24423         * sysdeps/s390/s390-64/elf/configure: Delete file.
24424         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24425         * sysdeps/s390/s390-64/start.S: ... here.
24426         * sysdeps/s390/s390-64/elf/configure: Delete.
24428         * configure.in: Remove support for elf directories in sysdeps.
24430         * configure: Regenerated.
24431         * sysdeps/i386/configure: Regenerated.
24432         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24433         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24434         * sysdeps/s390/s390-32/configure: Regenerated.
24435         * sysdeps/s390/s390-64/configure: Regenerated.
24436         * sysdeps/sh/configure: Regenerated.
24437         * sysdeps/sparc/configure: Regenerated.
24438         * sysdeps/x86_64/configure: Regenerated.
24440 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24445         denormal result into account.
24447 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24449         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24450         Reported by Allan McRae <allan@archlinux.org>.
24452 2012-03-23  Jeff Law  <law@redhat.com>
24454         * nss/getnssent.c (__nss_getent): Fix typo.
24456 2012-03-23  David S. Miller  <davem@davemloft.net>
24458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24460 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24462         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24463         to pad to uint64_t for each field.
24464         (dl_tls_index): Replace unsigned long with uint64_t.
24466 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24467         Paul Pluzhnikov  <ppluzhnikov@google.com>
24469         [BZ #6528]
24470         * grp/Makefile (otherlibs): Don't set it.
24471         * inet/Makefile (otherlibs): Likewise.
24472         * login/Makefile (otherlibs): Likewise.
24473         * nscd/Makefile (otherlibs): Likewise.
24474         * posix/Makefile (otherlibs): Likewise.
24475         * pwd/Makefile (otherlibs): Likewise.
24476         * rt/Makefile (otherlibs): Likewise.
24477         * sunrpc/Makefile (otherlibs): Likewise.
24478         * nss/Makefile (otherlibs): Likewise.
24479         Add libnss_files to routines and static-only-routines.
24480         ($(objpfx)getent): Remove rule.
24481         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24482         static-only-routines.
24484 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24486         [BZ #13892]
24487         * math/s_cexp.c: Include <float.h>.
24488         (__cexp): Handle exp result overflowing not necessarily
24489         overflowing both real and imaginary parts of result.
24490         * math/s_cexpf.c: Likewise.
24491         * math/s_cexpl.c: Likewise.
24492         * math/libm-test.inc (cexp_test): Add more tests.
24493         * sysdeps/i386/fpu/libm-test-ulps: Update.
24494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24496 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24498         * include/link.h (ELFW): New macro.
24499         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24500         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24502 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24504         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24505         with uint64_t.
24507 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24509         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24510         declaration.
24511         (struct La_x32_retval): Likewise.
24513 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24515         * sysdeps/x86_64/preconfigure.in: New file.
24516         * sysdeps/x86_64/preconfigure: New generated file.
24518 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24520         [BZ #13824]
24521         * math/e_exp2l.c: Include <float.h>.
24522         (__ieee754_exp2l): Handle overflow and underflow cases
24523         separately.  Only pass fractional part of argument to
24524         __ieee754_expl.
24525         * math/libm-test.inc (exp2_test): Add more tests.
24527         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24528         negating x to take absolute value.
24529         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24530         Likewise.
24531         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24532         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24533         Likewise.
24534         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24535         computing low part if x was negated.
24536         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24538 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24540         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24541         la_x32_gnu_pltexit.
24542         (pltexit): Cast int_retval to ptrdiff_t.
24543         * elf/tst-auditmod3b.c: Likewise.
24544         * elf/tst-auditmod4b.c: Likewise.
24545         * elf/tst-auditmod5b.c: Likewise.
24546         * elf/tst-auditmod6b.c: Likewise.
24547         * elf/tst-auditmod6c.c: Likewise.
24548         * elf/tst-auditmod7b.c: Likewise.
24550         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24551         and x32_gnu_pltexit.
24553         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24554         __ELF_NATIVE_CLASS.
24555         (La_x32_regs): New macro.
24556         (La_x32_retval): Likewise.
24557         (la_x32_gnu_pltenter): New function prototype.
24558         (la_x32_gnu_pltexit): Likewise.
24560 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24562         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24563         exponent.
24565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24567         * configure.in (libc_cv_cc_nofma): Check for option to disable
24568         generation of FMA instructions.
24569         * configure: Regenerate.
24570         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24571         * sysdeps/ieee754/dbl-64/Makefile: New file.
24572         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24573         Remove brandred-fma4.
24574         (CFLAGS-brandred-fma4.c): Remove.
24575         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24576         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24577         define.
24578         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24579         define.
24581 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24583         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24584         LLONG_MAX != LONG_MAX.
24585         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24586         (_fitoa_word): Likewise.
24587         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24588         LLONG_MAX != LONG_MAX.
24589         * stdio-common/_itowa.h: Include <_itoa.h>.
24590         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24591         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24592         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24593         only if not defined.
24594         (_ITOA_WORD_TYPE): Likewise.
24595         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24596         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24598 2012-03-21  David S. Miller  <davem@davemloft.net>
24600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24602 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24604         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24605         of x86_64 when setting libc_cv_slibdir, libdir and
24606         libc_cv_localedir.
24607         * sysdeps/unix/sysv/linux/configure: Regenerated.
24609 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24611         * manual/lang.texi (Old Varargs): Remove section.
24612         (How Variadic): Update menu.
24613         (va_start): Do not mention varargs.h.
24615 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24616             Joseph Myers  <joseph@codesourcery.com>
24618         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24619         link test.
24620         * configure: Regenerated.
24622 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24624         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24625         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24626         conformtest.pl
24628 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24630         * NOTES: Remove.
24631         * Makefile (files-for-dist): Remove NOTES.
24632         (NOTES): Remove rule.
24633         * README: Don't refer to NOTES.
24634         * manual/creature.texi: Don't include macros.texi.
24635         * manual/intro.texi (creature.texi): Remove comment referring to
24636         NOTES.
24638         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24639         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24640         * configure: Regenerated.
24641         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24642         LIBC_TRY_CC_OPTION.
24643         (libc_cv_as_i686): Likewise.
24644         (libc_cv_cc_avx): Likewise.
24645         (libc_cv_cc_sse2avx): Likewise.
24646         (libc_cv_cc_fma4): Likewise.
24647         (libc_cv_cc_novzeroupper): Likewise.
24648         * sysdeps/i386/configure: Regenerated.
24650         [BZ #13883]
24651         * sysdeps/i386/fpu/s_cexp.S: Remove.
24652         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24653         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24654         * math/libm-test.inc (cexp_test): Add more tests.
24655         * sysdeps/i386/fpu/libm-test-ulps: Update.
24656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24658 2012-03-21  Allan McRae  <allan@archlinux.org>
24660         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24662 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24664         [BZ #13871]
24665         * math/w_exp2.c: Do not include <float.h>.
24666         (o_threshold, u_threshold): Remove.
24667         (__exp2): Calculate result before checking finiteness and calling
24668         __kernel_standard.
24669         * math/w_exp2f.c: Likewise.
24670         * math/w_exp2l.c: Likewise.
24671         * math/libm-test.inc (exp2_test): Require overflow exception for
24672         1e6 input.
24674         [BZ #3866]
24675         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24676         range of signed 64-bit integers before using fistpll.  Remove
24677         checks for whether integers fit in mantissa bits.
24678         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24679         the range of signed 32-bit integers before using fistpl.  Remove
24680         checks for whether integers fit in mantissa bits.
24681         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24682         (__ieee754_powl): Test for y outside the range of signed 64-bit
24683         integers before using fistpll.  Reduce 64-bit values to 63-bit
24684         ones as needed.
24685         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24686         divide-by-zero is raised for zero to large negative powers.
24687         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24688         (__ieee754_powl): Test for y outside the range of signed 64-bit
24689         integers before using fistpll.  Reduce 64-bit values to 63-bit
24690         ones as needed.
24691         * math/libm-test.inc (pow_test): Add more tests.
24693 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24695         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24696         <stdio-common/_itoa.h>.
24697         * debug/segfault.c: Likewise.
24698         * elf/dl-cache.c: Likewise.
24699         * elf/dl-minimal.c: Likewise.
24700         * elf/dl-misc.c: Likewise.
24701         * elf/dl-sysdep.c: Likewise.
24702         * elf/dl-version.c: Likewise.
24703         * elf/rtld.c: Likewise.
24704         * hurd/hurdsock.c: Likewise.
24705         * hurd/lookup-retry.c: Likewise.
24706         * malloc/malloc.c: Likewise.
24707         * malloc/mtrace.c: Likewise.
24708         * nscd/nscd_getgr_r.c: Likewise.
24709         * nscd/nscd_getpw_r.c: Likewise.
24710         * nscd/nscd_getserv_r.c: Likewise.
24711         * posix/getopt_init.c: Likewise.
24712         * posix/wordexp.c: Likewise.
24713         * stdio-common/_itoa.c: Likewise.
24714         * stdio-common/printf_fphex.c: Likewise.
24715         * stdio-common/vfprintf.c: Likewise.
24716         * string/_strerror.c: Likewise.
24717         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24718         * sysdeps/i386/i686/hp-timing.h: Likewise.
24719         * sysdeps/mach/_strerror.c: Likewise.
24720         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24721         * sysdeps/mach/hurd/sethostid.c: Likewise.
24722         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24723         * sysdeps/mach/xpg-strerror.c: Likewise.
24724         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24725         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24726         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24727         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24728         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24729         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24730         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24731         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24732         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24733         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24734         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24735         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24736         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24737         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24738         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24739         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24740         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24741         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24742         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24743         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24744         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24746         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24748         * stdio-common/_itoa.h: Moved to ...
24749         * sysdeps/generic/_itoa.h: Here.
24751         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24753         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24754         instead of "_itoa.h" and "_itowa.h".
24755         * stdio-common/vfprintf.: Likewise.
24757 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24759         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24760         <bits/wordsize.h>.
24761         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24762         (__signbit): Likwise.
24763         (llrintf): Likwise.
24764         (llrint): Likwise.
24766 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24768         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24769         __WORDSIZE != 64.
24771 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24773         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24774         OVERFLOW_EXCEPTION_OK.
24775         * math/libm-test.inc ("Philosophy"): Update comment about
24776         exception testing.
24777         (OVERFLOW_EXCEPTION): Define.
24778         (OVERFLOW_EXCEPTION_OK): Likewise.
24779         (INVALID_EXCEPTION_OK): Renumber.
24780         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24781         (IGNORE_ZERO_INF_SIGN): Likewise.
24782         (test_exceptions): Handle FE_OVERFLOW.
24783         (exp10_test): Expect overflow exceptions.
24784         (exp2_test): Likewise.
24785         (expm1_test): Likewise.
24786         (nextafter_test): Likewise.
24787         (pow_test): Likewise.
24788         (scalbn_test): Likewise.
24789         (scalbln_test): Likewise.
24791 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24793         * sysdeps/x86_64/bits/atomic.h
24794         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24795         64bit integer.
24796         (atomic_exchange_acq): Likewise.
24797         (__arch_exchange_and_add_body): Likewise.
24798         (__arch_add_body): Likewise.
24799         (atomic_add_negative): Likewise.
24800         (atomic_add_zero): Likewise.
24802 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24804         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24805         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24807 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24809         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24810         Check __x86_64__ instead of __WORDSIZE.
24812 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24814         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24816 2012-03-19  David S. Miller  <davem@davemloft.net>
24818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24820         * sysdeps/sparc/fpu/fenv_private.h: New file.
24821         * sysdeps/sparc/fpu/math_private.h: Use it.
24822         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24823         Remove.
24824         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24825         (libc_feholdexcept_setroundl): Remove.
24826         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24827         Remove.
24828         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24829         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24831 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24833         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24834         int64_t instead of long int.
24835         (INSERT_WORDS64): Likwise.
24837 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24839         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24840         _Unwind_GetCFA return to _Unwind_Ptr first.
24842 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24844         [BZ #13629]
24845         * math/s_clog.c: Include <float.h>.
24846         (__clog): Scale large or subnormal inputs.
24847         * math/s_clogf.c: Likewise.
24848         * math/s_clogl.c: Likewise.
24849         * math/s_clog10.c: Include <float.h>.
24850         (M_LOG10_2): Define.
24851         (__clog10): Scale large or subnormal inputs.
24852         * math/s_clog10f.c: Likewise.
24853         * math/s_clog10l.c: Likewise.
24854         * math/libm-test.inc (clog_test): Add more tests.
24855         (clog10_test): Likewise.
24856         * sysdeps/i386/fpu/libm-test-ulps: Update.
24857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24859         [BZ #11451]
24860         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24861         x and y.
24862         * math/libm-test.inc (atan2_test): Add another test.
24864         * Makerules (common-objdir-compile): Remove.
24865         * sysdeps/unix/Makefile (config-generated): Do not add
24866         $(unix-generated) to variable.
24867         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24868         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24869         Remove rule.
24870         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24871         Likewise.
24872         [generic bits/local_lim.h] (before-compile): Do not append to
24873         variable.
24874         [generic bits/local_lim.h] (common-generated): Likewise.
24875         [generic sys/param.h] (before-compile): Do not append to variable.
24876         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24877         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24878         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24879         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24880         include.
24881         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24882         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24883         [generic sys/param.h] ($(addprefix
24884         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24885         [generic sys/param.h] (common-generated): Do not append to
24886         variable.
24887         [generic sys/param.h] (sysdep_headers): Likewise.
24888         [generic bits/errno.h] (before-compile): Do not append to
24889         variable.
24890         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24891         rule.
24892         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24893         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24894         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24895         [generic bits/errno.h] (common-generated): Do not append to
24896         variable.
24897         [generic bits/ioctls.h] (before-compile): Do not append to
24898         variable.
24899         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24900         rule.
24901         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24902         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24903         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24904         rule.
24905         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24906         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24907         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24908         [generic bits/ioctls.h] (common-generated): Do not append to
24909         variable.
24910         [generic sys/syscall.h] (syscall.h): Remove variable.
24911         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24912         rule.
24913         [generic sys/syscall.h] (before-compile): Do not append to
24914         variable.
24915         [generic sys/syscall.h] (common-generated): Likewise.
24916         * sysdeps/unix/errnos-tmpl.c: Remove file.
24917         * sysdeps/unix/errnos.awk: Likewise.
24918         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24919         * sysdeps/unix/ioctls.awk: Likewise.
24920         * sysdeps/unix/mk-local_lim.c: Likewise.
24921         * sysdeps/unix/snarf-ioctls: Likewise.
24923 2012-03-19  Richard Henderson  <rth@twiddle.net>
24925         * sysdeps/i386/fpu/fenv_private.h: New file.
24926         * sysdeps/i386/fpu/math_private.h: Use it.
24927         (math_opt_barrier, math_force_eval): Remove.
24928         (libc_feholdexcept_setround_53bit): Remove.
24929         (libc_feupdateenv_53bit): Remove.
24930         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24931         (math_opt_barrier, math_force_eval): Remove.
24932         (libc_feholdexcept): Remove.
24933         (libc_feholdexcept_setround): Remove.
24934         (libc_fetestexcept, libc_fesetenv): Remove.
24935         (libc_feupdateenv_test): Remove.
24936         (libc_feupdateenv, libc_feholdsetround): Remove.
24937         (libc_feresetround): Remove.
24939         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24940         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24942         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24943         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24944         (libc_feupdateenv_testl): New.
24945         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24946         (libc_feupdateenv_testf): New.
24947         (libc_feupdateenv): Use libc_feupdateenv_test.
24948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24949         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24951         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24952         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24953         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24954         (libc_feresetround_noex): New.
24955         (libc_feresetround_noexf): New.
24956         (libc_feresetround_noexl): New.
24957         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24958         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24959         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24960         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24961         SET_RESTORE_ROUND.
24962         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24963         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24964         (__cos): Likewise.
24965         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24966         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24967         SET_RESTORE_ROUND_NOEX.
24968         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24969         SET_RESTORE_ROUND_NOEXF.
24970         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24971         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24972         (libc_feholdsetroundf): New.
24973         (libc_feresetround, libc_feresetroundf): New.
24975         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24976         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24977         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24979         * sysdeps/generic/math_private.h: Include <fenv.h>.
24980         (default_libc_feholdexcept): New.
24981         (default_libc_feholdexcept_setround): New.
24982         (default_libc_fesetenv, default_libc_feupdateenv): New.
24983         (libc_feholdexcept): Only define if undefined.
24984         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24985         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24986         (libc_feholdexcept_setroundl): Likewise.
24987         (libc_feholdexcept_setround_53bit): Likewise.
24988         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24989         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24990         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24991         (libc_feupdateenv_53bit): Likewise.
24992         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24993         (libc_feholdexcept): Convert from macro to inline function.
24994         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24995         (libc_fesetenv, libc_feupdateenv): Likewise.
24997         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24998         not previously defined.
24999         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25000         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25001         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25002         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25003         * sysdeps/ieee754/flt-32/math_private.h: New file.
25004         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25005         math_private.h below SET_FLOAT_WORD.
25006         (__isnan, __isinf_ns, __finite): Remove.
25007         (__isnanf, __isinf_nsf, __finitef): Remove.
25009 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
25011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25013 2012-03-17  David S. Miller  <davem@davemloft.net>
25015         [BZ #6471]
25016         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25017         for 2.16.
25019 2012-03-16  David S. Miller  <davem@davemloft.net>
25021         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25022         warnings.
25024         [BZ #6471]
25025         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25026         properly.
25027         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25028         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25029         sysdep_routines when subdir is sysvipc.
25030         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25031         __getshmlba helper.
25033         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25035 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25037         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25038         [__LP64__].
25040 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25042         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25043         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25044         (__lround): Renamed to ...
25045         (__llround): This.  Replace long int with long long int.
25046         Define lround functions as aliases of llround functions.
25047         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25051         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25052         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25053         adresses to uintptr_t.  Replace "long int" and "unsigned long
25054         int" with "greg_t" on va_arg.
25056 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25058         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25059         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25061         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25062         Move e_machine check before EI_CLASS check.  Handle x32
25063         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25064         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25065         SKIP_EM_IA_64 and include
25066         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25068         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25069         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25070         (add_system_dir): New macro.
25072         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25073         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25075 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25077         [BZ #2551]
25078         [BZ #2552]
25079         [BZ #2553]
25080         [BZ #2554]
25081         [BZ #2562]
25082         [BZ #2563]
25083         [BZ #2565]
25084         [BZ #2566]
25085         [BZ #2576]
25086         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25087         (y0): Likewise.
25088         * math/w_j0f.c (j0f): Likewise.
25089         (y0f): Likewise.
25090         * math/w_j0l.c (__j0l): Likewise.
25091         (__y0l): Likewise.
25092         * math/w_j1.c (j1): Likewise.
25093         (y1): Likewise.
25094         * math/w_j1f.c (j1f): Likewise.
25095         (y1f): Likewise.
25096         * math/w_j1l.c (__j1l): Likewise.
25097         (__y1l): Likewise.
25098         * math/w_jn.c (jn): Likewise.
25099         (yn): Likewise.
25100         * math/w_jnf.c (jnf): Likewise.
25101         (ynf): Likewise.
25102         * math/w_jnl.c (__jnl): Likewise.
25103         (__ynl): Likewise.
25104         * math/libm-test.inc (j0_test): Add more tests.
25105         (j1_test): Likewise.
25106         (jn_test): Likewise.  Add trailing semicolon to existing test.
25107         (y0_test): Likewise.
25108         (y1_test): Likewise.
25109         * sysdeps/i386/fpu/libm-test-ulps: Update.
25110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25112         [BZ #13851]
25113         [BZ #13854]
25114         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25115         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25116         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25117         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25118         (__tanl): Set errno for infinite argument.
25119         * sysdeps/i386/fpu/mptan.c: Remove.
25120         * sysdeps/i386/fpu/s_tan.S: Likewise.
25121         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25122         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25123         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25124         * math/libm-test.inc (tan_test): Add more tests and enable more
25125         tests for double and long double.
25126         * sysdeps/i386/fpu/libm-test-ulps: Update.
25127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25129 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25131         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25132         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25134 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25136         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25137         * configure.in: Use it for both main tree and add-ons.
25138         * configure: Regenerated.
25140 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25142         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25144 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25146         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25147         in comment.
25149         [BZ #13851]
25150         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25151         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25152         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25153         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25154         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25155         infinite argument.
25156         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25157         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25158         != 0 for prec == 2.
25159         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25160         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25161         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25162         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25163         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25164         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25165         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25166         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25167         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25168         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25169         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25170         * math/libm-test.inc (cos_test): Add more tests and enable more
25171         tests for long double.
25172         (sin_test): Likewise.
25173         (sincos_test): Likewise.
25174         * sysdeps/i386/fpu/libm-test-ulps: Update.
25175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25177 2012-03-16  David S. Miller  <davem@davemloft.net>
25179         * sysdeps/sparc/fpu/math_private.h: New file.
25181 2012-03-15  David S. Miller  <davem@davemloft.net>
25183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25184         file.
25185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25187         file.
25188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25193         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25194         sysdep routines.
25195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25197         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25198         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25200         * sysdeps/sparc/sparc-ifunc.h: New file.
25201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25202         sparc-ifunc.h
25203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25205         Likewise.
25206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25207         Likewise.
25208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25212         Likewise.
25213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25218         Likewise.
25219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25220         Likewise.
25221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25227         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25228         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25235         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25239         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25240         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25241         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25242         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25243         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25244         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25246 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25248         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25249         scaling.
25250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25252 2012-03-15  Andreas Jaeger  <aj@suse.de>
25254         [BZ #13852]
25255         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25256         ieee754/flt-32 implementation for sin, cos and sincos.
25257         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25258         * sysdeps/i386/fpu/s_cosf.S: Likewise.
25259         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25260         * sysdeps/i386/fpu/s_sinf.S: Likewise.
25261         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25262         ieee754/flt-32 implementation for tan.
25264         * math/libm-test.inc (cos_test): Enable some large input tests for
25265         float as well
25266         (sin_test): Likewise.
25267         (sincos_test): Likewise.
25268         (tan_test): Add tests for large input.
25270         * sysdeps/i386/fpu/libm-test-ulps: Update.
25272 2012-03-15  Andreas Jaeger  <aj@suse.de>
25274         [BZ #13658]
25275         * math/libm-test.inc (cos_test): Add more test cases.
25276         (sin_test): Likewise.
25277         (sincos_test): Likewise.
25279 2012-03-15  Andreas Jaeger  <aj@suse.de>
25281         [BZ #13837]
25282         * math/libm-test.inc (cos_test): Add a test case for large input
25283         value.
25284         (sin_test): Likewise.
25285         (sincos_test): Likewise.
25287 2012-03-15  Andreas Jaeger  <aj@suse.de>,
25288         Joseph Myers  <joseph@codesourcery.com>
25290         [BZ #13658]
25291         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25292         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25293         * sysdeps/i386/fpu/branred.c: Likewise.
25294         * sysdeps/i386/fpu/dosincos.c: Likewise.
25295         * sysdeps/i386/fpu/mpa.c: Likewise.
25296         * sysdeps/i386/fpu/s_cos.S: Likewise.
25297         * sysdeps/i386/fpu/s_sin.S: Likewise.
25298         * sysdeps/i386/fpu/s_sincos.S: Likewise.
25299         * sysdeps/i386/fpu/sincos32.c: Likewise.
25301         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25302         Define.
25303         (libc_feupdateenv_53bit): Define.
25304         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25305         Define.
25306         (libc_feupdateenv_53bit): Define.
25308         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25309         53 bit (without extend i386 double precision).
25311         * math/libm-test.inc (sincos_test): Add tests for large input.
25312         (sin): Likewise.
25313         (cos): Likewise.
25315         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25317 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25321 2012-03-15  David S. Miller  <davem@davemloft.net>
25323         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25324         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25325         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25326         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25339         file.
25340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25342         file.
25343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25345         file.
25346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25348         file.
25349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25350         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25351         fmin/fmax sysdep routines.
25352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25354 2012-03-14  David S. Miller  <davem@davemloft.net>
25356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25358         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25360         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25361         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25362         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25363         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25364         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25365         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25366         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25367         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25369         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25370         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25371         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25372         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25373         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25374         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25375         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25376         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25377         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25378         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25379         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25380         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25381         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25382         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25383         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25385         routines.
25386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25387         file.
25388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25390         file.
25391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25393         file.
25394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25396         file.
25397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25399         file.
25400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25402         file.
25403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25404         file.
25405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25406         file.
25407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25408         file.
25409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25410         New file.
25411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25412         file.
25413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25414         file.
25415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25417         file.
25418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25420         file.
25421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25423         file.
25424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25426         VIS3 routines.
25428         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25429         New file.
25431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25433         * sysdeps/sparc/configure.in: New file.
25434         * sysdeps/sparc/configure: Generate.
25435         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25436         * configure: Regenerate.
25437         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25438         * config.make.in (have-as-vis3): New.
25439         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25440         available use -Av9d instead of -Av9a.
25441         * sysdeps/sparc/sparc64/Makefile: Likewise.
25442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25444         New file.
25445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25446         file.
25447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25448         New file.
25449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25450         file.
25451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25452         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25453         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25454         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25455         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25457         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25458         fzeros/fnegs to load 0x80000000 into a float register instead of
25459         using the stack.
25460         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25462 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25465         bits/syscall.h.
25466         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25467         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25468         ($(inst_includedir)/bits/syscall.h): Remove rule.
25469         ($(objpfx)bits/syscall.d): Include instead of
25470         $(objpfx)syscall-list.d.
25471         (generated): Change syscall-list.h and syscall-list.d to
25472         bits/syscall.h and bits/syscall.d.
25474 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25476         [BZ #13846]
25477         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25479 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25481         [BZ #13841]
25482         * math/s_csqrt.c: Include <float.h>.
25483         (__csqrt): Scale large or subnormal inputs.
25484         * math/s_csqrtf.c: Likewise.
25485         * math/s_csqrtl.c: Likewise.
25486         * math/libm-test.inc (csqrt_test): Add more tests.
25487         * sysdeps/i386/fpu/libm-test-ulps: Update.
25488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25490         [BZ #13840]
25491         * math/libm-test.inc (hypot_test): Add more tests.
25493 2012-03-13  David S. Miller  <davem@davemloft.net>
25495         [BZ #13840]
25496         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25497         double-precision for the calculation instead of scaling.
25499 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25501         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25502         manipulate bits before adding and subtracting TWO52[sx].
25503         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25504         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25505         Likewise.
25506         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25508 2012-03-13  David S. Miller  <davem@davemloft.net>
25510         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25511         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25513         rtld-global-offsets.h
25514         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25516         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25517         large parameters.
25519         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25521         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25522         'err' in the ifdef scope in which it is actually used.
25524         * nss/nss_db/db-init.c: Include string.h
25526 2012-03-12  David S. Miller  <davem@davemloft.net>
25528         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25529         masking out of the most significant byte of random value used.
25530         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25531         Fix coding style in previous change.
25533         * sysdeps/unix/sysv/linux/kernel-features.h
25534         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25535         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25536         expression.
25537         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25538         later.
25540 2012-03-11  David S. Miller  <davem@davemloft.net>
25542         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25543         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25544         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25545         for 'resultvar' otherwise things get truncated on 64-bit.
25547         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25548         Fix masking out of the most significant byte of random value used.
25550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25552 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25556 2012-03-09  David S. Miller  <davem@davemloft.net>
25558         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25559         variables with appropriate CPP guards.
25560         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25561         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25562         on resulting framesize and the management of the outregs buffer for pltexit.
25563         Preserve floating point return values across _dl_call_pltexit call.
25564         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25565         framesize and the management of the outregs buffer for pltexit.
25566         Preserve floating point return values across _dl_call_pltexit
25567         call.
25568         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25569         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25570         (print_exit): Fix format string for return register value.
25572 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25574         * sunrpc/Makefile (others): Add rpcgen.
25575         ($(objpfx)rpcgen): Remove special build rule and dependency on
25576         libc.
25577         * sunrpc/rpcgen.c: New file.
25579 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25581         [BZ #13673]
25582         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25583         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25584         * sysdeps/i386/crti.S: Likewise.
25585         * sysdeps/i386/crtn.S: Likewise.
25586         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25587         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25588         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25589         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25590         * sysdeps/sh/crti.S: Likewise.
25591         * sysdeps/sh/crtn.S: Likewise.
25592         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25594         [BZ #13673]
25595         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25596         with URL.
25597         * locale/programs/locfile-kw.gperf: Likewise.
25598         * locale/programs/charmap-kw.h: Regenerated.
25599         * locale/programs/locfile-kw.h: Likewise.
25601         [BZ #13673]
25602         * intl/plural.y: Replace FSF snail mail address with URL.
25603         * intl/plural.c: Regenerated.
25605 2012-03-09  Richard Henderson  <rth@twiddle.net>
25607         * include/math_private.h: Remove file.
25608         * math/math_private.h: Move file ...
25609         * sysdeps/generic/math_private.h: ... here.
25611         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25612         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25613         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25615         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25616         and <math_private.h>.
25617         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25618         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25619         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25620         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25621         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25622         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25623         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25625         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25626         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25628         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25629         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25630         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25631         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25632         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25633         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25634         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25635         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25636         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25637         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25638         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25639         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25640         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25641         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25642         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25643         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25644         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25645         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25646         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25647         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25648         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25649         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25650         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25651         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25652         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25653         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25654         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25655         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25656         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25657         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25658         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25659         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25660         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25661         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25662         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25663         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25664         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25665         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25666         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25667         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25668         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25669         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25670         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25671         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25672         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25673         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25674         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25675         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25676         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25677         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25678         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25680         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25681         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25682         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25683         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25684         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25685         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25686         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25687         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25688         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25689         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25690         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25691         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25692         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25693         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25694         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25695         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25696         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25697         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25698         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25699         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25700         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25701         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25702         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25703         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25704         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25705         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25706         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25707         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25708         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25709         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25710         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25711         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25712         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25713         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25714         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25715         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25716         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25717         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25718         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25719         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25720         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25721         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25722         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25723         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25724         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25725         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25726         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25727         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25728         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25729         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25730         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25731         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25732         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25733         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25734         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25735         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25736         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25737         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25738         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25739         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25740         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25741         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25742         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25743         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25744         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25745         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25746         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25747         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25748         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25749         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25750         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25751         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25752         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25753         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25754         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25755         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25756         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25757         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25758         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25759         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25760         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25761         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25762         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25763         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25764         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25765         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25766         * sysdeps/ieee754/k_standard.c: Likewise.
25767         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25768         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25769         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25770         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25771         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25772         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25773         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25774         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25775         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25776         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25777         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25778         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25779         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25780         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25781         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25782         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25783         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25784         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25785         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25786         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25787         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25788         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25789         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25790         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25791         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25792         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25793         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25794         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25795         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25796         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25797         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25798         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25799         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25800         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25801         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25802         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25803         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25804         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25805         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25806         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25807         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25808         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25809         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25810         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25811         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25812         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25813         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25814         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25815         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25816         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25817         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25818         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25819         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25820         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25821         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25822         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25823         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25824         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25825         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25826         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25827         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25828         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25829         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25830         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25831         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25832         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25833         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25834         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25835         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25836         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25837         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25838         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25839         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25840         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25841         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25842         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25843         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25844         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25845         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25846         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25847         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25848         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25849         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25850         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25851         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25852         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25853         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25854         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25855         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25856         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25858         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25859         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25860         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25861         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25862         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25863         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25864         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25865         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25866         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25867         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25868         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25869         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25870         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25871         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25872         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25873         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25874         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25875         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25876         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25877         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25878         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25879         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25880         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25881         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25882         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25883         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25884         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25885         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25886         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25887         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25888         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25889         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25890         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25891         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25892         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25893         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25894         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25895         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25896         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25897         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25898         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25899         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25900         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25901         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25902         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25903         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25904         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25905         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25906         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25907         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25908         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25909         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25910         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25911         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25912         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25913         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25914         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25915         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25916         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25917         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25918         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25919         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25920         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25921         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25922         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25923         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25924         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25925         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25926         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25927         * sysdeps/ieee754/s_lib_version.c: Likewise.
25928         * sysdeps/ieee754/s_matherr.c: Likewise.
25929         * sysdeps/ieee754/s_signgam.c: Likewise.
25930         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25931         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25932         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25933         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25934         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25935         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25936         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25937         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25938         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25939         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25940         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25941         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25942         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25943         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25944         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25945         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25946         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25947         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25948         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25949         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25950         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25952 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25954         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25955         * sunrpc/rpc_main.c: Likewise.
25956         * sunrpc/rpc_svcout.c: Likewise.
25958 2012-03-09  David S. Miller  <davem@davemloft.net>
25960         * include/math_private.h: New file.
25962 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25964         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25965         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25966         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25967         from <bits/socket_type.h>.
25968         (enum __socket_type): Don't define here.
25969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25971         bits/socket_type.h.
25973         [BZ #13566]
25974         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25975         checking __USE_GNU.
25977         * Makerules ($(inst_includedir)/%.h): New rule.
25978         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25979         (install-others): Remove variable setting.
25980         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25982 2012-03-08  Richard Henderson  <rth@twiddle.net>
25984         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25985         from macro to inline function; merge with the
25986         !__LIBC_INTERNAL_MATH_INLINES version.
25987         (__ieee754_sqrtf): Likewise.
25989         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25990         to inline function.
25991         (__rintf, __floor, __floorf): Likewise.
25993         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25994         macro to inline function.
25995         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25997         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25998         not <math/math_private.h>.
26000 2012-03-08  David S. Miller  <davem@davemloft.net>
26002         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26003         copyright year.
26004         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26006 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
26008         * resolv/gai_misc.c (handle_requests): Fix struct timespec
26009         normalization.
26010         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26011         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26013 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
26015         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
26016         be defined individually, they must be defined as a block.  Define
26017         S for printing a string instead of hidint the different by using a
26018         macro for adding the 'l'.
26019         * stdio-common/tst-fphex-wide.c: Adjust.
26021 2012-03-07  Marek Polacek  <polacek@redhat.com>
26023         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26025 2012-03-08  Marek Polacek  <polacek@redhat.com>
26027         [BZ #13806]
26028         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26029         * stdio-common/tst-fphex.c: Define a few macros to make the
26030         test reusable.  Use them.
26031         * stdio-common/tst-fphex-wide.c: New file.
26033 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26035         [BZ #6911]
26036         * manual/macros.texi (gnusystems): New macro.
26037         (nongnusystems): Likewise.
26038         (gnulinuxhurdsystems): Likewise.
26039         (gnuhurdsystems): Likewise..
26040         (gnulinuxsystems): Likewise.
26041         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26042         variants of the GNU system, not "GNU system".
26043         * manual/conf.texi: Likewise.
26044         * manual/errno.texi: Likewise.  Update example of errno macro
26045         expansion.
26046         * manual/filesys.texi: Likewise.
26047         (getumask): Document as specific to GNU/Hurd.
26048         * manual/install.texi: Likewise.  Reword some references to
26049         GNU/Linux.
26050         * manual/intro.texi: Likewise.
26051         * manual/io.texi: Likewise.
26052         (File Name Portability): Detail which constraints are inapplicable
26053         to all GNU systems and which are only inapplicable to GNU/Hurd.
26054         * manual/job.texi: Likewise.
26055         * manual/llio.texi: Likewise.
26056         (O_NOCTTY): Document as present on GNU/Linux.
26057         * manual/maint.texi: Likewise.
26058         * manual/memory.texi: Likewise.
26059         * manual/pattern.texi: Likewise.
26060         * manual/pipe.texi: Likewise.
26061         * manual/process.texi: Likewise.
26062         * manual/resource.texi: Likewise.
26063         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26064         child on GNU/Hurd.
26065         * manual/setjmp.texi: Likewise.
26066         * manual/signal.texi: Likewise.
26067         * manual/startup.texi: Likewise.
26068         * manual/stdio.texi: Likewise.
26069         * manual/terminal.texi: Likewise.
26070         (ONLCR): Document as POSIX.
26071         (OXTABS): Document availability on GNU/Linux as XTABS.
26072         (ONOEOT): Document availability separately from other bits.
26073         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26074         * manual/time.texi: Likewise.
26075         * manual/users.texi: Likewise.
26076         * INSTALL: Regenerated.
26077         * sysdeps/gnu/errlist.c: Regenerated.
26079         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26080         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26081         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26082         puts.
26083         * configure: Regenerated.
26085 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26087         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26088         default includes instead of AC_HEADER_CHECK.
26089         * sysdeps/i386/configure: Regenerated.
26091         [BZ #10716]
26092         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26093         * math/s_cacoshf.c (__cacoshf): Likewise.
26094         * math/s_cacoshl.c (__cacoshl): Likewise.
26095         * math/s_casinh.c (__casinh): Set signs of result from argument.
26096         * math/s_casinhf.c (__casinhf): Likewise.
26097         * math/s_casinhl.c (__casinhl): Likewise.
26098         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26099         (casinh_test): Add more tests.
26100         * sysdeps/i386/fpu/libm-test-ulps: Update.
26101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26103 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26105         * po/zh_TW.po: Update from translation team.
26107         * login/Makefile (distribute): Remove variable.
26108         * catgets/Makefile: Likewise.
26109         * mach/Makefile: Likewise.
26110         * malloc/Makefile: Likewise.
26111         * misc/Makefile: Likewise.
26112         * iconv/Makefile: Likewise.
26113         * nscd/Makefile: Likewise.
26114         * hurd/Makefile: Likewise.
26115         * manual/Makefile: Likewise.
26116         * locale/Makefile: Likewise.
26117         * intl/Makefile: Likewise.
26118         * conform/Makefile: Likewise.
26119         * nss/Makefile: Likewise.
26120         * time/Makefile: Likewise.
26121         * soft-fp/Makefile: Likewise.
26122         * dirent/Makefile: Likewise.
26123         * gmon/Makefile: Likewise.
26124         * po/Makefile: Likewise.
26125         * rt/Makefile: Likewise.
26126         * socket/Makefile: Likewise.
26127         * math/Makefile: Likewise.
26128         * signal/Makefile: Likewise.
26129         * debug/Makefile: Likewise.
26130         * elf/Makefile: Likewise.
26131         * timezone/Makefile: Likewise.
26132         * stdlib/Makefile: Likewise.
26133         * iconvdata/Makefile: Likewise.
26134         * sunrpc/Makefile: Likewise.
26135         * io/Makefile: Likewise.
26136         * argp/Makefile: Likewise.
26137         * inet/Makefile: Likewise.
26138         * hesiod/Makefile: Likewise.
26139         * grp/Makefile: Likewise.
26140         * csu/Makefile: Likewise.
26141         * wctype/Makefile: Likewise.
26142         * crypt/Makefile: Likewise.
26143         * libio/Makefile: Likewise.
26144         * string/Makefile: Likewise.
26145         * nis/Makefile: Likewise.
26146         * resolv/Makefile: Likewise.
26147         * stdio-common/Makefile: Likewise.
26148         * wcsmbs/Makefile: Likewise.
26149         * dlfcn/Makefile: Likewise.
26150         * posix/Makefile: Likewise.
26152         [BZ #6959]
26153         * timezone/Makefile: Don't install timezone files, just the programs
26154         and scripts.
26156 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26158         * nss/databases.def: Add missing gshadow entry.
26160         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26162 2012-03-06  Marek Polacek  <polacek@redhat.com>
26164         [BZ #13726]
26165         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26166         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26167         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26168         * stdio-common/tst-long-dbl-fphex.c: New file.
26170 2012-03-06  David S. Miller  <davem@davemloft.net>
26172         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26173         (set_obp_int): New function.
26174         (get_obp_int): New function.
26175         (__get_clockfreq_via_dev_openprom): Likewise.
26176         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26177         Avoid unused variable warnings on 'val' and use builtin_expect.
26178         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26179         __builtin_expect.
26180         (INLINE_CLONE_SYSCALL): Likewise.
26182 2012-03-05  David S. Miller  <davem@davemloft.net>
26184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26186 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26190         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26191         only for |x| >= 40.
26192         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26194 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26196         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26197         Replace gettimeofday with __vdso_gettimeofday.
26199         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26200         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26201         __vdso_clock_gettime and __vdso_getcpu.
26203         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26204         time with __vdso_time.
26206 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26208         * manual/lang.texi (size_t): Note types to which size_t may be
26209         equivalent with the GNU C Library, but do not describe when
26210         differences between them are significant.
26212 2012-03-05  Andreas Jaeger  <aj@suse.de>
26214         * sysdeps/i386/fpu/libm-test-ulps: Update.
26216 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26218         [BZ #3976]
26219         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26220         (__ieee754_pow): Save and restore rounding mode and use
26221         round-to-nearest for main computations.
26222         * math/libm-test.inc (pow_test_tonearest): New function.
26223         (pow_test_towardzero): Likewise.
26224         (pow_test_downward): Likewise.
26225         (pow_test_upward): Likewise.
26226         (main): Call the new functions.
26227         * sysdeps/i386/fpu/libm-test-ulps: Update.
26228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26230         [BZ #3976]
26231         * math/libm-test.inc (cosh_test_tonearest): New function.
26232         (cosh_test_towardzero): Likewise.
26233         (cosh_test_downward): Likewise.
26234         (cosh_test_upward): Likewise.
26235         (sinh_test_tonearest): Likewise.
26236         (sinh_test_towardzero): Likewise.
26237         (sinh_test_downward): Likewise.
26238         (sinh_test_upward): Likewise.
26239         (main): Call the new functions.
26240         * sysdeps/i386/fpu/libm-test-ulps: Update.
26241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26243 2012-03-05  Tom de Vries  <tom@codesourcery.com>
26245         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26246         default stack guard is set in last bytes.
26247         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26249 2012-03-05  Kees Cook  <keescook@chromium.org>
26251         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26253         [BZ #13656]
26254         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26255         possibly allocate from heap instead of stack.
26256         * stdio-common/bug-vfprintf-nargs.c: New file.
26257         * stdio-common/Makefile (tests): Add nargs overflow test.
26259 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
26261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26263 2012-03-03  Marek Polacek  <polacek@redhat.com>
26265         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26266         * math/math_private.h: Likewise.
26267         * stdlib/tst-strtod.c: Likewise.
26268         * sysdeps/i386/i486/bits/atomic.h: Likewise.
26269         * sysdeps/x86_64/bits/atomic.h: Likewise.
26271 2012-03-02  David S. Miller  <davem@davemloft.net>
26273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26277         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26278         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26279         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26280         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26282 2012-03-02  Roland McGrath  <roland@hack.frob.com>
26284         [BZ #13792]
26285         * manual/examples/README: New file, says the example source files
26286         can be used under GPL>=2.
26287         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26288         line containing just "*/".
26289         * manual/examples/add.c: Add copyright header (GPL>=2).
26290         * manual/examples/argp-ex1.c: Likewise.
26291         * manual/examples/argp-ex2.c: Likewise.
26292         * manual/examples/argp-ex3.c: Likewise.
26293         * manual/examples/argp-ex4.c: Likewise.
26294         * manual/examples/atexit.c: Likewise.
26295         * manual/examples/db.c: Likewise.
26296         * manual/examples/dir.c: Likewise.
26297         * manual/examples/dir2.c: Likewise.
26298         * manual/examples/execinfo.c: Likewise.
26299         * manual/examples/filecli.c: Likewise.
26300         * manual/examples/filesrv.c: Likewise.
26301         * manual/examples/fmtmsgexpl.c: Likewise.
26302         * manual/examples/genpass.c: Likewise.
26303         * manual/examples/inetcli.c: Likewise.
26304         * manual/examples/inetsrv.c: Likewise.
26305         * manual/examples/isockad.c: Likewise.
26306         * manual/examples/longopt.c: Likewise.
26307         * manual/examples/memopen.c: Likewise.
26308         * manual/examples/memstrm.c: Likewise.
26309         * manual/examples/mkfsock.c: Likewise.
26310         * manual/examples/mkisock.c: Likewise.
26311         * manual/examples/mygetpass.c: Likewise.
26312         * manual/examples/pipe.c: Likewise.
26313         * manual/examples/popen.c: Likewise.
26314         * manual/examples/rprintf.c: Likewise.
26315         * manual/examples/search.c: Likewise.
26316         * manual/examples/select.c: Likewise.
26317         * manual/examples/setjmp.c: Likewise.
26318         * manual/examples/sigh1.c: Likewise.
26319         * manual/examples/sigusr.c: Likewise.
26320         * manual/examples/stpcpy.c: Likewise.
26321         * manual/examples/strdupa.c: Likewise.
26322         * manual/examples/strftim.c: Likewise.
26323         * manual/examples/strncat.c: Likewise.
26324         * manual/examples/subopt.c: Likewise.
26325         * manual/examples/swapcontext.c: Likewise.
26326         * manual/examples/termios.c: Likewise.
26327         * manual/examples/testopt.c: Likewise.
26328         * manual/examples/testpass.c: Likewise.
26329         * manual/examples/timeval_subtract.c: Likewise.
26331         [BZ #13792]
26332         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26333         function to ...
26334         * manual/timeval_subtract.c.texi: ... here, new file.
26336 2012-03-02  David S. Miller  <davem@davemloft.net>
26338         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26340 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26342         [BZ #3976]
26343         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26344         (__sin): Save and restore rounding mode and use round-to-nearest
26345         for all computations.
26346         (__cos): Save and restore rounding mode and use round-to-nearest
26347         for all computations.
26348         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26349         <fenv.h>.
26350         (tan): Save and restore rounding mode and use round-to-nearest for
26351         all computations.
26352         * math/libm-test.inc (cos_test_tonearest): New function.
26353         (cos_test_towardzero): Likewise.
26354         (cos_test_downward): Likewise.
26355         (cos_test_upward): Likewise.
26356         (sin_test_tonearest): Likewise.
26357         (sin_test_towardzero): Likewise.
26358         (sin_test_downward): Likewise.
26359         (sin_test_upward): Likewise.
26360         (tan_test_tonearest): Likewise.
26361         (tan_test_towardzero): Likewise.
26362         (tan_test_downward): Likewise.
26363         (tan_test_upward): Likewise.
26364         (main): Call the new functions.
26365         * sysdeps/i386/fpu/libm-test-ulps: Update.
26366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26368         [BZ #10135]
26369         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26370         small n, then large n, before computing and testing k+n.
26371         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26373         Likewise.
26374         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26375         Likewise.
26376         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26377         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26378         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26379         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26380         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26382         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26383         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26384         * math/libm-test.inc (scalbn_test): Add more tests.
26385         (scalbln_test): Likewise.
26387         * manual/filesys.texi (mode_t): Describe constraints on size and
26388         signedness, not exact equivalence to a particular type.
26389         (ino_t): Likewise.
26390         (ino64_t): Likewise.
26391         (dev_t): Likewise.
26392         (nlink_t): Likewise.
26393         (blkcnt_t): Likewise.
26394         (blkcnt64_t): Likewise.
26395         * manual/llio.texi (off_t): Likewise.
26397         [BZ #3976]
26398         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26399         (__ieee754_exp): Save and restore rounding mode and use
26400         round-to-nearest for all computations.
26401         * math/libm-test.inc (exp_test_tonearest): New function.
26402         (exp_test_towardzero): Likewise.
26403         (exp_test_downward): Likewise.
26404         (exp_test_upward): Likewise.
26405         (main): Call the new functions.
26406         * sysdeps/i386/fpu/libm-test-ulps: Update.
26407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26409 2012-03-01  Chris Demetriou  <cgd@google.com>
26411         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26412         have predictable order.
26414 2012-03-01  David S. Miller  <davem@davemloft.net>
26416         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26418         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26419         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26420         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26421         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26423         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26424         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26425         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26427         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26428         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26429         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26430         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26431         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26435         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26436         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26437         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26439         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26440         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26441         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26442         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26443         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26444         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26445         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26446         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26447         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26448         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26449         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26450         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26452         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26453         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26454         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26455         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26456         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26457         * sysdeps/sparc/elf/configure: Regenerated.
26459 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26461         * configure.in (AS, LD): Require binutils 2.20 or later.
26462         * configure: Regenerated.
26463         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26464         as required minimum version.
26465         * INSTALL: Regenerated.
26467         [BZ #2541]
26468         [BZ #4108]
26469         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26470         before squaring exponent.
26471         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26472         bottom long double and 27 bits of top long double before squaring
26473         exponent.
26474         * math/libm-test.inc (erfc_test): Add more tests.
26475         * sysdeps/i386/fpu/libm-test-ulps: Update.
26476         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26479 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26481         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26482         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26483         containing bit-fields.
26484         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26485         * soft-fp/single.h (_FP_UNION_S): Likewise.
26486         * soft-fp/double.h (_FP_UNION_D): Likewise.
26488 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26490         [BZ #13786]
26491         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26492         not include ../strcmp.S.
26493         [USE_AS_STRNCASECMP_L]: Likewise.
26494         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26495         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26496         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26497         (__strncasecmp_l_ia32): Define as alias to
26498         __strncasecmp_l_nonascii.
26500         [BZ #5794]
26501         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26502         * sysdeps/i386/fpu/libm-test-ulps: Update.
26503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26505         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26508 2012-02-29  Jeff Law  <law@redhat.com>
26510         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26511         out of bounds read.
26513 2012-02-29  Marek Polacek  <polacek@redhat.com>
26515         [BZ #13706]
26516         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26517         * elf/Makefile: Add rules to run tst-unused-dep.out.
26519 2012-02-28  David S. Miller  <davem@davemloft.net>
26521         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26522         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26523         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26524         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26525         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26526         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26528 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26530         * math/libm-test.inc (llround_test): Move one test from
26531         lround_test.  Use TEST_f_L in moved test.
26532         (lround_test): Move misplaced test to llround_test.  Add testcase
26533         from bug 2561.
26535 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26537         * sysdeps/x86_64/fpu/e_expf.S: New file.
26538         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26540 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26542         [BZ #13637]
26543         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26544         of remain_len that may cause incomplete multi-byte character and
26545         false match.
26546         * posix/bug-regex33.c: New file.
26547         * posix/Makefile (tests): Add bug-regex33.
26549 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26551         * manual/macros.texi: New file.
26552         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26553         * manual/libc.texinfo: Include macros.texi.
26554         * manual/creatute.texi: Likewise.
26555         * manual/install.texi: Likewise.
26556         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26557         @glibcadj{} in references to the GNU C Library.
26558         * manual/charset.texi: Likewise.
26559         * manual/conf.texi: Likewise.
26560         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26561         when not using those macros.
26562         * manual/creature.texi: Likewise.
26563         * manual/crypt.texi: Likewise.
26564         * manual/errno.texi: Likewise.
26565         * manual/filesys.texi: Likewise.
26566         * manual/header.texi: Likewise.
26567         * manual/install.texi: Likewise.
26568         * manual/intro.texi: Likewise.
26569         * manual/io.texi: Likewise.
26570         * manual/job.texi: Likewise.
26571         * manual/lang.texi: Likewise.
26572         * manual/libc.texiinfo: Likewise.
26573         * manual/llio.texi: Likewise.
26574         * manual/locale.texi: Likewise.
26575         * manual/maint.texi: Likewise.
26576         * manual/math.texi: Likewise.
26577         * manual/memory.texi: Likewise.
26578         * manual/message.texi: Likewise.
26579         * manual/nss.texi: Likewise.
26580         * manual/pattern.texi: Likewise.
26581         * manual/process.texi: Likewise.
26582         * manual/resource.texi: Likewise.
26583         * manual/search.texi: Likewise.
26584         * manual/setjmp.texi: Likewise.
26585         * manual/signal.texi: Likewise.
26586         * manual/socket.texi: Likewise.
26587         * manual/startup.texi: Likewise.
26588         * manual/stdio.texi: Likewise.
26589         * manual/string.texi: Likewise.
26590         * manual/sysinfo.texi: Likewise.
26591         * manual/syslog.texi: Likewise.
26592         * manual/terminal.texi: Likewise.
26593         * manual/time.texi: Likewise.
26594         * manual/users.texi: Likewise.
26595         * INSTALL: Regenerated.
26596         * NOTES: Regenerated.
26597         * sysdeps/gnu/errlist.c: Regenerated.
26599 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26601         * include/dirent.h: Include <dirstream.h> before
26602         <dirent/dirent.h>.
26604 2012-02-28  David S. Miller  <davem@davemloft.net>
26606         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26607         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26608         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26609         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26611 2012-02-27  David S. Miller  <davem@davemloft.net>
26613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26615         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26616         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26619         frame pointer instead of stack pointer relative arg slot.
26620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26621         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26622         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26624 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26626         [BZ #3992]
26627         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26629 2012-02-27  David S. Miller  <davem@davemloft.net>
26631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26635         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26636         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26637         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26638         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26640 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26642         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26643         later.  Allow versions 5-9.
26644         * configure: Regenerated.
26645         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26646         required minimum version and 4.6 as recommended version.  Do not
26647         mention bugs in GCC 2.7 and 2.8.
26648         * INSTALL: Regenerated.
26650 2012-02-27  David S. Miller  <davem@davemloft.net>
26652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26656         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26657         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26658         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26659         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26661         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26662         manipulate bits before adding and subtracting TWO112[sx].
26663         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26665 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26667         [BZ #13775]
26668         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26669         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26670         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26671         being in POSIX, because they are in 1003.1-2008.
26673         * rt/tst-aio.c: Include <fcntl.h>.
26674         * rt/tst-aio7.c: Likewise.
26675         * rt/tst-aio64.c: Likewise.
26677         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26679 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26681         * manual/install.texi (--with-headers): Describe headers as
26682         interface headers, not private headers.
26683         (Specific advice for GNU/Linux systems): Describe use of headers
26684         from "make headers_install", not private headers from older
26685         kernels.
26686         * INSTALL: Regenerated.
26687         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26688         Change to 2.6.19.
26689         * sysdeps/unix/sysv/linux/configure: Regenerated.
26691         * manual/llio.texi (fclean): Remove documentation.
26693         * manual/Makefile (libc-texi-generated): New variable.  Include
26694         version.texi.
26695         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26696         $(libc-texi-generated), not duplicated list of files.
26697         (version.texi, stamp-version): New rules.
26698         (realclean): Remove $(libc-texi-generated), not individual files
26699         from that list.  Do not remove dir-add.texinfo.
26700         * manual/libc.texinfo: Comment out uses of edition numbers and
26701         references to printed manual.  Remove last-updated dates.
26702         (EDITION): Comment out.
26703         (ISBN): Likewise.
26704         (VERSION, UPDATED): Remove.
26705         (version.texi): Include.
26707 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26709         * sysdeps/posix/spawni.c: Include <signal.h>.
26710         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26711         * sysdeps/pthread/aio_fsync.c: Likewise.
26713 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26715         * conform/Makefile (tests): Run only when not cross-compiling and
26716         when fast-check is not defined.
26718         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26719         * conform/data/limits.h-data: Fixes for POSIX2008.
26720         * conform/run-conformtest.sh: Run all tests.
26721         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26722         headers.
26723         * include/bits/dlfcn.h: Likewise.
26724         * include/langinfo.h: Likewise.
26725         * include/monetary.h: Likewise.
26726         * include/sys/poll.h: Likewise.
26728         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26729         for __USE_GNU.
26730         * posix/spawn.h: Define __need_sigset_t.
26731         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26732         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26733         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26734         to get sigevent_t only.
26735         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26736         only for __USE_GNU.
26737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26738         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26739         process_vm_writev only for __USE_GNU.
26740         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26742         * conform/Makefile: For now ignore errors from run-conformtest.
26743         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26744         POSIX to avoid namespace pollution.  Don't prepend headers.
26745         * conform/data/aio.h-data: Fixes for POSIX testing.
26746         * conform/data/fcntl.h-data: Likewise.
26747         * conform/data/glob.h-data: Likewise.
26748         * conform/data/grp.h-data: Likewise.
26749         * conform/data/pthread.h-data: Likewise.
26750         * conform/data/pwd.h-data: Likewise.
26751         * conform/data/signal.h-data: Likewise.
26752         * conform/data/spawn.h-data: Likewise.
26753         * conform/data/stdio.h-data: Likewise.
26754         * conform/data/stdlib.h-data: Likewise.
26755         * conform/data/stropts.h-data: Likewise.
26756         * conform/data/sys/mman.h-data: Likewise.
26757         * conform/data/sys/stat.h-data: Likewise.
26758         * conform/data/sys/types.h-data: Likewise.
26759         * conform/data/sys/wait.h-data: Likewise.
26760         * conform/data/time.h-data: Likewise.
26761         * conform/data/unistd.h-data: Likewise.
26762         * conform/data/utime.h-data: Likewise.
26764         * io/sys/stat.h: fchmod was always in POSIX.
26765         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26766         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26767         * rt/aio.h: Define __need_timespec before including <time.h>.
26768         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26769         struct.  Add forward declaration of pthread_attr_t and use it in
26770         sigevent.
26771         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26772         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26773         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26774         always remove CLK_TCK definition.
26776 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26778         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26780 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26782         * conform/run-conformtest.sh: New file.
26783         * conform/Makefile: Run run-conformtest for tests.
26784         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26785         support.
26787         * conform/data/uchar.h-data: New file.
26788         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26789         * conform/data/arpa/inet.h-data: Likewise.
26790         * conform/data/assert.h-data: Likewise.
26791         * conform/data/complex.h-data: Likewise.
26792         * conform/data/cpio.h-data: Likewise.
26793         * conform/data/ctype.h-data: Likewise.
26794         * conform/data/dirent.h-data: Likewise.
26795         * conform/data/dlfcn.h-data: Likewise.
26796         * conform/data/errno.h-data: Likewise.
26797         * conform/data/fcntl.h-data: Likewise.
26798         * conform/data/float.h-data: Likewise.
26799         * conform/data/fmtmsg.h-data: Likewise.
26800         * conform/data/fnmatch.h-data: Likewise.
26801         * conform/data/ftw.h-data: Likewise.
26802         * conform/data/glob.h-data: Likewise.
26803         * conform/data/grp.h-data: Likewise.
26804         * conform/data/iconv.h-data: Likewise.
26805         * conform/data/inttypes.h-data: Likewise.
26806         * conform/data/langinfo.h-data: Likewise.
26807         * conform/data/libgen.h-data: Likewise.
26808         * conform/data/limits.h-data: Likewise.
26809         * conform/data/locale.h-data: Likewise.
26810         * conform/data/math.h-data: Likewise.
26811         * conform/data/monetary.h-data: Likewise.
26812         * conform/data/mqueue.h-data: Likewise.
26813         * conform/data/ndbm.h-data: Likewise.
26814         * conform/data/net/if.h-data: Likewise.
26815         * conform/data/netdb.h-data: Likewise.
26816         * conform/data/netinet/in.h-data: Likewise.
26817         * conform/data/nl_types.h-data: Likewise.
26818         * conform/data/poll.h-data: Likewise.
26819         * conform/data/pthread.h-data: Likewise.
26820         * conform/data/pwd.h-data: Likewise.
26821         * conform/data/regex.h-data: Likewise.
26822         * conform/data/sched.h-data: Likewise.
26823         * conform/data/search.h-data: Likewise.
26824         * conform/data/semaphore.h-data: Likewise.
26825         * conform/data/setjmp.h-data: Likewise.
26826         * conform/data/signal.h-data: Likewise.
26827         * conform/data/spawn.h-data: Likewise.
26828         * conform/data/stdarg.h-data: Likewise.
26829         * conform/data/stdio.h-data: Likewise.
26830         * conform/data/stdlib.h-data: Likewise.
26831         * conform/data/string.h-data: Likewise.
26832         * conform/data/strings.h-data: Likewise.
26833         * conform/data/stropts.h-data: Likewise.
26834         * conform/data/sys/ipc.h-data: Likewise.
26835         * conform/data/sys/mman.h-data: Likewise.
26836         * conform/data/sys/msg.h-data: Likewise.
26837         * conform/data/sys/resource.h-data: Likewise.
26838         * conform/data/sys/select.h-data: Likewise.
26839         * conform/data/sys/sem.h-data: Likewise.
26840         * conform/data/sys/shm.h-data: Likewise.
26841         * conform/data/sys/socket.h-data: Likewise.
26842         * conform/data/sys/stat.h-data: Likewise.
26843         * conform/data/sys/statvfs.h-data: Likewise.
26844         * conform/data/sys/time.h-data: Likewise.
26845         * conform/data/sys/timeb.h-data: Likewise.
26846         * conform/data/sys/times.h-data: Likewise.
26847         * conform/data/sys/types.h-data: Likewise.
26848         * conform/data/sys/uio.h-data: Likewise.
26849         * conform/data/sys/un.h-data: Likewise.
26850         * conform/data/sys/utsname.h-data: Likewise.
26851         * conform/data/sys/wait.h-data: Likewise.
26852         * conform/data/syslog.h-data: Likewise.
26853         * conform/data/tar.h-data: Likewise.
26854         * conform/data/termios.h-data: Likewise.
26855         * conform/data/utime.h-data: Likewise.
26856         * conform/data/utmpx.h-data: Likewise.
26857         * conform/data/varargs.h-data: Likewise.
26858         * conform/data/wchar.h-data: Likewise.
26859         * conform/data/wctype.h-data: Likewise.
26860         * conform/data/wordexp.h-data: Likewise.
26862         * include/stropts.h: New file.
26863         * include/uchar.h: New file.
26864         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26865         * include/assert.h: Likewise.
26866         * include/ctype.h: Likewise.
26867         * include/dirent.h: Likewise.
26868         * include/dlfcn.h: Likewise.
26869         * include/fcntl.h: Likewise.
26870         * include/fnmatch.h: Likewise.
26871         * include/glob.h: Likewise.
26872         * include/grp.h: Likewise.
26873         * include/libio.h: Likewise.
26874         * include/locale.h: Likewise.
26875         * include/math.h: Likewise.
26876         * include/net/if.h: Likewise.
26877         * include/netdb.h: Likewise.
26878         * include/netinet/in.h: Likewise.
26879         * include/pthread.h: Likewise.
26880         * include/pwd.h: Likewise.
26881         * include/regex.h: Likewise.
26882         * include/sched.h: Likewise.
26883         * include/search.h: Likewise.
26884         * include/setjmp.h: Likewise.
26885         * include/signal.h: Likewise.
26886         * include/stdio.h: Likewise.
26887         * include/stdlib.h: Likewise.
26888         * include/string.h: Likewise.
26889         * include/sys/cdefs.h: Likewise.
26890         * include/sys/mman.h: Likewise.
26891         * include/sys/msg.h: Likewise.
26892         * include/sys/resource.h: Likewise.
26893         * include/sys/select.h: Likewise.
26894         * include/sys/socket.h: Likewise.
26895         * include/sys/stat.h: Likewise.
26896         * include/sys/statvfs.h: Likewise.
26897         * include/sys/time.h: Likewise.
26898         * include/sys/times.h: Likewise.
26899         * include/sys/uio.h: Likewise.
26900         * include/sys/utsname.h: Likewise.
26901         * include/sys/wait.h: Likewise.
26902         * include/termios.h: Likewise.
26903         * include/time.h: Likewise.
26904         * include/ulimit.h: Likewise.
26905         * include/unistd.h: Likewise.
26906         * include/utime.h: Likewise.
26907         * include/wchar.h: Likewise.
26908         * include/wctype.h: Likewise.
26909         * include/wordexp.h: Likewise.
26911         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26913         * time/time.h: TIME_UTC must be a macro.
26914         Make timespec_get available for ISO C11 only as well.
26916 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26918         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26919         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26921 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26923         * configure.in: Use -o not -a in test for unsupported multi-arch.
26925 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26927         * manual/texinfo.tex: Update to version 2012-01-19.16.
26929 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26931         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26933 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26935         [BZ #13738]
26936         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26937         * manual/fdl-1.3.texi: New file.
26938         * manual/fdl-1.1.texi: File removed.
26940         [BZ #13738]
26941         * manual/libc.texinfo (FDL_VERSION): New @set.
26942         Use it for mention of FDL in cover text.
26943         (Documentation License): Use it in @include file name.
26945 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26946             Roland McGrath  <roland@hack.frob.com>
26948         [BZ #5461]
26949         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26950         not LONG_LONG_MAX and LONG_LONG_MIN.
26951         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26952         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26953         name.
26954         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26956 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26958         [BZ #2547]
26959         [BZ #11365]
26960         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26961         manipulate bits before adding and subtracting TWO23[sx].
26962         * math/libm-test.inc (nearbyint_test): Add more tests.
26964 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26966         [BZ #2548]
26967         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26968         bits before adding and subtracting TWO23[sx].
26969         * math/libm-test.inc (rint_test): Add more tests.
26970         (rint_test_tonearest): Likewise.
26971         (rint_test_towardzero): Likewise.
26972         (rint_test_downward): Likewise.
26973         (rint_test_upward: Likewise.
26975 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26977         [BZ #10110]
26978         * include/stdc-predef.h: New file.  Extracted from features.h.
26979         * include/features.h: Include stdc-predef.h.
26980         * Makefile (headers): Add stdc-predef.h.
26981         * CONFORMANCE (Compiler limitations): Update.
26983 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26985         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26987 2012-02-21  David S. Miller  <davem@davemloft.net>
26989         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26990         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26992 2012-02-20  David S. Miller  <davem@davemloft.net>
26994         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26995         using a normal save/restore sequence, rather than allocating a
26996         dummy stack frame just to store a frame pointer and restore.
26997         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26999 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27001         * manual/install.texi: Fix stray word in line-wrapped comment.
27003 2012-02-20  David S. Miller  <davem@davemloft.net>
27005         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27006         both binutils and gcc support GOTDATA.
27008         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27009         "rd %pc" in the PIC register setup sequences.
27011         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27012         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27013         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27014         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27015         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27016         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27017         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27018         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27019         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27020         (SYSCALL_ERROR_HANDLER): Likewise.
27021         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27022         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27023         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27024         (SYSCALL_ERROR_HANDLER): Likewise.
27026         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27027         (HAVE_GCC_GOTDATA): New.
27028         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27029         relocation support in both binutils and gcc.
27030         * sysdeps/sparc/elf/configure: Regenerate.
27032         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27033         * sysdeps/sparc/sparc32/elf/configure: Delete.
27034         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27035         * sysdeps/sparc/sparc64/elf/configure: Delete.
27036         * sysdeps/sparc/elf/configure.in: New file.
27037         * sysdeps/sparc/elf/configure: Generate.
27039         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27040         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27041         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27042         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27043         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27045 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27047         * manual/install.texi: Do not mention specific glibc version
27048         numbers.
27049         * manual/libc.texinfo (VERSION, UPDATED): Update.
27050         (@copying): Use @copyright{} and range of years.
27052 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27054         [BZ #13695]
27055         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27056         [crti.S not in sysdirs] (generated): Do not append.
27057         [crti.S not in sysdirs] (omit-deps): Likewise.
27058         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27059         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27060         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27061         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27062         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27063         Likewise.
27064         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27065         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27066         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27067         * csu/defs.awk: Remove file.
27068         * sysdeps/generic/initfini.c: Likewise.
27069         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27070         variable.
27071         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27072         Likewise.
27074 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27076         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27077         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27078         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27079         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27080         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27081         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27082         <bits/epoll.h>.
27083         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27084         (__EPOLL_PACKED): Define to empty if not defined by
27085         <bits/epoll.h>.
27086         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27088         bits/epoll.h.
27090 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27092         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27093         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27094         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27095         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27096         <bits/timerfd.h>.
27097         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27099         bits/timerfd.h.
27101 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27103         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27104         in C locale.
27105         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27106         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27107         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27110 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27112         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27113         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27115 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27117         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27118         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27119         defined.
27120         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27121         Likewise.
27122         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27123         entry for 2.16.
27125 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27127         * math/w_acos.c: Use non-signaling floating-point comparisons.
27128         * math/w_acosf.c: Likewise.
27129         * math/w_acosh.c: Likewise.
27130         * math/w_acoshf.c: Likewise.
27131         * math/w_acoshl.c: Likewise.
27132         * math/w_acosl.c: Likewise.
27133         * math/w_asin.c: Likewise.
27134         * math/w_asinf.c: Likewise.
27135         * math/w_asinl.c: Likewise.
27136         * math/w_atanh.c: Likewise.
27137         * math/w_atanhf.c: Likewise.
27138         * math/w_atanhl.c: Likewise.
27139         * math/w_exp2.c: Likewise.
27140         * math/w_exp2f.c: Likewise.
27141         * math/w_exp2l.c: Likewise.
27142         * math/w_j0.c: Likewise.
27143         * math/w_j0f.c: Likewise.
27144         * math/w_j0l.c: Likewise.
27145         * math/w_j1.c: Likewise.
27146         * math/w_j1f.c: Likewise.
27147         * math/w_j1l.c: Likewise.
27148         * math/w_jn.c: Likewise.
27149         * math/w_jnf.c: Likewise.
27150         * math/w_log.c: Likewise.
27151         * math/w_log10.c: Likewise.
27152         * math/w_log10f.c: Likewise.
27153         * math/w_log10l.c: Likewise.
27154         * math/w_log2.c: Likewise.
27155         * math/w_log2f.c: Likewise.
27156         * math/w_log2l.c: Likewise.
27157         * math/w_logf.c: Likewise.
27158         * math/w_logl.c: Likewise.
27159         * math/w_sqrt.c: Likewise.
27160         * math/w_sqrtf.c: Likewise.
27161         * math/w_sqrtl.c: Likewise.
27162         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27163         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27164         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27165         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27166         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27168 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27170         [BZ #9739]
27171         * manual/string.texi (strnlen): Use correct parameter name in
27172         equivalent expression.
27174 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27176         [BZ #11174]
27177         * manual/users.texi (seteuid): Consistently use neweuid for
27178         argument name.
27180 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27182         [BZ #13704]
27183         * manual/nss.texi (Services in the NSS configuration): Correct
27184         list of services in example configuration file.
27186 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27188         [BZ #11322]
27189         * manual/arith.texi: Remove statements about negative zero
27190         behaving identically to zero.
27192 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27194         [BZ #5993]
27195         * manual/install.texi: Do not document upgrading from libc5.
27197 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27199         [BZ #4596]
27200         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27202 2012-02-18  David S. Miller  <davem@davemloft.net>
27204         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27205         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27206         %o7 across the call.
27207         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27208         instead.
27209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27210         SETUP_PIC_REG_LEAF.
27211         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27212         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27213         * sysdeps/sparc/crtn.S: Likewise.
27215 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27217         * aout/Makefile: Remove.
27219 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27221         [BZ #13058]
27222         * manual/examples/argp-ex1.c (main): Format definition in GNU
27223         style.
27224         * manual/examples/argp-ex2.c (main): Likewise.
27225         * manual/examples/argp-ex3.c (main): Likewise.
27226         * manual/examples/argp-ex4.c (main): Likewise.
27227         * manual/examples/longopt.c (main): Use new-style prototype
27228         definition.
27229         * manual/examples/strncat.c (main): Specify return type and use
27230         (void) for arguments.
27231         * manual/examples/subopt.c (main): Use char **argv argument.
27233 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27235         [BZ #5077]
27236         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27237         rounding modes.
27239 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
27241         [BZ #6907]
27242         * manual/string.texi (strchr): Change when strchrnul is
27243         recommended.
27245 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
27247         [BZ #174]
27248         * manual/locale.texi (setlocale): Document LOCPATH.
27250 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27252         [BZ #10210]
27253         * manual/process.texi (execle): Move @dots{} before last argument.
27255 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
27257         [BZ #12047]
27258         * manual/charset.texi (Generic Charset Conversion): Fix typo
27259         (LC_TYPE -> LC_CTYPE).
27261 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
27263         [BZ #5805]
27264         * manual/arith.texi (scalbn): Use @var{} on parameter names.
27265         (scalbnf): Likewise.
27266         (scalbnl): Likewise.
27267         (scalbln): Likewise.
27268         (scalblnf): Likewise.
27269         (scalblnl): Likewise.
27270         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27271         (vwarnx): Likewise.
27272         (verr): Likewise.
27273         (verrx): Likewise.
27274         * manual/filesys.texi (telldir): Use braces around return type.
27275         * manual/llio.texi (mmap): Add space after comma.
27276         (mmap64): Likewise.
27277         * manual/math.texi (jn): Use @var{} on parameter names.
27278         (jnf): Likewise.
27279         (jnl): Likewise.
27280         (yn): Likewise.
27281         (ynf): Likewise.
27282         (ynl): Likewise.
27283         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27284         line.
27285         * manual/resource.texi (ulimit): Use @dots{} instead of literal
27286         "...".
27287         (sched_get_priority_min): Remove semicolon on @deftypefun line.
27288         (sched_get_priority_max): Likewise.
27289         * manual/signal.texi (sigvec): Add space after comma.
27290         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27291         names.
27292         (if_indextoname): Likewise.
27293         (if_freenameindex): Likewise.
27294         (sendto): Use ',' instead of '.' in prototype.
27295         * manual/startup.texi (syscall): Use @dots{} instead of literal
27296         "...".
27297         * manual/stdio.texi (__fpending): Separate initial words of
27298         paragraph from @deftypefun line.
27299         * manual/syslog.texi (syslog): Use @dots{} instead of literal
27300         "...".
27301         (vsyslog): Use @var{} on parameter names.
27302         * manual/terminal.texi (stty): Use @var{} on parameter names.
27303         * manual/users.texi (getutmp): Use @var{} on parameter names.
27304         (getutmpx): Likewise.
27306 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27308         [BZ #6884]
27309         * manual/stdio.texi (fopen): Fix typos in description of
27310         ",ccs=STRING".
27312 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
27314         [BZ #4026]
27315         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27316         get clock_id definition.
27318 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
27320         [BZ #4822]
27321         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27322         (madvise): Cast every argument to void on its own.
27324 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27326         [BZ #9902]
27327         * manual/startup.texi (Exit Status): Fix typo.
27329 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27331         [BZ #10140]
27332         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27333         * manual/examples/argp-ex2.c: Likewise.
27334         * manual/examples/argp-ex3.c: Likewise.
27336 2012-02-16  Richard Henderson  <rth@redhat.com>
27338         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27339         * sysdeps/s390/s390-32/initfini.c: Remove.
27340         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27341         * sysdeps/s390/s390-64/initfini.c: Remove.
27343 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27345         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27346         compiler output for sysdeps/generic/initfini.c.
27347         * sysdeps/sh/elf/initfini.c: Remove file.
27349 2012-02-16  David S. Miller  <davem@davemloft.net>
27351         [BZ #11494]
27352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27354         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27355         * sysdeps/sparc/crti.S: New file.
27356         * sysdeps/sparc/crtn.S: New file.
27357         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27358         * sysdeps/sparc/sparc64/Makefile: Likewise.
27360 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27362         [BZ #3335]
27363         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27365 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27367         [BZ #4822]
27368         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27370         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27371         (write, read, close): Likewise.
27372         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27374 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27376         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27377         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27378         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27379         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27380         <bits/signalfd.h>.
27381         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27383         bits/signalfd.h.
27385 2012-02-14  Marek Polacek  <polacek@redhat.com>
27387         * sysdeps/x86_64/crti.S: New file.
27388         * sysdeps/x86_64/crtn.S: New file.
27389         * sysdeps/x86_64/elf/initfini.c: Remove file.
27391 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27393         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27394         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27395         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27396         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27397         <bits/inotify.h>.
27398         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27400         bits/inotify.h.
27402 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27404         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27405         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27406         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27407         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27408         <bits/eventfd.h>.
27409         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27410         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27411         bits/eventfd.h.
27413 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27415         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27416         __feraiseexcept instead of feraiseexcept.
27418         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27419         nanosleep invocations.
27420         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27421         strings, and add error checking for a nanosleep invocations.
27423 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27425         Replace FSF snail mail address with URLs, as per GNU coding standards.
27426         Most of the snail mail addresses were wrong anyway, and omitting
27427         them makes the source code easier to maintain.  Almost all of the
27428         changes are to license notices and to locale LC_IDENTIFICATION
27429         addresses, except for this one:
27430         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27431         not its snail mail address.
27433 2012-02-09  Richard Henderson  <rth@twiddle.net>
27435         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27436         of kernel-features.h.
27438         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27440 2012-02-08  Marek Polacek  <polacek@redhat.com>
27442         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27443         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27444         * sysdeps/gnu/_G_config.h: Likewise.
27445         * sysdeps/generic/_G_config.h: Likewise.
27447 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27449         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27450         tests.
27451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27453         * sysdeps/powerpc/powerpc32/crti.S: New file.
27454         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27455         * sysdeps/powerpc/powerpc64/crti.S: New file.
27456         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27458         * Makeconfig (have-initfini): Don't set.
27459         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27460         * configure.in (nopic_initfini): Don't substitute.
27461         * config.h.in (HAVE_INITFINI): Don't #undef.
27462         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27463         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27465 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27467         Support crti.S and crtn.S provided directly by architectures.
27468         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27469         [crti.S in sysdirs] (omit-deps): Likewise.
27470         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27471         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27472         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27473         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27474         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27475         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27476         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27477         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27478         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27479         compiler output for sysdeps/generic/initfini.c.
27480         * sysdeps/i386/elf/Makefile: Remove file.
27481         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27483 2012-02-07  Marek Polacek  <polacek@redhat.com>
27485         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27486         * sysdeps/gnu/_G_config.h: Likewise.
27487         * sysdeps/mach/hurd/_G_config.h: Likewise.
27489 2012-02-07  Marek Polacek  <polacek@redhat.com>
27491         * math/Makefile (tests): Add tst-CMPLX2.
27492         * math/tst-CMPLX2.c: New file.
27494 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27496         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27498         * math/libm-test.inc (jn_test): Add missing L suffix.
27500 2012-02-06  Marek Polacek  <polacek@redhat.com>
27502         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27503         * sysdeps/i386/fpu/e_powf.S: Likewise.
27504         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27505         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27506         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27507         * sysdeps/i386/fpu/e_pow.S: Likewise.
27508         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27509         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27510         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27511         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27512         * sysdeps/i386/fpu/e_log2.S: Likewise.
27513         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27514         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27515         * sysdeps/i386/fpu/e_powl.S: Likewise.
27516         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27517         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27518         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27519         * sysdeps/i386/fpu/e_logl.S: Likewise.
27520         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27521         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27522         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27523         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27524         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27525         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27526         * sysdeps/i386/fpu/e_log.S: Likewise.
27527         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27528         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27529         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27530         * sysdeps/i386/fpu/e_logf.S: Likewise.
27531         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27532         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27533         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27534         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27535         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27536         * sysdeps/i386/fpu/e_log10.S: Likewise.
27537         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27538         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27539         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27540         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27541         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27542         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27543         * sysdeps/i386/asm-syntax.h: Likewise.
27544         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27545         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27546         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27547         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27548         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27549         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27550         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27551         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27552         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27553         * sysdeps/powerpc/sysdep.h: Likewise.
27554         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27555         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27557 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27559         [BZ #411]
27560         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27562 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27564         * sysdeps/i386/sysdep.h: Include <features.h>.
27565         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27566         version.
27568 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27570         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27571         Define.
27572         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27573         LOAD_PIC_REG_STR.
27575 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27577         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27578         (SETUP_PIC_REG): Use GET_PC_THUNK.
27579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27580         macro.
27582 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27584         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27585         for non-PIC compilation.
27586         (SETUP_PIC_REG): Add .p2align directive.
27587         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27588         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27589         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27590         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27591         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27592         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27593         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27594         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27595         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27596         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27597         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27598         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27599         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27600         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27601         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27602         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27603         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27604         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27605         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27606         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27607         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27608         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27609         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27610         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27611         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27612         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27613         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27614         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27615         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27616         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27617         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27618         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27619         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27620         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27621         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27622         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27623         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27624         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27625         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27626         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27627         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27629 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27631         * math/tst-CMPLX.c: Include <stdio.h>.
27633 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27635         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27636         float.
27637         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27638         * sysdeps/sparc/bits/mathdef.h: Likewise.
27640 2012-01-31  Marek Polacek  <polacek@redhat.com>
27642         * libio/libio.h: Don't define _PARAMS.
27643         * locale/programs/config.h: Don't define PARAMS.
27644         * stdlib/strtol_l.c: Likewise.
27645         (__strtol_l): Remove PARAMS from the prototype.
27647 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27649         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27650         names.  Just use the correct names.  Remove unnecessary wrapper
27651         functions.
27652         * malloc/arena.c: Likewise.
27653         * malloc/hooks.c: Likewise.
27655         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27656         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27657         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27659 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27661         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27662         into tail calls.
27663         (update_get_addr): New function.
27664         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27665         GET_ADDR_MODULE parameter.
27667 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27669         * crypt/cert.c: Remove __STDC__ conditionals.
27670         * crypt/crypt-entry.c: Likewise.
27671         * crypt/crypt_util.c: Likewise.
27672         * libio/filedoalloc.c: Likewise.
27673         * libio/fileops.c: Likewise.
27674         * libio/genops.c: Likewise.
27675         * libio/iofclose.c: Likewise.
27676         * libio/iofdopen.c: Likewise.
27677         * libio/iofopen.c: Likewise.
27678         * libio/iofopen64.c: Likewise.
27679         * libio/iogetdelim.c: Likewise.
27680         * libio/iopopen.c: Likewise.
27681         * libio/obprintf.c: Likewise.
27682         * libio/oldfileops.c: Likewise.
27683         * libio/oldiofclose.c: Likewise.
27684         * libio/oldiofdopen.c: Likewise.
27685         * libio/oldiofopen.c: Likewise.
27686         * libio/oldiopopen.c: Likewise.
27687         * libio/wfiledoalloc.c: Likewise.
27688         * libio/wgenops.c: Likewise.
27689         * locale/programs/xmalloc.c: Likewise.
27690         * misc/syslog.c: Likewise.
27691         * stdio-common/xbug.c: Likewise.
27692         * string/memchr.c: Likewise.
27693         * string/memcmp.c: Likewise.
27694         * string/memrchr.c: Likewise.
27695         * string/rawmemchr.c: Likewise.
27696         * sysdeps/posix/getcwd.c: Likewise.
27697         * time/strftime_l.c: Likewise.
27699 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27701         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27702         * config.make.in (config-cflags-sse2avx): Define.
27703         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27704         Fix typo.
27706 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27708         * scripts/config.guess: Update from upstream config git repository.
27709         * scripts/config.sub: Likewise.
27711 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27713         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27714         (EM_NUM): Update.
27715         (R_TILEPRO_*, R_TILEGX_*): New macros.
27717         * scripts/firstversions.awk: Fix bug in version range handling.
27719         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27721         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27723         * include/sys/epoll.h: New file.
27724         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27725         libc_hidden_def.
27727 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27729         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27730         Avoid unnecessary __WORDSIZE == 64 test.
27731         (fmaxf): Use VEX format if possible.
27732         (fmax): Likewise.
27733         (fminf): Likewise.
27734         (fmin): Likewise.
27736         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27737         * math/math_private.h: Remove libc_fegetround* and
27738         libc_fesetround*.
27739         * sysdeps/i386/configure.in: Check for -msse2avx.
27740         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27741         also if SSE2AVX is defined.
27742         Remove libc_fegetround* and libc_fesetround*.
27743         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27744         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27745         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27746         of HAS_YMM_USABLE.
27747         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27748         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27749         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27750         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27751         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27753         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27755 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27757         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27758         size is not set.
27759         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27761 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27763         [BZ #13618]
27764         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27765         relocation.
27766         * Makeconfig (libm): Define.
27767         * elf/Makefile: Add rules to build and run tst-relsort1.
27768         * elf/tst-relsort1.c: New file.
27769         * elf/tst-relsort1mod1.c: New file.
27770         * elf/tst-relsort1mod2.c: New file.
27772 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27774         * math/s_ldexp.c: Remove __STDC__ conditionals.
27775         * math/s_ldexpf.c: Likewise.
27776         * math/s_ldexpl.c: Likewise.
27777         * math/s_nextafter.c: Likewise.
27778         * math/s_nexttowardf.c: Likewise.
27779         * math/s_significand.c: Likewise.
27780         * math/s_significandf.c: Likewise.
27781         * math/s_significandl.c: Likewise.
27782         * math/w_jnl.c: Likewise.
27783         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27784         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27785         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27786         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27787         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27788         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27789         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27790         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27791         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27792         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27793         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27794         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27795         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27796         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27797         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27798         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27799         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27800         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27801         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27802         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27803         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27804         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27805         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27806         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27807         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27808         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27809         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27810         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27811         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27812         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27813         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27814         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27815         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27816         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27817         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27818         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27819         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27820         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27821         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27822         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27823         * sysdeps/ieee754/k_standard.c: Likewise.
27824         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27825         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27826         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27827         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27828         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27829         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27830         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27831         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27832         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27833         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27834         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27835         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27836         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27837         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27838         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27839         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27840         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27841         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27842         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27843         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27844         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27845         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27846         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27847         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27848         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27849         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27850         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27851         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27852         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27853         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27854         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27855         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27856         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27857         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27859         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27860         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27861         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27862         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27863         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27864         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27865         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27866         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27867         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27868         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27869         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27870         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27871         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27872         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27873         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27874         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27875         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27876         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27877         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27878         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27879         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27880         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27881         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27882         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27883         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27884         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27885         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27886         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27887         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27888         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27889         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27890         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27891         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27892         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27893         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27894         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27895         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27896         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27897         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27898         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27899         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27900         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27901         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27902         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27903         * sysdeps/ieee754/s_matherr.c: Likewise.
27904         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27905         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27906         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27907         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27909 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27911         * crypt/md5.h: Remove __STDC__ conditionals.
27912         * libio/libioP.h: Likewise.
27913         * locale/programs/config.h: Likewise.
27914         * sysdeps/generic/sysdep.h: Likewise.
27915         * sysdeps/i386/asm-syntax.h: Likewise.
27916         * sysdeps/s390/asm-syntax.h: Likewise.
27917         * sysdeps/unix/sysdep.h: Likewise.
27918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27921 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27923         * libio/libio.h: Remove __STDC__ conditionals.
27924         * malloc/obstack.h: Likewise.
27925         * math/complex.h: Likewise.
27926         * math/math.h: Likewise.
27927         * sysdeps/generic/_G_config.h: Likewise.
27928         * sysdeps/gnu/_G_config.h: Likewise.
27929         * sysdeps/mach/hurd/_G_config.h: Likewise.
27930         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27931         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27932         * sysdeps/sparc/bits/mathdef.h: Likewise.
27934 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27936         [BZ #13583]
27937         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27938         Clean up HAS_* macros.
27939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27940         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27941         possible.
27942         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27943         HAS_AVX.
27944         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27945         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27946         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27947         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27948         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27950 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27952         * elf/tst-unique3.cc (gets): Remove declaration.
27953         * elf/tst-unique3lib.cc (gets): Likewise.
27954         * elf/tst-unique3lib2.cc (gets): Likewise.
27955         * elf/tst-unique4.cc (gets): Likewise.
27957 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27959         * include/stdio.h: Add C++ protection.  Add gets declarations and
27960         definitions.
27961         * debug/tst-chk1.c: Don't declare gets here.
27962         * stdio-common/tst-gets.c: Likewise.
27964 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27966         * posix/glob: Remove directory.
27968 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27970         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27972 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27974         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27975         of the non-standard EPFNOSUPPORT.
27977 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27979         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27980         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27981         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27983 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27985         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27987 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27989         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27990         transient errors.
27991         * nscd/grpcache.c (cache_addgr): Likewise.
27992         * nscd/hstcache.c (cache_addhst): Likewise.
27993         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27994         * nscd/pwdcache.c (cache_addpw): Likewise.
27995         * nscd/servicescache.c (cache_addserv): Likewise.
27997 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27999         * malloc/malloc.c: Various cleanups.
28000         * malloc/hooks.c: Likewise.
28002         * stdlib/Makefile (tests): Add bug-fmtmsg1.
28003         * stdlib/bug-fmtmsg1.c: New file.
28005         * stdlib/fmtmsg.c (init): Add missing unlock.
28006         Patch by Peng Haitao <penght@cn.fujitsu.com>.
28008 2012-01-12  Marek Polacek  <polacek@redhat.com>
28010         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28011         and _GNU_SOURCE.
28013 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28015         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28016         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28017         macro to ensure uniqueness of label name.
28018         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28019         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28021 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28023         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28025         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28026         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28027         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28028         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28030 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28032         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28034         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28035         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28036         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28038         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28040         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28041         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28042         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28043         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28045         * math/bits/math-finite.h: Add ldexp support.
28047 2012-01-10  Marek Polacek  <polacek@redhat.com>
28049         * locale/programs/localedef.h (show_archive_content): Add noreturn
28050         attribute.
28052 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28054         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28056 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28058         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28060         * io/Makefile (headers): Add bits/poll2.h.
28062 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28065         typo #include statement.
28067 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28069         * include/sys/cdefs.h: Define __attribute_alloc_size.
28070         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28071         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28072         * elf/pldd.c: Likewise.
28073         * iconv/iconv_charmap.c: Likewise.
28074         * iconv/iconvconfig.c: Likewise.
28075         * iconv/strtab.c: Likewise.
28076         * locale/programs/locale.c: Likewise.
28077         * locale/programs/localedef.h: Likewise.
28078         * locale/programs/simple-hash.c: Likewise.
28079         * nscd/nscd.h: Likewise.
28080         * nss/makedb.c: Likewise.
28081         * sysdeps/generic/ldconfig.h: Likewise.
28082         * locale/programs/localedef.c: Remove xmalloc prototype.
28083         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28085 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28087         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28088         appropriate.
28090 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28092         * math/Makefile (tests): Add tst-CMPLX.
28093         * math/tst-CMPLX.c: New file.
28095         * math/complex.h (CMPLXL): Fix typo.
28097         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28098         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28099         GLIBC_2.16.
28100         * debug/tst-chk1.c: Add poll and ppoll tests.
28101         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28102         * include/sys/poll.h: Add hidden proto for ppoll.
28103         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28104         * sysdeps/mach/hurd/ppoll.c: Likewise.
28105         * io/ppoll.c: Likewise.
28106         * debug/poll_chk.c: New file.
28107         * debug/ppoll_chk.c: New file.
28108         * include/bits/poll2.h: New file.
28109         * io/bits/poll2.h: New file.
28111         [BZ #1350]
28112         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28114         * configure.in: static is always set to yes.  Remove.
28115         * config.make.in: Don't set build-static.
28116         * Makeconfig: Remove use of build-static.
28117         * dlfcn/Makefile: Likewise.
28118         * elf/Makefile: Likewise.
28119         * math/Makefile: Likewise.
28120         * misc/Makefile: Likewise.
28121         * nptl/Makefile: Likewise.
28122         * sysdeps/mach/hurd/Makefile: Likewise.
28124         * configure.in: PWD_P is not used anymore.
28125         * config.make.in: Remove PWD_P entry.
28127         * configure.in: Remove last remnants of RANLIB.
28128         No need to check for signed size_t anymore.
28129         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28130         and IA-64.
28131         Remove __builtin_expect test because we require at least gcc 3.4.
28132         * aclocal.m4: Likewise.
28134         * wcsmbs/mbrtoc16.c: Implement using towc function.
28135         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28136         * wcsmbs/wcsmbsload.c: Likewise.
28137         * iconv/gconv_simple.c: Likewise.
28138         * iconv/gconv_int.h: Likewise.
28139         * iconv/gconv_builtin.h: Likewise.
28140         * iconv/iconv_prog.c: Remove CHAR16 handling.
28142         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28144         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28146         * configure.in: Remove --with-elf and --enable-bounded options.
28147         Dont set base_machine for ia64.  More non-ELF conditions removed.
28148         Remove testing and setting of leading underscore information.
28149         * config.make.in (build-bounded): Set to no.
28150         * config.h.in: Remove NO_UNDERSCORES entry.
28151         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28152         them.
28153         * csu/start.c: Remove !NO_UNDERSCORE code.
28154         * locale/localeinfo.h: Likewise.
28155         * sysdeps/generic/machine-gmon.h: Likewise.
28156         * sysdeps/generic/sysdep.h: Likewise.
28157         * sysdeps/i386/sysdep.h: Likewise.
28158         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28159         * sysdeps/mach/sysdep.h: Likewise.
28160         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28161         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28162         * sysdeps/sh/sysdep.h: Likewise.
28163         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28164         * sysdeps/unix/i386/sysdep.S: Likewise.
28165         * sysdeps/unix/sparc/start.c: Likewise.
28166         * sysdeps/unix/sparc/sysdep.S: Likewise.
28167         * sysdeps/unix/sparc/sysdep.h: Likewise.
28168         * sysdeps/unix/start.c: Likewise.
28169         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28170         * sysdeps/x86_64/sysdep.h: Likewise.
28172 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28174         [BZ #13553]
28175         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28176         for non-gcc.
28177         * argp/argp-fmtstream.h: Use const instead __const.
28178         * argp/argp.h: Likewise.
28179         * assert/assert.h: Likewise.
28180         * bits/fenv.h: Likewise.
28181         * bits/sched.h: Likewise.
28182         * bits/sigset.h: Likewise.
28183         * bits/sigthread.h: Likewise.
28184         * catgets/nl_types.h: Likewise.
28185         * conform/data/pthread.h-data: Likewise.
28186         * crypt/crypt-private.h: Likewise.
28187         * crypt/crypt.h: Likewise.
28188         * crypt/crypt_util.c: Likewise.
28189         * ctype/ctype.h: Likewise.
28190         * debug/execinfo.h: Likewise.
28191         * debug/mbsnrtowcs_chk.c: Likewise.
28192         * debug/mbsrtowcs_chk.c: Likewise.
28193         * debug/wcsnrtombs_chk.c: Likewise.
28194         * debug/wcsrtombs_chk.c: Likewise.
28195         * debug/wcstombs_chk.c: Likewise.
28196         * dirent/dirent.h: Likewise.
28197         * dlfcn/dlfcn.h: Likewise.
28198         * elf/neededtest4.c: Likewise.
28199         * grp/grp.h: Likewise.
28200         * gshadow/gshadow.h: Likewise.
28201         * iconv/gconv.h: Likewise.
28202         * iconv/gconv_int.h: Likewise.
28203         * iconv/gconv_simple.c: Likewise.
28204         * iconv/iconv.h: Likewise.
28205         * iconv/loop.c: Likewise.
28206         * iconv/skeleton.c: Likewise.
28207         * include/aio.h: Likewise.
28208         * include/aliases.h: Likewise.
28209         * include/argz.h: Likewise.
28210         * include/arpa/inet.h: Likewise.
28211         * include/assert.h: Likewise.
28212         * include/dirent.h: Likewise.
28213         * include/dlfcn.h: Likewise.
28214         * include/execinfo.h: Likewise.
28215         * include/fcntl.h: Likewise.
28216         * include/fenv.h: Likewise.
28217         * include/glob.h: Likewise.
28218         * include/grp.h: Likewise.
28219         * include/libintl.h: Likewise.
28220         * include/mntent.h: Likewise.
28221         * include/netdb.h: Likewise.
28222         * include/pwd.h: Likewise.
28223         * include/rpc/netdb.h: Likewise.
28224         * include/sched.h: Likewise.
28225         * include/search.h: Likewise.
28226         * include/shadow.h: Likewise.
28227         * include/signal.h: Likewise.
28228         * include/stdio.h: Likewise.
28229         * include/stdlib.h: Likewise.
28230         * include/string.h: Likewise.
28231         * include/sys/socket.h: Likewise.
28232         * include/sys/stat.h: Likewise.
28233         * include/sys/statfs.h: Likewise.
28234         * include/sys/statvfs.h: Likewise.
28235         * include/sys/syslog.h: Likewise.
28236         * include/sys/time.h: Likewise.
28237         * include/sys/uio.h: Likewise.
28238         * include/time.h: Likewise.
28239         * include/unistd.h: Likewise.
28240         * include/utmp.h: Likewise.
28241         * include/wchar.h: Likewise.
28242         * include/wctype.h: Likewise.
28243         * inet/aliases.h: Likewise.
28244         * inet/arpa/inet.h: Likewise.
28245         * inet/netinet/ether.h: Likewise.
28246         * inet/netinet/in.h: Likewise.
28247         * intl/libintl.h: Likewise.
28248         * io/bits/fcntl2.h: Likewise.
28249         * io/fcntl.h: Likewise.
28250         * io/ftw.h: Likewise.
28251         * io/sys/poll.h: Likewise.
28252         * io/sys/stat.h: Likewise.
28253         * io/sys/statfs.h: Likewise.
28254         * io/sys/statvfs.h: Likewise.
28255         * io/utime.h: Likewise.
28256         * libio/bits/stdio.h: Likewise.
28257         * libio/bits/stdio2.h: Likewise.
28258         * libio/libio.h: Likewise.
28259         * libio/libioP.h: Likewise.
28260         * libio/stdio.h: Likewise.
28261         * locale/lc-ctype.c: Likewise.
28262         * locale/locale.h: Likewise.
28263         * login/utmp.h: Likewise.
28264         * malloc/arena.c: Likewise.
28265         * malloc/malloc.c: Likewise.
28266         * malloc/malloc.h: Likewise.
28267         * malloc/mcheck.c: Likewise.
28268         * malloc/mtrace.c: Likewise.
28269         * math/bits/mathcalls.h: Likewise.
28270         * math/fenv.h: Likewise.
28271         * math/math_private.h: Likewise.
28272         * misc/bits/error.h: Likewise.
28273         * misc/bits/syslog.h: Likewise.
28274         * misc/err.h: Likewise.
28275         * misc/error.h: Likewise.
28276         * misc/fstab.h: Likewise.
28277         * misc/mntent.h: Likewise.
28278         * misc/regexp.h: Likewise.
28279         * misc/search.h: Likewise.
28280         * misc/sgtty.h: Likewise.
28281         * misc/sys/mman.h: Likewise.
28282         * misc/sys/syslog.h: Likewise.
28283         * misc/sys/uio.h: Likewise.
28284         * misc/sys/xattr.h: Likewise.
28285         * misc/ttyent.h: Likewise.
28286         * nis/rpcsvc/ypclnt.h: Likewise.
28287         * nss/nss.h: Likewise.
28288         * posix/bits/unistd.h: Likewise.
28289         * posix/fnmatch.h: Likewise.
28290         * posix/glob.h: Likewise.
28291         * posix/sched.h: Likewise.
28292         * posix/spawn.h: Likewise.
28293         * posix/sys/wait.h: Likewise.
28294         * posix/unistd.h: Likewise.
28295         * posix/wordexp.h: Likewise.
28296         * pwd/pwd.h: Likewise.
28297         * resolv/netdb.h: Likewise.
28298         * resource/sys/resource.h: Likewise.
28299         * rt/aio.h: Likewise.
28300         * rt/bits/mqueue2.h: Likewise.
28301         * rt/mqueue.h: Likewise.
28302         * shadow/shadow.h: Likewise.
28303         * signal/signal.h: Likewise.
28304         * socket/send.c: Likewise.
28305         * socket/sendto.c: Likewise.
28306         * socket/sys/socket.h: Likewise.
28307         * stdio-common/printf.h: Likewise.
28308         * stdlib/bits/stdlib.h: Likewise.
28309         * stdlib/fmtmsg.h: Likewise.
28310         * stdlib/monetary.h: Likewise.
28311         * stdlib/stdlib.h: Likewise.
28312         * stdlib/ucontext.h: Likewise.
28313         * streams/stropts.h: Likewise.
28314         * string/argz.h: Likewise.
28315         * string/bits/string2.h: Likewise.
28316         * string/string.h: Likewise.
28317         * string/strings.h: Likewise.
28318         * sunrpc/rpc/auth.h: Likewise.
28319         * sunrpc/rpc/auth_des.h: Likewise.
28320         * sunrpc/rpc/clnt.h: Likewise.
28321         * sunrpc/rpc/netdb.h: Likewise.
28322         * sunrpc/rpc/pmap_clnt.h: Likewise.
28323         * sunrpc/rpc/xdr.h: Likewise.
28324         * sysdeps/generic/inttypes.h: Likewise.
28325         * sysdeps/generic/net/if.h: Likewise.
28326         * sysdeps/generic/sys/swap.h: Likewise.
28327         * sysdeps/gnu/net/if.h: Likewise.
28328         * sysdeps/gnu/utmpx.h: Likewise.
28329         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28330         * sysdeps/i386/i486/bits/string.h: Likewise.
28331         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28332         * sysdeps/s390/bits/string.h: Likewise.
28333         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28334         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28335         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28336         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28337         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28338         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28339         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28340         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28341         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28342         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28343         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28344         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28345         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28346         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28347         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28348         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28349         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28350         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28351         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28352         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28353         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28354         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28355         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28356         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28357         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28358         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28359         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28360         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28361         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28362         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28363         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28364         * sysvipc/sys/ipc.h: Likewise.
28365         * sysvipc/sys/msg.h: Likewise.
28366         * sysvipc/sys/sem.h: Likewise.
28367         * sysvipc/sys/shm.h: Likewise.
28368         * termios/termios.h: Likewise.
28369         * time/sys/time.h: Likewise.
28370         * time/time.h: Likewise.
28371         * wcsmbs/bits/wchar2.h: Likewise.
28372         * wcsmbs/uchar.h: Likewise.
28373         * wcsmbs/wchar.h: Likewise.
28374         * wctype/wctype.h: Likewise.
28376         [BZ #13551]
28377         * Makeconfig: Remove all but ELF support including AIX support.
28378         * Makerules: Likewise.
28379         * config.h.in: Likewise.
28380         * config.make.in: Likewise.
28381         * configure: Likewise.
28382         * configure.in: Likewise.
28383         * csu/Makefile: Likewise.
28384         * csu/version.c: Likewise.
28385         * debug/Makefile: Likewise.
28386         * dlfcn/Makefile: Likewise.
28387         * elf/Makefile: Likewise.
28388         * extra-lib.mk: Likewise.
28389         * iconv/Makefile: Likewise.
28390         * include/libc-symbols.h: Likewise.
28391         * include/shlib-compat.h: Likewise.
28392         * resolv/Makefile: Likewise.
28393         * resolv/res_libc.c: Likewise.
28394         * rt/Makefile: Likewise.
28395         * sysdeps/i386/asm-syntax.h: Likewise.
28396         * sysdeps/i386/sysdep.h: Likewise.
28397         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28398         * sysdeps/mach/sysdep.h: Likewise.
28399         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28400         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28401         * sysdeps/s390/asm-syntax.h: Likewise.
28402         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28403         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28404         * sysdeps/sh/sysdep.h: Likewise.
28405         * sysdeps/unix/sparc/sysdep.h: Likewise.
28406         * sysdeps/wordsize-32/divdi3.c: Likewise.
28407         * sysdeps/x86_64/sysdep.h: Likewise.
28409         * argp/Versions: Remove _argp_unlock_xxx.
28411         [BZ #13559]
28412         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28413         * abilist/libBrokenLocale.abilist: Likewise.
28414         * abilist/libanl.abilist: Likewise.
28415         * abilist/libc.abilist: Likewise.
28416         * abilist/libcrypt.abilist: Likewise.
28417         * abilist/libdl.abilist: Likewise.
28418         * abilist/libm.abilist: Likewise.
28419         * abilist/libnsl.abilist: Likewise.
28420         * abilist/libpthread.abilist: Likewise.
28421         * abilist/libresolv.abilist: Likewise.
28422         * abilist/librt.abilist: Likewise.
28423         * abilist/libthread_db.abilist: Likewise.
28424         * abilist/libutil.abilist: Likewise.
28425         * abilist/libnss_db.abilist: New file.
28427         * scripts/abilist.awk: Add support for indirect functions.
28429         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28431         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28433         * shlib-versions: Remove entries for ports architectures.
28435         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28436         files in ports.
28437         * elf/stackguard-macros.h: Remove support for IA-64.
28438         * elf/tst-auditmod1.c: Likewise.
28439         * sysdeps/generic/ldsodefs.h: Likewise.
28441         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28442         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28443         configure files.
28445         [BZ #13552]
28446         * configure.in: Remove --enable-omitfp support.
28447         * FAQ.in: Adjust.
28448         * config.make.in: Likewise.
28449         * Makeconfig: Likewise.
28450         * manual/install.texi: Likewise.
28452         In case anyone cares, the IA-64 architecture could move to ports.
28453         * sysdeps/ia64/*: Removed.
28454         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28455         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28457         [BZ #13555]
28458         * configure.in: Remove entries for unsupported architectures.
28460         [BZ #13533]
28461         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28462         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28463         routines.
28464         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28465         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28466         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28467         fall back to using wcrtomb.
28468         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28469         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28470         renaming.
28471         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28472         * wcsmbs/tst-c16c32-1.c: New file.
28474         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28475         local variable.
28477         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28479         * elf/tst-unique3.cc: Add explicit declaration of gets.
28480         * elf/tst-unique3lib.cc: Likewise.
28481         * elf/tst-unique3lib2.cc: Likewise.
28482         * elf/tst-unique4.cc: Likewise.
28484         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28486 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28488         [BZ #13566]
28489         * assert/assert.h (static_assert): Don't define for C++.
28490         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28491         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28493 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28495         * iconv/loop.c (single loop): Fix assertion in storing of
28496         remaining bytes.
28498         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28500 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28502         * posix/getconf.c: Update copyright year.
28503         * nss/getent.c: Likewise.
28504         * nss/makedb.c: Likewise.
28505         * iconv/iconvconfig.c: Likewise.
28506         * iconv/iconv_prog.c: Likewise.
28507         * elf/ldconfig.c: Likewise.
28508         * elf/pldd.c: Likewise.
28509         * elf/sotruss.ksh: Likewise.
28510         * catgets/gencat.c: Likewise.
28511         * csu/version.c: Likewise.
28512         * elf/ldd.bash.in: Likewise.
28513         * elf/sprof.c (print_version): Likewise.
28514         * locale/programs/locale.c: Likewise.
28515         * locale/programs/localedef.c: Likewise.
28516         * login/programs/pt_chown.c: Likewise.
28517         * nscd/nscd.c (print_version): Likewise.
28518         * debug/xtrace.sh: Likewise.
28519         * malloc/memusage.sh: Likewise.
28520         * malloc/mtrace.pl: Likewise.
28521         * debug/catchsegv.sh: Likewise.
28523 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28525         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28526         pure attribute.
28528 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28530         [BZ #13533]
28531         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28532         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28533         transformations.
28534         * iconv/gconv_int.h: Likewise.
28535         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28536         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28537         from libc for GLIBC_2.16.
28538         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28539         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28540         * wcsmbs/uchar.h: Really define mbstate_t.
28541         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28542         * wcsmbs/c16rtomb.c: New file.
28543         * wcsmbs/mbrtoc16.c: New file.
28544         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28545         for C/POSIX locale.
28546         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28547         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28549         * wcsmbs/wchar.h: Add missing __restrict.
28551 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28553         [BZ #13532]
28554         * time/Makefile (routines): Add timespec_get.
28555         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28556         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28557         timespec for ISO C11.
28558         * time/timespec_get.c: New file.
28559         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28560         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28562         [BZ #13531]
28563         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28564         * stdlib/stdlib.h: Declare aligned_alloc.
28565         * Versions.def: Add GLIBC_2.16 for libc.
28566         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28568         [BZ 13527]
28569         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28570         ISO C11.
28572         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28573         code.
28575         [BZ #13528]
28576         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28578         [BZ #13529]
28579         * assert/assert.h (static_assert): Define.
28581         * version.h: Update for 2.16 development version.
28583         [BZ #13526]
28584         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28585         _ISOC11_SOURCE.
28587         * version.h (RELEASE): Bump for 2.15 release.
28588         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28590         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28591         Patch by Marek Polacek <mpolacek@redhat.com>.
28593         * bits/byteswap.h: Protect long long constants with __extension__.
28594         * sysdeps/i386/bits/byteswap.h: Likewise.
28595         * sysdeps/ia64/bits/byteswap.h: Likewise.
28596         * sysdeps/s390/bits/byteswap.h: Likewise.
28597         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28599 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28601         [BZ #13540]
28602         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28603         destination buffer.
28604         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28606 2011-12-23  Marek Polacek  <polacek@redhat.com>
28608         * elf/dl-addr.c (determine_info): Add inline keyword.
28609         * elf/tst-auditmod4b.c (check_avx): Likewise.
28610         * elf/tst-auditmod6b.c (check_avx): Likewise.
28611         * elf/tst-auditmod6c.c (check_avx): Likewise.
28612         * elf/tst-auditmod7b.c (check_avx): Likewise.
28614 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28616         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28617         !__SSE_MATH__.
28619 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28621         [BZ #13540]
28622         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28623         processing for last bytes.
28625 2011-08-06  Bruno Haible  <bruno@clisp.org>
28627         [BZ #13061]
28628         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28629         U+0385, not to U+1FEE.
28631         [BZ #13062]
28632         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28633         entry for U+00A5 U+0301.
28635 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28637         [BZ #13166]
28638         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28639         buffer for the output is too small.
28641         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28642         optimization.
28644         [BZ #13185]
28645         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28646         SSE flags if possible.
28648 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28650         [BZ #13540]
28651         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28652         processing for last bytes.
28654 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28656         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28657         (syscall-list-default-options, syscall-list-default-condition)
28658         (syscall-list-includes): Define.
28659         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28660         list of ABIs and options and #if conditions for each ABI.  Do not
28661         handle common syscalls between ABIs specially.
28662         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28663         Remove.
28664         (syscall-list-variants, syscall-list-32bit-options)
28665         (syscall-list-32bit-condition, syscall-list-64bit-options)
28666         (syscall-list-64bit-condition): Define.
28667         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28668         (syscall-list-variants, syscall-list-32bit-options)
28669         (syscall-list-32bit-condition, syscall-list-64bit-options)
28670         (syscall-list-64bit-condition): Define.
28671         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28672         Remove.
28673         (syscall-list-variants, syscall-list-32bit-options)
28674         (syscall-list-32bit-condition, syscall-list-64bit-options)
28675         (syscall-list-64bit-condition): Define.
28676         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28677         Remove.
28678         (syscall-list-variants, syscall-list-32bit-options)
28679         (syscall-list-32bit-condition, syscall-list-64bit-options)
28680         (syscall-list-64bit-condition): Define.
28682 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28684         * locale/iso-639.def: Add brx entry.
28686         [BZ #13328]
28687         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28688         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28690         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28691         __feraiseexcept_renamed.
28693 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28695         [BZ #13538]
28696         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28697         EPOLLET with unsigned values.
28698         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28699         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28701         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28702         to large cancellation.
28703         * math/s_cacoshf.c: Likewise.
28704         * math/s_cacoshl.c: Likewise.
28706 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28708         [BZ #13305]
28709         [BZ #12786]
28710         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28711         * math/s_cacoshf.c: Likewise.
28712         * math/s_cacoshl.c: Likewise.
28714 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28716         [BZ #13439]
28717         * iconv/gconv.h: Define __GCONV_SWAP.
28718         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28719         * iconvdata/utf-16.c: Likewise.
28720         * iconvdata/utf-32.c: Likewise.
28722 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28724         [BZ #13524]
28725         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28726         numerator after shifting it by one limb.
28728 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28730         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28731         under [__USE_EXTERN_INLINES].
28733 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28735         [BZ #13446]
28736         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28738 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28740         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28741         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28742         optimized code.
28743         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28744         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28745         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28746         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28747         for strncasecmp/strncasecmp_l compilation.
28748         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28749         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28751 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28753         [BZ #13484]
28754         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28755         of __asm__.
28757 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28759         [BZ #13506]
28760         * time/tzfile.c (__tzfile_read): Check values from file header.
28762 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28764         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28765         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28766         * powerpc/powerpc32/dl-start.S: Likewise.
28767         * powerpc/powerpc32/elf/start.S: Likewise.
28768         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28769         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28770         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28771         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28772         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28773         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28774         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28775         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28776         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28777         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28778         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28779         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28780         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28781         * powerpc/powerpc32/memset.S: Likewise.
28782         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28783         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28784         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28785         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28786         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28787         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28788         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28789         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28790         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28791         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28792         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28793         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28794         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28796 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28798         * math/libm-test.inc: Added more nearbyint tests.
28799         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28800         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28801         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28802         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28804 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28806         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28807         FD_CLOEXEC.
28809 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28811         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28812         Add wcscpy-ssse3 wcscpy-c.
28813         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28814         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28815         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28816         * sysdeps/x86_64/wcschr.S: New file.
28817         * sysdeps/x86_64/wcsrchr.S: New file.
28818         * string/test-strcmp.c: Remove checking of wcscmp function for
28819         wrong alignments.
28820         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28821         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28822         wcsrchr-sse2 wcsrchr-c.
28823         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28824         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28825         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28826         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28827         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28828         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28829         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28830         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28831         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28832         * wcsmbc/wcschr.c (WCSCHR): New macro.
28834 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28836         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28837         * wcsmbs/test-wcsrchr.c: New file.
28838         * string/test-strrchr.c: Add wcsrchr support.
28839         (WIDE): New macro.
28840         * wcsmbs/test-wcscpy.c: New file.
28841         * string/test-strcpy.c: Add wcscpy support.
28842         (WIDE): New macro.
28844 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28846         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28847         the inner loop.
28849 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28851         [BZ #13472]
28852         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28854 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28856         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28857         Minor optimizations.
28859         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28860         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28861         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28863 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28865         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28866         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28867         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28868         for gcc to avoid warnings.
28869         * inet/Makefile (tests): Add tst-checks.
28870         * inet/tst-checks.c: New file.
28872         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28873         warning.
28875         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28876         __wmemcmp_sse2.
28878         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28879         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28881         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28883 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28885         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28886         problem.
28888         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28890 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28892         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28893         conditional on GCC version.
28894         (__arch_compare_and_exchange_val_8_acq)
28895         (__arch_compare_and_exchange_val_16_acq)
28896         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28897         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28898         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28900 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28902         * sysdeps/sh/backtrace.c: New file.
28904 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28906         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28907         parenthesis.
28909 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28911         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28912         falling back to utime.
28914 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28916         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28917         expectations for float.
28919 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28921         * locale/weight.h (findidx): Add parameter len.
28922         * locale/weightwc.h (findidx): Likewise.
28923         * posix/fnmatch_loop.c (FCT): Adjust caller.
28924         * posix/regcomp.c (build_equiv_class): Likewise.
28925         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28926         * posix/regexec.c (check_node_accept_bytes): Likewise.
28927         * string/strcoll_l.c (STRCOLL): Likewise.
28928         * string/strxfrm_l.c (STRXFRM): Likewise.
28930 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28932         * Makefile.in: Remove CVSOPT handling.
28933         * configure.in: Remove use of AC_REVISION.
28934         * iconvdata/Makefile (distribute): No need to filter out CVS.
28935         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28936         handling.
28938 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28941         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28942         [USE_AS_STRNCASECMP_L]: Likewise.
28943         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28944         NO_TLS_DIRECT_SEG_REFS.
28945         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28946         Fix argument offsets for non-PIC.
28947         [USE_AS_STRNCASECMP_L]: Likewise.
28948         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28949         NO_TLS_DIRECT_SEG_REFS.
28951 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28953         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28954         O_CLOEXEC.
28955         * locale/loadlocale.c (_nl_load_locale): Likewise.
28957 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28959         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28960         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28961         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28962         (SYSCALL_GETTIME): Set errno on error.
28964         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28965         count references to noai6ai_cached.
28967 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28969         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28971         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28972         FD_CLOEXEC for /proc/self/maps.
28974         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28975         FD_CLOEXEC for /proc/meminfo.
28977         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28978         gai.conf.
28980         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28981         FD_CLOEXEC for given file.
28983         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28985         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28986         FD_CLOEXEC for /etc/hosts.
28987         (_gethtent): Likewise.
28989         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28991         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28992         cancellation and set FD_CLOEXEC for /etc/netgroup.
28994         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28995         reading /etc/publickey.
28997         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28998         allow cancellation when reading /etc/group.
29000         * nss/nss_files/files-alias.c (internal_setent): Don't allow
29001         cancellation.
29002         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
29004         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29005         when using data file.
29007         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29009         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29010         (write_nis_obj): Use "c" and "e" in fopen.
29012         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29014         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29016         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29018         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29020         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29021         locale.alias.
29023         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29025         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29027         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29029         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29030         file parsing and set FD_CLOEXEC.
29032 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29034         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29036 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29038         * malloc/arena.c (arena_get2): Don't call reused_arena when
29039         _int_new_arena failed.
29041 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29043         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29044         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29045         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29046         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29047         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29048         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29049         to compile strcasecmp and strncasecmp.
29050         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29051         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29053         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29055 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29057         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29058         locale-defines.sym to gen-as-const-headers.
29059         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29060         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29061         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29062         to compile strcasecmp and strncasecmp.
29063         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29064         strcasecmp_l and strncasecmp_l.
29065         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29066         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29067         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29068         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29069         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29070         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29071         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29072         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29073         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29074         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29075         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29077 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29079         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29080         result of SYSDEP_GETTIME_CPU to retval.
29081         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29082         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29084         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29085         variable.
29087         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29088         mantissa words.
29089         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29091         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29092         from unused variable.
29094         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29095         DWARF definitions.
29096         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29097         for assembling.
29099         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29100         over namespaces.
29102         * sunrpc/rpc_prot.c (rejected): Fix case value.
29104         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29105         unsigned long long int to avoid warnings in shift.
29107         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29108         of use of trans.
29109         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29110         variable tmp.
29112         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29113         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29114         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29116         * nis/nis_table.c (nis_list): Use variable of correct type for
29117         result of __follow_path call.
29119 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29121         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29122         of math functions ceil, trunc, floor, round, and sqrt, when
29123         avaliable on the platform.
29124         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29125         name clash.
29126         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29127         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29128         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29130 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29132         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29133         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29135 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29137         * include/unistd.h: Fix __readlink return type.
29138         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29140 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29142         * stdlib/ucontext.h: Undo last change for makecontext.
29144 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29146         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29148         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29149         * setjmp/setjmp.h: Mark functions as non-leaf.
29150         * setjmp/bits/setjmp2.h: Likewise.
29151         * stdlib/ucontext.h: Likewise.
29153 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29155         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29156         (reused_arena): Don't check arena limit.
29157         (arena_get2): Atomically check arena limit.
29159 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29161         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29162         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29164         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29165         instructions.
29167 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29169         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29170         handler when locking.
29172         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29173         Fix size of allocated buffer.
29175 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29177         [BZ #10103]
29178         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29179         declarations for long double functions.
29180         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29182         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29184 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29186         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29187         installed.
29189         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29190         is disabled.
29192 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29194         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29196 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29198         * include/alloca.h (stackinfo_alloca_round): Define.
29199         (extend_alloca): Use it.
29200         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29201         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29202         here.
29204         * scripts/check-local-headers.sh: Ignore libaudit.h.
29206         * nscd/Makefile (extra-objs): Make recursively expanded.
29208 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29210         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29211         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29213         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29214         * posix/tst-rfc3484-2.c: Likewise.
29215         * posix/tst-rfc3484-3.c: Likewise.
29217         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29218         process_vm_writev.
29219         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29220         process_vm_writev.
29221         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29222         process_vm_writev from libc using GLIBC_2.15 version.
29224         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29226 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29228         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29229         stack usage.
29231 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29233         [BZ #13367]
29234         * nss/getent.c (initgroups_keys): Show error message in case no group
29235         names are given.
29237         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29238         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29239         __bump_nl_timestamp.
29240         * nscd/connections (nscd_init): When host database is served open
29241         netlink socket and request notification about configuration changes.
29242         (main_loop_poll): Track netlink file descriptor and bump timestamp
29243         in case data becomes available.
29244         (main_loop_epoll): Likewise.
29245         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29246         (database_pers_head): Add extra_data fileds.
29247         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29248         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29249         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29250         Adjust caller.
29251         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29252         in6ai data, call __free_in6ai.
29253         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29254         Add -DHAVE_NETLINK.
29255         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
29256         interface information.  Reuse previous data if netlink timestamp
29257         is not changed.
29258         (__bump_nl_timestamp): New function.
29259         (__free_in6ai): New function.
29261 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
29263         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29264         close_not_cancel_no_status here.
29265         (__check_pf): Reorganize code a bit to not call close twice if OOM.
29267 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29269         [BZ #13276]
29270         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29271         return value.
29273         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29274         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29275         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29277 2011-07-03  Andreas Jaeger  <aj@suse.de>
29279         [BZ #10709]
29280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29281         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29282         * math/libm-test.inc (sin_test): Add test case.
29284 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29286         [BZ #13337]
29287         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29288         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29290         * elf/chroot_canon.c (chroot_canon): Cleanups.
29292         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29294         [BZ #13335]
29295         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29296         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29298         * string/test-strchr.c: Make usable for strchrnul testing.
29299         * string/test-strchrnul.c: New file.
29300         * string/Makefile (strop-tests): Add strchrnul.
29302         * po/it.po: Update from translation team.
29303         * po/es.po: Likewise.
29305 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
29307         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29308         the three constants needed as parameters.  Drop the others.
29309         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29310         __m128i_strloadu_tolower.
29311         Create and initialize variable zero and use it in all the places
29312         where _mm_setzero_si128 was used.
29314         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29315         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29316         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29317         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29318         anymore.
29319         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29320         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29321         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29322         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29323         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29324         __mpranred, __mptan.
29325         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29326         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29327         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29328         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29329         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29330         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29331         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29332         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29333         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29335 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29337         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29338         redefine if SHARED.
29339         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29341         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29342         wide char related routines to wcsmbs subdir.
29344 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29346         [BZ #13344]
29347         * misc/sys/cdefs.h (__THROWNL): Define.
29348         * posix/unistd.h: Use __THREADNL instead of __THREAD
29349         for memory synchronization functions.
29351 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29353         [BZ #13349]
29354         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29355         doesn't exist.
29356         * manual/stdio.texi (Obstack Streams): Node removed.
29358 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29360         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29361         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29362         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29364         * math/math_private.h (math_force_eval): Allow non-addressable
29365         arguments.
29366         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29368 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29370         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29371         file is not needed.
29373         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29374         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29375         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29376         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29377         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29378         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29379         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29380         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29381         Add AVX variants.
29382         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29383         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29384         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29385         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29386         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29387         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29388         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29389         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29390         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29391         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29392         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29393         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29394         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29395         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29396         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29397         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29398         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29399         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29400         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29402         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29403         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29405         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29406         place.  Use VEX encoding when compiling for AVX.
29408 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29410         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29411         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29413         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29415 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29417         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29418         useless if() expression.
29419         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29420         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29421         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29422         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29423         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29424         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29425         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29426         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29427         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29428         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29429         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29430         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29431         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29432         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29433         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29434         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29435         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29436         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29437         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29439         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29441 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29443         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29444         condition.
29445         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29447 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29449         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29450         .text section.  Avoid duplicate constants.
29451         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29452         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29453         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29454         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29455         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29456         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29457         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29458         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29459         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29460         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29461         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29462         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29463         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29464         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29465         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29466         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29467         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29468         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29469         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29471         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29472         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29473         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29474         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29475         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29476         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29477         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29478         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29479         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29480         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29481         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29482         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29483         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29484         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29485         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29486         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29487         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29488         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29489         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29490         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29491         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29492         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29493         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29494         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29495         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29497 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29499         * sysdeps/x86_64/dla.h: Move to ...
29500         * sysdeps/x86_64/fpu/dla.h: ...here.
29501         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29502         situations.  Use __builtin_fma only for gcc 4.6 and up.
29504         * config.make.in: Add have-mfma4 entry.
29505         * configure.in: Substitute libc_cv_cc_fma4.
29506         * math/Makefile (dbl-only-routines): Add sincostab.
29507         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29508         Use __sincostab not sincos.
29509         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29510         name is a macro.
29511         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29512         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29513         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29515         using __copysign.
29516         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29517         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29518         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29519         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29520         and __inv.
29521         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29522         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29523         __copysign.
29524         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29525         define aliases when function name is a macro.
29526         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29527         sysdeps/ieee754/dbl-64/sincos.tbl.
29528         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29529         fma4-enabled routines.
29530         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29531         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29532         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29533         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29534         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29535         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29537         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29538         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29539         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29540         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29541         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29542         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29543         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29544         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29545         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29546         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29547         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29548         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29549         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29550         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29551         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29552         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29553         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29554         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29555         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29556         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29557         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29558         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29559         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29561         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29562         rename.
29563         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29564         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29565         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29566         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29567         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29568         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29569         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29570         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29572 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29574         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29576 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29578         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29580         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29581         prediction.
29582         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29584         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29585         Remove unused variable magic_bits.
29586         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29588         * string/strnlen.c: Define and use STRNLEN macro.
29589         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29590         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29591         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29592         * wcsmbs/wcslen.c: Define and use WCSLEN.
29593         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29594         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29595         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29596         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29597         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29598         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29599         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29601 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29604         strnlen-sse2-no-bsf.
29605         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29606         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29607         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29608         Add strnlen support.
29609         (USE_AS_STRNLEN): New macro.
29610         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29611         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29612         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29613         * sysdeps/x86_64/wcslen.S: New file.
29615 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29617         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29618         XMM-moves are used for copying on small sizes.
29620 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29622         * wcsmbs/Makefile (strop-tests): Add wcschr.
29623         * wcsmbs/test-wcschr.c: New file.
29624         * string/test-strchr.c: Update.
29625         Add wcschr support.
29626         (WIDE): New macro.
29628 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29630         * wcsmbs/Makefile (strop-tests): Add wcslen.
29631         * wcsmbs/test-wcslen.c: New file.
29632         * string/test-strlen.c: Update.
29633         Add wcslen support.
29634         (WIDE): New macro.
29636 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29638         * po/it.po: Update from translation team.
29640 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29642         * sysdeps/x86_64/wcscmp.S: Update.
29643         Fix wrong comparison semantics.
29644         wcscmp shall use signed comparison not unsigned.
29645         Don't use substraction to avoid overflow bug.
29646         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29647         * wcsmbc/wcscmp.c: Likewise.
29648         * string/test-strcmp.c: Likewise.
29649         Add new tests to check cases with negative values.
29651 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29653         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29654         * sysdeps/x86_64/dla.h: ...here.  New file.
29655         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29656         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29657         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29658         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29659         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29660         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29661         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29662         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29663         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29665 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29668         __ynl_finite aliases.
29670 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29674         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29675         define DLA_FMA.
29676         [DLA_FMA] (EMULV): Use DLA_FMA.
29677         [DLA_FMA] (MUL12): Use EMULV.
29678         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29679         that are not needed.
29680         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29681         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29682         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29683         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29684         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29685         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29686         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29688 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29690         * math/s_nan.c: Undef __nan.
29691         * math/s_nanf.c: Undef __nanf.
29692         * math/s_nanl.c: Undef __nanl.
29693         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29694         "math_private.h".
29696 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29698         * math/s_catan.c: Add branch predictions.
29699         * math/s_catanf.c: Likewise.
29700         * math/s_catanh.c: Likewise.
29701         * math/s_catanhf.c: Likewise.
29702         * math/s_catanhl.c: Likewise.
29703         * math/s_catanl.c: Likewise.
29704         * math/s_cexp.c: Likewise.
29705         * math/s_cexpf.c: Likewise.
29706         * math/s_cexpl.c: Likewise.
29707         * math/s_clog.c: Likewise.
29708         * math/s_clog10.c: Likewise.
29709         * math/s_clog10f.c: Likewise.
29710         * math/s_clog10l.c: Likewise.
29711         * math/s_clogf.c: Likewise.
29712         * math/s_clogl.c: Likewise.
29713         * math/s_csqrt.c: Likewise.
29714         * math/s_csqrtf.c: Likewise.
29715         * math/s_csqrtl.c: Likewise.
29716         * math/s_ctanf.c: Likewise.
29717         * math/s_ctanh.c: Likewise.
29718         * math/s_ctanhf.c: Likewise.
29719         * math/s_ctanhl.c: Likewise.
29720         * math/s_ctanl.c: Likewise.
29722         * math/math_private.h: Define __nan, __nanf, __nanl.
29723         * math/s_cacosh.c: Include <math_private.h>.
29724         * math/s_cacoshl.c: Likewise.
29725         * math/s_casinh.c: Likewise.
29726         * math/s_casinhf.c: Likewise.
29727         * math/s_casinhl.c: Likewise.
29728         * math/s_ccos.c: Rely entire on ccosh.
29729         * math/s_ccosf.c: Rely entire on ccoshf.
29730         * math/s_ccosl.c: Rely entirely on ccoshl.
29731         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29732         Remove tests for FE_INVALID.
29733         * math/s_ccoshf.c: Likewise.
29734         * math/s_ccoshl.c: Likewise.
29735         * math/s_csin.c: Likewise.
29736         * math/s_csinf.c: Likewise.
29737         * math/s_csinh.c Likewise.
29738         * math/s_csinhf.c: Likewise.
29739         * math/s_csinhl.c: Likewise.
29740         * math/s_csinl.c: Likewise.
29741         * math/s_ctan.c: Likewise.
29742         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29743         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29744         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29746 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29749         compilation problems.
29751         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29752         __builtin_expect.
29754 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29756         * sysdeps/i386/configure.in: Test for -mfma4 option.
29757         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29758         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29759         COMMON_CPUID_INDEX_80000001.
29760         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29761         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29762         use it if FMA3 is not supported.
29763         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29765         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29766         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29768 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29770         [BZ #12892]
29771         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29772         it would create a cycle with a link time dependency.
29774 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29776         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29777         instruction.
29778         * string/Makefile (strop-tests): Add rawmemchr.
29779         * string/test-rawmemchr.c: New file.
29781         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29782         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29783         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29784         when compiling str{,n}casecmp and when AVX is available.  Hook up
29785         new optimized code in initializers.
29787 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29789         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29790         __feraiseexcept instead of feraiseexcept.
29792 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29794         * math/math_private.h: Define defaults for libc_fetestexcept and
29795         libc_feupdateenv.
29796         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29797         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29798         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29799         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29800         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29801         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29802         libc_fetestexcept and libc_feupdateenv.
29804         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29805         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29806         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29807         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29808         libc_feholdexcept_setround.
29810         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29811         Add s_nearbyint-c and s_nearbyintf-c.
29812         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29813         nearbyintf inlines.
29814         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29815         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29816         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29817         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29819         * math/math_private.h: Define defaults for libc_fegetround,
29820         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29821         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29822         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29823         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29824         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29825         standard functions.
29826         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29827         Remove comments and hacks for old compiler versions.
29828         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29829         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29830         libc_feholdexceptl.
29832 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29834         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29835         (__feraiseexcept_renamed): Add __NTH.
29836         (feraiseexcept): Add __NTH.  Rename local variables to fix
29837         namespace violations.
29839 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29841         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29843         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29845         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29846         recently added interfaces.
29847         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29849         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29850         about macro parameter expansion.
29852         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29853         __NO_MATH_INLINES is defined.  Cleanups.
29855         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29856         and __floorf is target has SSE4.1.
29857         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29858         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29859         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29860         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29862         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29863         name.
29864         (floorf): Likewise.
29866         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29868 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29870         * misc/sys/cdefs.h: Fix last change.
29872         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29873         database lookup.
29875 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29877         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29879         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29880         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29881         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29882         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29883         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29885         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29886         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29887         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29888         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29889         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29890         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29891         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29892         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29893         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29894         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29895         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29896         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29897         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29898         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29899         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29900         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29902         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29903         ceil, ceilf, floor, floorf.
29905         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29906         Perform IRELATIVE relocations last.
29908         * elf/do-rel.h: Add another parameter nrelative, replacing the
29909         local variable with the same name.  Change name of the function
29910         to end in Rel or Rela (uppercase).
29911         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29912         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29913         elf_dynamic_do_##reloc function.
29915 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29917         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29918         is sufficient, at least on modern CPUs.
29920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29922         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29923         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29925         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29926         __expl_finite.
29927         * math/bits/math-finite.h: Add entries for exp.
29928         * math/e_expl.c: Add __*_finite alias.
29929         * sysdeps/i386/fpu/e_exp.S: Likewise.
29930         * sysdeps/i386/fpu/e_expf.S: Likewise.
29931         * sysdeps/i386/fpu/e_expl.c: Likewise.
29932         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29933         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29934         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29935         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29936         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29937         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29938         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29940         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29941         is sufficient, at least on modern CPUs.
29943         * ctype/ctype-info.c (__ctype_init): Define.
29944         * include/ctype.h (__ctype_init): Declare.
29945         (__ctype_b_loc): The variable is always initialized.
29946         (__ctype_toupper_loc): Likewise.
29947         (__ctype_tolower_loc): Likewise.
29948         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29949         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29951 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29953         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29955         * configure.in: Also look in $cxxmachine/include for C++ system
29956         headers.
29958 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29960         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29961         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29962         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29963         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29964         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29965         (USE_AS_WMEMCMP): New macro.
29966         Fixing indents.
29967         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29968         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29969         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29970         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29971         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29972         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29973         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29974         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29975         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29976         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29977         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29978         (USE_AS_WMEMCMP): New macro.
29979         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29980         * sysdeps/string/test-memcmp.c: Update.
29981         Fix simple_wmemcmp.
29982         Add new tests.
29983         * wcsmbs/wmemcmp.c: Update.
29984         (WMEMCMP): New macro.
29985         Fix overflow bug.
29987 2011-10-12  Andreas Jaeger  <aj@suse.de>
29989         [BZ #13268]
29990         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29992 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29994         * libio/iofwide.c (do_length): Avoid warning.
29996         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29998 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
30000         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30002         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30003         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30004         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30005         * sysdeps/i386/i686/fpu/e_log.S: New file.
30006         * sysdeps/i386/i686/fpu/e_logf.S: New file.
30007         * sysdeps/i386/i686/fpu/e_logl.S: New file.
30009         * ctype/ctype.h: Add support for inlined isXXX functions when
30010         compiling C++ code.
30012 2011-10-14  Andreas Schwab  <schwab@redhat.com>
30014         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30016         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30018 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30020         [BZ #13291]
30021         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30023 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30025         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30026         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30027         feraiseexcept.
30029         * sysdeps/x86_64/memrchr.S: Check for zero size.
30031         * string/stratcliff.c: Add memrchr tests.
30033 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30036         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30037         rawmemchr-sse2 rawmemchr-sse2-bsf.
30038         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30039         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30040         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30041         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30042         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30043         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30044         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30045         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30046         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30047         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30048         * string/memrchr.c (MEMRCHR): New macro.
30050 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30052         Add integration with gcc's -ffinite-math-only and optimize wrapper
30053         functions in libm.
30054         * Versions.def: Define GLIBC_2.15 version for libm.
30055         * math/Makefile (headers): Add bits/math-finite.h.
30056         * math/bits/math-finite.h: New file.
30057         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30058         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30059         * math/e_acoshl.c: Add __*_finite alias.
30060         * math/e_acosl.c: Likewise.
30061         * math/e_asinl.c: Likewise.
30062         * math/e_atan2l.c: Likewise.
30063         * math/e_atanhl.c: Likewise.
30064         * math/e_coshl.c: Likewise.
30065         * math/e_exp10.c: Likewise.
30066         * math/e_exp10f.c: Likewise.
30067         * math/e_exp10l.c: Likewise.
30068         * math/e_exp2l.c: Likewise.
30069         * math/e_fmodl.c: Likewise.
30070         * math/e_gammal_r.c: Likewise.
30071         * math/e_hypotl.c: Likewise.
30072         * math/e_j0l.c: Likewise.
30073         * math/e_j1l.c: Likewise.
30074         * math/e_jnl.c: Likewise.
30075         * math/e_lgammal_r.c: Likewise.
30076         * math/e_log10l.c: Likewise.
30077         * math/e_log2l.c: Likewise.
30078         * math/e_logl.c: Likewise.
30079         * math/e_powl.c: Likewise.
30080         * math/e_sinhl.c: Likewise.
30081         * math/e_sqrtl.c: Likewise.
30082         * math/e_scalb.c: Completely rewritten and optimized.
30083         * math/e_scalbf.c: Likewise.
30084         * math/e_scalbl.c: Likewise.
30085         * math/w_acos.c: Likewise.
30086         * math/w_acosf.c: Likewise.
30087         * math/w_acosl.c: Likewise.
30088         * math/w_acosh.c: Likewise.
30089         * math/w_acoshf.c: Likewise.
30090         * math/w_acoshl.c: Likewise.
30091         * math/w_asin.c: Likewise.
30092         * math/w_asinf.c: Likewise.
30093         * math/w_asinl.c: Likewise.
30094         * math/w_atan2.c: Likewise.
30095         * math/w_atan2f.c: Likewise.
30096         * math/w_atan2l.c: Likewise.
30097         * math/w_atanh.c: Likewise.
30098         * math/w_atanhf.c: Likewise.
30099         * math/w_atanhl.c: Likewise.
30100         * math/w_exp10.c: Likewise.
30101         * math/w_exp10f.c: Likewise.
30102         * math/w_exp10l.c: Likewise.
30103         * math/w_fmod.c: Likewise.
30104         * math/w_fmodf.c: Likewise.
30105         * math/w_fmodl.c: Likewise.
30106         * math/w_j0.c: Likewise.
30107         * math/w_j0f.c: Likewise.
30108         * math/w_j0l.c: Likewise.
30109         * math/w_j1.c: Likewise.
30110         * math/w_j1f.c: Likewise.
30111         * math/w_j1l.c: Likewise.
30112         * math/w_jn.c: Likewise.
30113         * math/w_jnf.c: Likewise.
30114         * math/w_log.c: Likewise.
30115         * math/w_logf.c: Likewise.
30116         * math/w_logl.c: Likewise.
30117         * math/w_log10.c: Likewise.
30118         * math/w_log10f.c: Likewise.
30119         * math/w_log10l.c: Likewise.
30120         * math/w_log2.c: Likewise.
30121         * math/w_log2f.c: Likewise.
30122         * math/w_log2l.c: Likewise.
30123         * math/w_pow.c: Likewise.
30124         * math/w_powf.c: Likewise.
30125         * math/w_powl.c: Likewise.
30126         * math/w_remainder.c: Likewise.
30127         * math/w_remainderf.c: Likewise.
30128         * math/w_remainderl.c: Likewise.
30129         * math/w_scalb.c: Likewise.
30130         * math/w_scalbf.c: Likewise.
30131         * math/w_scalbl.c: Likewise.
30132         * math/w_sqrt.c: Likewise.
30133         * math/w_sqrtf.c: Likewise.
30134         * math/w_sqrtl.c: Likewise.
30135         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30136         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30137         used.
30138         * math/math_private.h: Declare __kernel_standard_f.
30139         * math/w_cosh.c: Remove cruft and optimize a bit.
30140         * math/w_coshf.c: Likewise.
30141         * math/w_coshl.c: Likewise.
30142         * math/w_exp2.c: Likewise.
30143         * math/w_exp2f.c: Likewise.
30144         * math/w_exp2l.c: Likewise.
30145         * math/w_hypot.c: Likewise.
30146         * math/w_hypotf.c: Likewise.
30147         * math/w_hypotl.c: Likewise.
30148         * math/w_lgamma.c: Likewise.
30149         * math/w_lgamma_r.c: Likewise.
30150         * math/w_lgammaf.c: Likewise.
30151         * math/w_lgammaf_r.c: Likewise.
30152         * math/w_lgammal.c: Likewise.
30153         * math/w_lgammal_r.c: Likewise.
30154         * math/w_sinh.c: Likewise.
30155         * math/w_sinhf.c: Likewise.
30156         * math/w_sinhl.c: Likewise.
30157         * math/w_tgamma.c: Likewise.
30158         * math/w_tgammaf.c: Likewise.
30159         * math/w_tgammal.c: Likewise.
30160         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30161         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30162         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30163         Minor optimizations.  Pretty printing.  Remove cruft.
30164         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30165         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30166         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30167         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30168         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30169         * sysdeps/i386/fpu/e_asin.S: Likewise.
30170         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30171         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30172         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30173         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30174         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30175         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30176         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30177         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30178         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30179         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30180         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30181         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30182         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30183         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30184         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30185         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30186         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30187         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30188         * sysdeps/i386/fpu/e_log.S: Likewise.
30189         * sysdeps/i386/fpu/e_log10.S: Likewise.
30190         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30191         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30192         * sysdeps/i386/fpu/e_log2.S: Likewise.
30193         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30194         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30195         * sysdeps/i386/fpu/e_logf.S: Likewise.
30196         * sysdeps/i386/fpu/e_logl.S: Likewise.
30197         * sysdeps/i386/fpu/e_pow.S: Likewise.
30198         * sysdeps/i386/fpu/e_powf.S: Likewise.
30199         * sysdeps/i386/fpu/e_powl.S: Likewise.
30200         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30201         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30202         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30203         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30204         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30205         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30206         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30207         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30208         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30209         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30210         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30212         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30213         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30214         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30215         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30216         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30217         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30218         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30219         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30220         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30221         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30222         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30223         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30224         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30225         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30226         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30227         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30229         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30230         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30231         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30232         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30233         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30234         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30235         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30236         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30237         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30238         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30239         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30240         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30241         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30242         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30243         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30244         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30245         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30246         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30247         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30248         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30249         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30250         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30251         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30252         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30253         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30254         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30255         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30256         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30257         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30258         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30259         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30260         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30261         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30262         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30263         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30264         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30265         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30266         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30267         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30268         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30269         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30270         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30271         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30272         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30273         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30274         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30275         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30276         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30277         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30278         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30279         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30280         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30281         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30282         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30283         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30284         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30285         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30286         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30287         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30288         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30289         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30290         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30291         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30292         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30293         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30294         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30295         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30296         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30297         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30298         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30299         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30300         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30301         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30302         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30303         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30304         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30305         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30306         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30307         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30308         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30309         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30310         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30311         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30312         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30313         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30314         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30315         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30316         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30317         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30318         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30319         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
30320         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30321         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30322         (__isnanf): Likewise.
30323         (__isinf_ns): Likewise.
30324         (__isinf_nsf): Likewise.
30325         (__finite): Likewise.
30326         (__finitef): Likewise.
30327         (__ieee754_sqrt): Define as macro.
30328         (__ieee754_sqrtf): Define as macro.
30329         (__ieee754_sqrtl): Define as macro.
30330         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30331         inlined copy.
30332         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30333         __FINITE_MATH_ONLY__ consistent.
30334         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30336 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30338         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30339         of rawmemchr.
30341         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30343 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30345         * po/ja.po: Update from translation team.
30347 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30349         * locale/programs/locarchive.c (prepare_address_space): New function.
30350         (create_archive, enlarge_archive, open_archive): Use it.
30352         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30353         inside [SHARED], where it is used.
30355         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30357         * nss/getent.c (netgroup_keys): Remove unused variable.
30358         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30360 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30362         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30363         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30364         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30365         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30366         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30367         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30368         * math/Makefile (libm-calls): Add s_isinf_ns.
30369         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30370         * math/multc3.c: Likewise.
30371         * math/s_casin.c: Likewise.
30372         * math/s_casinf.c: Likewise.
30373         * math/s_casinl.c: Likewise.
30374         * math/s_ccos.c: Likewise.
30375         * math/s_ccosf.c: Likewise.
30376         * math/s_ccosl.c: Likewise.
30377         * math/s_ctan.c: Likewise.
30378         * math/s_ctanf.c: Likewise.
30379         * math/s_ctanh.c: Likewise.
30380         * math/s_ctanhf.c: Likewise.
30381         * math/s_ctanhl.c: Likewise.
30382         * math/s_ctanl.c: Likewise.
30383         * math/w_fmod.c: Likewise.
30384         * math/w_fmodf.c: Likewise.
30385         * math/w_fmodl.c: Likewise.
30386         * math/w_remainder.c: Likewise.
30387         * math/w_remainderf.c: Likewise.
30388         * math/w_remainderl.c: Likewise.
30389         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30390         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30391         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30392         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30393         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30394         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30395         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30396         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30398         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30399         of the number.
30400         * stdio-common/printf_fphex.c: Likewise.
30401         * stdio-common/printf_size.c: Likewise.
30403         * math/e_exp10.c: Include math_private.h using <...> not "...".
30404         * math/e_exp10f.c: Likewise.
30405         * math/e_exp10l.c: Likewise.
30406         * math/e_exp2l.c: Likewise.
30407         * math/e_j0l.c: Likewise.
30408         * math/e_j1l.c: Likewise.
30409         * math/e_jnl.c: Likewise.
30410         * math/e_lgammal_r.c: Likewise.
30411         * math/e_rem_pio2l.c: Likewise.
30412         * math/e_scalb.c: Likewise.
30413         * math/e_scalbf.c: Likewise.
30414         * math/e_scalbl.c: Likewise.
30415         * math/k_cosl.c: Likewise.
30416         * math/k_sinl.c: Likewise.
30417         * math/k_tanl.c: Likewise.
30418         * math/s_cacoshf.c: Likewise.
30419         * math/s_catan.c: Likewise.
30420         * math/s_catanf.c: Likewise.
30421         * math/s_catanh.c: Likewise.
30422         * math/s_catanhf.c: Likewise.
30423         * math/s_catanhl.c: Likewise.
30424         * math/s_catanl.c: Likewise.
30425         * math/s_ccosh.c: Likewise.
30426         * math/s_ccoshf.c: Likewise.
30427         * math/s_ccoshl.c: Likewise.
30428         * math/s_cexp.c: Likewise.
30429         * math/s_cexpf.c: Likewise.
30430         * math/s_cexpl.c: Likewise.
30431         * math/s_clog.c: Likewise.
30432         * math/s_clog10.c: Likewise.
30433         * math/s_clog10f.c: Likewise.
30434         * math/s_clog10l.c: Likewise.
30435         * math/s_clogf.c: Likewise.
30436         * math/s_clogl.c: Likewise.
30437         * math/s_csin.c: Likewise.
30438         * math/s_csinf.c: Likewise.
30439         * math/s_csinh.c: Likewise.
30440         * math/s_csinhf.c: Likewise.
30441         * math/s_csinhl.c: Likewise.
30442         * math/s_csinl.c: Likewise.
30443         * math/s_csqrt.c: Likewise.
30444         * math/s_csqrtf.c: Likewise.
30445         * math/s_csqrtl.c: Likewise.
30446         * math/s_ctan.c: Likewise.
30447         * math/s_ctanf.c: Likewise.
30448         * math/s_ctanh.c: Likewise.
30449         * math/s_ctanhf.c: Likewise.
30450         * math/s_ctanhl.c: Likewise.
30451         * math/s_ctanl.c: Likewise.
30452         * math/s_ldexp.c: Likewise.
30453         * math/s_ldexpf.c: Likewise.
30454         * math/s_ldexpl.c: Likewise.
30455         * math/s_significand.c: Likewise.
30456         * math/s_significandf.c: Likewise.
30457         * math/s_significandl.c: Likewise.
30458         * math/w_acos.c: Likewise.
30459         * math/w_acosf.c: Likewise.
30460         * math/w_acosh.c: Likewise.
30461         * math/w_acoshf.c: Likewise.
30462         * math/w_acoshl.c: Likewise.
30463         * math/w_acosl.c: Likewise.
30464         * math/w_asin.c: Likewise.
30465         * math/w_asinf.c: Likewise.
30466         * math/w_asinl.c: Likewise.
30467         * math/w_atan2.c: Likewise.
30468         * math/w_atan2f.c: Likewise.
30469         * math/w_atan2l.c: Likewise.
30470         * math/w_atanh.c: Likewise.
30471         * math/w_atanhf.c: Likewise.
30472         * math/w_atanhl.c: Likewise.
30473         * math/w_cosh.c: Likewise.
30474         * math/w_coshf.c: Likewise.
30475         * math/w_coshl.c: Likewise.
30476         * math/w_dremf.c: Likewise.
30477         * math/w_exp10.c: Likewise.
30478         * math/w_exp10f.c: Likewise.
30479         * math/w_exp10l.c: Likewise.
30480         * math/w_exp2.c: Likewise.
30481         * math/w_exp2f.c: Likewise.
30482         * math/w_fmod.c: Likewise.
30483         * math/w_fmodf.c: Likewise.
30484         * math/w_fmodl.c: Likewise.
30485         * math/w_hypot.c: Likewise.
30486         * math/w_hypotf.c: Likewise.
30487         * math/w_hypotl.c: Likewise.
30488         * math/w_j0.c: Likewise.
30489         * math/w_j0f.c: Likewise.
30490         * math/w_j0l.c: Likewise.
30491         * math/w_j1.c: Likewise.
30492         * math/w_j1f.c: Likewise.
30493         * math/w_j1l.c: Likewise.
30494         * math/w_jn.c: Likewise.
30495         * math/w_jnf.c: Likewise.
30496         * math/w_jnl.c: Likewise.
30497         * math/w_lgamma.c: Likewise.
30498         * math/w_lgamma_r.c: Likewise.
30499         * math/w_lgammaf.c: Likewise.
30500         * math/w_lgammaf_r.c: Likewise.
30501         * math/w_lgammal.c: Likewise.
30502         * math/w_lgammal_r.c: Likewise.
30503         * math/w_log.c: Likewise.
30504         * math/w_log10.c: Likewise.
30505         * math/w_log10f.c: Likewise.
30506         * math/w_log10l.c: Likewise.
30507         * math/w_log2.c: Likewise.
30508         * math/w_log2f.c: Likewise.
30509         * math/w_log2l.c: Likewise.
30510         * math/w_logf.c: Likewise.
30511         * math/w_logl.c: Likewise.
30512         * math/w_pow.c: Likewise.
30513         * math/w_powf.c: Likewise.
30514         * math/w_powl.c: Likewise.
30515         * math/w_remainder.c: Likewise.
30516         * math/w_remainderf.c: Likewise.
30517         * math/w_remainderl.c: Likewise.
30518         * math/w_scalb.c: Likewise.
30519         * math/w_scalbf.c: Likewise.
30520         * math/w_scalbl.c: Likewise.
30521         * math/w_sinh.c: Likewise.
30522         * math/w_sinhf.c: Likewise.
30523         * math/w_sinhl.c: Likewise.
30524         * math/w_sqrt.c: Likewise.
30525         * math/w_sqrtf.c: Likewise.
30526         * math/w_sqrtl.c: Likewise.
30527         * math/w_tgamma.c: Likewise.
30528         * math/w_tgammaf.c: Likewise.
30529         * math/w_tgammal.c: Likewise.
30531         * po/ja.po: Update from translation team.
30533 2011-09-29  Andreas Jaeger  <aj@suse.de>
30535         [BZ #13179]
30536         * sunrpc/netname.c (netname2host): Fix logic.
30538         [BZ #6779]
30539         [BZ #6783]
30540         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30541         correctly.
30542         * math/w_remainder.c (__remainder): Likewise.
30543         * math/w_remainderf.c (__remainderf): Likewise.
30544         * math/libm-test.inc (remainder_test): Add test cases.
30546 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30548         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30549         sdiv_qrnnd.
30551 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30553         * string/test-memcmp.c: Avoid unncessary #defines.
30554         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30556 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30558         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30559         Use new sse2 version for core i3 - i7 as it's faster
30560         than sse42 version.
30561         (bit_Prefer_PMINUB_for_stringop): New.
30562         * sysdeps/x86_64/rawmemchr.S: Update.
30563         Replace with faster SSE2 version.
30564         * sysdeps/x86_64/memrchr.S: New file.
30565         * sysdeps/x86_64/memchr.S: Update.
30566         Replace with faster SSE2 version.
30568 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30570         * elf/dl-load.c (lose): Add cast to avoid warning.
30572 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30574         * po/ca.po: Update from translation team.
30576         * inet/getnetgrent_r.c: Hook up nscd.
30577         * nscd/Makefile (routines): Add nscd_netgroup.
30578         (nscd-modules): Add netgroupcache.
30579         (CFLAGS-netgroupcache.c): Define.
30580         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30581         (cache_search): Add const to second parameter.
30582         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30583         INNETGR.
30584         (dbs): Add netgrdb entry.
30585         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30586         (verify_persistent_db): Handle netgrdb.
30587         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30588         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30589         GETFDNETGR.
30590         (netgroup_response_header): Define.
30591         (innetgroup_response_header): Define.
30592         (datahead): Add netgroup_response_header and innetgroup_response_header
30593         elements.
30594         * nscd/nscd.conf: Add entries for netgroup cache.
30595         * nscd/nscd.h (dbtype): Add netgrdb.
30596         (_PATH_NSCD_NETGROUP_DB): Define.
30597         (netgroup_iov_disabled): Declare.
30598         (xmalloc, xcalloc, xrealloc): Move declarations here.
30599         (cache_search): Adjust prototype.
30600         Add netgroup-related prototypes.
30601         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30602         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30603         (__nscd_innetgr): Declare.
30604         * nscd/selinux.c (perms): Use access_vector_t as element type and
30605         add netgroup-related initializers.
30606         * nscd/netgroupcache.c: New file.
30607         * nscd/nscd_netgroup.c: New file.
30608         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30609         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30610         For four parameters use innetgr.
30611         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30612         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30613         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30614         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30616         * nscd/connections.c (register_traced_file): Don't register file
30617         for disabled databases.
30619 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30621         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30623         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30624         from tree and freeing node.
30626 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30628         * nss/nsswitch.c (__nss_database_lookup): Handle
30629         nss_parse_service_list out of memory case.
30631 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30633         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30634         out of memory case.
30636 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30638         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30639         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30640         pass it down.
30641         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30642         elf_machine_rela, elf_machine_lazy_rel.
30643         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30644         (ELF_DYNAMIC_DO_REL): Likewise.
30645         (ELF_DYNAMIC_DO_RELA): Likewise.
30646         (ELF_DYNAMIC_RELOCATE): Likewise.
30647         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30648         to ELF_DYNAMIC_DO_REL.
30649         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30650         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30651         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30652         elf_machine_rela.
30653         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30654         skip_ifunc, don't call ifunc function if non-zero.
30655         (elf_machine_rela): Likewise.
30656         (elf_machine_lazy_rel): Likewise.
30657         (elf_machine_lazy_rela): Likewise.
30658         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30659         (elf_machine_lazy_rel): Likewise.
30660         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30661         Likewise.
30662         (elf_machine_lazy_rel): Likewise.
30663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30664         Likewise.
30665         (elf_machine_lazy_rel): Likewise.
30666         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30667         (elf_machine_lazy_rel): Likewise.
30668         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30669         (elf_machine_lazy_rel): Likewise.
30670         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30671         (elf_machine_lazy_rel): Likewise.
30672         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30673         (elf_machine_lazy_rel): Likewise.
30674         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30675         (elf_machine_lazy_rel): Likewise.
30676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30677         (elf_machine_lazy_rel): Likewise.
30679 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30681         * nss/nss_files/files-init.c (_nss_files_init): Use static
30682         initialization for all the *_traced_file variables.
30684 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30686         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30688 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30690         [BZ #13226]
30691         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30693 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30695         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30696         Reread the line before reparsing it.
30698 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30700         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30702 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30703             Maxim Kuvyrkov  <maxim@codesourcery.com>
30704             Joseph Myers  <joseph@codesourcery.com>
30706         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30707         if needed for __stack_chk_guard.
30709 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30711         * sysdeps/posix/spawni.c (script_execute): Always define it.
30712         It will be optimized away if unused.
30713         (maybe_script_execute): New function.
30714         (__spawni): Call it.
30716         * Makerules: Don't include tls.make.
30717         (config-tls): Always set to thread.
30718         * tls.make.c: File removed.
30720 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30722         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30723         * config.make.in (CPPFLAGS-config): New substituted variable.
30725 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30727         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30729         [BZ #13192]
30730         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30731         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30733 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30735         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30736         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30737         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30738         (CALL_FAIL): Likewise.
30739         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30740         (CALL_FAIL): Macro removed.
30741         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30743 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30745         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30746         for __FINITE_MATH_ONLY__ == 1.
30748 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30750         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30751         __ieee754_sqrt instead of sqrt.
30752         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30753         __ieee754_sqrtf instead of sqrtf.
30754         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30755         __floorf instead of floorf.
30756         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30757         __floorf, __truncf instead of floorf, truncf.
30759 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30761         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30763         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30764         __extern_always_inline.
30765         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30766         32-bit.
30768 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30770         * elf/rtld.c (dl_main): Also relocate in dependency order when
30771         doing symbol dependency testing.
30773 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30775         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30776         Always define `refsym'.
30778 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30780         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30781         (__FD_ELT): Renamed from __FDELT.
30782         * misc/bits/select2.h (__FD_ELT): Likewise.
30783         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30784         __FD_MASK instead of __FDELT, __FDMASK.
30785         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30786         Likewise.
30787         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30788         Likewise.
30790         * elf/Makefile (gen-ldd): Fix pattern.
30792         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30793         (init_tls): Likewise.
30795 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30797         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30799 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30801         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30802         `struct cmsghdr *' instead of `void *'.
30803         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30804         Likewise.
30806 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30808         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30809         if non-absolute.
30810         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30811         ldd_rewrite_script.
30813 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30815         * configure.in: Remove --with-tls option.
30816         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30817         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30818         out in case it is missing.
30819         * sysdeps/ia64/elf/configure.in: Likewise.
30820         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30821         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30822         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30823         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30824         * sysdeps/sh/elf/configure.in: Likewise.
30825         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30826         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30827         * sysdeps/x86_64/elf/configure.in: Likewise.
30828         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30829         * sysdeps/mach/hurd/tls.h: Likewise.
30831         [BZ #13067]
30832         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30834         [BZ #13090]
30835         * configure.in: Fix use of AC_INIT.
30837         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30839 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30841         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30842         __set_errno.
30843         * malloc/hooks.c: Likewise.
30845         [BZ #11929]
30846         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30847         variables statically.
30848         (narenas): Initialize.
30849         (list_lock): Initialize.
30850         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30851         initializtion of main_arena and list_lock.  Small cleanups.
30852         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30853         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30854         Add initializers to main_arena and mp_.
30855         (malloc_state): Remove pagesize member.  Change all users to use
30856         GLRO(dl_pagesize).
30858         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30859         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30860         is always initialized.
30862         * malloc/malloc.c: Removed unused configurations and dead code.
30863         * malloc/arena.c: Likewise.
30864         * malloc/hooks.c: Likewise.
30865         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30867         * include/tls.h: Removed.  USE___THREAD must always be defined.
30868         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30869         * elf/dl-libc.c: Likewise.
30870         * elf/dl-tsd.c: Likewise.
30871         * include/errno.h: Likewise.
30872         * include/netdb.h: Likewise.
30873         * include/resolv.h: Likewise.
30874         * inet/herrno-loc.c: Likewise.
30875         * inet/herrno.c: Likewise.
30876         * malloc/arena.c: Likewise.
30877         * malloc/hooks.c: Likewise.
30878         * malloc/malloc.c: Likewise.
30879         * resolv/res-state.c: Likewise.
30880         * resolv/res_libc.c: Likewise.
30881         * sysdeps/i386/dl-machine.h: Likewise.
30882         * sysdeps/ia64/dl-machine.h: Likewise.
30883         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30884         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30885         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30886         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30887         * sysdeps/sh/dl-machine.h: Likewise.
30888         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30889         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30890         * sysdeps/unix/i386/sysdep.S: Likewise.
30891         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30892         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30894         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30896         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30897         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30899         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30900         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30901         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30902         * sysdeps/x86_64/dl-machine.h: Likewise.
30903         * tls.make.c: Likewise.
30905         * configure.in: Remove --with-__thread option.  Make tests for
30906         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30907         tls_model attribute fail if no support is available.  Remove
30908         USE_IN_LIBIO.
30909         * Makeconfig: Adjust for dropped configure option.  All features are
30910         now mandatory.
30911         * Makerules: Likewise.
30912         * Versions.def: Likewise.
30913         * argp/argp-fmtstream.c: Likewise.
30914         * argp/argp-fmtstream.h: Likewise.
30915         * argp/argp-help.c: Likewise.
30916         * assert/assert.c: Likewise.
30917         * config.h.in: Likewise.
30918         * config.make.in: Likewise.
30919         * configure: Likewise.
30920         * configure.in: Likewise.
30921         * csu/Versions: Likewise.
30922         * csu/init.c: Likewise.
30923         * elf/tst-audit2.c: Likewise.
30924         * elf/tst-tls10.c: Likewise.
30925         * elf/tst-tls10.h: Likewise.
30926         * elf/tst-tls11.c: Likewise.
30927         * elf/tst-tls12.c: Likewise.
30928         * elf/tst-tls14.c: Likewise.
30929         * elf/tst-tlsmod11.c: Likewise.
30930         * elf/tst-tlsmod12.c: Likewise.
30931         * elf/tst-tlsmod13.c: Likewise.
30932         * elf/tst-tlsmod13a.c: Likewise.
30933         * elf/tst-tlsmod14a.c: Likewise.
30934         * elf/tst-tlsmod15b.c: Likewise.
30935         * elf/tst-tlsmod16a.c: Likewise.
30936         * elf/tst-tlsmod16b.c: Likewise.
30937         * elf/tst-tlsmod7.c: Likewise.
30938         * elf/tst-tlsmod8.c: Likewise.
30939         * elf/tst-tlsmod9.c: Likewise.
30940         * gmon/gmon.c: Likewise.
30941         * grp/fgetgrent_r.c: Likewise.
30942         * grp/putgrent.c: Likewise.
30943         * hurd/fopenport.c: Likewise.
30944         * include/libc-symbols.h: Likewise.
30945         * include/tls.h: Likewise.
30946         * intl/gettextP.h: Likewise.
30947         * intl/loadinfo.h: Likewise.
30948         * locale/global-locale.c: Likewise.
30949         * locale/localeinfo.h: Likewise.
30950         * mach/devstream.c: Likewise.
30951         * malloc/arena.c: Likewise.
30952         * malloc/set-freeres.c: Likewise.
30953         * misc/err.c: Likewise.
30954         * misc/getttyent.c: Likewise.
30955         * misc/mntent_r.c: Likewise.
30956         * posix/getopt.c: Likewise.
30957         * posix/wordexp.c: Likewise.
30958         * pwd/fgetpwent_r.c: Likewise.
30959         * resolv/Versions: Likewise.
30960         * resolv/res_hconf.c: Likewise.
30961         * shadow/fgetspent_r.c: Likewise.
30962         * shadow/putspent.c: Likewise.
30963         * stdio-common/printf_fphex.c: Likewise.
30964         * stdio-common/tmpfile.c: Likewise.
30965         * stdlib/abort.c: Likewise.
30966         * stdlib/fmtmsg.c: Likewise.
30967         * sunrpc/auth_unix.c: Likewise.
30968         * sunrpc/clnt_perr.c: Likewise.
30969         * sunrpc/clnt_tcp.c: Likewise.
30970         * sunrpc/clnt_udp.c: Likewise.
30971         * sunrpc/clnt_unix.c: Likewise.
30972         * sunrpc/openchild.c: Likewise.
30973         * sunrpc/svc_simple.c: Likewise.
30974         * sunrpc/svc_tcp.c: Likewise.
30975         * sunrpc/svc_udp.c: Likewise.
30976         * sunrpc/svc_unix.c: Likewise.
30977         * sunrpc/xdr.c: Likewise.
30978         * sunrpc/xdr_array.c: Likewise.
30979         * sunrpc/xdr_rec.c: Likewise.
30980         * sunrpc/xdr_ref.c: Likewise.
30981         * sunrpc/xdr_stdio.c: Likewise.
30983 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30985         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30987 2011-07-03  Andreas Jaeger  <aj@suse.de>
30989         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30990         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30991         regenerate with gen-libm-tests.pl.
30993 2010-05-12  Petr Baudis  <pasky@suse.cz>
30995         [BZ #11589]
30996         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30997         around j0() zero points by switching to j1().
30998         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30999         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31001         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31003 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31005         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31006         instead of 0.
31007         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31008         instead of 0.
31009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31010         Patch in part by Pavel Roskin <proski@gnu.org>.
31012         [BZ #13138]
31013         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31014         realloc.
31015         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
31016         Free memory block if necessary.
31018         [BZ #12847]
31019         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31020         be NULL.  Don't lock in this case.
31022 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31024         * elf/elf.h (ELFOSABI_GNU): New macro.
31025         (ELFOSABI_LINUX): Define to that.
31027 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31029         * string/strncat.c (strncat): Undef the symbol in case it has been
31030         defined in bits/string.h.
31032 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31034         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31036         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31037         link map.
31039 2011-08-17  Andreas Jaeger  <aj@suse.de>
31041         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31043 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31044             Ian Lance Taylor  <iant@google.com>
31046         * math/libm-test.inc (lround_test): New testcase.
31047         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31049 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31051         * Makefile: Remove support for automatic cvs check-ins.
31052         * Makerules: Likewise.
31053         * config.make.in: Likewise.
31054         * configure.in: Likewise.
31055         * intl/Makefile: Likewise.
31056         * locale/Makefile: Likewise.
31057         * po/Makefile: Likewise.
31058         * posix/Makefile: Likewise.
31059         * sysdeps/gnu/Makefile: Likewise.
31060         * sysdeps/mach/hurd/Makefile: Likewise.
31061         * sysdeps/sparc/sparc32/Makefile: Likewise.
31063         [BZ #13118]
31064         * posix/Makefile (bug-regex32-ENV): Define.
31065         Patch by John Stanley <jpsinthemix@verizon.net>.
31067         * misc/Makefile (headers): Add bits/select2.h.
31068         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31069         * misc/bits/select2.h: New file.
31070         * include/bits/select2.h: New file.
31071         * debug/Makefile (routines): Add fdelt_chk.
31072         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31073         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31074         FD_ISSET.
31075         * debug/fdelt_chk.c: New file.
31077         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31078         * wcsmbs/test-wmemcmp.c: Likewise.
31079         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31080         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31082 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31084         * string/Makefile (strop-tests): Add memcmp.
31085         * string/test-wmemcmp.c: New file.
31086         * string/test-memcmp.c: Add wmemcmp support.
31088 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31090         [BZ #13153]
31091         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31092         2011-07-19 change.
31094         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31095         garbage value in a __mach_port_mod_refs call in the cases of the
31096         task-self and thread-self ports.
31098 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31100         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31102 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31104         * elf/dl-load.c (lose): Check for non-null L.
31106 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31108         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31110         * elf/dl-libc.c (dlerror_run): Pass back error code from
31111         dl_catch_error.
31113         [BZ #13123]
31114         * elf/dl-load.c (lose): Free l_origin if it is valid.
31116         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31117         names.
31118         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31119         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31120         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31121         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31122         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31123         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31125 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31127         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31128         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31129         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31130         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31131         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31132         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31133         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31134         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31135         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31136         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31138 2011-08-15  Alan Modra  <amodra@gmail.com>
31140         [BZ #13092]
31141         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31142         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31143         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31144         ppc_mcount to static-only-routines.
31145         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31146         __mcount_internal.
31147         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31148         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31150 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31152         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31153         for finite and infinity parameters.
31155 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31157         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31158         and add nop instructions for throughput optimization.
31159         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31161 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31163         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31164         aligned copy for power7 with vector-scalar instructions.
31165         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31167 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31170         AVX check.
31172 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31174         [BZ #13144]
31175         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31176         last change.
31178 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31180         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31181         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31182         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31183         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31184         clock_gettime.
31186 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31188         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31189         Forgot to demangle the pointer.
31191         * sysdeps/i386/sysdep.h: Define atom_text_section.
31192         * sysdeps/x86_64/sysdep.h: Likewise.
31193         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31194         section with atom_text_section.
31195         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31196         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31197         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31198         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31199         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31201         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31202         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31203         already be defined.  Change to take two parameters and don't assign
31204         result to variable.  Adjust all users.
31205         Define INTERNAL_GETTIME if not already defined.
31206         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31207         call.
31208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31209         HAVE_CLOCK_GETTIME_VSYSCALL.
31210         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31212         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31213         gettimeofday vsyscall, just use time.
31215 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31217         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31218         <errno.h>.
31220 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31222         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31223         syscall on x86-64.
31224         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31225         syscall.
31226         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31227         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31228         syscall if possible.
31230 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31232         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31233         e_ident.  Don't pass to find_mapsXX.
31234         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31236 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31239         strchr-sse2-no-bsf strrchr-sse2-no-bsf
31240         * sysdeps/x86_64/multiarch/strchr.S: Update.
31241         Check bit_slow_BSF bit.
31242         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31243         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31244         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31246 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31248         [BZ #13134]
31249         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31250         before glibc 2.15.
31251         (tryshell): Define.
31252         (__spawni): Change last parameter to be flag.  Test
31253         SPAWN_XFLAGS_USE_PATH flag to use path or not.
31254         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31255         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31256         * posix/spawni.c: Likewise.
31257         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31258         * posix/spawnp.c: Likewise.  Change normal version to use
31259         SPAWN_XFLAGS_USE_PATH.
31260         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31261         SPAWN_XFLAGS_TRY_SHELL.
31263         [BZ #13150]
31264         * posix/glob.h: Remove gcc 1.x support.
31266         [BZ #13068]
31267         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31269 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31271         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31272         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31273         strrchr-sse2-bsf
31274         * sysdeps/i386/i686/multiarch/strchr.S: New file.
31275         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31276         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31277         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31278         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31279         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31281 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31283         * sysdeps/x86_64/wcscmp.S: New file.
31285         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31286         wcscmp-c wcscmp-sse2
31287         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31288         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31289         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31290         * wcsmbs/wcscmp.c: Allow renaming.
31292 2011-09-05  David S. Miller  <davem@davemloft.net>
31294         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31295         stack slot, rather than the struct return pointer slot.
31296         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31297         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31299         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31301 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31303         * po/ja.po: Update from translation team.
31305         [BZ #13144]
31306         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31307         kernel in 64-bit binaries.
31309 2011-09-01  David S. Miller  <davem@davemloft.net>
31311         * elf/elf.h (HWCAP_SPARC_*): Move to..
31312         * sysdeps/sparc/sysdep.h: this new file and add new values.
31313         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31314         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31315         _DL_HWCAP_COUNT to 24.
31316         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31317         entries.
31318         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31319         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31320         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31321         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31322         instead of magic constants.
31323         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31325 2011-08-31  David S. Miller  <davem@davemloft.net>
31327         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31329         Reimplement to do errno handling inline.
31330         (SYSCALL_ERROR_HANDLER): New macro.
31331         (__SYSCALL_STRING): Do not do errno handling in asm.
31332         (__CLONE_SYSCALL_STRING): Delete.
31333         (__INTERNAL_SYSCALL_STRING): Delete.
31334         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31335         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31336         (PSEUDO): Reimplement to do errno handling inline.
31337         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31338         (SYSCALL_ERROR_HANDLER): New macro.
31339         (__SYSCALL_STRING): Do not do errno handling in asm.
31340         (__CLONE_SYSCALL_STRING): Delete.
31341         (__INTERNAL_SYSCALL_STRING): Delete.
31342         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31343         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31344         i386.
31345         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31346         (inline_syscall*): Add 'err' argument.
31347         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31348         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31349         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31350         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31352         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31353         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31355 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31357         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31359 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31361         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31362         directive.
31364 2011-08-24  David S. Miller  <davem@davemloft.net>
31366         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31368 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31370         * elf/Makefile: Add rules to build and run unload8 test.
31371         * elf/unload8.c: New file.
31372         * elf/unload8mod1.c: New file.
31373         * elf/unload8mod1x.c: New file.
31374         * elf/unload8mod2.c: New file.
31375         * elf/unload8mod3.c: New file.
31377         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31378         it wasn't used.
31380 2011-08-23  David S. Miller  <davem@davemloft.net>
31382         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31383         subtract stack bias.
31384         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31385         %sp not %fp in calculations.
31386         (_JMPBUF_UNWINDS_ADJ): Likewise.
31388         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31389         (aio_suspend): Call it to force an exception region around the
31390         AIO_MISC_WAIT() invocation.
31392 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31394         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31395         backslash.
31397 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31399         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31400         protection macro.
31401         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31402         and <dl-machine.h>.
31403         (Elf64_FuncDesc): Remove.
31405 2011-08-22  David S. Miller  <davem@davemloft.net>
31407         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31408         sigaltstack check, add missing cfi directives.
31409         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31410         missing cfi directives, and sigaltstack handling.
31412 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31414         [BZ #11724]
31415         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31416         object is seen twice.
31417         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31419         * elf/Makefile (distribute): Add tst-initorder2.c.
31420         (tests): Add tst-initorder2.
31421         (modules-names): Add tst-initorder2a tst-initorder2b
31422         tst-initorder2c tst-initorder2d.  Add rules to build them.
31423         ($(objpfx)tst-initorder2.out): New rule.
31424         * elf/tst-initorder2.c: New file.
31425         * elf/tst-initorder2.exp: New file.
31427 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31429         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31431         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31432         dependencies back to end of function.
31434         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31435         $(elfobjdir)/ld.so.
31437 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31439         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31440         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31441         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31442         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31443         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31444         of __vdso_gettimeofday.
31445         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31446         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31447         attribute_hidden.
31448         (_libc_vdso_platform_setup): Remove initialization of
31449         __vdso_gettimeofday and __vdso_time.
31451 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31453         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31454         and fgetc_unlocked.
31455         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31456         getc_unlocked.
31458         * elf/dl-open.c (add_to_global): Report additions to the global scope
31459         for LD_DEBUG=scopes.
31460         (dl_open_worker): Also print scope of newly loaded dependencies.
31461         (_dl_show_scope): Indicate if there is no scope.
31463         [BZ #13114]
31464         * stdio-common/Makefile (tests): Add bug24.
31465         * stdio-common/bug24.c: New file.
31467 2011-08-19  Andreas Jaeger  <aj@suse.de>
31469         [BZ #13114]
31470         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31471         non-existant file when using close-on-exec mode.
31473 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31475         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31476         the very first instruction.
31478         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31479         the CFI state in the end.
31480         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31481         inclusion of dl-trampoline.h.
31482         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31484 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31486         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31487         expectations for long double.
31489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31490         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31492 2011-08-14  David S. Miller  <davem@davemloft.net>
31494         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31495         artificual limit depends upon the system page size.
31497 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31499         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31500         * resolv/Makefile: Define CFLAGS-libresolv.
31502 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31504         * nss/makedb.c (compute_tables): Make variables used in nested
31505         function static.
31507 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31509         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31510         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31511         if buffer was too small.
31513         * elf/pldd.c (main): Attach to all threads in the process.
31514         Rewrite /proc handling to use *at functions.
31516 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31518         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31519         specifies first scope to show.
31520         (dl_open_worker): Update callers.  Move printing scope of new
31521         object to before the relocation.
31522         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31523         * sysdeps/generic/ldsodefs.h: Update declaration.
31525         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31526         string for the scope number.
31528 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31530         * nscd/servicescache.c (cache_addserv): Make sure written is always
31531         initialized.
31533 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31535         * sysdeps/i386/i486/bits/atomic.h
31536         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31537         statement expression, so as to suppress "set but not used" warning.
31538         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31540         * string/strncat.c (STRNCAT): Use prototype definition.
31542         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31543         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31544         -Iprograms here.
31545         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31546         (localedef-modules): Add localedef.
31547         (locale-modules): Add locale.
31549         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31550         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31551         to avoid a warning.
31553 2011-08-14  David S. Miller  <davem@davemloft.net>
31555         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31556         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31558 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31560         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31561         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31562         * elf/rtld.c (dl_main): Set l_name of vDSO.
31563         Call _dl_show_scope when DL_DEBUG_SCOPES.
31564         (process_dl_debug): Recognize scopes flag and also set it for all.
31565         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31566         Declare _dl_show_scope.
31568         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31569         (do_dlopen): Pass caller_dlopen to dl_open.
31570         (__libc_dlopen_mode): Initialize caller_dlopen.
31572         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31573         of libc.  Make tolower call locale-independent.  Optimize a bit by
31574         using isdigit instead of isalnum.
31575         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31577 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31579         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31580         was a dependency or dynamically loaded.
31582 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31584         * intl/l10nflist.c: Allow architecture-specific pop function.
31585         * sysdeps/x86_64/l10nflist.c: New file.
31587         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31588         classification.
31590 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31592         * include/dirent.h: Add libc_hidden_proto for scandirat and
31593         scandirat64.  Don't declare __scandirat64.
31594         * dirent/scandirat.c: Add libc_hidden_def.
31595         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31596         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31598 2011-08-10  David S. Miller  <davem@davemloft.net>
31600         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31601         enum.
31602         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31603         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31604         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31606 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31608         * Versions.def [libc]: Add GLIBC_2.15.
31609         * dirent/Makefile (routines): Add scandirat and scandirat64.
31610         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31611         GLIBC_2.15.
31612         * dirent/dirent.h: Declare scandirat and scandirat64.
31613         * dirent/scandirat.c: New file.
31614         * dirent/scandirat64.c: New file.
31615         * sysdeps/wordsize-64/scandirat.c: New file.
31616         * sysdeps/wordsize-64/scandirat64.c: New file.
31617         * dirent/opendir.c: Define opendirat.
31618         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31619         using scandirat.
31620         * dirent/scandir64.c: Adjust for scandir.c change.
31621         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31622         __scandirat64, and __scandir_cancel_handler.
31623         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31624         additional parameter and use openat instead of open (outside of ld.so).
31625         Add new __opendir as wrapper around __opendirat.
31626         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31627         here without requiring old scandirat implementation.
31629 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31631         * dirent/scandir.c (cancel_handler): Renamed to
31632         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31633         defined.  Adjust users.
31634         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31635         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31637 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31639         * string/test-string.h (IMPL): Use __STRING to expand name and then
31640         stringify it.
31642         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31643         of cleanups.
31645 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31647         * string/Makefile: Update.
31648         (strop-tests): Append strncat.
31649         * string/test-wcscmp.c: New file.
31650         New comprehensive test for wcscmp.
31651         * string/test-strcmp.c: Update.
31652         (WIDE): New define.
31654 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31656         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31657         line.
31659 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31662         encoding to ACE if AI_IDN.
31664 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31666         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31667         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31669 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31671         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31672         Fix overflow bug in strncat.
31673         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31675         * string/test-strncat.c: Update.
31676         Add new tests for checking overflow bugs.
31678 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31680         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31681         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31682         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31683         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31684         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31685         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31686         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31687         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31688         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31690         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31691         (USE_AS_STRCAT): Define.
31692         Add strcat and strncat support.
31693         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31695 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31697         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31698         __n bigger than INT_MAX+1.
31699         (__strncmp_g): Likewise.
31701 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31703         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31704         * libio/stido.h: Likewise.
31706         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31707         (AF_NFC): Define.
31708         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31709         (AF_NFC): Define.
31711         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31712         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31713         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31714         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31715         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31717         [BZ #13021]
31718         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31719         installed.
31721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31722         typo.
31723         (_dl_x86_64_save_sse): Likewise.
31725 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31727         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31728         OSXSAVE.
31729         (_dl_x86_64_save_sse): Likewise.
31731         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31733         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31735 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31737         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31738         change.
31739         (_dl_x86_64_save_sse): Use correct AVX check.
31741 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31743         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31744         bug in strncpy/strncat.
31745         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31747 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31749         * string/tester.c (test_strcat): Add tests for different alignments
31750         of source and destination.
31751         (test_strncat): Likewise.
31753 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31755         [BZ #12852]
31756         * posix/glob.c (glob): Check passed in values before using them in
31757         expressions to avoid some overflows.
31758         (glob_in_dir): Likewise.
31760         [BZ #13007]
31761         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31762         check for AVX enablement so that we don't crash with old kernels and
31763         new hardware.
31764         * elf/tst-audit4.c: Add same checks here.
31765         * elf/tst-audit6.c: Likewise.
31767         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31769 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31771         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31773 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31775         * po/cs.po: Update from translation team.
31776         * po/bg.po: Likewise.
31778 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31780         * misc/sys/cdefs.h: Add support for const attribute.
31781         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31782         to gnu_dev_{major,minor,makedev} functions.
31784 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31786         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31788 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31790         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31791         strlen results.
31793 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31795         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31796         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31797         register in order to avoid conflicts with the soft frame pointer
31798         being held in r11 when necessary.
31799         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31800         (INTERNAL_VSYSCALL_NCS): Likewise.
31802 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31804         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31805         * elf/dl-fini.c (_dl_fini): Adjust caller.
31806         * elf/dl-close.c (_dl_close_worker): Likewise.
31807         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31809 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31811         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31812         "aux_cache->nlibs < 0".
31814         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31815         in the reload-count case.
31817 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31820         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31821         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31822         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31823         * sysdeps/x86_64/multiarch/strcat.S: New file.
31824         * sysdeps/x86_64/multiarch/strncat.S: New file.
31825         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31826         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31827         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31828         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31829         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31830         (USE_AS_STRCAT): Define.
31831         Add strcat and strncat support.
31832         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31833         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31834         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31835         * string/strncat.c: Update.
31836         (USE_AS_STRNCAT): Define.
31837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31838         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31839         and i7.
31840         * sysdeps/x86_64/multiarch/init-arch.h
31841         (bit_Prefer_PMINUB_for_stringop): New.
31842         (index_Prefer_PMINUB_for_stringop): Likewise.
31843         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31844         bit_Prefer_PMINUB_for_stringop.
31846 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31848         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31849         buffer64.
31850         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31851         of casting of buffer.
31852         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31853         buffer32 and buffer64.
31854         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31855         writes instead of casting of buffer.
31856         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31857         buffer32.
31858         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31859         casting of buffer.
31861 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31863         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31865 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31867         * nscd/nscd.c (termination_handler): Don't do anything for a database
31868         if it has not yet been initialized.
31870 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31872         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31874 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31876         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31878 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31880         * po/nl.po: Update from translation team.
31881         * po/sv.po: Likewise.
31883 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31885         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31886         now disallowed by GCC.
31888         * configure.in (use-default-link): Default to yes if a test -shared
31889         link meets our qualifications.
31890         * configure: Regenerated.
31892         * config.make.in (output-format): New variable.
31893         * configure.in: Check for ld --print-output-format support.
31894         * configure: Regenerated.
31895         * Makerules ($(common-objpfx)format.lds)
31896         [$(output-format) != unknown]: Just use $(output-format),
31897         instead of the linker-script munging.
31899 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31901         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31902         of $(common-objpfx)shlib.lds.
31903         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31905         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31906         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31908         * configure.in (-z relro check): Adjust test code to add a large
31909         writable data section after it.
31910         * configure: Regenerated.
31912 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31914         * configure.in (-z relro check): Fix test code to make the variable
31915         truly const.
31916         * configure: Regenerated.
31918 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31920         * nscd/nscd.h (struct traced_file): Define.
31921         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31922         elements.  Add traced_files.
31923         (inotify_fd): Declare.
31924         (register_traced_file): Declare.
31925         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31926         (inotify_fd): Export.
31927         (resolv_conf_descr): Remove.
31928         (nscd_init): Move inotify descriptor creation to main.
31929         Don't register files for notification here.
31930         (register_traced_file): New function.
31931         (invalidate_cache): Don't use reset_res to determine whether to call
31932         res_init, go through the list of registered files.
31933         (main_loop_poll): The inotify descriptors are now stored in the
31934         structures for the traced files.
31935         (main_loop_epoll): Likewise
31936         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31937         to __nss_disable_nscd.
31938         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31939         for a database anymore.  Check the records for all the registered
31940         files instead.
31941         * nss/Makefile (libnss_files-routines): Add files-init.
31942         (libnss_db-routines): Add db-init.
31943         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31944         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31945         * nss/nss_db/db-init.c: New file.
31946         * nss/nss_files/files-init.c: New file.
31947         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31948         __nss_lookup_function.
31949         (__nss_lookup_function): Call nss_load_library.
31950         (nss_load_all_libraries): New function.
31951         (__nss_disable_nscd): Take parameter with callback function for files
31952         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31953         used for the cached services.
31954         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31955         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31956         options for features to all the files in nscd.
31958         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31960 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31962         * csu/elf-init.c (__libc_csu_init): Comment typo.
31964 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31966         * po/pl.po: Update from translation team.
31967         * po/ja.po: Likewise.
31968         * po/ru.po: Likewise.
31969         * po/ko.po: Likewise.
31970         * po/fr.po: Likewise.
31972 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31974         * configure.in (.ctors/.dtors header and trailer check):
31975         Use an empirical test on a built program.
31976         * configure: Regenerated.
31978         * configure.in (-z relro check): Use an empirical test on a built DSO.
31979         Detect, but do not require, on ia64.
31980         * configure: Regenerated.
31982         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31983         Update tests that use readelf to use $READELF instead.
31984         * configure: Regenerated.
31986 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31988         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31989         if the result is not used.
31991 2011-07-05  Andreas Jaeger  <aj@suse.de>
31993         [BZ#9696]
31994         * stdlib/tst-strtod.c: Add testcase.
31996 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31998         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31999         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32000         The latter has a higher limit.  Take additional parameter to pass to
32001         the new function.
32002         (__pathconf): Pass file to __statfs_link_max.
32003         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32004         __statfs_link_max.
32005         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32006         __statfs_link_max.
32008         [BZ #12868]
32009         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32010         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32011         Handle Lustre.
32012         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32013         (__statfs_filesize_max): Likewise.
32014         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32016 2011-07-05  Andreas Jaeger  <aj@suse.de>
32018         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32020 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32022         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32023         `status' variable.
32024         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32025         Likewise.
32027 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32029         * Makefile (strop-tests): Add strncat.
32030         * string/test-strncat.c: New file.
32032 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32034         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32036 2011-06-21  Andreas Jaeger  <aj@suse.de>
32038         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32039         Copy rule from iconvdata/Makefile.
32041 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32043         [BZ #12922]
32044         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32045         but no long options are defined, just return 'W'.
32047 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32049         [BZ #9696]
32050         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32052 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32054         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32055         netgroups to read.
32056         (innetgr): Likewise.
32058 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32060         * config.make.in (install_root): Default to $(DESTDIR).
32062 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32064         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32066 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32068         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32070         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32071         containing directory rather than embedding absolute directory names.
32073         * scripts/check-local-headers.sh: Rewritten using awk.
32074         Match by word, not by line.  Print error messages for matches.
32075         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32077         * Makerules [shlib-lds-flags empty]:
32078         ($(common-objpfx)libc_pic.opts): New target.
32079         ($(common-objpfx)libc_pic.os.clean): New target.
32080         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32082         * config.make.in (OBJCOPY): New variable.
32083         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32084         * configure: Regenerated.
32086         * config.make.in (use-default-link): New variable.
32087         * configure.in (use_default_link): Grok --with-default-link to set it.
32088         * configure: Regenerated.
32089         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32090         (shlib-lds, shlib-lds-flags): Define to empty.
32092         * Makerules (shlib-lds): New variable.
32093         (shlib-lds-flags): New variable.
32094         (build-shlib, build-moduile, build-module-asneeded): Use it.
32095         ($(common-objpfx)libc.so): Use $(shlib-lds).
32096         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32097         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32099         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32100         DT_FLAGS/DT_FLAGS_1 with zero flags.
32102         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32103         linker script munging.
32105 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32107         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32108         as 128-bit value.
32109         * crypt/sha512.c (sha512_process_block): Perform total addition using
32110         128-bit if possible.
32111         (__sha512_finish_ctx): Likewise.
32112         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32113         as 64-bit value.
32114         * crypt/sha256.c (SWAP64): Define.
32115         (sha256_process_block): Perform total addition using 64-bit if
32116         possible.
32117         (__sha256_finish_ctx): Likewise.
32119 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32121         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32122         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32123         * nscd/hstcache.c (cache_addhst): Likewise.
32124         * nscd/grpcache.c (cache_addgr): Likewise.
32125         * nscd/aicache.c (addhstaiX): Likewise
32126         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32128 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32130         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32131         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32132         * nscd/hstcache.c (cache_addhst): Likewise.
32133         * nscd/grpcache.c (cache_addgr): Likewise.
32134         * nscd/aicache.c (addhstaiX): Likewise
32136 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32138         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32139         domain only when needed.
32141 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32144         is always restored.
32146 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32148         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32149         are re-adding the entry.
32150         * nscd/servicescache.c (cache_addserv): Likewise.
32152 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32154         * sysdeps/generic/dl-irel.h: fix protection against multiple
32155         inclusions.
32156         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32158 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32160         [BZ #12935]
32161         * malloc/memusage.sh: Fix quoting in message.
32162         * debug/xtrace.sh: Likewise.
32164         * configure.in: Remove support for --experimental-malloc option, make
32165         it the default.
32166         * config.make.in: Likewise.
32167         * malloc/Makefile: Likewise.
32169 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32171         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32172         two-byte characters.
32174 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32176         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32177         AC_CACHE_CHECK invocation.
32178         * configure: Regenerated.
32180         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32182 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32184         [BZ #12350]
32185         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32186         bit from old_res_options.
32188         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32190         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32191         value type for setfct.
32193 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32195         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32196         __gettimeofday instead of gettimeofday.
32198 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32200         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32202 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32204         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32206         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32207         info.
32209 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32212         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32213         strcpy-sse2-unaligned strncpy-sse2-unaligned
32214         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32215         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32216         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32217         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32218         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32219         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32220         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32221         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32222         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32223         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32224         (STRCPY): Support SSE2 and SSSE3 versions.
32226 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32228         [BZ #12874]
32229         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32230         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32231         kernels which artificially limit size of requests.
32233 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32235         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32236         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32237         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32238         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32239         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32240         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32241         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32242         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32243         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32244         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32245         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32246         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32247         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32248         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32249         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32251         Enable unaligned load optimization for Intel Core i3, i5 and i7
32252         processors.
32253         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32254         Define.
32255         (index_Fast_Unaligned_Load): Define.
32256         (HAS_FAST_UNALIGNED_LOAD): Define.
32258 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
32260         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32262 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32264         [BZ #12907]
32265         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32266         until it is clear that the information is realy needed.
32267         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32269 2011-06-22  Andreas Schwab  <schwab@redhat.com>
32271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32273 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32275         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32276         /sys/devices/system/cpu/online if it is usable.
32278         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32279         reading the information from the /proc filesystem to once a second.
32281 2011-06-21  Andreas Jaeger  <aj@suse.de>
32283         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32284         NULL after inclusion of kernel headers.
32286 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
32288         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32289         calls to internal_setent.
32291         [BZ #12885]
32292         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32293         addresses using gethostbyname4_r ignore IPv4 addresses.
32295         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32296         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
32298         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32300 2011-06-20  David S. Miller  <davem@davemloft.net>
32302         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32303         inclusions.
32304         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32306         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32307         (elf_irel): Use it.
32308         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32309         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32310         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32311         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32312         * sysdeps/x86_64/dl-irel.h: Likewise.
32314         * elf/dl-runtime.c: Use elf_ifunc_invoke.
32315         * elf/dl-sym.c: Likewise.
32317 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32319         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
32320         need to dereference resplen2.
32322 2011-06-14  Andreas Schwab  <schwab@redhat.com>
32324         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32326 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32328         * Makeconfig: Define vardbdir and inst_vardbdir.
32329         * nss/Makefile: Add rules to install db-Makefile.
32331         * nss/nss_db/db-XXX.c: Cleanup.
32333         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32334         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32335         GLIBC_PRIVATE.
32336         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32337         * nss/makedb.c: Implement -g option to specify that value strings
32338         are generated and should not be added to table iterated over for
32339         get*ent calls.
32340         * nss/nss_db/db-initgroups.c: New file.
32342         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32343         interface.
32345         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32346         (internal_getgrouplist): Adjust to name change.
32347         Update use_initgroups_entry if this is not the first call.
32348         * nss/databases.def: Add initgroups entry.
32350         * nss/makedb.c (compute_tables): Check result of multiple hash table
32351         sizes to minimize maximum chain length.
32353 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32355         * Versions.def: Add entry for libnss_db.
32356         * shlib-versions: Likewise.
32357         * nss/Makefile: Add rules to build libnss_db.
32358         * nss/Versions: Add libnss_db information.  Organize libnss_files
32359         entries better.
32360         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32361         makedb progra.  Some minor improvements to generate smaller files.
32362         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32363         here from...
32364         * nss/makedb.c: ...here.
32365         Improve database format to be smaller and require less memory at
32366         runtime.
32367         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32368         db anymore.
32369         * nss/nss_db/db-netgrp.c: Likewise.
32370         * nss/nss_db/db-open.c: Likewise.
32371         * nss/nss_files/flies-XXX.x: Adjust comments.
32372         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32373         * nss/nss_files/files-grp.c: Likewise.
32374         * nss/nss_files/files-hosts.c: Likewise.
32375         * nss/nss_files/files-network.c: Likewise.
32376         * nss/nss_files/files-proto.c: Likewise.
32377         * nss/nss_files/files-pwd.c: Likewise.
32378         * nss/nss_files/files-rpc.c: Likewise.
32379         * nss/nss_files/files-service.c: Likewise.
32380         * nss/nss_files/files-sgrp.c: Likewise.
32381         * nss/nss_files/files-spwd.c: Likewise.
32382         * nss/nss_db/db-alias.c: Removed.
32383         * nss/nss_db/dummy-db.h: Removed.
32385 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32387         * nss/makedb.c: Rewritten to not use database library.
32388         * nss/Makefile: Update to build new makedb program.
32390 2011-06-14  Andreas Jaeger  <aj@suse.de>
32392         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32393         memset declaration.
32395 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32398         tmpbuf.
32400 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32402         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32403         * elf/Makefile ($(objpfx)ld.so): Likewise.
32405         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32406         Don't list ld.so twice in dependencies.
32408         * posix/bug-regex31.c: Include <stdlib.h>.
32410         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32412         * nis/nss_compat/compat-spwd.c
32413         (getspent_next_nss_netgr): Remove unused variable.
32414         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32416         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32417         nonmembers" output to use the right array.
32419         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32421         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32423         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32424         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32425         * catgets/gencat.c (read_input_file): Likewise.
32426         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32428         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32429         variable definition inside #if's controlling its use.
32431         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32433         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32435         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32437         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32438         unreachable code.
32440         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32442         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32443         * configure: Regenerated.
32445         * Makerules: Revert last change.
32446         * elf/Makefile: Likewise.
32448 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32450         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32451         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32452         (reloc-link): Likewise.
32454 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32456         * elf/Makefile: Add rules to build pldd.
32457         * elf/pldd.c: New file.
32458         * elf/pldd-xx.c: New file.
32460 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32462         * version.h: Update for 2.15 development version.
32464 2011-06-07  David S. Miller  <davem@davemloft.net>
32466         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32467         ifuncs.
32468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32469         elf_machine_lazy_rel): Likewise.
32470         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32471         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32472         elf_machine_lazy_rel): Likewise.
32473         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32474         dl_hwcap via passed in argument.
32475         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32476         Likewise.
32478 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32480         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32482 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32484         [BZ #12849]
32485         * manual/fdl-1.1.texi: New file, verbatim from:
32486         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32487         * manual/lgpl-2.1.texi: New file, verbatim from:
32488         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32489         * manual/Makefile (licenses): New variable, list those new file names.
32490         (texis): Use it.
32491         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32493         * manual/fdl.texi: File removed.
32494         * manual/lesser.texi: File removed.
32495         * manual/libc.texinfo (Copying, Documentation License):
32496         Use new @include file names, put @appendix directive before @include.
32498 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32500         [BZ #12841]
32501         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32502         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32503         (mq_open): Add __NTH.
32505 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32508         Assume Intel Core i3/i5/i7 processor if AVX is available.
32510 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32512         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32513         typo.
32515 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32517         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32518         memory.  Use alloca_account.  Fix memory leak when retrying.
32520 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32522         * version.h (RELEASE): Bump for 2.14 release.
32523         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32525         * config.make.in (RANLIB): Remove entry.
32527 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32529         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32530         (libc.pot): Work around missing support for .ksh extension in xgettext.
32532         [BZ #12684]
32533         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32534         if both request failed.
32535         (send_dg): In case of server errors clear resplen or *resplen2.
32537         [BZ #12454]
32538         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32539         when there are multiple maps.
32540         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32541         (_dl_fini): Remove test here.
32543         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32545 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32547         [BZ #12350]
32548         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32549         bit from old_res_options.
32550         (gaih_inet): Likewise.
32552         [BZ #11099]
32553         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32554         as signed.
32556         * resolv/res_init.c (res_setoptions): Make the code more compact.
32558         [BZ #11558]
32559         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32560         set RES_USEVC.
32562         [BZ #11634]
32563         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32565         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32567         [BZ #11781]
32568         * malloc/malloc.h: Declare malloc hook variables as volatile.
32570         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32571         in last patch.
32573         [BZ #11799]
32574         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32575         raise in the comment.
32576         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32577         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32578         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32580 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32582         [BZ #12811]
32583         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32584         grow the buffers more if it already has to be sufficient.
32585         (build_wcs_upper_buffer): Likewise.
32586         * posix/regexec.c (check_matching): Likewise.
32587         (clean_state_log_if_needed): Likewise.
32588         (extend_buffers): Don't enlarge buffers beyond size of the input
32589         buffer.
32590         Patches mostly by Emil Wojak <emil@wojak.eu>.
32591         * posix/bug-regex32.c: New file.
32592         * posix/Makefile (tests): Add bug-regex32.
32594         * locale/findlocale.c (_nl_find_locale): Return right away if
32595         _nl_explode_name failed.
32596         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32598         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32600         * debug/xtrace.sh: Unify messages.
32601         * malloc/memusage.sh: Likewise.
32603         [BZ #12813]
32604         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32605         time symbol from vDSO.  Substitute with vsyscall if not available.
32606         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32607         __vdso_time.
32609         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32610         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32611         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32612         Add sendmmsg and internal_sendmmsg.
32613         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32614         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32615         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32617         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32618         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32619         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32621 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32623         [BZ #12813]
32624         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32625         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32626         available.
32627         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32628         __vdso_getcpu.
32630         [BZ #12814]
32631         * iconvdata/Makefile (tests): Add bug-iconv9.
32632         * iconvdata/bug-iconv9.c: New file.
32634 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32636         [BZ #12814]
32637         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32639 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32641         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32642         (struct user_regs_struct): Change intcs field back to cs.
32644 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32646         * po/ja.po: Update from translation team.
32648 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32650         [BZ #12795]
32651         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32652         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32654 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32656         * stdlib/longlong.h: Update from GCC.
32658 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32660         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32661         parameter name.
32662         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32663         Add parameter name.
32664         (__sysconf): Pass it down.
32666 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32668         [BZ #12671]
32669         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32670         some situations.
32671         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32672         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32673         add in in __libc_use_alloca calls.  Adjust callers.
32674         (glob): Use malloc in some situations.
32676         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32677         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32678         pltexit.
32680 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32682         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32683         and CLOCK_BOOTTIME_ALARM.
32685         [BZ #12782]
32686         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32687         is returned.
32689         * string/_strerror.c (__strerror_r): Print negative errors as signed
32690         numbers.
32692         [BZ #12777]
32693         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32694         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32695         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32697         * configure.in: Fix typo in redirection and correct removal of test
32698         files in two cases.
32700         [BZ #12788]
32701         * locale/setlocale.c (new_composite_name): Fix test to check for
32702         identical name of all categories.
32704         [BZ #12792]
32705         * libio/filedoalloc.c (local_isatty): New function.
32706         (_IO_file_doallocate): Use local_isatty.
32707         * stdio-common/perror.c (perror): In case a new stream is used
32708         forward the stream error.
32709         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32710         error flag.
32712 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32714         [BZ #11869]
32715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32716         alloca.
32717         * include/alloca.h (extend_alloca_account): Define.
32719         [BZ #11857]
32720         * posix/regex.h: Fix comments with documentation of user-accessible
32721         fields after compilation and describe correct free'ing of pattern
32722         after re_compile_pattern.
32723         Patch by Reuben Thomas <rrt@sc3d.org>.
32725 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32727         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32728         and -mno-altivec to prevent the compiler from using Altivec and/or
32729         VSX instructions when the corresponding registers are not available.
32731 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32733         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32735 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32737         * libio/freopen.c (freopen): Use __dup2, not dup2.
32738         * libio/freopen64.c (freopen64): Likewise.
32740 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32742         [BZ #12775]
32743         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32744         * math/Makefile (tests): Add test-powl.
32745         (CFLAGS-test-powl.c): Define.
32746         * math/test-powl.c: New file.
32748 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32750         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32752 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32754         [BZ #11837]
32755         * iconvdata/gb18030.c: Update to GB18020-2005.
32757 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32759         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32760         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32761         Patch by Aharon Robbins <arnold@skeeve.com>.
32763         [BZ #11892]
32764         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32765         on the stack.
32767         [BZ #11895]
32768         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32769         through underflows.
32771         [BZ #12766]
32772         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32773         point to strings before performing equality test for error_one_per_line
32774         mode.
32776         [BZ #11697]
32777         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32779         [BZ #11820]
32780         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32781         (struct user_fpregs_struct): Avoid __uint*_t types.
32783         [BZ #6420]
32784         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32785         symbol info.  Use it instead of calling _dl_addr locally.
32786         (lock_and_info): New function.
32787         (tr_freehook): Call lock_and_info and pass symbol info as additional
32788         parameter to tr_where.
32789         (tr_mallochook): Likewise.
32790         (tr_reallochook): Likewise.
32791         (tr_memalignhook): Likewise.
32793         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32794         used and couldn't be at all thread-safe.
32796 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32798         * libio/freopen.c (freopen): Don't close old file descriptor
32799         before the new one is opened.  Instead dup the new file descriptor
32800         to the old one after the new stream is created.
32801         * libio/freopen64.c (freopen64): Likewise.
32802         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32803         * libio/fileops.c (_IO_new_file_close_it): Handle new
32804         _IO_FLAGS2_NOCLOSE flag.
32805         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32806         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32807         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32808         _IO_FLAGS2_NOCLOSE flag.
32809         * include/unistd.h: Add hidden_proto for dup3.
32810         Define __have_dup3.
32811         * io/dup3.c: Define hidden symbol.
32812         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32814         [BZ #7101]
32815         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32816         when an incomplete long option is used.
32817         * posix/tst-getopt_long1.c: New file.
32818         * posix/Makefile (tests): Add tst-getopt_long1.
32820         [BZ #10138]
32821         * scripts/config.guess: Update from autoconf-2.68.
32822         * scripts/config.sub: Likewise.
32824         [BZ #10157]
32825         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32826         tests into ...
32827         (has_cpuclock): ...this.  New function.
32828         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32829         macro here based on has_cpuclock code.
32831         [BZ #10149]
32832         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32833         First byte (not low byte) is now always NUL.
32834         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32836         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32837         Use non-cancelable interfaces.
32839         [BZ #9809]
32840         * locale/iso-639.def: Add entry for Sorani.
32842         [BZ #11901]
32843         * include/stdlib.h: Move include protection to the right place.
32844         Define abort_msg_s.  Declare __abort_msg with it.
32845         * stdlib/abort.c (__abort_msg): Adjust type.
32846         * assert/assert.c (__assert_fail_base): New function.  Majority
32847         of code from __assert_fail.  Allocate memory for __abort_msg with
32848         mmap.
32849         (__assert_fail): Now call __assert_fail_base.
32850         * assert/assert-perr.c: Remove bulk of implementation.  Use
32851         __assert_fail_base.
32852         * include/assert.hL Declare __assert_fail_base.
32853         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32854         mmap.
32855         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32857 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32859         [BZ #11952]
32860         [BZ #12453]
32861         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32862         until all modules are registered in the DTV.
32863         * elf/Makefile: Add rules to build and run tst-tls19.
32864         * elf/tst-tls19.c: New file.
32865         * elf/tst-tls19mod1.c: New file.
32866         * elf/tst-tls19mod2.c: New file.
32867         * elf/tst-tls19mod3.c: New file.
32868         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32870         [BZ #12083]
32871         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32872         correctly.
32874         [BZ #12601]
32875         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32876         two-byte sequence errors.
32877         * iconvdata/Makefile (tests): Add bug-iconv8.
32878         * iconvdata/bug-iconv8.c: New file.
32880         [BZ #12626]
32881         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32882         buf2 definition.
32884         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32886         [BZ #12432]
32887         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32888         (dummy_getcfa): New function.
32889         (init): Get _Unwind_GetCFA address, use dummy if not found.
32890         (backtrace_helper): In recursion check, also check whether CFA changes.
32891         (__backtrace): Completely initialize arg.
32893         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32894         storing incomplete byte sequence in state object.  Avoid testing for
32895         guaranteed too small input if we know there is enough data available.
32897 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32899         * Makeconfig (+link-pie): Indent.
32900         * Rules (binaries-pie): Define if $(have-fpie) and
32901         $(build-shared).
32902         (binaries-shared): Also filter out $(binaries-pie).
32903         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32904         * nscd/Makefile (others-pie): Add nscd.
32905         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32906         ($(objpfx)nscd): Remove command override.
32907         * login/Makefile (others-pie): Add pt_chown.
32908         ($(objpfx)pt_chown): Remove command override.
32909         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32910         remove command overrides.
32912 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32914         * libio/tst_putwc.c: Fix error messages.
32916         [BZ #12724]
32917         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32918         currently writing and seek to current position when not.
32919         * libio/Makefile (tests): Add bug-fclose1.
32920         * libio/bug-fclose1.c: New file.
32922 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32924         [BZ #12511]
32925         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32926         don't set DF_1_NODELETE here.
32927         (do_lookup_x): When entering new entry test for copy relocation
32928         and if necessary set DF_1_NODELETE flag.
32929         * elf/tst-unique4.cc: New file.
32930         * elf/tst-unique4.h: New file.
32931         * elf/tst-unique4lib.cc: New file.
32932         * elf/Makefile: Add rules to build and run tst-unique4.
32933         Patch by Piotr Bury <pbury@goahead.com>.
32935 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32937         [BZ #12052]
32938         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32940         [BZ #12625]
32941         * misc/mntent_r.c (addmntent): Flush the stream after the output
32943         [BZ #12393]
32944         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32945         (is_trusted_path_normalize): Skip initial colon.  Append slash
32946         to empty buffer.  Duplicate is_trusted_path code but allow
32947         constructed patch to be prefix.
32948         (is_dst): Allow $ORIGIN followed by /.
32949         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32950         Correct testing of result of is_trusted_path_normalize
32951         (decompose_rpath): Fix warning.
32953 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32955         [BZ #11257]
32956         * grp/initgroups.c (internal_getgrouplist): When we found the service
32957         list through the initgroups entry in nsswitch.conf do not always
32958         continue on a successful lookup.  Don't always use the
32959         __nss_group_database value if it is set.
32960         * nss/nsswitch.conf (initgroups): Change action for successful db
32961         lookup to continue for compatibility.
32963 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32965         [BZ #11532]
32966         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32967         and CP774 modules.
32968         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32969         and CP774 modules.
32970         * iconvdata/tst-tables.sh: Likewise.
32971         * iconvdata/cp770.c: New file.
32972         * iconvdata/cp771.c: New file.
32973         * iconvdata/cp772.c: New file.
32974         * iconvdata/cp773.c: New file.
32975         * iconvdata/cp774.c: New file.
32976         * iconvdata/testdata/CP770: New file.
32977         * iconvdata/testdata/CP770..UTF8: New file.
32978         * iconvdata/testdata/CP771: New file.
32979         * iconvdata/testdata/CP771..UTF8: New file.
32980         * iconvdata/testdata/CP772: New file.
32981         * iconvdata/testdata/CP772..UTF8: New file.
32982         * iconvdata/testdata/CP773: New file.
32983         * iconvdata/testdata/CP773..UTF8: New file.
32984         * iconvdata/testdata/CP774: New file.
32985         * iconvdata/testdata/CP774..UTF8: New file.
32987         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32988         END CHARMAP line.
32989         * iconvdata/gen-8bit-gap.sh: Likewise.
32990         * iconvdata/gen-8bit.sh: Likewise.
32992         * locale/iso-639.def: Add ary entry.
32994         [BZ #11258]
32995         * locale/C-translit.h.in: Add U20A1 transliteration.
32997         [BZ #12178]
32998         * locale/iso-639.def: Add wae entry.
32999         Patch by Kevin Bortis <bortis@translate-wae.ch>.
33001         [BZ #12545]
33002         * locale/programs/localedef.c (construct_output_path): Use ssize_t
33003         for n.
33005         [BZ #12711]
33006         * locale/C-translit.h.in: Add entry for U20B9.
33007         Patch by pravin.d.s@gmail.com.
33009 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
33011         [BZ #12713]
33012         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33013         ENAMETOOLONG use generic getcwd.
33014         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
33015         in rtld.  Use *stat64.
33016         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33017         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33018         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33019         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33020         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33021         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33022         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33023         __fstatat64 macros.
33024         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33025         * dirent/rewinddir.c: Add libc_hidden_def.
33026         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33027         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33029         * include/dirent.h (__alloc_dir): Add flags parameter.
33030         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33031         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33032         __alloc_dir.
33033         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33034         from fdopendir if O_CLOEXEC is already set.
33036 2011-03-15  Alan Modra  <amodra@gmail.com>
33038         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33039         l_tls_firstbyte_offset non-zero.  Save padding offset in
33040         l_tls_firstbyte_offset for later use.
33041         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33042         freeing static tls block.
33044 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33046         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33047         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33048         being defined by the kernel headers.
33050 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33052         [BZ #12734]
33053         * resolv/resolv.h: Define RES_NOTLDQUERY.
33054         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33055         no-tld-query and set RES_NOTLDQUERY.
33056         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33057         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33058         modern BIND to search name as TLD unless forbidden.
33060 2011-05-07  Petr Baudis  <pasky@suse.cz>
33061             Ulrich Drepper  <drepper@gmail.com>
33063         [BZ #12393]
33064         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33065         (is_trusted_path): ...to here.
33066         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33067         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33068         using is_trusted_path_normalize() in setuid scripts.
33070 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33072         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33073         __BEGIN/__END_DECLS.
33075 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33077         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33078         NSS_STATUS_NOTFOUND if no record was found.
33080 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33082         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33083         (headers-not-in-tirpc): Remove rpc/netdb.h
33084         * resolv/netdb.h: Revert last change.
33086 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33088         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33089         circular dependency between libgcc.a and libc.a.
33091 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33093         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33094         * nis/Makefile: Don't install rpcsvc/*.
33095         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33096         instead of <rpc/types.h>.
33097         (MAXHOSTNAMELEN): Define.
33099 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33101         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33103 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33105         [BZ #12714]
33106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33107         gethostbyname4_r when IPv6 results are possible.
33109 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33111         [BZ #12723]
33112         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33113         _PC_PIPE_BUF handling.
33115 2011-04-30  Bruno Haible  <bruno@clisp.org>
33117         [BZ #12717]
33118         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33119         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33120         to 'int'.
33121         * inet/getnameinfo.c (getnameinfo): Likewise.
33123 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33125         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33126         to groups setting in database lookup.
33127         * nss/nsswitch.conf: Add initgroups entry.
33129 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33131         [BZ #12685]
33132         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33133         mode string.
33134         Patch by Eric Blake <eblake@redhat.com>.
33136 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33138         * sunrpc/Makefile (need-export-routines): Add svc_run.
33139         (routines): Remove svc_run.
33140         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33141         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33142         * sunrpc/svc_run.c (svc_run): Likewise.
33143         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33145 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33147         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33148         problem in reallocation in last patch.
33150 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33152         * sunrpc/Makefile: Move inclusion of Rules.
33154 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33156         * nss/nss_files/files-initgroups.c: New file.
33157         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33158         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33159         _nss_files_initgroups_dyn.
33161 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33163         * elf/elf.h (R_ARM_IRELATIVE): Define.
33165 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33167         * po/ru.po: Update from translation team.
33169 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33171         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33172         dependencies.
33174 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33176         [BZ #12653]
33177         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33178         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33179         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33180         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33181         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33183 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33185         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33186         differing bytes.
33187         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33188         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33189         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33191 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33193         [BZ #12420]
33194         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33195         storing it.
33196         * stdlib/bug-getcontext.c: New file.
33197         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33199 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33201         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33202         instructions into .machine "z9-109".
33203         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33204         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33206 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33208         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33209         between environment variables and auxiliary vector.
33211 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33213         * Makefile: Add rules to build linkobj/libc.so.
33214         * include/libc-symbols.h: Define libc_hidden_nolink.
33215         * include/rpc/auth.h: Mark functions which are to be hidden.
33216         * include/rpc/auth_des.h: Likewise.
33217         * include/rpc/auth_unix.h: Likewise.
33218         * include/rpc/clnt.h: Likewise.
33219         * include/rpc/des_crypt.h: Likewise.
33220         * include/rpc/key_prot.h: Likewise.
33221         * include/rpc/pmap_clnt.h: Likewise.
33222         * include/rpc/pmap_prot.h: Likewise.
33223         * include/rpc/pmap_rmt.h: Likewise.
33224         * include/rpc/rpc_msg.h: Likewise.
33225         * include/rpc/svc.h: Likewise.
33226         * include/rpc/svc_auth.h: Likewise.
33227         * include/rpc/xdr.h: Likewise.
33228         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33229         * nss/Makefile: Likewise.
33230         * sunrpc/Makefile: Don't install headers.  Build library with normal
33231         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33232         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33233         for the compat linking library.  Remove use of INTDEF/INTUSE.
33234         * sunrpc/auth_none.c: Likewise.
33235         * sunrpc/auth_unix.c: Likewise.
33236         * sunrpc/authdes_prot.c: Likewise.
33237         * sunrpc/authuxprot.c: Likewise.
33238         * sunrpc/clnt_gen.c: Likewise.
33239         * sunrpc/clnt_perr.c: Likewise.
33240         * sunrpc/clnt_raw.c: Likewise.
33241         * sunrpc/clnt_simp.c: Likewise.
33242         * sunrpc/clnt_tcp.c: Likewise.
33243         * sunrpc/clnt_udp.c: Likewise.
33244         * sunrpc/clnt_unix.c: Likewise.
33245         * sunrpc/des_crypt.c: Likewise.
33246         * sunrpc/des_soft.c: Likewise.
33247         * sunrpc/get_myaddr.c: Likewise.
33248         * sunrpc/key_call.c: Likewise.
33249         * sunrpc/key_prot.c: Likewise.
33250         * sunrpc/netname.c: Likewise.
33251         * sunrpc/pm_getmaps.c: Likewise.
33252         * sunrpc/pm_getport.c: Likewise.
33253         * sunrpc/pmap_clnt.c: Likewise.
33254         * sunrpc/pmap_prot.c: Likewise.
33255         * sunrpc/pmap_prot2.c: Likewise.
33256         * sunrpc/pmap_rmt.c: Likewise.
33257         * sunrpc/publickey.c: Likewise.
33258         * sunrpc/rpc_cmsg.c: Likewise.
33259         * sunrpc/rpc_common.c: Likewise.
33260         * sunrpc/rpc_dtable.c: Likewise.
33261         * sunrpc/rpc_prot.c: Likewise.
33262         * sunrpc/rpc_thread.c: Likewise.
33263         * sunrpc/rtime.c: Likewise.
33264         * sunrpc/svc.c: Likewise.
33265         * sunrpc/svc_auth.c: Likewise.
33266         * sunrpc/svc_authux.c: Likewise.
33267         * sunrpc/svc_raw.c: Likewise.
33268         * sunrpc/svc_run.c: Likewise.
33269         * sunrpc/svc_simple.c: Likewise.
33270         * sunrpc/svc_tcp.c: Likewise.
33271         * sunrpc/svc_udp.c: Likewise.
33272         * sunrpc/svc_unix.c: Likewise.
33273         * sunrpc/svcauth_des.c: Likewise.
33274         * sunrpc/xcrypt.c: Likewise.
33275         * sunrpc/xdr.c: Likewise.
33276         * sunrpc/xdr_array.c: Likewise.
33277         * sunrpc/xdr_float.c: Likewise.
33278         * sunrpc/xdr_intXX_t.c: Likewise.
33279         * sunrpc/xdr_mem.c: Likewise.
33280         * sunrpc/xdr_rec.c: Likewise.
33281         * sunrpc/xdr_ref.c: Likewise.
33282         * sunrpc/xdr_sizeof.c: Likewise.
33283         * sunrpc/xdr_stdio.c: Likewise.
33285 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
33287         [BZ #12650]
33288         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33289         * sysdeps/ia64/dl-tls.h: Likewise.
33290         * sysdeps/powerpc/dl-tls.h: Likewise.
33291         * sysdeps/s390/dl-tls.h: Likewise.
33292         * sysdeps/sh/dl-tls.h: Likewise.
33293         * sysdeps/sparc/dl-tls.h: Likewise.
33294         * sysdeps/x86_64/dl-tls.h: Likewise.
33295         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33297 2011-03-14  Andreas Schwab  <schwab@redhat.com>
33299         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33300         rpath element also skip the following colon.
33301         (expand_dynamic_string_token): Add is_path parameter and pass
33302         down to DL_DST_REQUIRED and _dl_dst_substitute.
33303         (decompose_rpath): Call expand_dynamic_string_token with
33304         non-zero is_path.  Ignore empty rpaths.
33305         (_dl_map_object_from_fd): Call expand_dynamic_string_token
33306         with zero is_path.
33308 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
33310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33311         Make cancelable.
33313 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
33315         [BZ #12655]
33316         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33317         Patch by Filipe David Manana <fdmanana@apache.org>.
33319 2011-04-07  Andreas Schwab  <schwab@redhat.com>
33321         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33322         Maintain aligned stack.
33323         (CHECK_RSP): Remove unused macro.
33325 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
33327         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33328         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33330 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33332         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33334         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33336 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33338         [BZ #12518]
33339         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33340         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33341         * sysdeps/x86_64/memmove.c: New file.
33342         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33343         (memcpy): Renamed to ...
33344         (__new_memcpy): This.
33345         (memcpy): Provide GLIBC_2_14 memcpy.
33346         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33347         (memcpy): Provide GLIBC_2_2_5 memcpy.
33349 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33351         [BZ #12631]
33352         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33354 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33356         * misc/syncfs.c: New file.
33357         * misc/Makefile (routines): Add syncfs.
33358         * posix/unistd.h: Declare syncfs.
33359         * sysdeps/unix/syscalls.list: Add syncfs.
33361 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33363         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33364         open_by_handle_at.
33365         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33366         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33367         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33368         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33370         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33371         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33373 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33375         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33376         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33377         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33379         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33381         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33383         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33384         sync_file_range.c with -fexceptions.
33385         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33386         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33387         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33388         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33389         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33390         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33391         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33392         sync_file_range as cancellation point
33393         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33394         now a wrapper around __call_sync_file_range with cancellation handling.
33395         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33396         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33397         function name to __call_sync_file_range.
33398         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33399         Add call_sync_file_range.
33401 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33404         bits/timex.h.
33406 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33408         * iconv/iconv.h: Fix typo in comment.
33409         * io/fcntl.h: Likewise.
33410         * libio/stdio.h: Likewise.
33411         * posix/spawn.h: Likewise.
33412         * posix/unistd.h: Likewise.
33413         * stdlib/stdlib.h: Likewise.
33414         * time/time.h: Likewise.
33415         * wcsmbs/wchar.h: Likewise.
33417         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33418         open_by_handle): Add.
33419         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33420         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33421         Augment a few comments.
33422         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33423         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33424         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33425         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33426         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33427         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33428         open_by_handle.
33430         * io/fcntl.h (AT_EMPTY_PATH): Define.
33432 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33434         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33435         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33436         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33437         to...
33438         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33439         * Versions.def: Add GLIBC_2.14.
33440         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33441         Export.
33443 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33445         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33446         round counter.
33447         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33449 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33451         [BZ #12597]
33452         * string/test-strncmp.c (do_page_test): New function.
33453         (check2): Likewise.
33454         (test_main): Call check2.
33455         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33457 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33459         [BZ #12587]
33460         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33461         Handle cache information in CPU leaf 4.
33462         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33464 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33466         [BZ #12583]
33467         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33468         character representation.
33469         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33471 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33473         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33474         END(__isnan) to END(__isnanf) to match function entry point/label
33475         EALIGN(__isnanf,...).
33477 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33479         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33481 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33483         [BZ #12510]
33484         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33485         copy from the symbol referenced in the relocation to initialize the
33486         used variable.
33487         Patch by Piotr Bury <pbury@goahead.com>.
33488         * elf/Makefile: Add rules to build and tst-unique3.
33489         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33490         * elf/tst-unique3.cc: New file.
33491         * elf/tst-unique3.h: New file.
33492         * elf/tst-unique3lib.cc: New file.
33493         * elf/tst-unique3lib2.cc: New file.
33495         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33497 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33499         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33500         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33501         to _start.
33503 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33505         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33506         to-be-loaded object along a path to loader is ld.so.
33508 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33509             Ulrich Drepper  <drepper@gmail.com>
33511         * sysdeps/x86_64/memset.S: After aligning destination, code
33512         branches to different locations depending on the value of
33513         misalignment, when multiarch is enabled. Fix this.
33515 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33517         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33518         Set _x86_64_preferred_memory_instruction for AMD processsors.
33519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33520         Set bit_Prefer_SSE_for_memop for AMD processors.
33522 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33524         * libio/fmemopen.c (fmemopen): Optimize a bit.
33526 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33528         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33530 2011-03-03  Roland McGrath  <roland@redhat.com>
33532         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33534 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33536         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33537         __bzero_ultra1 instead of __memset_ultra1.
33539 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33540             Ulrich Drepper  <drepper@gmail.com>
33542         [BZ #12509]
33543         * include/link.h (struct link_map): Add l_orig_initfini.
33544         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33545         returning unsuccessfully.
33546         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33547         close of a file loaded at startup, restore the original l_initfini
33548         list.
33549         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33550         list, store the pointer.
33551         * elf/Makefile ($(objpfx)noload-mem): New rule.
33552         (noload-ENV): Define.
33553         (tests): Add $(objpfx)noload-mem.
33554         * elf/noload.c: Include <memcheck.h>.
33555         (main): Call mtrace.  Close all opened handles.
33557 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33559         [BZ #12454]
33560         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33561         dependencies are missing.
33563 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33565         Fix __if_freereq crash: Unlike the generic version which uses free,
33566         Hurd needs munmap.
33567         * sysdeps/mach/hurd/ifreq.h: New file.
33569 2011-01-27  Petr Baudis  <pasky@suse.cz>
33570             Ulrich Drepper  <drepper@gmail.com>
33572         [BZ 12445]#
33573         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33574         to extend_alloca().
33575         * stdio-common/bug23.c: New file.
33576         * stdio-common/Makefile (tests): Add bug23.
33578 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33579             Ulrich Drepper  <drepper@gmail.com>
33581         [BZ #12489]
33582         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33583         before performing relro protection.  At old place add assertion
33584         to make sure nothing changed.
33586 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33587             Glauber de Oliveira Costa  <glommer@gmail.com>
33589         * elf/elf.h: Add new ARM TLS relocs.
33591 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33594         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33595         cast from r3.
33596         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33597         'tests' variable.
33598         * sysdeps/wordsize-64/tst-writev.c: New file.
33600 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33602         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33603         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33604         insns in _dl_start to prevent a TOC reference before relocs are
33605         resolved.
33607 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33609         [BZ #12469]
33610         * Makeconfig: Remove RANLIB definition.
33611         * Makerules: Don't use RANLIB.
33612         * aclocal.m4: Remove ranlib test.
33613         * configure.in: No need to check for ranlib.
33614         * elf/rtld-Rules: Don't use RANLIB.
33616 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33618         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33619         protection macro.
33620         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33621         inclusion protection macro.
33623         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33624         SIGRTMIN and SIGRTMAX and print information in that case only when
33625         SIGRTMIN is defined.
33627 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33629         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33630         arginfo fn returning -1.
33632         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33633         and thousands string is zero terminated.
33635 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33637         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33638         sysdeps/unix/sysv/linux/bits/socket.h.
33640 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33642         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33643         (__CPU_COUNT): Remove old macros.
33644         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33645         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33646         (__CPU_ALLOC, __CPU_FREE): Add macros.
33647         (__sched_cpualloc, __sched_cpufree): Add declarations.
33649 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33651         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33652         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33653         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33654         (readdhstai): Return value of addhstaiX call.
33655         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33656         (addgrbyX): Return value returned by cache_addgr.
33657         (readdgrbyname): Return value returned by addgrbyX.
33658         (readdgrbygid): Likewise.
33659         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33660         (addpwbyX): Return value returned by cache_addpw.
33661         (readdpwbyname): Return value returned by addhstbyX.
33662         (readdpwbyuid): Likewise.
33663         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33664         (addservbyX): Return value returned by cache_addserv.
33665         (readdservbyname): Return value returned by addservbyX:
33666         (readdservbyport): Likewise.
33667         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33668         (addhstbyX): Return value returned by cache_addhst.
33669         (readdhstbyname): Return value returned by addhstbyX.
33670         (readdhstbyaddr): Likewise.
33671         (readdhstbynamev6): Likewise.
33672         (readdhstbyaddrv6): Likewise.
33673         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33674         (readdinitgroups): Return value returned by addinitgroupsX.
33675         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33676         (prune_cache): Keep track of timeout value of re-added entries.
33677         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33678         * nscd/nscd.h: Adjust prototypes of readd* functions.
33680 2011-02-04  Roland McGrath  <roland@redhat.com>
33682         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33683         (nis_stats): Likewise.
33684         * nis/nis_modify.c (nis_modify): Likewise.
33685         * nis/nis_remove.c (nis_remove): Likewise.
33686         * nis/nis_add.c (nis_add): Likewise.
33688         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33690         * posix/fnmatch_loop.c: Add some consts.
33692         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33694 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33696         [BZ #12460]
33697         * config.make.in (config-cflags-novzeroupper): Define.
33698         * configure.in: Substitute libc_cv_cc_novzeroupper.
33699         * elf/Makefile (AVX-CFLAGS): Define.
33700         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33701         (CFLAGS-tst-auditmod4a.c): Likewise.
33702         (CFLAGS-tst-auditmod4b.c): Likewise.
33703         (CFLAGS-tst-auditmod6b.c): Likewise.
33704         (CFLAGS-tst-auditmod6c.c): Likewise.
33705         (CFLAGS-tst-auditmod7b.c): Likewise.
33706         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33708 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33710         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33711         function to the callback.
33712         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33714 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33716         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33717         of errno.
33719 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33721         [BZ #11724]
33722         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33723         of constructors.
33724         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33725         of destructors.
33726         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33728         [BZ #11724]
33729         * elf/Makefile: Add rules to build and run new test.
33730         * elf/tst-initorder.c: New file.
33731         * elf/tst-initorder.exp: New file.
33732         * elf/tst-initordera1.c: New file.
33733         * elf/tst-initordera2.c: New file.
33734         * elf/tst-initordera3.c: New file.
33735         * elf/tst-initordera4.c: New file.
33736         * elf/tst-initorderb1.c: New file.
33737         * elf/tst-initorderb2.c: New file.
33738         * elf/tst-order-a1.c: New file.
33739         * elf/tst-order-a2.c: New file.
33740         * elf/tst-order-a3.c: New file.
33741         * elf/tst-order-a4.c: New file.
33742         * elf/tst-order-b1.c: New file.
33743         * elf/tst-order-b2.c: New file.
33744         * elf/tst-order-main.c: New file.
33745         New test case by George Gensure <werkt0@gmail.com>.
33747 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33750         decoding ACE if AI_CANONIDN.
33752 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33754         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33756 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33758         * version.h (RELEASE): Bump for 2.13 release.
33759         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33761         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33763         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33764         MADV_NOHUGEPAGE.
33765         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33766         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33767         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33768         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33769         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33770         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33772         * posix/getconf.c: Update copyright year.
33773         * catgets/gencat.c: Likewise.
33774         * csu/version.c: Likewise.
33775         * debug/catchsegv.sh: Likewise.
33776         * debug/xtrace.sh: Likewise.
33777         * elf/ldconfig.c: Likewise.
33778         * elf/ldd.bash.in: Likewise.
33779         * elf/sprof.c (print_version): Likewise.
33780         * iconv/iconv_prog.c: Likewise.
33781         * iconv/iconvconfig.c: Likewise.
33782         * locale/programs/locale.c: Likewise.
33783         * locale/programs/localedef.c: Likewise.
33784         * malloc/memusage.sh: Likewise.
33785         * malloc/mtrace.pl: Likewise.
33786         * nscd/nscd.c (print_version): Likewise.
33787         * nss/getent.c: Likewise.
33789         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33790         PF_CAIF, and PF_ALG.
33791         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33793 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33795         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33796         (modules-names): Use them.
33797         (ifunc-test-modules, ifunc-pie-tests): Define.
33798         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33799         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33800         (test-extras): Likewise.
33801         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33802         $(compile-command.c).
33803         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33804         (all-built-dso): Define.
33805         (check-textrel.out, check-execstack.out): Depend on it.
33807         * configure.in: Don't override --enable-multi-arch.
33809 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33811         [BZ #6812]
33812         * nscd/hstcache.c (tryagain): Define.
33813         (cache_addhst): Return tryagain not notfound for temporary errors.
33814         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33815         failed.
33817 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33819         [BZ #10563]
33820         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33821         to make the syscall.
33822         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33824         [BZ #12378]
33825         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33826         and fall back to matching as normal character if the string ends before
33827         the matching ']' is found.  This is what POSIX requires.
33828         * posix/testfnm.c: Adjust test result.
33829         * posix/globtest.sh: Adjust test result.  Add new test.
33830         * posix/tst-fnmatch.input: Likewise.
33831         * posix/tst-fnmatch2.c: Add new test.
33833 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33835         * elf/Makefile (check-execstack): Revert last change.  Depend on
33836         check-execstack.h.
33837         (check-execstack.h): New target.
33838         (generated): Add check-execstack.h.
33839         * elf/check-execstack.c: Include "check-execstack.h".
33840         (main): Revert last change.
33841         (handle_file): Return zero if GNU_STACK is absent and
33842         DEFAULT_STACK_PERMS doesn't include PF_X.
33844 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33846         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33847         in child fails because the descriptor is already closed.
33848         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33849         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33850         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33852         [BZ #12397]
33853         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33854         syscall.
33856         [BZ #10484]
33857         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33858         temporary buffer used to handle multi lookups locally.
33859         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33861 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33863         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33864         loader is ld.so.
33866 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33868         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33869         alignment for SSE2.
33871 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33873         [BZ #12394]
33874         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33875         characters.  When rounding increased number of integer digits recompute
33876         number of groups.
33877         * stdio-common/tst-grouping.c: New file.
33878         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33880 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33882         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33883         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33885         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33886         void.
33887         * bits/select.h: Likewise.
33889 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33891         * po/ja.po: Update from translation team.
33893 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33895         [BZ #11155]
33896         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33897         implementation just like for lxstat, fxstatat, et al.
33899 2010-12-27  Jim Meyering  <meyering@redhat.com>
33901         [BZ #12348]
33902         * posix/regexec.c (build_trtable): Return failure indication upon
33903         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33905 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33907         [BZ #12201]
33908         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33909         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33910         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33911         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33913         [BZ #12207]
33914         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33916         [BZ #12204]
33917         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33918         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33920 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33922         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33923         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33924         script has SORT_BY_INIT_PRIORITY.
33925         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33926         NO_CTORS_DTORS_SECTIONS is defined.
33927         * elf/soinit.c: Likewise.
33928         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33929         NO_CTORS_DTORS_SECTIONS is defined.
33930         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33931         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33932         * sysdeps/sh/init-first.c: Likewise.
33933         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33935 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33937         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33938         always use the slow path.
33940 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33942         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33943         similar rule which adds the sysdep directories to the header search in
33944         order to pick up the correct platform stackinfo.h.
33945         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33946         perform test if it is, otherwise return successfully without testing.
33947         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33948         DEFAULT_STACK_PERMS define in stackinfo.h.
33949         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33950         defined in stackinfo.h.
33951         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33952         DEFAULT_STACK_PERMS defined in stackinfo.h.
33953         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33954         * sysdeps/ia64/stackinfo.h: Likewise.
33955         * sysdeps/s390/stackinfo.h: Likewise.
33956         * sysdeps/sh/stackinfo.h: Likewise.
33957         * sysdeps/sparc/stackinfo.h: Likewise.
33958         * sysdeps/x86_64/stackinfo.h: Likewise.
33959         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33960         PF_X for powerpc64.  Retain PF_X for powerpc32.
33962 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33964         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33965         accurately.
33966         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33967         GETDENTS_64BIT_ALIGNED.
33969 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33971         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33973 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33975         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33976         _GNU_SOURCE.
33978         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33979         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33980         Remove __restrict.
33981         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33982         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33984 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33986         [BZ #11655]
33987         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33988         are initialized.
33990 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33992         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33994 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33996         * po/it.po: Update from translation team.
33998 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
34000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34001         unused codes.
34003 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
34005         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34007 2010-11-24  Andreas Schwab  <schwab@redhat.com>
34009         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34010         specially.
34011         (gaih_getanswer_slice): Likewise.
34013 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
34015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34017 2010-05-31  Petr Baudis  <pasky@suse.cz>
34019         [BZ #11149]
34020         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34021         silently even in the chroot mode.
34023 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34025         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34026         last patch a bit.  Pretty printing
34028 2010-05-31  Petr Baudis <pasky@suse.cz>
34030         [BZ #10085]
34031         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34032         initialization of skip_initgroups_dyn.
34034 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34036         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34037         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34039 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34041         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34043 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34045         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34046         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34047         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34048         ($(objpfx)tst-fnmatch-mem): New rule.
34049         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34050         * posix/tst-fnmatch.c (main): Call mtrace.
34052 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34055         Support Intel processor model 6 and model 0x2c.
34057 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34059         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34060           signed comparison.
34062 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34064         [BZ #12205]
34065         * string/test-strncasecmp.c (check_result): New function.
34066         (do_one_test): Use it.
34067         (check1): New function.
34068         (test_main): Use it.
34069         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34070         Support strcasecmp and strncasecmp.
34072 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34074         [BZ #12194]
34075         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34076         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34078 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34080         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34081         IFUNC support.
34082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34083         memset-x86-64.
34084         * sysdeps/x86_64/multiarch/bzero.S: New file.
34085         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34086         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34087         * sysdeps/x86_64/multiarch/memset.S: New file.
34088         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34090         Set bit_Prefer_SSE_for_memop for Intel processors.
34091         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34092         Define.
34093         (index_Prefer_SSE_for_memop): Define.
34094         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34096 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34098         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34099         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34101 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34103         [BZ #12191]
34104         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34105         (__x86_64_raw_data_cache_size_half): Likewise.
34106         (__x86_64_raw_shared_cache_size): Likewise.
34107         (__x86_64_raw_shared_cache_size_half): Likewise.
34109         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34110         (__x86_64_raw_data_cache_size_half): Likewise.
34111         (__x86_64_raw_shared_cache_size): Likewise.
34112         (__x86_64_raw_shared_cache_size_half): Likewise.
34113         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34114         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34115         and __x86_64_raw_shared_cache_size_half.  Round
34116         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34117         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34118         to multiple of 256 bytes.
34120 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34122         [BZ #12167]
34123         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34124         of inacessible symlinks.  Verify result of symlink before returning it.
34125         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34126         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34128 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34130         * math/math.h (isinf): Fix typo in comment.
34132 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34134         * po/da.po: Update from translation team.
34136 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34138         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34139         is added to the list.
34141 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34142             Ulrich Drepper  <drepper@gmail.com>
34144         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34145         the global list here.  Move code to...
34146         (_dl_add_to_namespace_list): ...here.  New function.
34147         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34148         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34149         * elf/dl-load.c (lose): Don't remove the element from the list.
34150         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34151         (_dl_map_object): Likewise.
34153 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34155         [BZ #12159]
34156         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34157         into all bytes of SSE register.
34158         Patch by Richard Li <richardpku@gmail.com>.
34160 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34162         [BZ #12140]
34163         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34164         perturbing.
34166 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34168         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34169         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34170         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34171         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34173         submachine.
34174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34176 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34178         * include/dlfcn.h (__RTLD_SECURE): Define.
34179         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34180         mode & __RTLD_SECURE instead.
34181         (open_path): Rename preloaded parameter to secure.
34182         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34183         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34184         * elf/dl-deps.c (openaux): Likewise.
34185         * elf/rtld.c (struct map_args): Remove is_preloaded.
34186         (map_doit): Don't use it.
34187         (dl_main): Likewise.
34188         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34189         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34191 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34193         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34194         (sysd-rules-targets): Remove duplicates.
34195         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34196         rtld-%.$o dependency.
34198 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34200         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34201         _dl_map_object do it.
34203 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34205         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34206         fast fma builtins, define the macros in the C99 standard.
34207         (FP_FAST_FMAF): Likewise.
34208         (FP_FAST_FMAL): Likewise.
34209         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34211         * bits/mathdef.h: Update copyright year.
34212         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34214 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34216         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34217         builtins, define the macros in the C99 standard.
34218         (FP_FAST_FMAF): Likewise.
34219         (FP_FAST_FMAL): Likewise.
34220         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34221         multiply/add.
34222         (FP_FAST_FMAF): Likewise.
34224 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34226         [BZ #3268]
34227         * math/libm-test.inc (fma_test): Some new testcases.
34228         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34229         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34230         y and infinite z.  Do multiplication by C already in long double.
34231         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34233         y and infinite z.  Do bitwise or of inexact bit into u.d.
34234         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34235         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34236         * sysdeps/i386/fpu/s_fma.S: Removed.
34237         * sysdeps/i386/fpu/s_fmal.S: Removed.
34239 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
34241         [BZ #3268]
34242         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34244         computation is not scheduled after fetestexcept.  Fix value
34245         of minimum denormal long double.
34247 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
34249         [BZ #3268]
34250         * math/libm-test.inc (fma_test): Add some more tests.
34251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34252         correctly.
34254 2010-10-15  Andreas Schwab  <schwab@redhat.com>
34256         * scripts/data/localplt-s390-linux-gnu.data: New file.
34257         * scripts/data/localplt-s390x-linux-gnu.data: New file.
34259 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
34261         [BZ #3268]
34262         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34263         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34264         instead of dbl-64.
34265         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34266         inlines.
34267         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34269         if one of x and y is very large and the other is subnormal.
34270         * sysdeps/s390/fpu/s_fmaf.c: New file.
34271         * sysdeps/s390/fpu/s_fma.c: New file.
34272         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34273         * sysdeps/powerpc/fpu/s_fma.S: New file.
34274         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34275         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34276         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34278 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
34280         [BZ #3268]
34281         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34282         fma tests.
34283         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34284         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34285         * sysdeps/i386/i686/multiarch/s_fma.c: Include
34286         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34287         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34288         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34289         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34291 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
34293         [BZ #12078]
34294         * posix/regcomp.c (parse_branch): One more memory leak plugged.
34295         * posix/bug-regex31.input: Add test case.
34297 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34299         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34300         * posix/bug-regex31.input: New file.
34302         [BZ #12078]
34303         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34304         (parse_sub_exp): Fix last change, use postorder.
34306         * posix/bug-regex31.c: New file.
34307         * posix/Makefile: Add rules to build and run bug-regex31.
34309         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34311         [BZ #12078]
34312         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34314         [BZ #12108]
34315         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34316         to have entries in sys_siglist.
34318         [BZ #12093]
34319         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34320         be NULL.
34322 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
34324         [BZ #3268]
34325         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34326         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34327         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34328         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34329         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34330         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34331         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34332         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34333         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34334         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34335         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34336         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34337         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34338         * math/ftestexcept.c (fetestexcept): Likewise.
34339         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34340         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34341         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34342         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34343         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34344         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34345         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34347 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34349         [BZ #12107]
34350         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34351         newline.
34353 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34355         * string/bug-strstr1.c: New file.
34356         * string/Makefile: Add rules to build and run bug-strstr1.
34358 2010-10-05  Eric Blake  <eblake@redhat.com>
34360         [BZ #12092]
34361         * string/str-two-way.h (two_way_long_needle): Always clear memory
34362         when skipping input due to the shift table.
34364 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34366         [BZ #12005]
34367         * malloc/mcheck.c: Handle large requests.
34369         [BZ #12077]
34370         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34371         for strncmp and strncasecmp.
34372         * string/stratcliff.c: Add tests for strcmp and strncmp.
34373         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34375 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34377         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34378         __set_fpscr.
34380 2010-09-30  Andreas Jaeger  <aj@suse.de>
34382         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34383         (CGROUP_SUPER_MAGIC): Define.
34384         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34385         Handle btrfs and cgroup file systems.
34386         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34387         Likewise.
34389 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34391         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34392         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34394 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34396         [BZ #12067]
34397         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34398         trying to locate the ELF header.
34400 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34402         [BZ #11611]
34403         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34404         Mask out sign-bit copies when constructing f_fsid.
34406 2010-09-24  Petr Baudis <pasky@suse.cz>
34408         * debug/stack_chk_fail_local.c: Add missing licence exception.
34409         * debug/warning-nop.c: Likewise.
34411 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34413         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34414         implementing getdents64 using getdents syscall, set d_type if
34415         __ASSUME_GETDENTS32_D_TYPE.
34417 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34419         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34420         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34422 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34424         [BZ #12037]
34425         * posix/unistd.h: Undo change of feature selection for ftruncate from
34426         2010-01-11.
34428 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34430         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34431         detection.
34433 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34435         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34436         fanotify_mark.
34437         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34439 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34441         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34442         variables after CHECK_SP call.
34443         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34445 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34446             Ulrich Drepper  <drepper@redhat.com>
34448         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34449         re-relocationg ld.so.
34450         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34451         _dl_init_paths call.
34452         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34453         here anymore.
34455 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34457         * resolv/res_init.c (__res_vinit): Count the default server we added.
34459 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34460             Ulrich Drepper  <drepper@redhat.com>
34462         [BZ #11968]
34463         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34464         (____longjmp_chk): Use %ebx for saving value across system call.
34465         Add unwind info.
34467 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34469         * manual/Makefile: Don't mix pattern rules with normal rules.
34471 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34473         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34474         operation.
34475         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34476         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34477         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34478         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34479         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34480         Likewise.
34482 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34484         [BZ #11979]
34485         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34486         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34488 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34490         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34491         * sysdeps/x86_64/addmul_1.S: Likewise.
34492         * sysdeps/x86_64/lshift.S: Likewise.
34493         * sysdeps/x86_64/mul_1.S: Likewise.
34494         * sysdeps/x86_64/rshift.S: Likewise.
34495         * sysdeps/x86_64/sub_n.S: Likewise.
34496         * sysdeps/x86_64/submul_1.S: Likewise.
34498 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34500         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34501         Define __sched_param instead of SCHED_* and sched_param when
34502         <bits/sched.h> is included with __need_schedparam defined.
34503         * bits/sched.h [__need_schedparam]
34504         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34505         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34506         (__defined_schedparam): Define to 1.
34507         (__sched_param): New structure, identical to sched_param.
34508         (__need_schedparam): Undefine.
34510 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34512         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34513         (epoll_create1): Declare.
34515         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34517 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34519         [BZ #7066]
34520         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34521         shifting retval into place.
34523 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34525         * nis/rpcsvc/nis.h: Update copyright notice.
34526         * nis/rpcsvc/nis.x: Likewise.
34527         * nis/rpcsvc/nis_callback.h: Likewise.
34528         * nis/rpcsvc/nis_callback.x: Likewise.
34529         * nis/rpcsvc/nis_object.x: Likewise.
34530         * nis/rpcsvc/nis_tags.h: Likewise.
34531         * nis/rpcsvc/yp.h: Likewise.
34532         * nis/rpcsvc/yp.x: Likewise.
34533         * nis/rpcsvc/ypupd.h: Likewise.
34534         * nis/yp_xdr.c: Likewise.
34535         * nis/ypupdate_xdr.c: Likewise.
34537         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34538         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34539         (pmap_getport): Use __libc_rpc_getport.
34540         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34541         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34542         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34544 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34547         fanotify_mark.
34549 2010-08-27  Roland McGrath  <roland@redhat.com>
34551         * sysdeps/i386/i686/multiarch/Makefile
34552         (CFLAGS-varshift.c): New variable.
34554 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34556         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34557         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34559         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34561         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34563 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34565         * sysdeps/x86_64/strlen.S: Unroll the loop.
34566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34567         strlen-sse2 strlen-sse2-bsf.
34568         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34569         __strlen_no_bsf if bit_Slow_BSF is set.
34570         (__strlen_sse42): Removed.
34571         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34572         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34574 2010-08-25  Roland McGrath  <roland@redhat.com>
34576         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34577         * sysdeps/x86_64/multiarch/varshift.c: New file.
34578         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34579         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34580         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34581         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34583 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34585         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34586         strlen-sse2 strlen-sse2-bsf.
34587         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34588         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34589         (__strlen_sse2): Removed.
34590         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34591         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34593         bit_Slow_BSF for Atom.
34594         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34595         (index_Slow_BSF): Define.
34596         (HAS_SLOW_BSF): Define.
34598 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34600         [BZ #10851]
34601         * resolv/res_init.c (__res_vinit): When no server address at all
34602         is given default to loopback.
34604 2010-08-24  Roland McGrath  <roland@redhat.com>
34606         * configure.in: Remove config-name.h generation.
34607         * configure: Regenerated.
34608         * config-name.in: File removed.
34609         * scripts/config-uname.sh: New file.
34610         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34611         ($(objdir)config-name.h): New target.
34613         * sunrpc/rpc_parse.h: Avoid nested comment.
34615 2010-08-24  Richard Henderson  <rth@redhat.com>
34616             Ulrich Drepper  <drepper@redhat.com>
34617             H.J. Lu  <hongjiu.lu@intel.com>
34619         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34621         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34622         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34623         _mm_alignr_epi8 with _mm_loadu_si128.
34624         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34625         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34626         (__m128i_shift_right): Removed.
34627         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34628         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34629         * sysdeps/x86_64/multiarch/varshift.h: New file.
34630         * sysdeps/x86_64/multiarch/varshift.S: New file.
34632 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34634         * configure.in: Move assembler checks to before sysdep dir checking.
34636 2010-08-20  Petr Baudis  <pasky@suse.cz>
34638         * LICENSES: Sync the sunrpc license.
34640 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34642         * sunrpc/auth_des.c: Update copyright notice once again.
34643         * sunrpc/auth_none.c: Likewise.
34644         * sunrpc/auth_unix.c: Likewise.
34645         * sunrpc/authdes_prot.c: Likewise.
34646         * sunrpc/authuxprot.c: Likewise.
34647         * sunrpc/bindrsvprt.c: Likewise.
34648         * sunrpc/clnt_gen.c: Likewise.
34649         * sunrpc/clnt_perr.c: Likewise.
34650         * sunrpc/clnt_raw.c: Likewise.
34651         * sunrpc/clnt_simp.c: Likewise.
34652         * sunrpc/clnt_tcp.c: Likewise.
34653         * sunrpc/clnt_udp.c: Likewise.
34654         * sunrpc/clnt_unix.c: Likewise.
34655         * sunrpc/des_crypt.c: Likewise.
34656         * sunrpc/des_soft.c: Likewise.
34657         * sunrpc/get_myaddr.c: Likewise.
34658         * sunrpc/getrpcport.c: Likewise.
34659         * sunrpc/key_call.c: Likewise.
34660         * sunrpc/key_prot.c: Likewise.
34661         * sunrpc/openchild.c: Likewise.
34662         * sunrpc/pm_getmaps.c: Likewise.
34663         * sunrpc/pm_getport.c: Likewise.
34664         * sunrpc/pmap_clnt.c: Likewise.
34665         * sunrpc/pmap_prot.c: Likewise.
34666         * sunrpc/pmap_prot2.c: Likewise.
34667         * sunrpc/pmap_rmt.c: Likewise.
34668         * sunrpc/rpc/auth.h: Likewise.
34669         * sunrpc/rpc/auth_unix.h: Likewise.
34670         * sunrpc/rpc/clnt.h: Likewise.
34671         * sunrpc/rpc/des_crypt.h: Likewise.
34672         * sunrpc/rpc/key_prot.h: Likewise.
34673         * sunrpc/rpc/netdb.h: Likewise.
34674         * sunrpc/rpc/pmap_clnt.h: Likewise.
34675         * sunrpc/rpc/pmap_prot.h: Likewise.
34676         * sunrpc/rpc/pmap_rmt.h: Likewise.
34677         * sunrpc/rpc/rpc.h: Likewise.
34678         * sunrpc/rpc/rpc_des.h: Likewise.
34679         * sunrpc/rpc/rpc_msg.h: Likewise.
34680         * sunrpc/rpc/svc.h: Likewise.
34681         * sunrpc/rpc/svc_auth.h: Likewise.
34682         * sunrpc/rpc/types.h: Likewise.
34683         * sunrpc/rpc/xdr.h: Likewise.
34684         * sunrpc/rpc_clntout.c: Likewise.
34685         * sunrpc/rpc_cmsg.c: Likewise.
34686         * sunrpc/rpc_common.c: Likewise.
34687         * sunrpc/rpc_cout.c: Likewise.
34688         * sunrpc/rpc_dtable.c: Likewise.
34689         * sunrpc/rpc_hout.c: Likewise.
34690         * sunrpc/rpc_main.c: Likewise.
34691         * sunrpc/rpc_parse.c: Likewise.
34692         * sunrpc/rpc_parse.h: Likewise.
34693         * sunrpc/rpc_prot.c: Likewise.
34694         * sunrpc/rpc_sample.c: Likewise.
34695         * sunrpc/rpc_scan.c: Likewise.
34696         * sunrpc/rpc_scan.h: Likewise.
34697         * sunrpc/rpc_svcout.c: Likewise.
34698         * sunrpc/rpc_tblout.c: Likewise.
34699         * sunrpc/rpc_util.c: Likewise.
34700         * sunrpc/rpc_util.h: Likewise.
34701         * sunrpc/rpcinfo.c: Likewise.
34702         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34703         * sunrpc/rpcsvc/key_prot.x: Likewise.
34704         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34705         * sunrpc/rpcsvc/mount.x: Likewise.
34706         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34707         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34708         * sunrpc/rpcsvc/rex.x: Likewise.
34709         * sunrpc/rpcsvc/rstat.x: Likewise.
34710         * sunrpc/rpcsvc/rusers.x: Likewise.
34711         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34712         * sunrpc/rpcsvc/spray.x: Likewise.
34713         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34714         * sunrpc/rtime.c: Likewise.
34715         * sunrpc/svc.c: Likewise.
34716         * sunrpc/svc_auth.c: Likewise.
34717         * sunrpc/svc_authux.c: Likewise.
34718         * sunrpc/svc_raw.c: Likewise.
34719         * sunrpc/svc_run.c: Likewise.
34720         * sunrpc/svc_simple.c: Likewise.
34721         * sunrpc/svc_tcp.c: Likewise.
34722         * sunrpc/svc_udp.c: Likewise.
34723         * sunrpc/svc_unix.c: Likewise.
34724         * sunrpc/svcauth_des.c: Likewise.
34725         * sunrpc/xcrypt.c: Likewise.
34726         * sunrpc/xdr.c: Likewise.
34727         * sunrpc/xdr_array.c: Likewise.
34728         * sunrpc/xdr_float.c: Likewise.
34729         * sunrpc/xdr_mem.c: Likewise.
34730         * sunrpc/xdr_rec.c: Likewise.
34731         * sunrpc/xdr_ref.c: Likewise.
34732         * sunrpc/xdr_sizeof.c: Likewise.
34733         * sunrpc/xdr_stdio.c: Likewise.
34735         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34736         handling.
34738 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34740         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34742 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34744         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34745         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34746         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34747         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34748         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34749         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34750         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34751         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34752         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34753         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34754         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34755         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34756         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34757         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34759 2010-07-26  Anton Blanchard  <anton@samba.org>
34761         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34762         * malloc/arena.c (heap_trim): Likewise.
34764 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34766         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34767         here.  Not...
34768         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34769         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34771 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34773         * sysdeps/i386/elf/Makefile: New file.
34775 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34777         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34778         from fanotify_init.
34779         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34782 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34784         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34785         of strncasecmp_l.
34786         * sysdeps/multiarch/strcmp.S: Likewise.
34788 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34790         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34791         strncase_l-nonascii.
34792         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34793         Add strncase_l-ssse3.
34794         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34795         * sysdeps/x86_64/strcmp.S: Likewise.
34796         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34797         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34798         * sysdeps/x86_64/strncase.S: New file.
34799         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34800         * sysdeps/x86_64/strncase_l.S: New file.
34801         * string/Makefile (strop-tests): Add strncasecmp.
34802         * string/test-strncasecmp.c: New file.
34804         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34805         warning.
34807         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34808         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34810 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34812         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34814 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34816         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34817         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34818         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34820 2010-05-01  Alan Modra  <amodra@gmail.com>
34822         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34823         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34824         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34825         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34826         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34827         tidying.  Don't tail-call __sigjmp_save for static lib.
34828         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34829         save location.
34830         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34831         (CALL_MCOUNT): Add eh info, and nop after bl.
34832         (TAIL_CALL_SYSCALL_ERROR): New macro.
34833         (PSEUDO_RET): Use it.
34834         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34835         Correct save location of integer regs and cr.
34836         (_dl_profile_resolve): Correct cr save location.  Delete nops
34837         after bl when SHARED.  Reduce cfi size a little by better
34838         placement of cfi directives.
34839         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34840         make a stack frame.  Instead use parm save area as a temp.
34841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34842         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34844         Don't make a stack frame for parent, use parm save area.
34845         Increase child stack frame to 112 bytes.  Don't save unused reg,
34846         and adjust reg usage.  Set up cfi on error recovery and
34847         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34849         (__makecontext): Add dummy nop after jump to exit.
34850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34851         Use correct parm save area and cr save, reduce stack frame.
34852         Correct cfi for possible PSEUDO_RET frame setup.
34853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34854         Branch to local label emitted by PSEUDO_RET rather than
34855         __syscall_error.
34857 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34859         [BZ #11904]
34860         * locale/programs/locale.c (print_assignment): New function.
34861         (show_locale_vars): Use it.
34863 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34865         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34866         field.
34867         (struct statfs64): Likewise.
34868         (_STATFS_F_FLAGS): Define.
34869         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34870         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34871         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34872         (ST_VALID): Define locally.
34873         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34874         __statvfs_getflags, use the provided value.
34875         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34876         __ASSUME_STATFS_F_FLAGS.
34878         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34880         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34881         Add sys/fanotify.h.
34882         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34883         fanotify_mask for GLIBC_2.13.
34884         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34885         fanotify_init and fanotify_mark.
34886         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34887         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34889         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34890         Add prlimit.
34891         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34892         prlimit64 for GLIBC_2.13.
34893         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34894         prlimit64.
34895         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34896         syscall.
34897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34898         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34899         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34900         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34901         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34902         add prlimit alias.
34903         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34905         [BZ #11903]
34906         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34907         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34909         * nss/Makefile: Add rules to build and run tst-nss-test1.
34910         * shlib-versions: Add entry for libnss_test1.
34911         * nss/nss_test1.c: New file.
34912         * nss/tst-nss-test1.c: New file.
34914         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34915         (__nss_configure_lookup): Set appropriate entry in
34916         __nss_configure_lookup to true.
34917         * nss/nsswitch.h: Define enum with indeces of databases in
34918         databases and __nss_database_custom arrays.  Declare
34919         __nss_database_custom.
34920         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34921         to avoid using nscd when custom rules are installed.
34922         * nss/getXXbyYY_r.c: Likewise.
34923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34925         * nss/nss_files/files-parse.c: Whitespace fixes.
34927 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34929         [BZ #11883]
34930         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34931         * posix/fnmatch_loop.c: Likewise.
34933 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34935         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34936         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34937         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34938         * Versions.def [GLIBC_2.13]: Add.
34940 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34942         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34943         Also fail if tpwd after pwuid call is NULL.
34945 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34947         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34948         when converting to ms.
34950 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34952         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34953         EOPNOTSUPP errors with ENOTTY.
34954         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34955         EOPNOTSUPP errors with ENOTTY.
34957 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34959         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34960         Add strcasecmp_l-ssse3.
34961         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34962         strcasecmp.
34963         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34964         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34965         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34967 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34969         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34971         * string/Makefile (strop-tests): Add strcasecmp.
34972         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34973         strcasecmp_l-nonascii.
34974         (gen-as-const-headers): Add locale-defines.sym.
34975         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34976         * sysdeps/x86_64/strcasecmp.S: New file.
34977         * sysdeps/x86_64/strcasecmp_l.S: New file.
34978         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34979         * sysdeps/x86_64/locale-defines.sym: New file.
34980         * string/test-strcasecmp.c: New file.
34982         * string/test-strcasestr.c: Test both ends of the range of characters.
34983         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34985 2010-07-29  Roland McGrath  <roland@redhat.com>
34987         [BZ #11856]
34988         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34990 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34992         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34993         for ld.so.
34995 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34997         * manual/memory.texi (Malloc Tunable Parameters): Document
34998         M_PERTURB.
35000 2010-07-26  Roland McGrath  <roland@redhat.com>
35002         [BZ #11840]
35003         * configure.in (-fgnu89-inline check): Set and substitute
35004         gnu89_inline, not libc_cv_gnu89_inline.
35005         * configure: Regenerated.
35006         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35008 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
35010         * string/test-strnlen.c: New file.
35011         * string/Makefile (strop-tests): Add strnlen.
35012         * string/tester.c (test_strnlen): Add a few more test cases.
35013         * string/tst-strlen.c: Better error reporting.
35015         * sysdeps/x86_64/strnlen.S: New file.
35017 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35019         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35020         lower-latency instructions.
35022 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35024         * string/test-strcasestr.c: New file.
35025         * string/test-strstr.c: New file.
35026         * string/Makefile (strop-tests): Add strstr and strcasestr.
35027         * string/str-two-way.h: Don't undefine MAX.
35028         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35030 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35033         strcasestr-nonascii.
35034         (CFLAGS-strcasestr-nonascii.c): Define.
35035         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35036         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35037         Remove unused attribute.
35039 2010-07-20  Roland McGrath  <roland@redhat.com>
35041         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35042         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35043         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35044         like LD_HWCAP_MASK can disable hwcaps.
35046 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35048         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35050 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35052         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35053         call in strcasestr.
35054         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35055         __strcasestr_sse42_nonascii.
35056         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35057         strcasestr-nonascii.c.
35058         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35060 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35062         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35063         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35064         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35065         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35067 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35069         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35070         fcntl.
35072 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35074         [BZ #11577]
35075         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35076         dl_signal_cerror.
35078 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35080         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35081         _PC_PIPE_BUF using F_GETPIPE_SZ.
35083 2010-07-05  Roland McGrath  <roland@redhat.com>
35085         * manual/arith.texi (Rounding Functions): Fix rint description
35086         implicit in round description.
35088 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35090         * elf/Makefile: Fix linking for a few tests to make recent linker
35091         happy.
35093 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35095         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35096         $(common-objpfx)libc_nonshared.a.
35098 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35100         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35101         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35102         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35103         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35104         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35105         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35106         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35107         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35122         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35123         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35124         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35125         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35126         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35127         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35128         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35129         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35130         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35131         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35132         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35133         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35149 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35151         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35152         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35153         * string/memmove.c (memmove): Renamed to ...
35154         (MEMMOVE): ...this.  Default to memmove.
35155         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35156         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35157         (END_CHK): Define.
35158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35159         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35160         mempcpy-ssse3-back memmove-ssse3-back.
35161         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35162         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35163         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35164         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35165         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35166         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35167         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35168         * sysdeps/x86_64/multiarch/memmove.c: New file.
35169         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35170         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35171         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35172         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35173         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35174         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35175         Define.
35176         (index_Fast_Copy_Backward): Define.
35177         (HAS_ARCH_FEATURE): Define.
35178         (HAS_FAST_REP_STRING): Define.
35179         (HAS_FAST_COPY_BACKWARD): Define.
35181 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35183         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35184         Restore proper fallback handling.
35186 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35188         [BZ #11701]
35189         * posix/group_member.c (__group_member): Correct checking loop.
35191         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35192         OOM in getpwuid_r correctly.  Return error number when the caller
35193         should return, otherwise -1.
35194         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35195         call returning > 0 value.
35196         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35198 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35200         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35201         libc_nonshared.a from targets in modules-names.
35203 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35205         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35206         requires it.
35208 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35210         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35211         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35212         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35213         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35215 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35217         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35219 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35221         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35222         and F_GETPIPE_SZ.
35223         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35224         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35225         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35227         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35228         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35230 2010-06-14  Roland McGrath  <roland@redhat.com>
35232         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35234 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35236         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35237         __REDIRECT followed by __THROW.
35238         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35239         * posix/getopt.h (getopt): Likewise.
35241 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35243         * hurd/lookup-at.c (__file_name_lookup_at): Accept
35244         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
35245         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35246         in AT_FLAGS.
35247         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35248         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35250 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
35252         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35254 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
35256         [BZ #11640]
35257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35258         Properly check family and model.
35260 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
35262         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35264 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
35266         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35268 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
35270         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35271         symbol reference.
35273 2010-05-19  Andreas Schwab  <schwab@redhat.com>
35275         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35276         symbol reference.
35278 2010-05-21  Andreas Schwab  <schwab@redhat.com>
35280         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35281         and internal_recvmmsg.
35282         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35283         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35284         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35285         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35287         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35288         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35289         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35291 2010-05-20  Andreas Schwab  <schwab@redhat.com>
35293         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35295 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
35297         POWER7 optimizations.
35298         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35299         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35301 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
35303         * version.h: Update for 2.13 development version.
35305 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
35307         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35308         exceptions.  Return 0.
35310 2010-05-07  Roland McGrath  <roland@redhat.com>
35312         * elf/ldconfig.c (main): Add a const.
35314 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
35316         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35317         (args_options): Add no-idn option.
35318         (ahosts_keys_int): Add idn_flags to ai_flags.
35319         (parse_option): Handle 'i' option to clear idn_flags.
35321         * malloc/malloc.c (_int_free): Possible race in the most recently
35322         added check.  Only act on the data if no current modification
35323         happened.
35325 See ChangeLog.17 for earlier changes.