Fix intermittent failure in tst-getpid2.
[glibc.git] / ChangeLog
blob9fcda2796fcf83957a3b3eeb6ce6994639a22f98
1 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5         Likewise.
7 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12         (__fesetround): Remove define.
13         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14         rounding and exceptions handling.
15         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17         (__fe_nomask_env): Likewise.
18         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19         __fegetround instead of fegetround.
20         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26         it's there.
28         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30 2013-11-21  Meador Inge  <meadori@codesourcery.com>
32         [BZ #11157]
33         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
34         (encrypt_r): Likewise.
35         * malloc/obstack.h (obstack_free): Likewise.
36         * posix/unistd.h (encrypt): Likewise.
38 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42         DL_CALL_DT_FINI() that call the functions directly.
43         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45         * elf/dl-fini.c: Likewise.
47 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
49         * malloc/hooks.c (memalign_check): Add alignment rounding.
50         * malloc/malloc.c (_mid_memalign): New function.
51         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
52         Implement by calling _mid_memalign.
53         * manual/probes.texi (Memory Allocation Probes): Remove
54         memory_valloc_retry and memory_pvalloc_retry.
56 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58         * locale/programs/locarchive.c (open_archive): Add const
59         qualifier to ARCHIVEFNAME and copy default fname to
60         DEFAULT_FNAME.
62         [BZ #15601]
63         * libio/tst-widetext.input: Rename Oriya to Odia.
64         * locale/iso-639.def: Likewise.
66         * manual/probes.texi (Mathematical Function Probes): Add
67         documentation for sin, cos, asin and acos probes.
68         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
69         (__sin32): Add slowasin probe.
70         (__cos32): Add slowacos probe.
71         (__mpsin): Add slowsin probe.
72         (__mpcos): Add slowcos probe.
74 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
76         [BZ #15483]
77         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
78         thread-local __sim_exceptions_thread and global
79         __sim_exceptions_global.
80         (__sim_disabled_exceptions): Change to thread-local
81         __sim_disabled_exceptions_thread and global
82         __sim_disabled_exceptions_global.
83         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
84         and global __sim_round_mode_global.
85         (__simulate_exceptions): Use thread-local floating-point state and
86         set global state from it as needed.
87         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
88         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
89         __sim_round_mode_thread.
90         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
91         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
92         and global __sim_exceptions_global.
93         (__sim_disabled_exceptions): Change to thread-local
94         __sim_disabled_exceptions_thread and global
95         __sim_disabled_exceptions_global.
96         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
97         and global __sim_round_mode_global.
98         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
99         (SIM_SET_GLOBAL): Likewise.
100         * sysdeps/powerpc/soft-fp/sfp-machine.h
101         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
102         __sim_round_mode_thread.
103         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
104         __sim_disabled_exceptions_thread.
105         (__sim_exceptions): Change to __sim_exceptions_thread.
106         (__sim_disabled_exceptions): Change to
107         __sim_disabled_exceptions_thread.
108         (__sim_round_mode): Change to __sim_round_mode_thread.
109         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
110         thread-local floating-point state and set global state from it as
111         needed.
112         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
113         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
114         (__sim_disabled_exceptions): Remove extern declaration.
115         (feenableexcept): Use thread-local floating-point state and set
116         global state from it as needed.
117         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
118         extern declaration.
119         (__sim_disabled_exceptions): Likewise.
120         (__sim_round_mode): Likewise.
121         (__fegetenv): Use thread-local floating-point state.
122         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
123         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
124         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
125         floating-point state and set global state from it as needed.
126         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
127         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
128         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
129         Likewise.
130         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
131         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
132         Likewise.
133         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
134         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
135         Use __sim_round_mode_thread.
136         * math/test-fenv-tls.c: New file.
137         * math/Makefile (tests): Add test-fenv-tls.
138         ($(objpfx)test-fenv-tls): Depend on
139         $(common-objpfx)nptl/libpthread.so.
141 2013-11-19  Andreas Schwab  <schwab@suse.de>
143         * locale/programs/locale.c (show_info): Decode wordarray elements.
144         * locale/categories.def (LC_MONETARY): Add element for
145         _NL_MONETARY_CRNCYSTR.
146         * locale/C-monetary.c (conversion_rate): New variable.
147         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
148         element.
150 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
152         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
153         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
155 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
157         * elf/Makefile (tst-auxv): New test.
158         * elf/tst-auxv.c: New
159         * elf/rtld.c (dl_main): Adjust AT_EXECFN
161 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
163         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
164         (hidden_proto): Caller changed.
165         (hidden_tls_proto): New macro.
166         (libc_hidden_tls_proto): Likewise.
167         (rtld_hidden_tls_proto): Likewise.
168         (libm_hidden_tls_proto): Likewise.
169         (libresolv_hidden_tls_proto): Likewise.
170         (librt_hidden_tls_proto): Likewise.
171         (libdl_hidden_tls_proto): Likewise.
172         (libnss_files_hidden_tls_proto): Likewise.
173         (libnsl_hidden_tls_proto): Likewise.
174         (libnss_nisplus_hidden_tls_proto): Likewise.
175         (libutil_hidden_tls_proto): Likewise.
177 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
179         [BZ #10253]
180         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
181         (decompose_rpath): Defer expansion to fillin_rpath.
182         (_dl_init_paths): Pass linkmap to fillin_rpath.
184 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
186         * benchtests/Makefile: Add strsep.
187         * benchtests/bench-strsep.c: New file: strsep benchtest.
188         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
190 2013-11-18  Andreas Schwab  <schwab@suse.de>
192         * locale/programs/locale.c (show_info) [case byte]: Check for
193         '\377' instead of '\177'.
194         * locale/C-monetary.c (not_available): Always use "\377".
195         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
196         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
197         detect unavailable sign_posn locale elements.
198         * locale/localeconv.c (__localeconv): For grouping and
199         mon_grouping handle "\177" and "\377" like no grouping.
200         (INT_ELEM): New macro.  Use it to set all numeric members.
201         * locale/programs/ld-monetary.c (monetary_read)
202         <tok_mon_grouping>: Normalize single -1 to the empty string.
203         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
204         Likewise.
206 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
208         [BZ #16055]
209         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
210         when we match (nil).
211         * stdio-common/tst-sscanf.c (struct test): Add testcase.
213 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
215         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
216         (NO_TEST_INLINE): Update value.
217         (ERRNO_UNCHANGED): Likewise.
218         (ERRNO_EDOM): Likewise.
219         (ERRNO_ERANGE): Likewise.
220         (IGNORE_RESULT): Likewise.
221         (check_float_internal): Check signs of NaN results if
222         TEST_NAN_SIGN used.
223         (check_complex): Pass TEST_NAN_SIGN flag through to second
224         check_float_internal call.
225         (copysign_test_data): Add tests with quiet NaNs as second
226         argument.  Use TEST_NAN_SIGN.
227         (fabs_test_data): Add test of negative quiet NaN argument.  Use
228         TEST_NAN_SIGN.
229         (signbit_test_data): Add tests of quiet NaN argument.
230         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
232         * math/gen-libm-test.pl (show_exceptions): Take extra argument
233         $ignore_result.
234         (parse_args): Handle function results specified as IGNORE.
235         * math/libm-test.inc (IGNORE_RESULT): New macro.
236         (check_float_internal): Do not check numerical result if flag
237         IGNORE_RESULT set.
238         (check_complex): Pass through IGNORE_RESULT to second
239         check_float_internal call.
240         (check_int): Do not check numerical result if flag IGNORE_RESULT
241         set.
242         (check_long): Likewise.
243         (check_bool): Likewise.
244         (check_longlong): Likewise.
245         (lrint_test_data): Add tests of infinite and NaN arguments.
246         (lrint_tonearest_test_data): Likewise.
247         (lrint_towardzero_test_data): Likewise.
248         (lrint_downward_test_data): Likewise.
249         (lrint_upward_test_data): Likewise.
250         (llrint_test_data): Likewise.
251         (llrint_tonearest_test_data): Likewise.
252         (llrint_towardzero_test_data): Likewise.
253         (llrint_downward_test_data): Likewise.
254         (llrint_upward_test_data): Likewise.
255         (lround_test_data): Likewise.
256         (llround_test_data): Likewise.
258         * math/libm-test.inc (NO_TEST_INLINE): New macro.
259         (ERRNO_UNCHANGED): Update value.
260         (ERRNO_EDOM): Likewise.
261         (ERRNO_ERANGE): Likewise.
262         (NO_TEST_INLINE_FLOAT): New macro.
263         (NO_TEST_INLINE_DOUBLE): Likewise.
264         (enable_test): New function.
265         (RUN_TEST_f_f): Check enable_test before running test.
266         (RUN_TEST_2_f): Likewise.
267         (RUN_TEST_fff_f): Likewise.
268         (RUN_TEST_c_f): Likewise.
269         (RUN_TEST_f_f1): Likewise.
270         (RUN_TEST_fF_f1): Likewise.
271         (RUN_TEST_fI_f1): Likewise.
272         (RUN_TEST_ffI_f1): Likewise.
273         (RUN_TEST_c_c): Likewise.
274         (RUN_TEST_cc_c): Likewise.
275         (RUN_TEST_f_i): Likewise.
276         (RUN_TEST_f_i_tg): Likewise.
277         (RUN_TEST_ff_i_tg): Likewise.
278         (RUN_TEST_f_b): Likewise.
279         (RUN_TEST_f_b_tg): Likewise.
280         (RUN_TEST_f_l): Likewise.
281         (RUN_TEST_f_L): Likewise.
282         (RUN_TEST_fFF_11): Likewise.
283         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
284         conditionals.
285         (cosh_test_data): Likewise.
286         (exp_test_data): Likewise.
287         (expm1_test_data): Likewise.
288         (hypot_test_data): Likewise.
289         (pow_test_data): Likewise.
290         (sinh_test_data): Likewise.
291         (tanh_test_data): Likewise.
292         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
293         flags argument.
295         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
296         tests with quiet NaN input and output.
297         (acosh_test_data): Likewise.
298         (asin_test_data): Likewise.
299         (asinh_test_data): Likewise.
300         (atan_test_data): Likewise.
301         (atanh_test_data): Likewise.
302         (atan2_test_data): Likewise.
303         (cbrt_test_data): Likewise.
304         (cos_test_data): Likewise.
305         (cosh_test_data): Likewise.
306         (erf_test_data): Likewise.
307         (erfc_test_data): Likewise.
308         (exp_test_data): Likewise.
309         (exp10_test_data): Likewise.
310         (exp2_test_data): Likewise.
311         (expm1_test_data): Likewise.
312         (hypot_test_data): Likewise.
313         (j0_test_data): Likewise.
314         (j1_test_data): Likewise.
315         (jn_test_data): Likewise.
316         (lgamma_test_data): Likewise.
317         (log_test_data): Likewise.
318         (log10_test_data): Likewise.
319         (log1p_test_data): Likewise.
320         (log2_test_data): Likewise.
321         (pow_test_data): Likewise.
322         (scalb_test_data): Likewise.
323         (sin_test_data): Likewise.
324         (sincos_test_data): Likewise.
325         (sinh_test_data): Likewise.
326         (tan_test_data): Likewise.
327         (tanh_test_data): Likewise.
328         (tgamma_test_data): Likewise.
329         (y0_test_data): Likewise.
330         (y1_test_data): Likewise.
331         (yn_test_data): Likewise.
333         [BZ #16167]
334         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
335         argument being NaN and avoid computations with second argument in
336         that case.
337         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
338         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
339         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
341 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
343         * locale/iso-639.def: Add Chitwani Tharu (the).
345 2013-11-14  Andreas Schwab  <schwab@suse.de>
347         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
348         word instead of empty string.
350 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
353         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
355         (__fe_nomask_env): Likewise.
357 2013-11-13  Steve Ellcey  <sellcey@mips.com>
359         * benchtests/bench-timing.h: Include time.h.
361 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
363         [BZ #15997]
364         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
365         to 3.4.0 for x32.
366         * sysdeps/unix/sysv/linux/configure: Regenerated.
368 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
370         [BZ #16151]
371         * stdlib/strtod_l.c (round_and_return): Do not consider
372         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
373         exponent one less than half the least subnormal exponent.
374         * stdlib/test-strtod-round-data: Add more tests.
375         * stdlib/tst-strtod-round.c (tests): Regenerated.
377 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
379         [BZ #14143]
380         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
381         (__fe_mask_env): Likewise.
382         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
383         libm_hidden_proto and add function prototype.
384         (__fe_mask_env): Add function prototype.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
386         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
388         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
390         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
392 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
394         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
395         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
397 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
399         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
400         of htab_find_slot().
402 2013-11-11  David S. Miller  <davem@davemloft.net>
404         [BZ #16150]
405         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
406         symbol in the non-vis3 case in static builds.
407         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
408         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
409         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
410         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
412 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
414         [BZ #387]
415         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
416         it is empty.
418 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
420         * benchtests/Makefile: Add bench-strtod.
421         * benchtests/bench-strtod.c: New file: strtod benchtest
423 2013-11-11  Andreas Schwab  <schwab@suse.de>
425         [BZ #16153]
426         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
427         terminating NUL in key length.
429 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
431         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
432         Add artificial ODP entry for vDSO symbol for PPC64.
433         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
434         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
436 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
438         [BZ #15374]
439         * nss/getent.c (services_keys): Recognize services starting with digit.
441 2013-11-06  David S. Miller  <davem@davemloft.net>
443         [BZ #15985]
444         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
445         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
447 2013-11-06  Will Newton  <will.newton@linaro.org>
449         * manual/memory.texi (Malloc Examples): Remove register
450         keyword from examples.
452 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
454         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
456 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
458         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
459         depending on [__GCC_IEC_559 > 0].
460         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
461         depending on [__GCC_IEC_559_COMPLEX > 0].
463 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
465         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
466         to iso-639.def.
468 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
470         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
472 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
474         [BZ #16112]
475         * malloc/malloc (malloc_info): Do not handle first bin as
476         special case.
478 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
480         * locale/iso-639.def: Add Central Nahuatl (nhn).
482 2013-11-01  Bruno Haible  <bruno@clisp.org>
484         [BZ #7003]
485         * manual/math.texi (BSD Random): Specify range upper bound as
486         in POSIX.
488 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
490         * locale/iso-639.def: Add Meadow Mari (mhr).
492 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
494         [BZ #14752], [BZ #15763]
495         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
496         Validate name.
497         * rt/tst_shm.c: Add test for escaping directory.
499 2013-10-31  Andreas Schwab  <schwab@suse.de>
501         [BZ #15917]
502         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
503         followed by 'x' as part of digit sequence.
504         * stdio-common/tst-sscanf.c (double_tests2): New tests.
506 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
508         [BZ #16037]
509         * configure.ac: allow GNU Make 4.0 and greater.
510         * configure: Regenerated.
512 2013-10-30  Will Newton  <will.newton@linaro.org>
514         [BZ #16038]
515         * malloc/hooks.c (memalign_check): Limit alignment to the
516         maximum representable power of two.
517         * malloc/malloc.c (__libc_memalign): Likewise.
518         * malloc/tst-memalign.c (do_test): Add test for very
519         large alignment values.
520         * malloc/tst-posix_memalign.c (do_test): Likewise.
522 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
524         [BZ #11087]
525         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
526         (munmap_chunk): Likewise.
527         (mremap_chunk): Likewise.
529 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
531         [BZ #15799]
532         * stdlib/div.c (div): Remove obsolete code.
533         * stdlib/ldiv.c (ldiv): Likewise.
534         * stdlib/lldiv.c (lldiv): Likewise.
536 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
538         [BZ #16071]
539         * nss/nss_files/files-XXX.c (get_contents_ret): New
540         enumerator.
541         (get_contents): New function.
542         (internal_getent): Use it.  Expand size of LINEBUFLEN.
544 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
546         * configure.in: Moved to ...
547         * configure.ac: ... here. Change reference to configure.in
548         to configure.ac.
549         * sysdeps/arm/preconfigure.ac: ... here.
550         configure.in to configure.ac.
551         * sysdeps/gnu/configure.in: Moved to ...
552         * sysdeps/gnu/configure.ac: ... here.
553         * sysdeps/i386/configure.in: Moved to ...
554         * sysdeps/i386/configure.ac: ... here.
555         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
556         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
557         * sysdeps/mach/configure.in: Moved to ...
558         * sysdeps/mach/configure.ac: ... here.
559         * sysdeps/mach/hurd/configure.in: Moved to ...
560         * sysdeps/mach/hurd/configure.ac: ... here.
561         * sysdeps/powerpc/configure.in: Moved to ...
562         * sysdeps/powerpc/configure.ac: ... here.
563         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
564         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
565         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
566         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
567         * sysdeps/s390/s390-32/configure.in: Moved to ...
568         * sysdeps/s390/s390-32/configure.ac: ... here.
569         * sysdeps/s390/s390-64/configure.in: Moved to ...
570         * sysdeps/s390/s390-64/configure.ac: ... here.
571         * sysdeps/sh/configure.in: Moved to ...
572         * sysdeps/sh/configure.ac: ... here.
573         * sysdeps/sparc/configure.in: Moved to ...
574         * sysdeps/sparc/configure.ac: ... here.
575         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
576         * sysdeps/unix/sysv/linux/configure.ac: ... here.
577         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
578         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
579         * sysdeps/x86_64/configure.in: Moved to ...
580         * sysdeps/x86_64/configure.ac: ... here.
581         * sysdeps/x86_64/preconfigure.in: Moved to ...
582         * sysdeps/x86_64/preconfigure.ac: ... here.
583         * aclocal.m4: Change reference to configure.in to configure.ac.
584         * config.h.in: Likewise.
585         * manual/install.texi: Likewise.
586         * manual/maint.texi: Likewise.
587         * Makefile: Likewise.
588         * malloc/Makefile: Likewise.
589         * nscd/Makefile: Likewise.
590         * Makeconfig: Change reference to configure.in and
591         preconfigure.in to configure.ac and preconfigure.ac
592         respectively.
593         * INSTALL: Regenerated.
594         * configure: Likewise.
595         * sysdeps/gnu/configure: Likewise.
596         * sysdeps/i386/configure: Likewise.
597         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
598         * sysdeps/mach/configure: Likewise.
599         * sysdeps/mach/hurd/configure: Likewise.
600         * sysdeps/powerpc/configure: Likewise.
601         * sysdeps/powerpc/powerpc32/configure: Likewise.
602         * sysdeps/powerpc/powerpc64/configure: Likewise.
603         * sysdeps/s390/s390-32/configure: Likewise.
604         * sysdeps/s390/s390-64/configure: Likewise.
605         * sysdeps/sh/configure: Likewise.
606         * sysdeps/sparc/configure: Likewise.
607         * sysdeps/unix/sysv/linux/configure: Likewise.
608         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
609         * sysdeps/x86_64/configure: Likewise.
610         * sysdeps/x86_64/preconfigure: Likewise.
612 2013-10-29  Andreas Schwab  <schwab@suse.de>
614         * stdio-common/Makefile (tst-swscanf-ENV): Define.
616 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
618         * benchtests/pow-inputs: Add new inputs.
620         * benchtests/exp-inputs: Add new inputs.
622         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
623         conditional check for return value.
624         (__cos32): Likewise.
626 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
628         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
629         to provide a boost for large inputs with word alignment.
630         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
631         implementation based on optimized PPC64 strcpy.
632         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
633         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
634         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
635         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
637 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
639         [BZ #2801]
640         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
642 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
644         [BZ #14876]
645         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
646         * time/tst-strptime.c (day_tests): Add testcase.
648 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
650         [BZ #14029]
651         * manual/pattern.texi: Acknowledge that fnmatch can fail.
653 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
655         [BZ #16074]
656         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
657         MAP_FAILED on error.
659 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
661         [BZ #16072]
662         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
663         heap for large requests.
665 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
667         [BZ #9954]
668         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
669         result if the result has no associated interface.
670         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
671         interface for all 127.X.Y.Z addresses.
673 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
675         * locale/iso-639.def: Add Ligurian (lij)
677 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
679         [BZ #15825]
680         * sunrpc/rpc_main.c: Document rpcgen -5.
682 2013-10-19  Michael Stahl  <mstahl@redhat.com>
684         * elf/rtld.c (do_preload): Print the reason why preloading failed.
686 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
688         [BZ #10278]
689         * posix/glob.c: Match only directories when trailing slash is present.
690         * posix/tst-gnuglob.c (my_opendir): Do not open files.
691         (main): Add testcase.
693 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
695         [BZ #15670]
696         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
698 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
700         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
701         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
702         AUTH_DES and cindex for FIPS 140-2.
703         (DES Encryption): Add cindex FIPS 46-3.
705         * locale/locarchive.h (struct locarhandle): Add fname.
706         * locale/programs/localedef.c (main): Pass ARGV[remaining]
707         if an optional argument was specified to --list-archive,
708         otherwise NULL.
709         * locale/programs/locarchive.c (show_archive_content): Take new
710         argument fname and pass it via ah.fname to open_archive.
711         * locale/programs/localedef.h: Update decl.
712         (open_archive): If AH->fname is non-null, open that file
713         rather than the default file name, and don't ignore ENOENT.
714         (create_archive): Set AH.fname to NULL.
715         (delete_locales_from_archive): Likewise.
716         (add_locales_to_archive): Likewise.
717         * locale/programs/locfile.c (write_all_categories): Likewise.
719 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
720             Aldy Hernandez  <aldyh@redhat.com>
722         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
723         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
724         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
725         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
726         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
727         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
728         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
729         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
730         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
731         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
732         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
733         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
734         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
735         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
736         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
737         Likewise.
738         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
739         Likewise.
740         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
741         Likewise.
742         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
743         Likewise.
744         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
745         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
746         Likewise.
747         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
748         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
749         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
750         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
751         Likewise.
752         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
753         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
754         * sysdeps/powerpc/preconfigure: Likewise.
755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
756         Likewise.
757         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
758         Replace contents of file by #include of <fenv_libc.h>.
759         * sysdeps/powerpc/soft-fp/sfp-machine.h
760         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
761         and <sys/prctl.h>.
762         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
763         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
764         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
765         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
766         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
767         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
769         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
770         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
771         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
772         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
773         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
775         Allow copysignl PLT reference to be missing.
777 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
778             Joseph Myers  <joseph@codesourcery.com
780         [BZ #15948]
781         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
782         single character.
783         (add_to_tablewc): Assert sequence of wide characters is nonempty.
785 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
787         * elf/tst-tls-dlinfo.c: Don't include tls.h.
788         * elf/tst-tls1.c: Likewise.
789         * elf/tst-tls10.h: Likewise.
790         * elf/tst-tls14.c: Likewise.
791         * elf/tst-tls2.c: Likewise.
792         * elf/tst-tls3.c: Likewise.
793         * elf/tst-tls4.c: Likewise.
794         * elf/tst-tls5.c: Likewise.
795         * elf/tst-tls6.c: Likewise.
796         * elf/tst-tls7.c: Likewise.
797         * elf/tst-tls8.c: Likewise.
798         * elf/tst-tls9.c: Likewise.
799         * elf/tst-tlsmod1.c: Likewise.
800         * elf/tst-tlsmod13.c: Likewise.
801         * elf/tst-tlsmod13a.c: Likewise.
802         * elf/tst-tlsmod14a.c: Likewise.
803         * elf/tst-tlsmod16a.c: Likewise.
804         * elf/tst-tlsmod16b.c: Likewise.
805         * elf/tst-tlsmod2.c: Likewise.
806         * elf/tst-tlsmod3.c: Likewise.
807         * elf/tst-tlsmod4.c: Likewise.
808         * elf/tst-tlsmod5.c: Likewise.
809         * elf/tst-tlsmod6.c: Likewise.
811 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
813         [BZ #12486]
814         * malloc/malloc.c: remove checks for statistics.
816 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
818         [BZ #15277]
819         * inet/inet_net.c (inet_network): Detect additional invalid strings.
820         * inet/tst-network.c: Add testcase.
822 2013-10-17  Andreas Schwab  <schwab@suse.de>
824         [BZ #15218]
825         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
826         to determine canonical name.
828 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
830         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
831         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
832         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
833         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
835         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
836         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
837         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
838         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
839         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
840         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
841         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
842         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
843         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
844         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
845         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
847         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
848         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
849         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
850         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
851         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
852         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
853         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
854         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
855         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
856         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
857         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
858         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
859         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
860         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
861         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
862         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
863         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
864         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
865         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
866         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
867         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
868         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
869         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
870         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
871         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
872         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
873         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
874         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
875         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
876         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
877         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
878         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
879         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
880         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
881         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
882         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
883         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
884         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
885         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
886         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
887         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
889 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
891         [BZ #16041]
892         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
893         make result into a quiet NaN.
895 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
897         * soft-fp/adddf3.c: Fix horizontal whitespace.
898         * soft-fp/addsf3.c: Likewise.
899         * soft-fp/addtf3.c: Likewise.
900         * soft-fp/divdf3.c: Likewise.
901         * soft-fp/divsf3.c: Likewise.
902         * soft-fp/divtf3.c: Likewise.
903         * soft-fp/double.h: Likewise.
904         * soft-fp/eqdf2.c: Likewise.
905         * soft-fp/eqsf2.c: Likewise.
906         * soft-fp/eqtf2.c: Likewise.
907         * soft-fp/extenddftf2.c: Likewise.
908         * soft-fp/extended.h: Likewise.
909         * soft-fp/extendsfdf2.c: Likewise.
910         * soft-fp/extendsftf2.c: Likewise.
911         * soft-fp/extendxftf2.c: Likewise.
912         * soft-fp/fixdfdi.c: Likewise.
913         * soft-fp/fixdfsi.c: Likewise.
914         * soft-fp/fixdfti.c: Likewise.
915         * soft-fp/fixsfdi.c: Likewise.
916         * soft-fp/fixsfsi.c: Likewise.
917         * soft-fp/fixsfti.c: Likewise.
918         * soft-fp/fixtfdi.c: Likewise.
919         * soft-fp/fixtfsi.c: Likewise.
920         * soft-fp/fixtfti.c: Likewise.
921         * soft-fp/fixunsdfdi.c: Likewise.
922         * soft-fp/fixunsdfsi.c: Likewise.
923         * soft-fp/fixunsdfti.c: Likewise.
924         * soft-fp/fixunssfdi.c: Likewise.
925         * soft-fp/fixunssfsi.c: Likewise.
926         * soft-fp/fixunssfti.c: Likewise.
927         * soft-fp/fixunstfdi.c: Likewise.
928         * soft-fp/fixunstfsi.c: Likewise.
929         * soft-fp/fixunstfti.c: Likewise.
930         * soft-fp/floatdidf.c: Likewise.
931         * soft-fp/floatdisf.c: Likewise.
932         * soft-fp/floatditf.c: Likewise.
933         * soft-fp/floatsidf.c: Likewise.
934         * soft-fp/floatsisf.c: Likewise.
935         * soft-fp/floatsitf.c: Likewise.
936         * soft-fp/floattidf.c: Likewise.
937         * soft-fp/floattisf.c: Likewise.
938         * soft-fp/floattitf.c: Likewise.
939         * soft-fp/floatundidf.c: Likewise.
940         * soft-fp/floatundisf.c: Likewise.
941         * soft-fp/floatunditf.c: Likewise.
942         * soft-fp/floatunsidf.c: Likewise.
943         * soft-fp/floatunsisf.c: Likewise.
944         * soft-fp/floatunsitf.c: Likewise.
945         * soft-fp/floatuntidf.c: Likewise.
946         * soft-fp/floatuntisf.c: Likewise.
947         * soft-fp/floatuntitf.c: Likewise.
948         * soft-fp/fmadf4.c: Likewise.
949         * soft-fp/fmasf4.c: Likewise.
950         * soft-fp/fmatf4.c: Likewise.
951         * soft-fp/gedf2.c: Likewise.
952         * soft-fp/gesf2.c: Likewise.
953         * soft-fp/getf2.c: Likewise.
954         * soft-fp/ledf2.c: Likewise.
955         * soft-fp/lesf2.c: Likewise.
956         * soft-fp/letf2.c: Likewise.
957         * soft-fp/muldf3.c: Likewise.
958         * soft-fp/mulsf3.c: Likewise.
959         * soft-fp/multf3.c: Likewise.
960         * soft-fp/negdf2.c: Likewise.
961         * soft-fp/negsf2.c: Likewise.
962         * soft-fp/negtf2.c: Likewise.
963         * soft-fp/op-1.h: Likewise.
964         * soft-fp/op-2.h: Likewise.
965         * soft-fp/op-4.h: Likewise.
966         * soft-fp/op-8.h: Likewise.
967         * soft-fp/op-common.h: Likewise.
968         * soft-fp/quad.h: Likewise.
969         * soft-fp/single.h: Likewise.
970         * soft-fp/soft-fp.h: Likewise.
971         * soft-fp/sqrtdf2.c: Likewise.
972         * soft-fp/sqrtsf2.c: Likewise.
973         * soft-fp/sqrttf2.c: Likewise.
974         * soft-fp/subdf3.c: Likewise.
975         * soft-fp/subsf3.c: Likewise.
976         * soft-fp/subtf3.c: Likewise.
977         * soft-fp/truncdfsf2.c: Likewise.
978         * soft-fp/trunctfdf2.c: Likewise.
979         * soft-fp/trunctfsf2.c: Likewise.
980         * soft-fp/trunctfxf2.c: Likewise.
981         * soft-fp/unorddf2.c: Likewise.
982         * soft-fp/unordsf2.c: Likewise.
983         * soft-fp/unordtf2.c: Likewise.
985 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
987         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
988         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
990 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
992         * elf/dl-libc.c: Clear initfini list after freeing.
994 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
996         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
997         * soft-fp/addsf3.c: Likewise.
998         * soft-fp/addtf3.c: Likewise.
999         * soft-fp/divdf3.c: Likewise.
1000         * soft-fp/divsf3.c: Likewise.
1001         * soft-fp/divtf3.c: Likewise.
1002         * soft-fp/double.h: Likewise.
1003         * soft-fp/eqdf2.c: Likewise.
1004         * soft-fp/eqsf2.c: Likewise.
1005         * soft-fp/eqtf2.c: Likewise.
1006         * soft-fp/extenddftf2.c: Likewise.
1007         * soft-fp/extended.h: Likewise.
1008         * soft-fp/extendsfdf2.c: Likewise.
1009         * soft-fp/extendsftf2.c: Likewise.
1010         * soft-fp/extendxftf2.c: Likewise.
1011         * soft-fp/fixdfdi.c: Likewise.
1012         * soft-fp/fixdfsi.c: Likewise.
1013         * soft-fp/fixdfti.c: Likewise.
1014         * soft-fp/fixsfdi.c: Likewise.
1015         * soft-fp/fixsfsi.c: Likewise.
1016         * soft-fp/fixsfti.c: Likewise.
1017         * soft-fp/fixtfdi.c: Likewise.
1018         * soft-fp/fixtfsi.c: Likewise.
1019         * soft-fp/fixtfti.c: Likewise.
1020         * soft-fp/fixunsdfdi.c: Likewise.
1021         * soft-fp/fixunsdfsi.c: Likewise.
1022         * soft-fp/fixunsdfti.c: Likewise.
1023         * soft-fp/fixunssfdi.c: Likewise.
1024         * soft-fp/fixunssfsi.c: Likewise.
1025         * soft-fp/fixunssfti.c: Likewise.
1026         * soft-fp/fixunstfdi.c: Likewise.
1027         * soft-fp/fixunstfsi.c: Likewise.
1028         * soft-fp/fixunstfti.c: Likewise.
1029         * soft-fp/floatdidf.c: Likewise.
1030         * soft-fp/floatdisf.c: Likewise.
1031         * soft-fp/floatditf.c: Likewise.
1032         * soft-fp/floatsidf.c: Likewise.
1033         * soft-fp/floatsisf.c: Likewise.
1034         * soft-fp/floatsitf.c: Likewise.
1035         * soft-fp/floattidf.c: Likewise.
1036         * soft-fp/floattisf.c: Likewise.
1037         * soft-fp/floattitf.c: Likewise.
1038         * soft-fp/floatundidf.c: Likewise.
1039         * soft-fp/floatundisf.c: Likewise.
1040         * soft-fp/floatunsidf.c: Likewise.
1041         * soft-fp/floatunsisf.c: Likewise.
1042         * soft-fp/floatuntidf.c: Likewise.
1043         * soft-fp/floatuntisf.c: Likewise.
1044         * soft-fp/floatuntitf.c: Likewise.
1045         * soft-fp/fmadf4.c: Likewise.
1046         * soft-fp/fmasf4.c: Likewise.
1047         * soft-fp/fmatf4.c: Likewise.
1048         * soft-fp/gedf2.c: Likewise.
1049         * soft-fp/gesf2.c: Likewise.
1050         * soft-fp/getf2.c: Likewise.
1051         * soft-fp/ledf2.c: Likewise.
1052         * soft-fp/lesf2.c: Likewise.
1053         * soft-fp/letf2.c: Likewise.
1054         * soft-fp/muldf3.c: Likewise.
1055         * soft-fp/mulsf3.c: Likewise.
1056         * soft-fp/multf3.c: Likewise.
1057         * soft-fp/negdf2.c: Likewise.
1058         * soft-fp/negsf2.c: Likewise.
1059         * soft-fp/negtf2.c: Likewise.
1060         * soft-fp/op-1.h: Likewise.
1061         * soft-fp/op-2.h: Likewise.
1062         * soft-fp/op-4.h: Likewise.
1063         * soft-fp/op-8.h: Likewise.
1064         * soft-fp/op-common.h: Likewise.
1065         * soft-fp/quad.h: Likewise.
1066         * soft-fp/single.h: Likewise.
1067         * soft-fp/soft-fp.h: Likewise.
1068         * soft-fp/sqrtdf2.c: Likewise.
1069         * soft-fp/sqrtsf2.c: Likewise.
1070         * soft-fp/sqrttf2.c: Likewise.
1071         * soft-fp/subdf3.c: Likewise.
1072         * soft-fp/subsf3.c: Likewise.
1073         * soft-fp/subtf3.c: Likewise.
1074         * soft-fp/truncdfsf2.c: Likewise.
1075         * soft-fp/trunctfdf2.c: Likewise.
1076         * soft-fp/trunctfsf2.c: Likewise.
1077         * soft-fp/trunctfxf2.c: Likewise.
1078         * soft-fp/unorddf2.c: Likewise.
1079         * soft-fp/unordsf2.c: Likewise.
1080         * soft-fp/unordtf2.c: Likewise.
1082 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1084         [BZ #15672]
1085         * misc/error.c (error_tail): Fix possible buffer overflow.
1087 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1089         [BZ #13028]
1090         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1091         address.
1093 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1095         [BZ #832]
1096         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1097         testing pipefail option.
1099 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1101         * soft-fp/double.h: Indent preprocessor directives inside #if.
1102         * soft-fp/extended.h: Likewise.
1103         * soft-fp/op-2.h: Likewise.
1104         * soft-fp/op-4.h: Likewise.
1105         * soft-fp/op-common.h: Likewise.
1106         * soft-fp/quad.h: Likewise.
1107         * soft-fp/single.h: Likewise.
1108         * soft-fp/soft-fp.h: Likewise.
1110 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1112         * iconv/iconv_prog.c: Fix typos.
1113         * stdio-common/psiginfo-data.h: Likewise.
1115 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1117         [BZ #15764]
1118         * locale/setlocale.c: Fix typo.
1120 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1122         [BZ #16036]
1123         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1124         signaling NaN arguments.
1125         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1126         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1128         [BZ #14910]
1129         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1130         unordered operands.
1131         * soft-fp/gesf2.c (__gesf2): Likewise.
1132         * soft-fp/getf2.c (__getf2): Likewise.
1133         * soft-fp/ledf2.c (__ledf2): Likewise.
1134         * soft-fp/lesf2.c (__lesf2): Likewise.
1135         * soft-fp/letf2.c (__letf2): Likewise.
1137         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1138         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1139         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1140         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1141         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1142         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1143         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1144         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1145         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1146         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1147         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1148         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1149         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1150         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1151         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1152         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1153         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1154         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1155         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1156         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1157         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1158         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1159         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1160         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1161         * soft-fp/floattidf.c (__floattidf): Likewise.
1162         * soft-fp/floattisf.c (__floattisf): Likewise.
1163         * soft-fp/floattitf.c (__floattitf): Likewise.
1164         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1165         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1166         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1167         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1168         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1169         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1170         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1171         * soft-fp/gesf2.c (__gesf2): Likewise.
1172         * soft-fp/getf2.c (__getf2): Likewise.
1173         * soft-fp/ledf2.c (__ledf2): Likewise.
1174         * soft-fp/lesf2.c (__lesf2): Likewise.
1175         * soft-fp/letf2.c (__letf2): Likewise.
1177         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1178         Undefine and redefine.
1179         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1180         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1181         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1182         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1183         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1184         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1185         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1186         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1187         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1188         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1189         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1190         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1191         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1192         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1193         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1195         [BZ #16032]
1196         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1197         without decrementing exponent if mantissa >= that for the
1198         denominator, not >.
1199         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1200         denominator, not >.  Decrement exponent in < case instead of
1201         incrementing in >= case.
1202         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1203         without decrementing exponent if mantissa >= that for the
1204         denominator, not >.
1206         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1207         computing saturated result for unsigned overflow.
1209 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1210             Jeff Law  <law@redhat.com>
1212         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1213         (atan2Mp): Add systemtap probe marker.
1214         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1215         (__ieee754_log): Add systemtap probe marker.
1216         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1217         (atanMp): Add systemtap probe marker.
1218         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1219         (tanMp): Add systemtap probe marker.
1220         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1221         (__slowexp): Add systemtap probe marker.
1222         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1223         (__slowpow): Add systemtap probe marker.
1224         * manual/probes.texi: Document probes.
1226 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1228         [BZ #15362]
1229         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1230         written.
1231         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1232         written.
1233         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1234         written to buffer but not flushed.
1235         * libio/iofwrite_u.c:  Likewise.
1236         * libio/iopadn.c:  Return bytes returned even if EOF was
1237         encountered.
1238         * libio/iowpadn.c:  Likewise.
1239         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1240         if _IO_padn does not write the whole buffer.
1241         [!COMPILE_WPRINTF] (PAD): Likewise.
1243 2013-10-10  David S. Miller  <davem@davemloft.net>
1245         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1246         directory block.
1248 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1250         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1251         instead of FSF address.
1252         * soft-fp/fixdfti.c: Likewise.
1253         * soft-fp/fixsfti.c: Likewise.
1254         * soft-fp/fixtfti.c: Likewise.
1255         * soft-fp/fixunsdfti.c: Likewise.
1256         * soft-fp/fixunssfti.c: Likewise.
1257         * soft-fp/fixunstfti.c: Likewise.
1258         * soft-fp/floattidf.c: Likewise.
1259         * soft-fp/floattisf.c: Likewise.
1260         * soft-fp/floattitf.c: Likewise.
1261         * soft-fp/floatuntidf.c: Likewise.
1262         * soft-fp/floatuntisf.c: Likewise.
1263         * soft-fp/floatuntitf.c: Likewise.
1264         * soft-fp/trunctfxf2.c: Likewise.
1266         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1267         * soft-fp/fixdfti.c: Likewise.
1268         * soft-fp/fixsfti.c: Likewise.
1269         * soft-fp/fixtfti.c: Likewise.
1270         * soft-fp/fixunsdfti.c: Likewise.
1271         * soft-fp/fixunssfti.c: Likewise.
1272         * soft-fp/fixunstfti.c: Likewise.
1273         * soft-fp/floattidf.c: Likewise.
1274         * soft-fp/floattisf.c: Likewise.
1275         * soft-fp/floattitf.c: Likewise.
1276         * soft-fp/floatuntidf.c: Likewise.
1277         * soft-fp/floatuntisf.c: Likewise.
1278         * soft-fp/floatuntitf.c: Likewise.
1279         * soft-fp/trunctfxf2.c: Likewise.
1281 2013-10-10  David S. Miller  <davem@davemloft.net>
1283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1285 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
1287         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1288         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1289         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1290         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1291         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1292         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1293         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1295         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1296         for NaNs before doing comparisons on argument.
1297         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1298         Likewise.
1300 2013-10-10  Will Newton  <will.newton@linaro.org>
1302         * malloc/hooks.c (memalign_check): Ensure the value of bytes
1303         passed to _int_memalign does not overflow.
1305 2013-10-10  Torvald Riegel  <triegel@redhat.com>
1307         * scripts/bench.pl: Add include-sources directive.
1308         * benchtests/README: Update documentation.
1310 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1312         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1313         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1314         instead of FP_INIT_ROUNDMODE.
1315         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1316         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1318         [BZ #16034]
1319         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
1320         copy class of input value.
1321         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
1322         not handle exceptions.
1323         * soft-fp/negsf2.c (__negsf2): Likewise.
1324         * soft-fp/negtf2.c (__negtf2): Likewise.
1325         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1327 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
1329         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1330         semicolon.  From Linux kernel.
1332 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
1334         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1336 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
1338         [BZ #156]
1339         * manual/socket.texi: Added statement about buffer
1340         for gethostbyname2_r.
1342 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
1344         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1345         Use .p2align directive instead, throughout.
1346         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1347         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1348         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1349         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1350         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1351         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1352         * sysdeps/x86_64/strchr.S: Likewise.
1353         * sysdeps/x86_64/strrchr.S: Likewise.
1355 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1357         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1359         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1361         * sysdeps/generic/math_private.h (__mpsin1): Remove
1362         declaration.
1363         (__mpcos1): Likewise.
1364         (__mpsin): New argument __range_reduce.
1365         (__mpcos): Likewise.
1366         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1367         (slow): Use __mpsin and __mpcos.
1368         (slow1): Likewise.
1369         (slow2): Likewise.
1370         (sloww): Likewise.
1371         (sloww1): Likewise.
1372         (sloww2): Likewise.
1373         (bsloww): Likewise.
1374         (bsloww1): Likewise.
1375         (bsloww2): Likewise.
1376         (cslow2): Likewise.
1377         (csloww): Likewise.
1378         (csloww1): Likewise.
1379         (csloww2): Likewise.
1380         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1381         range_reduce.  Merge in __mpsin1.
1382         (__mpcos): Likewise.
1383         (__mpsin1): Remove.
1384         (__mpcos1): Likewise.
1386 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1388         * locale/loadlocale.c (_nl_intern_locale_data): Use
1389         LOCFILE_ALIGNED_P.
1390         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1391         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1392         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1393         obstack data is appropriately aligned.
1394         (obstack_int32_grow_fast): Likewise.
1395         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1396         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1397         (add_locale_uint32_array): Likewise.
1399 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1401         * benchtests/Makefile: Remove ARGLIST and RET variables.
1402         ($(objpfx)bench-%.c): Pass only function name to the script.
1403         * benchtests/README: Update documentation.
1404         * benchtests/acos-inputs: Add new directives.
1405         * benchtests/acosh-inputs: Likewise.
1406         * benchtests/asin-inputs: Likewise.
1407         * benchtests/asinh-inputs: Likewise.
1408         * benchtests/atan-inputs: Likewise.
1409         * benchtests/atanh-inputs: Likewise.
1410         * benchtests/cos-inputs: Likewise.
1411         * benchtests/cosh-inputs: Likewise.
1412         * benchtests/exp-inputs: Likewise.
1413         * benchtests/log-inputs: Likewise.
1414         * benchtests/pow-inputs: Likewise.
1415         * benchtests/rint-inputs: Likewise.
1416         * benchtests/sin-inputs: Likewise.
1417         * benchtests/sinh-inputs: Likewise.
1418         * benchtests/tan-inputs: Likewise.
1419         * benchtests/tanh-inputs: Likewise.
1420         * scripts/bench.pl: Add support for new directives.
1422 2013-10-07  Alan Modra  <amodra@gmail.com>
1424         * README: Fix careless merge.
1426 2013-10-05  Alan Modra  <amodra@gmail.com>
1428         * NEWS: Mention powerpc64le support and bugs fixed.
1429         * README: Both big-endian and little-endian powerpc64 supported.
1431 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1433         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1434         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1435         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1436         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1438 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1440         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1441         match prototype.
1443 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1445         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1446         Move -mhard-float appending from
1447         ports/sysdeps/powerpc/powerpc32/Makefile.
1448         [$(with-fp) = yes] (ASFLAGS): Likewise.
1449         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1450         * sysdeps/powerpc/nofpu: Move directory from
1451         ports/sysdeps/powerpc/nofpu.
1452         * sysdeps/powerpc/soft-fp: Move directory from
1453         ports/sysdeps/powerpc/soft-fp.
1454         * sysdeps/powerpc/powerpc32/405: Move directory from
1455         ports/sysdeps/powerpc/powerpc32/405.
1456         * sysdeps/powerpc/powerpc32/440: Move directory from
1457         ports/sysdeps/powerpc/powerpc32/440.
1458         * sysdeps/powerpc/powerpc32/464: Move directory from
1459         ports/sysdeps/powerpc/powerpc32/464.
1460         * sysdeps/powerpc/powerpc32/476: Move directory from
1461         ports/sysdeps/powerpc/powerpc32/476.
1462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1463         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1465         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1467         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1469         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1471         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1472         * README: Update for powerpc-*-linux-gnu software floating point
1473         support in libc.
1475         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1476         case to powerpc/powerpc32*.
1477         * sysdeps/unix/sysv/linux/configure: Regenerated.
1479         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1480         (_FPU_MASK_OM): Define as 0x04.
1481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1483         0x00c10080.
1484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1485         0x0000003c.
1486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1489         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1490         getcontext_e500.
1491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1492         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1493         setcontext_e500.
1494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1495         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1496         and setcontext_e500.
1498 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1500         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1502 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1504         * manual/threads.texi (Default Thread Attributes): Fix typo.
1506 2013-10-04  Will Newton  <will.newton@linaro.org>
1508         * malloc/Makefile: Add tst-memalign.
1509         * malloc/tst-memalign.c: New file.
1511         * malloc/tst-posix_memalign.c: Add comments.
1512         (do_test): Add comments and call free on all potentially
1513         allocated pointers. Add space after cast.
1515         * malloc/tst-pvalloc.c: Add comments.
1516         (do_test): Add comments and call free on all potentially
1517         allocated pointers. Remove duplicate check for NULL pointer.
1518         Add space after cast.
1520         * malloc/tst-valloc.c: Add comments.
1521         (do_test): Add comments and call free on all potentially
1522         allocated pointers. Remove duplicate check for NULL pointer.
1523         Add space after cast.
1525 2013-10-04  Alan Modra  <amodra@gmail.com>
1527         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1528         Use stdint types in rather than __attribute__((mode())).
1529         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1531 2013-10-04  Alan Modra  <amodra@gmail.com>
1533         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1534         Correct handling of unaligned relocs for little-endian.
1535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1537 2013-10-04  Alan Modra  <amodra@gmail.com>
1539         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1540         * configure: Regenerate.
1541         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1542         * shlib-versions: Likewise.
1544 2013-10-04  Alan Modra  <amodra@gmail.com>
1546         * string/tester.c (test_memrchr): Increment reported test cycle.
1548 2013-10-04  Alan Modra  <amodra@gmail.com>
1550         * string/test-memcpy.c (do_one_test): When reporting errors, print
1551         string address and don't overrun end of string.
1553 2013-10-04  Alan Modra  <amodra@gmail.com>
1555         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1556         insrdi.  Make better use of reg selection to speed exit slightly.
1557         Schedule entry path a little better.  Remove useless "are we done"
1558         checks on entry to main loop.  Handle wrapping around zero address.
1559         Correct main loop count.  Handle single left-over word from main
1560         loop inline rather than by using loop_small.  Remove extra word
1561         case in loop_small caused by wrong loop count.  Add little-endian
1562         support.
1563         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1564         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1565         cache hint.
1566         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1567         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1568         support.  Avoid rlwimi.
1569         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1571 2013-10-04  Alan Modra  <amodra@gmail.com>
1573         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1574         insrdi.  Formatting.
1575         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1576         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1577         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1578         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1579         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1580         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1582 2013-10-04  Alan Modra  <amodra@gmail.com>
1584         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1585         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1586         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1587         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1588         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1589         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1590         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1591         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1592         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1593         use of regs.  Use power7 mtocrf.  Tidy function tails.
1595 2013-10-04  Alan Modra  <amodra@gmail.com>
1597         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1598         Formatting.  Consistently use rXXX register defines or rN defines.
1599         Use early exit labels that avoid restoring unused non-volatile regs.
1600         Make cr field use more consistent with rWORDn compares.  Rename
1601         regs used as shift registers for unaligned loop, using rN defines
1602         for short lifetime/multiple use regs.
1603         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1604         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1605         addi 1,1,64 to pop stack frame.  Simplify return value code.
1606         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1608 2013-10-04  Alan Modra  <amodra@gmail.com>
1610         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1611         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1612         rather than rlwimi.
1613         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1614         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1615         little-endian support.  Correct typos.
1616         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1617         rather than rlwimi.
1618         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1619         in loop and entry code to keep "and." results.
1620         (strchr): Add little-endian support.  Comment.  Move cntlzd
1621         earlier in tail.
1622         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1624 2013-10-04  Alan Modra  <amodra@gmail.com>
1626         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1627         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1628         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1629         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1631 2013-10-04  Alan Modra  <amodra@gmail.com>
1633         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1634         (rTMP): Define as r11.
1635         (strcmp): Add little-endian support.  Optimise tail.
1636         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1637         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1638         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1639         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1640         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1641         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1644 2013-10-04  Alan Modra  <amodra@gmail.com>
1646         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1647         little-endian support.  Remove unnecessary "are we done" tests.
1648         Handle "s" wrapping around zero and extremely large "size".
1649         Correct main loop count.  Handle single left-over word from main
1650         loop inline rather than by using small_loop.  Correct comments.
1651         Delete "zero" tail, use "end_max" instead.
1652         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1654 2013-10-04  Alan Modra  <amodra@gmail.com>
1656         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1657         support.  Don't branch over align.
1658         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1659         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1660         support.  Rearrange tmp reg use to suit.  Comment.
1661         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1663 2013-10-04  Alan Modra  <amodra@gmail.com>
1665         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1667 2013-10-04  Alan Modra  <amodra@gmail.com>
1669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1670         conditional form of branch and link when obtaining pc.
1671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1673 2013-10-04  Alan Modra  <amodra@gmail.com>
1675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1676         HIWORD/LOWORD.
1677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1680 2013-10-04  Alan Modra  <amodra@gmail.com>
1682         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1683         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1684         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1685         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1686         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1687         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1688         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1689         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1690         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1691         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1693 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1694             Alistair Popple <alistair@ozlabs.au.ibm.com>
1695             Alan Modra <amodra@gmail.com>
1697         [BZ #15723]
1698         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1699         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1700         _dl_hwcap access for little-endian.
1701         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1702         destroy vmx regs when saving unaligned.
1703         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1704         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1705         destroy vmx regs when saving unaligned.
1707 2013-10-04  Alan Modra  <amodra@gmail.com>
1709         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1710         Don't use a union to pack hi/low value.
1712 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1714         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1715         for little-endian.
1716         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1717         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1718         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1719         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1720         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1722 2013-10-04  Alan Modra  <amodra@gmail.com>
1724         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1725         constants to usual value for .cst8 section, and remove redundant
1726         high address load.
1727         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1728         constant for 0x1p52.  Load little-endian words of double from
1729         correct stack offsets.
1731 2013-10-04  Alan Modra  <amodra@gmail.com>
1733         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1734         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1735         words of double from correct stack offsets.
1736         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1737         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1738         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1739         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1740         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1741         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1742         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1743         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1744         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1745         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1746         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1747         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1748         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1749         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1750         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1751         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1752         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1754 2013-10-04  Alan Modra  <amodra@gmail.com>
1756         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1757         64-bit int/double union.
1758         (_FPU_SETCW): Likewise.
1759         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1760         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1762 2013-10-04  Alan Modra  <amodra@gmail.com>
1764         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1765         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1767 2013-10-04  Alan Modra  <amodra@gmail.com>
1769         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1770         use vector int constants.
1771         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1773 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1775         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1776         array with long long.
1777         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1778         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1779         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1780         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1781         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1782         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1783         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1784         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1785         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1786         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1787         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1788         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1789         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1791 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1793         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1794         (__signbit): Likewise.  Correct for little-endian.
1795         (__signbitl): Call __signbit.
1796         (lrint): Correct for little-endian.
1797         (lrintf): Call lrint.
1799 2013-10-04  Alan Modra  <amodra@gmail.com>
1801         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1802         union 32-bit int array member with 64-bit int array.
1803         (t515, tm256): Double rather than long double.
1804         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1806 2013-10-04  Alan Modra  <amodra@gmail.com>
1808         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1809         Delete.
1810         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1811         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1812         version of math_ldbl.h.
1814 2013-10-04  Alan Modra  <amodra@gmail.com>
1816         [BZ #15734], [BZ #15735]
1817         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1818         all uses of ieee875 long double macros and unions.  Simplify test
1819         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1820         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1821         normalize after ldbl_extract_mantissa, and don't add hidden bit
1822         already handled.  Don't treat low word of ieee854 mantissa like
1823         low word of IBM long double and mask off bit when testing for
1824         zero.
1825         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1826         all uses of ieee875 long double macros and unions.  Simplify tests
1827         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1828         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1829         two1022, instead use their values.  Recognise that tests for large
1830         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1831         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1832         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1833         test for 0.0L and nan.  Correct negation.
1834         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1835         ieee875 long double macros and unions.  Correct output for large
1836         magnitude x.  Correct absolute value calculation.
1837         (__erfcl): Likewise.
1838         * math/libm-test.inc: Add tests for errors discovered in IBM long
1839         double versions of fmodl, remainderl, erfl and erfcl.
1841 2013-10-04  Alan Modra  <amodra@gmail.com>
1843         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1844         all uses of ieee854 long double macros and unions.  Simplify tests
1845         for long doubles that are fully specified by the high double.
1846         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1847         Likewise.
1848         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1849         Remove dead code too.
1850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1851         (__ieee754_ynl): Likewise.
1852         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1853         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1854         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1855         Remove dead code too.
1856         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1858         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1859         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1860         Simplify.
1861         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1862         Simplify.
1863         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1864         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1865         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1866         Comment on variable precision.
1867         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1868         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1869         Likewise.
1870         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1871         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1872         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1873         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1874         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1876 2013-10-04  Alan Modra  <amodra@gmail.com>
1878         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1879         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1880         all uses of ieee854 long double macros and unions.
1881         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1882         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1883         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1884         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1885         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1886         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1887         Likewise.
1888         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1889         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1890         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1891         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1892         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1893         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1894         Simplify sign and nan test too.
1895         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1896         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1897         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1898         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1899         Likewise.
1900         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1901         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1902         Likewise.
1903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1904         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1905         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1906         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1907         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1910 2013-10-04  Alan Modra  <amodra@gmail.com>
1912         * stdio-common/printf_size.c (__printf_size): Don't use
1913         union ieee854_long_double in fpnum union.
1914         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1915         signbit macro to retrieve sign from long double.
1916         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1917         retrieve sign from long double.
1918         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1919         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1920         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1921         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1922         * math/test-misc.c (main): Don't use union ieee854_long_double.
1924 2013-10-04  Alan Modra  <amodra@gmail.com>
1926         [BZ #15680]
1927         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1928         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1929         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1930         calculation.  Remove unnecessary test for denormal exponent.
1931         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1932         Correct handling of denormals.  Avoid undefined shift behaviour.
1933         Correct normalisation of low mantissa when low double is denormal.
1934         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1935         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1936         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1937         Correct normalisation of low mantissa.  Test for overflow of high
1938         mantissa and normalise.
1939         (ldbl_nearbyint): Use more readable constant for two52.
1940         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1941         (__mpn_construct_long_double): Fix test for overflow of high
1942         mantissa and correct normalisation.  Avoid undefined shift.
1944 2013-10-04  Alan Modra  <amodra@gmail.com>
1946         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1947         (union ibm_extended_long_double): Define as an array of ieee754_double.
1948         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1949         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1950         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1951         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1952         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1953         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1954         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1955         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1956         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1957         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1958         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1960 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1962         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1963         page size instead of calling getpagesize.
1965         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1966         (LOCFILE_ALIGN_MASK): Likewise.
1967         (LOCFILE_ALIGN_UP): Likewise.
1968         (LOCFILE_ALIGNED_P): Likewise.
1969         * locale/programs/ld-collate.c (collate_output): Use the new
1970         macros instead of __alignof__ (int32_t).
1971         * locale/weight.h (findidx): Likewise.
1973 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1975         [BZ #431]
1976         * manual/string.texi: Fix strncat and wcsncat.
1978 2013-10-03  Brooks Moses  <bmoses@google.com>
1980         [BZ #15915]
1981         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1982         * Makerules: ...here, and adjust associated comments.
1984 2013-10-02  Will Newton  <will.newton@linaro.org>
1986         * malloc/Makefile: Add tst-pvalloc.
1987         * malloc/tst-pvalloc.c: New file.
1989 2013-10-02  Will Newton  <will.newton@linaro.org>
1991         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1992         improve test coverage.
1994 2013-10-02  Will Newton  <will.newton@linaro.org>
1996         * malloc/Makefile: Add tst-posix_memalign.
1997         * malloc/tst-posix_memalign.c: New file.
1999 2013-10-01  Eric Blake  <eblake@redhat.com>
2001         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2002         Use __THROWNL rather than __THROW on static functions.
2004 2013-09-30  Petr Machata  <pmachata@redhat.com>
2006         * elf/elf.h (R_AARCH64_ABS16): New macro.
2007         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2008         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2009         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2010         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2011         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2012         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2013         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2014         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2015         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2016         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2017         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2018         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2019         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2020         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2021         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2022         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2023         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2024         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2025         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2026         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2027         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2028         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2029         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2030         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2031         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2032         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2033         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2034         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2035         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2036         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2037         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2038         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2039         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2040         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2041         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2042         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2043         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2044         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2045         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2046         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2047         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2048         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2049         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2050         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2051         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2052         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2053         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2054         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2055         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2056         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2057         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2058         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2059         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2060         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2061         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2062         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2063         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2064         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2065         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2066         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2067         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2068         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2069         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2070         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2071         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2072         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2073         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2074         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2075         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2076         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2077         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2078         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2079         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2080         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2081         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2082         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2083         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2084         (R_AARCH64_TLSDESC_LDR): Likewise.
2085         (R_AARCH64_TLSDESC_ADD): Likewise.
2086         (R_AARCH64_TLSDESC_CALL): Likewise.
2088 2013-09-30  Andreas Schwab  <schwab@suse.de>
2090         [BZ #15048]
2091         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2092         the nss database lookup.
2093         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2096 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2098         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2100 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2102         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2103         ${Bash-specific parameter/pattern/string} parameter expansion.
2104         * sysdeps/unix/make-syscalls.sh: Likewise.
2106 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2108         * sysdeps/sh/stackguard-macros.h: New file.
2110 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2114         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2115         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2116         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2117         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2119 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2121         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2122         Fix thread ID register.
2124 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2126         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2127         [POSIX || UNIX98]: Require rather than permitting all symbols from
2128         <time.h>.
2129         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2130         element of struct sched_param.
2131         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2132         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2133         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2134         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2135         constant.
2137 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2139         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2140         argument calculation.
2142 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2144         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2145         Expect macro.
2146         [POSIX] (pthread_attr_t): Do not require type.
2147         [POSIX] (pthread_cond_t): Likewise.
2148         [POSIX] (pthread_condattr_t): Likewise.
2149         [POSIX] (pthread_key_t): Likewise.
2150         [POSIX] (pthread_mutex_t): Likewise.
2151         [POSIX] (pthread_mutexattr_t): Likewise.
2152         [POSIX] (pthread_once_t): Likewise.
2153         [POSIX] (pthread_t): Likewise.
2154         [POSIX-based standards] (pthread_atfork): Expect function.
2156 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2157             Richard Sandiford  <richard@codesourcery.com>
2159         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2160         (swap_endianness_p): New extern variable.
2161         (set_big_endian): New inline function.
2162         (maybe_swap_uint32): Likewise.
2163         (maybe_swap_uint32_array): Likewise.
2164         (maybe_swap_uint32_obstack): Likewise.
2165         * locale/programs/locfile.c: Include <stdbool.h>.
2166         (swap_endianness_p): New variable.
2167         (add_locale_uint32): Call maybe_swap_uint32.
2168         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2169         (write_locale_data): Call maybe_swap_uint32_array.
2170         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2171         maybe_swap_uint32.
2172         (obstack_int32_grow_fast): Likewise.
2173         (output_weightwc): Call maybe_swap_uint32_obstack.
2174         (collate_output): Likewise.
2175         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2176         (OPT_LITTLE_ENDIAN): Likewise.
2177         (options): Add --little-endian and --big-endian options.
2178         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2179         * locale/programs/locarchive.c: Include "locfile.h".
2180         (GET): New macro.
2181         (SET): Likewise.
2182         (INC): Likewise.
2183         (create_archive): Use the new macros to access fields of
2184         structures directly mapped from or written to locale archives.
2185         (oldlocrecentcmp): Likewise.
2186         (enlarge_archive): Likewise.
2187         (insert_name): Likewise.
2188         (add_alias): Likewise.
2189         (add_locale): Likewise.
2190         (delete_locales_from_archive): Likewise.
2191         (show_archive_content): Likewise.
2192         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2193         locale data.
2195 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2197         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2198         http://www.gnu.org/doc/freemanuals.texi.
2199         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2201 2013-09-24  Will Newton  <will.newton@linaro.org>
2203         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2204         macro.
2206 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2208         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2209         unsigned char.
2211 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2213         * manual/threads.texi (POSIX Threads): Fix a typo.
2215 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2217         [BZ #14547]
2218         * string/tst-strcoll-overflow.c: New test case.
2219         * string/Makefile (xtests): Add tst-strcoll-overflow.
2220         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2221         cache if string sizes may cause integer overflow.
2223         [BZ #14547]
2224         * string/strcoll_l.c (coll_seq): New members rule, idx,
2225         save_idx and back_us.
2226         (get_next_seq_nocache): New function.
2227         (do_compare_nocache): New function.
2228         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2229         when malloc fails.
2231 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2233         [BZ #15754]
2234         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2235         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2236         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2238         [BZ #15754]
2239         * elf/Makefile (tests): Add tst-ptrguard1.
2240         (tests-static): Add tst-ptrguard1-static.
2241         (tst-ptrguard1-ARGS): Define.
2242         (tst-ptrguard1-static-ARGS): Define.
2243         * elf/tst-ptrguard1.c: New file.
2244         * elf/tst-ptrguard1-static.c: New file.
2245         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2246         * sysdeps/i386/stackguard-macros.h: Likewise.
2247         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2248         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2249         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2250         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2251         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2252         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2254 2013-09-23  Hector Marco  <hecmargi@upv.es>
2255             Ismael Ripoll  <iripoll@disca.upv.es>
2256             Carlos O'Donell  <carlos@redhat.com>
2258         [BZ #15754]
2259         * sysdeps/generic/stackguard-macros.h: Define
2260         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2261         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2262         Define __pointer_chk_guard_local.
2263         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2264         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2266 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
2268         [BZ #15859]
2269         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2271 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
2273         * include/string.h (__ffs): Declare as hidden.
2274         * string/ffs.c (__ffs): Define as hidden.
2275         * sysdeps/i386/ffs.c (__ffs): Likewise.
2276         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2277         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2278         * sysdeps/s390/ffs.c (__ffs): Likewise.
2279         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2281 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
2283         * NEWS: Mention malloc probes.
2285         * malloc/arena.c (new_heap): New memory_heap_new probe.
2286         (grow_heap): New memory_heap_more probe.
2287         (shrink_heap): New memory_heap_less probe.
2288         (heap_trim): New memory_heap_free probe.
2289         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2290         (systrim): New memory_sbrk_less probe.
2291         * manual/probes.texi: Document them.
2293         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2294         * manual/probes.texi: Document it.
2296         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2297         (__libc_realloc): Add memory_realloc_retry probe.
2298         (__libc_memalign): Add memory_memalign_retry probe.
2299         (__libc_valloc): Add memory_valloc_retry probe.
2300         (__libc_pvalloc): Add memory_pvalloc_retry probe.
2301         (__libc_calloc): Add memory_calloc_retry probe.
2302         * manual/probes.texi: Document them.
2304         * malloc/arena.c (get_free_list): Add probe
2305         memory_arena_reuse_free_list.
2306         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2307         and memory_arena_reuse.
2308         (arena_get2) [!PER_THREAD]: Likewise.
2309         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2310         memory_arena_reuse_realloc.
2311         * manual/probes.texi: Document them.
2313         * malloc/malloc.c (__libc_free): Add
2314         memory_mallopt_free_dyn_thresholds probe.
2315         (__libc_mallopt): Add multiple memory_mallopt probes.
2316         * manual/probes.texi: Document them.
2318         * malloc/malloc.c: Include stap-probe.h.
2319         (__libc_mallopt): Add memory_mallopt probe.
2320         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2321         * manual/probes.texi: New.
2322         * manual/Makefile (chapters): Add probes.
2323         * manual/threads.texi: Set next node.
2325 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
2327         [BZ #15963, #13985]
2328         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2329         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2330         Add `Chinese' to `nan' entry name.
2332 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2334         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2335         (POLYNOMIAL): Likewise.
2336         (TAYLOR_SINCOS): Likewise.
2337         (TAYLOR_SLOW): Likewise.
2338         (__sin): Use TAYLOR_SINCOS.
2339         (__cos): Likewise.
2340         (slow): Use TAYLOR_SLOW.
2341         (sloww): Likewise.
2342         (bsloww): Likewise.
2343         (csloww): Likewise.
2345 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2347         * stdlib/strtod_l.c: Fix buffer overrun.
2349 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2351         * benchtests/Makefile (bench): Add sincos.
2352         * benchtests/bench-sincos.c: New file.
2354         * math/libm-test.inc (cos_test_data): New test inputs.
2355         (sin_test_data): Likewise.
2357         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2358         macro.
2359         (__sin): Use it.
2360         (__cos): Likewise.
2361         (slow1): Likewise.
2362         (slow2): Likewise.
2363         (sloww1): Likewise.
2364         (sloww2): Likewise.
2365         (bsloww1): Likewise.
2366         (bsloww2): Likewise.
2367         (cslow2): Likewise.
2368         (csloww1): Likewise.
2369         (csloww2): Likewise.
2371         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2372         function.
2373         (__sin): Use it.
2374         (__cos): Likewise.
2376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2377         gotos.
2378         (__cos): Likewise.
2380 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2382         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2383         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2384         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2385         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2386         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2387         * elf/cache.c (print_entry): Handle the new cache flags.
2389 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2390             Aldy Hernandez  <aldyh@redhat.com>
2392         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2393         Change condition to [_SOFT_FLOAT].
2394         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2406         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2409         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2410         declaration.
2412 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2414         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2415         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2416         (__longjmp): Use LOAD_GP to load saved GPRs.
2417         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2418         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2419         (__sigsetjmp): Use SAVE_GP to save GPRs.
2421         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2422         Do not append -msoft-float.
2423         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2425 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2427         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2429 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2431         [BZ #15966]
2432         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2433         (_FPU_GETCW): Use initial "__" on variable and field names but not
2434         on macro parameter name.
2435         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2436         parentheses around reference to macro parameter.
2438 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2440         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2441         prototype.
2442         (ctype_startup): Use uint32_t in cast and sizeof for
2443         ctype->charnames.
2445 2013-09-11  Jia Liu  <proljc@gmail.com>
2447         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2448         __daddr_t_defined.
2449         [__FreeBSD__]: Likewise.
2451 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2453         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2454         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2455         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2456         (strchr): Remove __strchr_sse42 ifunc selection.
2457         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2458         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2460 2013-09-11  Will Newton  <will.newton@linaro.org>
2462         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2463         parameter to RES. Remove hardcoded 1000 value.
2464         * benchtests/bench-skeleton.c (main): Pass RES parameter
2465         to TIMING_INIT and multiply result by 1000.
2467 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2471 2013-09-11  Andreas Schwab  <schwab@suse.de>
2473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2474         if not defined.
2475         (O_TMPFILE) [__USE_GNU]: Define.
2476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2477         Define.
2479 2013-09-11  Will Newton  <will.newton@linaro.org>
2481         [BZ #15857]
2482         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2483         does not overflow.
2485 2013-09-11  Will Newton  <will.newton@linaro.org>
2487         [BZ #15856]
2488         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2489         does not overflow.
2491 2013-09-11  Will Newton  <will.newton@linaro.org>
2493         [BZ #15855]
2494         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2495         does not overflow.
2497 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2499         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2500         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2501         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2502         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2503         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2505 2013-09-10  Allan McRae  <allan@archlinux.org>
2507         [BZ #15748]
2508         * manual/arith.texi (Parsing of Floats): Clarify
2509         cross-reference.
2511         [BZ #15849]
2512         * manual/install.texi (Running make install): Mention
2513         --enable-pt-chown.
2514         * INSTALL: Regenerated.
2516 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2518         * csu/init-first.c (_init): Remove the !SHARED condition around
2519         FPU control word initialization.
2520         * elf/dl-support.c (_dl_fpu_control): New variable.
2521         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2522         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2523         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2524         * math/test-fpucw-static.c: New file.
2525         * math/test-fpucw-ieee.c: New file.
2526         * math/test-fpucw-ieee-static.c: New file.
2527         * math/Makefile (tests): Add `test-fpucw-ieee' and
2528         `$(tests-static)'.
2529         (tests-static): New variable.
2530         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2531         dependency to...
2532         [($(build-shared),yes)]
2533         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2534         ... this.
2535         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2536         New dependency.
2538 2013-09-09  Allan McRae  <allan@archlinux.org>
2540         [BZ #15939]
2541         * manual/string.texi (Collation Functions): Fix typo in
2542         strcoll example.
2543         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2545         [BZ #15893]
2546         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2548         [BZ #15892]
2549         * libio/memstream.c (open_memstream): Fix memory leak.
2550         * libio/wmemstream.c (open_wmemstream): Likewise.
2552         [BZ #15895]
2553         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2555 2013-09-09  Will Newton  <will.newton@linaro.org>
2557         * malloc/Makefile: Add tst-realloc to tests.
2558         * malloc/tst-realloc.c: New file.
2560 2013-09-09  Allan McRae  <allan@archlinux.org>
2562         [BZ #15844]
2563         * COPYING: Update from GNU website to fix FSF address.
2564         * COPYING.LIB: Likewise.
2566 2013-09-06  David S. Miller  <davem@davemloft.net>
2568         * po/zh_TW.po: Update Chinese (traditional) translation from
2569         translation project.
2571 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2572             Joseph Myers  <joseph@codesourcery.com>
2574         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2575         "localeinfo.h".
2576         (obstack_chunk_alloc): New macro.
2577         (obstack_chunk_free): Likewise.
2578         (record_offset): New function.
2579         (init_locale_data): Likewise.
2580         (align_locale_data): Likewise.
2581         (add_locale_empty): Likewise.
2582         (add_locale_raw_data): Likewise.
2583         (add_locale_raw_obstack): Likewise.
2584         (add_locale_string): Likewise.
2585         (add_locale_wstring): Likewise.
2586         (add_locale_uint32): Likewise.
2587         (add_locale_uint32_array): Likewise.
2588         (add_locale_char): Likewise.
2589         (start_locale_structure): Likewise.
2590         (end_locale_structure): Likewise.
2591         (start_locale_prelude): Likewise.
2592         (end_locale_prelude): Likewise.
2593         (write_locale_data): Take locale_file structure rather than an
2594         iovec.
2595         * locale/programs/locfile.h: Include "obstack.h".
2596         (struct locale_file): Change to store locale file contents instead
2597         of header.
2598         (init_locale_data): New prototype.
2599         (align_locale_data): Likewise.
2600         (add_locale_empty): Likewise.
2601         (add_locale_raw_data): Likewise.
2602         (add_locale_raw_obstack): Likewise.
2603         (add_locale_string): Likewise.
2604         (add_locale_wstring): Likewise.
2605         (add_locale_uint32): Likewise.
2606         (add_locale_uint32_array): Likewise.
2607         (add_locale_char): Likewise.
2608         (start_locale_structure): Likewise.
2609         (end_locale_structure): Likewise.
2610         (start_locale_prelude): Likewise.
2611         (end_locale_prelude): Likewise.
2612         (write_locale_data): Update prototype.
2613         * locale/programs/3level.h (struct TABLE): Remove result field.
2614         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2615         Use new locale_file interface.
2616         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2617         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2618         * locale/programs/ld-address.c (address_output): Use new
2619         locale_file interface.
2620         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2621         NO_ADD_LOCALE.
2622         (collate_finish): Don't call collseq_table_finalize.
2623         (collate_output): Use new locale_file interface.
2624         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2625         in file.
2626         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2627         (TABLE): Move defines earlier in file.
2628         (ELEMENT): Likewise.
2629         (DEFAULT): Likewise.
2630         (wctrans_table_add): Move macro and inline function earlier in
2631         file.
2632         (struct wctype_table): Move type earlier in file.
2633         (add_locale_wctype_table): New static prototype.
2634         (struct locale_ctype_t): Use logical types instead of struct iovec
2635         pointers for members.
2636         (ctype_output): Use new locale_file interface.
2637         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2638         new locale_file interface.
2639         (allocate_arrays): Update for use of new locale_file interface.
2640         * locale/programs/ld-identification.c (identification_output): Use
2641         new locale_file interface.
2642         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2643         * locale/programs/ld-messages.c (messages_output): Likewise.
2644         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2645         * locale/programs/ld-name.c (name_output): Likewise.
2646         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2647         * locale/programs/ld-paper.c (paper_output): Likewise.
2648         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2649         * locale/programs/ld-time.c (time_output): Likewise.
2651 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2653         * benchtests/Makefile: Add memrchr benchmark.
2654         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2655         benchmark as memrchr.
2656         * benchtests/bench-memrchr-ifunc.c: New file.
2657         * benchtests/bench-memrchr.c: New file.
2659 2013-09-06   Will Newton  <will.newton@linaro.org>
2661         * benchtests/Makefile (string-bench): Add memcpy.
2663 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2664             Cong Wang  <amwang@redhat.com>
2666         * sysdeps/unix/sysv/linux/bits/in.h
2667         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2668         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2669         before __USE_KERNEL_IPV6_DEFS uses.
2670         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2671         IPPROTO_BEETPH.
2672         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2673         sockaddr_in6, or ipv6_mreq.
2675 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2677         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2678         memory access for final bytes in some large inputs.
2679         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2681 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2683         * string/test-memrchr.c: New file.
2684         * string/test-memrchr-ifunc.c: New file.
2685         * string/Makefile: Add new memrchr testcase.
2687 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2689         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2690         fanotify_init returns EPERM.
2692 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2694         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2695         errors.
2696         (top level): Treat second token from macro or constant entries for
2697         allowed headers as allowed.
2698         * include/complex.h: Condition internal declarations on
2699         [!_ISOMAC].
2700         * include/fenv.h: Condition include of <stdbool.h> and internal
2701         declarations on [!_ISOMAC].
2703 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2705         [BZ #15923]
2706         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2708 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2710         * configure.in (--enable-versioning): Remove configure option.
2711         (libc_cv_asm_symver_directive): Remove configure test.
2712         (libc_cv_ld_version_script_option): Likewise.
2713         (VERSIONING): Remove variable and AC_SUBST.
2714         (DO_VERSIONING): Remove AC_DEFINE.
2715         * configure: Regenerated.
2716         * config.h.in (DO_VERSIONING): Remove macro.
2717         * Makerules [$(versioning) = yes]: Change conditionals to
2718         [$(build-shared) = yes].
2719         * config.make.in (versioning): Remove variable.
2720         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2721         [$(build-shared) = yes].
2722         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2723         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2724         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2725         [$(build-shared) = yes].
2726         * extra-lib.mk [$(versioning) = yes]: Likewise.
2727         * hurd/Makefile [$(versioning) = yes]: Likewise.
2728         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2729         [SHARED].
2730         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2731         [SHARED].
2732         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2733         [SHARED && !NO_HIDDEN].
2734         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2735         [SHARED].
2736         [SHARED && DO_VERSIONING]: Likewise..
2737         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2738         [$(build-shared) = yes].
2739         * manual/install.texi (--disable-versioning): Remove
2740         documentation.
2741         * INSTALL: Regenerated.
2742         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2743         to [SHARED].
2744         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2745         [$(build-shared) = yes].
2746         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2747         * sysdeps/i386/i686/multiarch/strstr-c.c
2748         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2749         [SHARED && !NO_HIDDEN].
2750         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2751         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2752         * sysdeps/powerpc/powerpc32/dl-machine.c
2753         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2754         * sysdeps/powerpc/powerpc32/sysdep.h
2755         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2756         to [SHARED && PIC && !NO_HIDDEN].
2757         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2758         conditional to [SHARED].
2760 2013-09-04   Will Newton  <will.newton@linaro.org>
2762         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2763         * benchtests/bench-string.h: Include bench-timing.h instead
2764         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2765         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2766         call to HP_TIMING_DIFF_INIT.
2767         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2768         instead of hp-timing.h macros.
2769         * benchtests/bench-memchr.c: Likewise.
2770         * benchtests/bench-memcmp.c: Likewise.
2771         * benchtests/bench-memcpy.c: Likewise.
2772         * benchtests/bench-memmem.c: Likewise.
2773         * benchtests/bench-memmove.c: Likewise.
2774         * benchtests/bench-memset.c: Likewise.
2775         * benchtests/bench-rawmemchr.c: Likewise.
2776         * benchtests/bench-strcasecmp.c: Likewise.
2777         * benchtests/bench-strcasestr.c: Likewise.
2778         * benchtests/bench-strcat.c: Likewise.
2779         * benchtests/bench-strchr.c: Likewise.
2780         * benchtests/bench-strcmp.c: Likewise.
2781         * benchtests/bench-strcpy.c: Likewise.
2782         * benchtests/bench-strcpy_chk.c: Likewise.
2783         * benchtests/bench-strlen.c: Likewise.
2784         * benchtests/bench-strncasecmp.c: Likewise.
2785         * benchtests/bench-strncat.c: Likewise.
2786         * benchtests/bench-strncmp.c: Likewise.
2787         * benchtests/bench-strncpy.c: Likewise.
2788         * benchtests/bench-strnlen.c: Likewise.
2789         * benchtests/bench-strpbrk.c: Likewise.
2790         * benchtests/bench-strrchr.c: Likewise.
2791         * benchtests/bench-strspn.c: Likewise.
2792         * benchtests/bench-strstr.c: Likewise.
2794 2013-09-04  Will Newton  <will.newton@linaro.org>
2796         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2798 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2800         [BZ #15427]
2801         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2802         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2803         * math/libm-test.inc (lgamma_test_data): Add more tests.
2804         * sysdeps/i386/fpu/libm-test-ulps: Update.
2805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2807 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2809         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2810         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2811         Add ifunc.
2812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2813         Add strcmp-sse2-unaligned
2814         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2816 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2818         * Versions.def (libc): Add GLIBC_2.19.
2820 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2822         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2823         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2825 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2827         [BZ #14155]
2828         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2829         intermediate calculations in recurrence.
2830         (__ieee754_ynf): Likewise.
2831         * math/libm-test.inc (jn_test_data): Do not allow spurious
2832         underflow exception.  Add more tests.
2833         (yn_test_data): Add more tests.
2834         * sysdeps/i386/fpu/libm-test-ulps: Update.
2835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2837 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2839         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2841 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2843         * csu/init-first.c: Fix then/than typos.
2844         * locale/programs/ld-collate.c: Likewise.
2845         * locale/programs/linereader.h: Likewise.
2846         * manual/charset.texi: Likewise.
2847         * manual/filesys.texi: Likewise.
2848         * manual/stdio.texi: Likewise.
2849         * manual/string.texi: Likewise.
2850         * stdlib/fmtmsg.c: Likewise.
2851         * sysdeps/i386/stpncpy.S: Likewise.
2852         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2853         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2854         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2855         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2857 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2859         * elf/dl-open.c: Fix typos.
2860         * iconvdata/gbbig5.c: Likewise.
2861         * iconvdata/iso-2022-jp.c: Likewise.
2862         * iconv/gconv_int.h: Likewise.
2863         * iconv/loop.c: Likewise.
2864         * nis/rpcsvc/nis.h: Likewise.
2865         * resolv/ns_name.c: Likewise.
2866         * stdio-common/vfscanf.c: Likewise.
2867         * streams/stropts.h: Likewise.
2868         * sunrpc/rpc_thread.c: Likewise.
2869         * sysdeps/i386/strpbrk.S: Likewise.
2870         * sysdeps/ieee754/k_standard.c: Likewise.
2871         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2873         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2874         * sysdeps/mach/hurd/profil.c: Likewise.
2875         * sysdeps/s390/dl-procinfo.h: Likewise.
2876         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2877         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2878         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2879         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2880         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2882 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2884         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2885         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2887 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2889         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2890         aix specific files.
2891         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2892         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2893         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2894         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2895         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2896         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2897         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2898         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2900 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2901             Roland McGrath  <roland@hack.frob.com>
2903         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2904         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2906 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2908         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2909         __executable_start symbol instead of _start.
2911 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2913         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2914         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2915         Move macros to...
2916         * sysdeps/gnu/ldsodefs.h: ... this new file.
2918         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2919         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2920         instead of ELFOSABI_LINUX.
2922         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2923         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2924         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2925         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2926         Likewise.
2927         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2928         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2929         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2930         Likewise.
2931         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2932         (ibm_extended_long_double): Add ieee_nan member.
2933         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2934         (do_test): New function.
2936         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2937         TEST_TRUNC.
2938         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2939         functions, renamed from truncdfsf_test, trunctfsf_test,
2940         trunctfdf_test.
2941         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2942         functions.
2943         (do_test): Run all these.
2945 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2947         * argp/argp-help.c: Fix typos.
2948         * argp/argp-parse.c: Likewise.
2949         * debug/backtracesyms.c: Likewise.
2950         * elf/elf.h: Likewise.
2951         * malloc/malloc.c: Likewise.
2952         * nis/nis_print.c: Likewise.
2953         * resolv/res_comp.c: Likewise.
2954         * stdlib/stdlib.h: Likewise.
2955         * sunrpc/clnt_tcp.c: Likewise.
2956         * sunrpc/clnt_udp.c: Likewise.
2957         * sunrpc/clnt_unix.c: Likewise.
2958         * sysdeps/unix/bsd/ptsname.c: Likewise.
2959         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2960         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2962         Likewise.
2963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2964         Likewise.
2965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2966         Likewise.
2967         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2969 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2971         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2974 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2976         [BZ #15897]
2977         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2978         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2979         ($(objpfx)bug-dl-leaf): New rule.
2980         ($(objpfx)bug-dl-leaf.so): Likewise.
2981         ($(objpfx)bug-dl-leaf.out): Likewise.
2982         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2983         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2984         * dlfcn/bug-dl-leaf.c: New test.
2985         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2986         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2987         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2988         (dlclose): Likewise.
2989         (dlmopen): Likewise.
2991 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2993         * include/netdb.h [!_ISOMAC]:
2994         Don't include <tls.h>.
2995         (h_errno, __libc_h_errno): Move declaration and macros out of
2996         [_LIBC_REENTRANT].
2998         * include/resolv.h [_RESOLV_H_]:
2999         Don't include <tls.h>.
3000         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3001         * resolv/res_libc.c: Don't include <tls.h>.
3002         (_res): Use __attribute__ ((nocommon)) in place of
3003         __attribute__ ((section (".bss"))).
3005         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3006         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3008         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3010         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3011         only under [SIOCGIFCONF && SIOCGIFNETMASK].
3013         * resolv/res_mkquery.c: Include <sys/time.h>.
3015         * inet/ifreq.c: Moved to ...
3016         * sysdeps/unix/ifreq.c: ... here.
3017         * inet/ifreq.c: New file, true stub version.
3019         * socket/sa_len.c: New file.
3020         * socket/Makefile (aux): Add it.
3021         * sysdeps/unix/sysv/linux/Makefile
3022         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3023         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3024         and #include <socket/sa_len.c>.
3025         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3026         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3028         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3029         * bits/socket.h: ... here.
3031         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3032         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3033         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3035 2013-08-27  Andreas Schwab  <schwab@suse.de>
3037         [BZ #15736]
3038         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3039         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3040         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3041         * string/test-strcasecmp.c (test_main): Run tests in several
3042         locales.
3043         * string/test-strncasecmp.c (test_main): Likewise.
3045         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3046         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3047         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3048         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3049         (__strncasecmp_ssse3) [PIC]: Likewise.
3051 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3053         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3055         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3056         instead of explicitly declaring xdecrypt.
3057         * nis/nss_nis/nis-publickey.c: Likewise.
3059 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3061         [BZ #15890]
3062         * nscd/aicache.c: Include res_hconf.h.
3063         (addhstaiX): Initialize res_hconf.
3065 2013-08-26  Andreas Schwab  <schwab@suse.de>
3067         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3068         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3070 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3072         * nscd/aicache.c (addhstaiX): Fix indentation.
3074 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3076         * configure.ac: Quote $build_pt_chown test.
3077         * configure: Regenerated.
3079 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3081         [BZ #15532]
3082         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3083         * math/s_cexpf.c (__cexpf): Likewise.
3084         * math/s_cexpl.c (__cexpl): Likewise.
3085         * math/libm-test.inc (cexp_test_data): Correct expected return
3086         value for NaN + i0.  Add another test.
3088 2013-08-22  David S. Miller  <davem@davemloft.net>
3090         * po/ca.po: Update Catalan translation from translation project.
3091         * po/uk.po: Add Ukrainian translations from translation project.
3093 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3095         [BZ #15797]
3096         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3097         is infinite, not alongside NaN test.
3098         * math/s_fdimf.c (__fdimf): Likewise.
3099         * math/s_fdiml.c (__fdiml): Likewise.
3100         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3101         errno is unchanged.
3103 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3105         * argp/argp-help.c: Fix typos.
3106         * crypt/speeds.c: Likewise.
3107         * csu/check_fds.c: Likewise.
3108         * elf/dl-load.c: Likewise.
3109         * elf/dl-open.c: Likewise.
3110         * elf/reldep3.c: Likewise.
3111         * elf/reldep.c: Likewise.
3112         * elf/sprof.c: Likewise.
3113         * iconv/iconv_charmap.c: Likewise.
3114         * iconv/skeleton.c: Likewise.
3115         * iconv/strtab.c: Likewise.
3116         * io/lockf64.c: Likewise.
3117         * libio/libioP.h: Likewise.
3118         * resolv/gai_notify.c: Likewise.
3119         * resolv/ns_name.c: Likewise.
3120         * resolv/ns_samedomain.c: Likewise.
3121         * resolv/res_send.c: Likewise.
3122         * stdlib/random.c: Likewise.
3123         * sunrpc/rpc/xdr.h: Likewise.
3124         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3125         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3126         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3127         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3128         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3129         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3130         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3131         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3132         * sysdeps/mach/hurd/check_fds.c: Likewise.
3133         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3134         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3135         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3136         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3137         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3138         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3139         * sysdeps/pthread/aio_notify.c: Likewise.
3140         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3141         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3142         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3143         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3144         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3146 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3148         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3149         version if bit_Slow_SSE4_2 is set.
3150         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3151         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3153 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3155         [BZ #15867]
3156         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3157         trampoline stack frame information.
3158         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3159         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3160         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3161         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3162         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3163         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3164         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3165         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3166         sa_flags value.
3167         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3168         interrupting a syscall and set with option SA_SIGINFO.
3170 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3172         [BZ #15531]
3173         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3174         argument is infinite.
3175         * math/s_cprojf.c (__cprojf): Likewise.
3176         * math/s_cprojl.c (__cprojl): Likewise.
3177         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3178         * math/libm-test.inc (cproj_test_data): Add more tests.
3180         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3182         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3183         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3184         size.  Use __ffs to determine corresponding shift.
3186 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3187             Roland McGrath  <roland@hack.frob.com>
3189         * Makefile (INSTALL): Remove trailing blank lines from output of
3190         makeinfo.
3192 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3194         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3195         Align 32 bit compat elf_greg to 8 bytes.
3197 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3199         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3201 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3203         * string/strcoll_l.c (coll_seq): New structure.
3204         (get_next_seq_cached): New function.
3205         (get_next_seq): New function.
3206         (do_compare): New function.
3207         (STRCOLL): Use GNU style definition.  Simplify implementation
3208         by using get_next_seq, get_next_seq_cached and do_compare.
3210 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3212         [BZ #14699]
3213         CVE-2013-4237
3214         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3215         member.
3216         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3217         member.
3218         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3219         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3220         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3221         conditional.
3222         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3223         GETDENTS_64BIT_ALIGNED.
3224         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3225         * manual/filesys.texi (Reading/Closing Directory): Document
3226         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3227         strongly.
3228         * manual/conf.texi (Limits for Files): Add portability note to
3229         NAME_MAX, PATH_MAX.
3230         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3232 2013-08-13  Andreas Schwab  <schwab@suse.de>
3234         [BZ #15749]
3235         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3236         of fabs.
3237         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3238         LDBL_MAX_EXP >= 16384]: Add tests for it.
3240 2013-08-12  David S. Miller  <davem@davemloft.net>
3242         * version.h (RELEASE): Set to "development".
3243         (VERSION): Set to "2.18.90".
3244         * NEWS: Add 2.19 section.
3246 2013-08-03  David S. Miller  <davem@davemloft.net>
3248         * po/ko.po: Update Korean translation from translation project.
3250 2013-08-01  David S. Miller  <davem@davemloft.net>
3252         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3253         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3254         Bilka.
3256 2013-07-30  David S. Miller  <davem@davemloft.net>
3258         * po/fr.po: Update French translation from translation project.
3260 2013-07-28  David S. Miller  <davem@davemloft.net>
3262         * po/cs.po: Update Czech translation from translation project.
3264         * po/sv.po: Update Swedish translation from translation project.
3266 2013-07-27  David S. Miller  <davem@davemloft.net>
3268         * po/eo.po: Update Esperanto translation from translation project.
3270         * po/vi.po: Update Vietnamese translation from translation project.
3272         * po/de.po: Update German translation from translation project.
3274 2013-07-26  David S. Miller  <davem@davemloft.net>
3276         * po/bg.po: Update Bulgarian translation from translation project.
3278         * po/nl.po: Update Dutch translation from translation project.
3279         * po/pl.po: Update Polish translation from translation project.
3280         * po/ru.po: Update Russian translation from translation project.
3282 2013-07-24  David S. Miller  <davem@davemloft.net>
3284         * po/libc.pot: Update.
3286 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3288         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3289         variable page size.
3290         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3291         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3292         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3294 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3296         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3298 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3299             Andreas Schwab  <schwab@suse.de>
3300             Roland McGrath  <roland@hack.frob.com>
3301             Joseph Myers  <joseph@codesourcery.com>
3302             Carlos O'Donell  <carlos@redhat.com>
3304         [BZ #15755]
3305         * config.h.in: Define HAVE_PT_CHOWN.
3306         * config.make.in (build-pt-chown): New variable.
3307         * configure.in (--enable-pt_chown): New configure option.
3308         * configure: Regenerate.
3309         * login/Makefile: Include Makeconfig.  Build pt_chown only if
3310         build-pt-chown is enabled.
3311         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3312         pt_chown to fix pty ownership.
3313         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3314         CLOSE_ALL_FDS.
3315         * manual/install.texi (Configuring and compiling): Mention
3316         --enable-pt_chown. Add @findex for grantpt.
3317         * INSTALL: Regenerate.
3319 2013-07-20  David S. Miller  <davem@davemloft.net>
3321         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3322         difference between 32-bit and 64-bit.
3324 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
3326         [BZ #15711]
3327         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3328         Avoid system header dependency with -ffreestanding.
3329         ($(objpfx)bits/syscall%d): Likewise.
3331 2013-07-13  David S. Miller  <davem@davemloft.net>
3333         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3334         underflows from atanl/atan2l due to bug 15319.
3335         (casinh_test_data): Likewise.
3337 2013-07-07  David S. Miller  <davem@davemloft.net>
3339         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3341 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3343         * sysdeps/i386/fpu/libm-test-ulps: Update.
3344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3346 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3348         * configure.in (--enable-lock-elision): Fix message text.
3349         * INSTALL: Regenerate.
3350         * configure: Regenerate.
3352 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3356 2013-07-03  Andreas Jaeger  <aj@suse.de>
3358         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3359         define.
3360         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3361         (ptrace_peeksiginfo_args): Add.
3362         (__ptrace_peeksiginfo_flags): Add.
3363         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3364         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3365         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3367 2013-07-03  Allan McRae  <allan@archlinux.org>
3369         * sysdeps/i386/fpu/libm-test-ulps: Update.
3371 2013-07-02  David S. Miller  <davem@davemloft.net>
3373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3375 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3379 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3381         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3384 2013-07-02  Andi Kleen <ak@linux.intel.com>
3386         * config.h.in (ENABLE_LOCK_ELISION): Add.
3387         * configure.in (--enable-lock-elision): Add option.
3388         * manual/install.texi: Document --enable lock elision.
3389         * configure: Regenerate
3390         * INSTALL: Regenerate.
3392 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3394         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3395         SSE4.2 strcasecmp for libc.a.
3396         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3398 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3400         [BZ #13304]
3401         * soft-fp/op-common.h (_FP_FMA): New macro.
3402         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3403         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3404         (_FP_MUL_MEAT_1_imm): ... here.
3405         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3406         (_FP_MUL_MEAT_1_wide): ... here.
3407         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3408         (_FP_MUL_MEAT_1_hard): ... here.
3409         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3410         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3411         (_FP_MUL_MEAT_2_wide): ... here.
3412         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3413         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3414         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3415         (_FP_MUL_MEAT_2_gmp): ... here.
3416         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3417         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3418         (_FP_MUL_MEAT_4_wide): ... here.
3419         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3420         (_FP_MUL_MEAT_4_gmp): ... here.
3421         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3422         (_FP_WFRACBITS_DW_S): Likewise.
3423         (_FP_WFRACXBITS_DW_S): Likewise.
3424         (_FP_HIGHBIT_DW_S): Likewise.
3425         (FP_FMA_S): Likewise.
3426         (_FP_FRAC_HIGH_DW_S): Likewise.
3427         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3428         (_FP_WFRACBITS_DW_D): Likewise.
3429         (_FP_WFRACXBITS_DW_D): Likewise.
3430         (_FP_HIGHBIT_DW_D): Likewise.
3431         (FP_FMA_D): Likewise.
3432         (_FP_FRAC_HIGH_DW_D): Likewise.
3433         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3434         (_FP_WFRACBITS_DW_E): Likewise.
3435         (_FP_WFRACXBITS_DW_E): Likewise.
3436         (_FP_HIGHBIT_DW_E): Likewise.
3437         (FP_FMA_E): Likewise.
3438         (_FP_FRAC_HIGH_DW_E): Likewise.
3439         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3440         (_FP_WFRACBITS_DW_Q): Likewise.
3441         (_FP_WFRACXBITS_DW_Q): Likewise.
3442         (_FP_HIGHBIT_DW_Q): Likewise.
3443         (FP_FMA_Q): Likewise.
3444         (_FP_FRAC_HIGH_DW_Q): Likewise.
3445         * soft-fp/fmasf4.c: New file.
3446         * soft-fp/fmadf4.c: Likewise.
3447         * soft-fp/fmatf4.c: Likewise.
3449 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3452         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3453         Silvermont.
3454         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3455         macro.
3456         (index_Slow_SSE4_2): Likewise.
3457         (index_Prefer_PMINUB_for_stringop): Likewise.
3458         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3459         bit_Slow_SSE4_2 is set.
3460         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3461         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3463 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3465         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3466         rtld_global._dl_hwcap2.
3467         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3468         POWER8.
3469         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3470         POWER8 feature descriptions defined in _dl_hwcap2.
3471         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3472         string handling for POWER8 feature bits.
3473         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3474         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3475         _dl_powerpc_cap_flags.
3476         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3477         * sysdeps/powerpc/rtld-global-offsets.sym
3478         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3479         _dl_hwcap2 in the rtld_global_ro structure.
3481 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3483         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3484         hardware capabilities in support of AT_HWCAP2.
3485         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3486         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3487         GLRO(dl_hwcap2).
3488         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3489         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3490         explicitly the unknown a_type display mechanism is used.
3491         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3492         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3493         struct member.
3494         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3495         to macro prototype for AT_HWCAP2 support.
3496         * sysdeps/i386/dl-procinfo.h: Likewise.
3497         * sysdeps/s390/dl-procinfo.h: Likewise.
3498         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3499         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3500         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3501         return -1 for unknown a_type display fallback.
3502         * sysdeps/sparc/dl-procinfo.h: Likewise.
3503         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3504         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3506 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3508         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3509         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3511 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3513         [BZ #12492]
3514         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3515         mprotect making __stack_prot writable.
3517 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3518             Joseph Myers  <joseph@codesourcery.com>
3520         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3521         as being properly aligned.
3523 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3525         * dlfcn/modstatic5.c: New file.
3526         * dlfcn/tststatic5.c: New file.
3527         * dlfcn/Makefile (tests): Add tststatic5.
3528         (tests-static): Likewise.
3529         (modules-names): Add modstatic5.
3530         (tststatic5-ENV): New variable.
3531         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3533         [BZ #15022]
3534         * elf/dl-support.c (_dl_main_map): New variable.
3535         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3536         (_dl_nns, _dl_load_adds): Set to 1.
3537         (_dl_initial_searchlist): Refer to _dl_main_map.
3538         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3539         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3540         call to _dl_get_origin.
3541         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3542         around call_map.
3543         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3544         * dlfcn/modstatic3.c: New file.
3545         * dlfcn/tststatic3.c: New file.
3546         * dlfcn/tststatic4.c: New file.
3547         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3548         (tests-static): Likewise.
3549         (modules-names): Add modstatic3.
3550         (tststatic3-ENV, tststatic4-ENV): New variables.
3551         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3552         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3554 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3556         * configure.in (CC): Require GCC version 4.4 or later.
3557         * configure: Regenerated.
3558         * manual/install.texi (Tools for Compilation): Update GCC version
3559         requirement.
3560         * INSTALL: Regenerated.
3562 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3564         [BZ #15674]
3565         * string/test-memcmp.c (check2): New.
3566         (main): Call check2.
3568         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3570 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3572         [BZ #15022]
3573         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3574         over to...
3575         (dl_open_worker) [!SHARED]: ... here.
3577 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3579         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3581 2013-06-25  Richard Henderson  <rth@redhat.com>
3583         * locale/programs/locarchive.c: Include <libc-internal.h>
3585 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3587         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3588         trailing whitespace removed.
3590 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3592         [BZ #10283]
3593         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3594         * locale/programs/locarchive.c: Include libc-mmap.h.
3595         (prepare_address_space): Take two new outputs (the mmap base and len).
3596         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3597         values.
3598         (create_archive): Declare new mmap base and len values for
3599         prepare_address_space, and store the result in ah.
3600         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3601         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3602         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3603         Declare new mmap base and len values for
3604         prepare_address_space, and store the result in new_ah.
3605         (open_archive): Declare new mmap base and len values for
3606         prepare_address_space, and store the result in ah.
3607         (close_archive): If ah->mmap_base is not NULL, use that and
3608         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3609         * sysdeps/generic/libc-mmap.h: New file.
3611 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3613         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3614         (ALIGN_UP): Likewise.
3615         (PTR_ALIGN_DOWN): Likewise.
3616         (PTR_ALIGN_UP): Likewise.
3618 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3620         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3621         entry mapped to PPC_PLATFORM_POWER8.
3622         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3623         POWER8.
3624         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3625         (_dl_string_platform): Add case for exporting platform position for
3626         POWER8.
3627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3628         search path to sysdeps/powerpc/powerpc32/power8 directory.
3629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3630         search path to sysdeps/powerpc/powerpc64/power8 directory.
3631         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3632         power7 directories.
3633         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3634         power7 directories.
3636 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3638         * INSTALL: Regenerate.
3640         * nscd/connections.c (nscd_init): Fix comment.
3642 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3644         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3646         [BZ #15667]
3647         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3648         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3650 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3652         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3653         DL_DST_REQ_STATIC.
3654         (DL_DST_REQ_STATIC): Remove macro.
3656 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3658         [BZ #7006]
3659         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3660         with a shift of 0 bits.
3662 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3664         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3665         $(tststatic-ENV).
3667 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3669         [BZ #15655]
3670         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3672 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3674         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3675         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3676         accepts -fno-tree-loop-distribute-patterns.
3677         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3678         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3679         recursive call.
3680         * string/memset.c (memset): Likewise.
3681         * string/test-memmove.c (simple_memmove): Disable loop transformation
3682         to library calls.
3683         * string/test-memset.c (simple_memset): Likewise.
3684         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3685         * benchtests/bench-memset.c (simple_memset): Likewise.
3686         * configure: Regenerated.
3688 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3690         * math/test-misc.c (main): Ignore fesetround failure when failures
3691         of subsequent rounding tests would be ignored.
3693         [BZ #15654]
3694         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3695         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3696         * math/fegetenv.c (__fegetenv): Return 0.
3697         * math/fegetexcept.c (fegetexcept): Return 0.
3698         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3699         FE_TONEAREST.
3700         * math/feholdexcpt.c (feholdexcept): Return 0.
3701         * math/fesetenv.c (__fesetenv): Return 0.
3702         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3703         argument FE_TONEAREST.
3704         * math/feupdateenv.c (__feupdateenv): Return 0.
3705         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3707 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3709         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3710         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3711         ($(objpfx)rtld-%.os rules): Use them.
3713 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3715         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3716         fields.
3718 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3720         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3721         length of target pattern, then descending length of dependency pattern.
3722         * configure.in (AWK): Require gawk 3.1.2 or newer.
3723         * manual/install.texi (Tools for Compilation): Say that we do.
3724         * configure: Regenerated.
3726         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3727         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3728         * scripts/sysd-rules.awk: ... this new script.
3729         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3730         than a glob-style pattern.
3732 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3734         * math/test-misc.c (main): Do not treat incorrectly rounded
3735         conversions as failure unless ROUNDING_TESTS passes.
3737 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3739         [BZ #15631]
3740         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3741         restore exception state around main square root computation, then
3742         check for inexactness explicitly.
3744         * math/libm-test.inc (fma_test_data): Add another test.
3746 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3748         * manual/threads.texi (Non-POSIX Extensions): New document
3749         node.  Document pthread_getattr_default_np and
3750         pthread_setattr_default_np.
3752         * Versions.def (libpthread): Add GLIBC_2.18.
3753         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3755         Likewise.
3756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3757         Likewise.
3758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3759         Likewise.
3760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3761         Likewise.
3762         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3763         Likewise.
3764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3765         Likewise.
3766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3767         Likewise.
3768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3769         Likewise.
3770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3771         Likewise.
3773 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3776         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3778 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3779             H.J. Lu  <hjl.tools@gmail.com>
3781         [BZ #15627]
3782         * sysdeps/x86_64/rtld-memset.c: Remove file.
3783         * sysdeps/x86_64/rtld-memset.S: New file.
3785 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3787         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3788         (test_in_one_mode): Take arguments for whether the rounding mode
3789         is supported for each floating-point type.
3790         (do_test): Pass new arguments to test_in_one_mode using
3791         ROUNDING_TESTS.
3793 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3795         * posix/tst-waitid.c (do_test): Distinguish different instances of
3796         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3797         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3798         before entering the kernel for waitpid.
3800 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3802         * NEWS: Fix note on clock function precision.  Text by Roland
3803         McGrath.
3805 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3807         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3808         it into place only when and if the sanity check passes.
3810 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3812         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3813         output for whether conversion result is exact.  Take argument
3814         indicating whether type is IBM long double.
3815         (round_for_all): Change need_exact field to ibm_ld.
3816         * stdlib/tst-strtod-round.c (struct exactness): New type.
3817         (struct test): Change bool ld_ok field to struct exactness exact.
3818         (TEST): Update all definitions for change to field.
3819         (tests): Regenerate array contents.
3820         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3821         field value.  Check for IBM long double here.
3822         (do_test): Update calls to test_in_one_mode.
3824 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3826         [BZ #12515]
3827         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3828         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3830 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3832         [BZ #15605]
3833         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3834         generated by the compiler on loop optimizations.
3835         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3836         general definitions.
3838 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3840         * math/bug-nextafter.c: Include <math-tests.h>.
3841         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3842         the relevant type.
3843         * math/bug-nexttoward.c: Include <math-tests.h>.
3844         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3845         the relevant type.
3846         * math/test-misc.c: Include <math-tests.h>.
3847         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3848         the relevant type.
3850 2013-06-12  Andreas Jaeger  <aj@suse.de>
3852         * po/ia.po: Update Interlingua translation from translation
3853         project.
3855 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3857         * include/fenv.h: Include stdbool.h.
3858         (struct rm_ctx): New structure.
3859         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3860         Define macro.
3861         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3862         (SET_RESTORE_ROUNDF): Likewise.
3863         (SET_RESTORE_ROUNDL): Likewise.
3864         (SET_RESTORE_ROUND_NOEX): Likewise.
3865         (SET_RESTORE_ROUND_NOEXF): Likewise.
3866         (SET_RESTORE_ROUND_NOEXL): Likewise.
3867         (SET_RESTORE_ROUND_53BIT): Likewise.
3868         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3869         (libc_feresetround_noexf_ctx): Likewise.
3870         (libc_feresetround_noexl_ctx): Likewise.
3871         (libc_feholdsetround_53bit_ctx): Likewise.
3872         (libc_feresetround_53bit_ctx): Likewise.
3873         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3874         (libc_feholdexcept_setround_sse_ctx): New function.
3875         (libc_fesetenv_sse_ctx): Likewise.
3876         (libc_feupdateenv_sse_ctx): Likewise.
3877         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3878         (libc_feholdexcept_setround_387_ctx): Likewise.
3879         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3880         (libc_feholdsetround_387_prec_ctx): Likewise.
3881         (libc_feholdsetround_387_ctx): Likewise.
3882         (libc_feholdsetround_387_53bit_ctx): Likewise.
3883         (libc_feholdsetround_sse_ctx): Likewise.
3884         (libc_feresetround_sse_ctx): Likewise.
3885         (libc_feresetround_387_ctx): Likewise.
3886         (libc_feupdateenv_387_ctx): Likewise.
3887         (libc_feholdexcept_setroundf_ctx): Define macro.
3888         (libc_fesetenvf_ctx): Likewise.
3889         (libc_feupdateenvf_ctx): Likewise.
3890         (libc_feholdsetroundf_ctx): Likewise.
3891         (libc_feresetroundf_ctx): Likewise.
3892         (libc_feholdexcept_setround_ctx): Likewise.
3893         (libc_fesetenv_ctx): Likewise.
3894         (libc_feupdateenv_ctx): Likewise.
3895         (libc_feholdsetround_ctx): Likewise.
3896         (libc_feresetround_ctx): Likewise.
3897         (libc_feholdexcept_setroundl_ctx): Likewise.
3898         (libc_feupdateenvl_ctx): Likewise.
3899         (libc_feholdsetroundl_ctx): Likewise.
3900         (libc_feresetroundl_ctx): Likewise.
3901         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3902         (libc_feresetround_53bit_ctx): Likewise.
3904 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3906         * locale/iso-639.def: Convert to UTF-8.
3908 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3910         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3911         (EXCEPTION_TESTS_double): Likewise.
3912         (EXCEPTION_TESTS_long_double): Likewise.
3913         (EXCEPTION_TESTS): Likewise.
3914         * math/libm-test.inc (test_exceptions): Only test exceptions if
3915         EXCEPTION_TESTS (FLOAT).
3917 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3919         * benchtests/Makefile (string-bench): Add strcpy_chk and
3920         stpcpy_chk.
3921         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3922         * benchtests/bench-stpcpy_chk.c: New file.
3923         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3924         * benchtests/bench-strcpy_chk.c: New file.
3925         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3926         code.
3927         (do_test): Likewise.
3929 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3931         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3932         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3933         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3934         with tabs where appropriate.
3935         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3936         dl-procinfo.h.
3937         [PPC_PLATFORM_PPC440]: Likewise.
3938         [PPC_PLATFORM_PPC464]: Likewise.
3939         [PPC_PLATFORM_PPC476]: Likewise.
3940         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3941         ppc464, and ppc476 platform strings merging from ports/
3942         dl-procinfo.h.
3944 2013-06-11  Andreas Schwab  <schwab@suse.de>
3946         [BZ #14991]
3947         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3948         (from_ucs4_idx): Regenerate.
3949         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3950         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3951         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3952         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3953         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3954         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3955         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3956         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3957         from FROM_LOOP and TO_LOOP specific macros.
3958         (BODY): Handle combining characters.
3959         * iconvdata/BIG5HKSCS.irreversible: Update.
3960         * iconvdata/BIG5HKSCS.precomposed: New file.
3961         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3962         characters.
3963         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3965 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3967         * include/sys/time.h: Fix indentation and add copyright header.
3969         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3970         (do_test): Likewise.
3971         * string/test-memchr.c (do_one_test): Likewise.
3972         (do_test): Likewise.
3973         * string/test-memcmp.c (do_one_test): Likewise.
3974         (do_test): Likewise.
3975         * string/test-memcpy.c (do_one_test): Likewise.
3976         (do_test): Likewise.
3977         * string/test-memmem.c (do_one_test): Likewise.
3978         (do_test): Likewise.
3979         (do_random_tests): Likewise.
3980         * string/test-memmove.c (do_one_test): Likewise.
3981         (do_test): Likewise.
3982         * string/test-memset.c (do_one_test): Likewise.
3983         (do_test): Likewise.
3984         * string/test-rawmemchr.c (do_one_test): Likewise.
3985         (do_test): Likewise.
3986         * string/test-strcasecmp.c (do_one_test): Likewise.
3987         (do_test): Likewise.
3988         * string/test-strcasestr.c (do_one_test): Likewise.
3989         (do_test): Likewise.
3990         * string/test-strcat.c (do_one_test): Likewise.
3991         (do_test): Likewise.
3992         * string/test-strchr.c (do_one_test): Likewise.
3993         (do_test): Likewise.
3994         * string/test-strcmp.c (do_one_test): Likewise.
3995         (do_test): Likewise.
3996         * string/test-strcpy.c (do_one_test): Likewise.
3997         (do_test): Likewise.
3998         * string/test-string.h: Likewise.
3999         (test_init): Likewise.
4000         * string/test-strlen.c (do_one_test): Likewise.
4001         (do_test): Likewise.
4002         * string/test-strncasecmp.c (do_one_test): Likewise.
4003         (do_test): Likewise.
4004         * string/test-strncat.c (do_one_test): Likewise.
4005         (do_test): Likewise.
4006         * string/test-strncmp.c (do_one_test): Likewise.
4007         (do_test_limit): Likewise.
4008         (do_test): Likewise.
4009         * string/test-strncpy.c (do_one_test): Likewise.
4010         (do_test): Likewise.
4011         * string/test-strnlen.c (do_one_test): Likewise.
4012         (do_test): Likewise.
4013         * string/test-strpbrk.c (do_one_test): Likewise.
4014         (do_test): Likewise.
4015         * string/test-strrchr.c (do_one_test): Likewise.
4016         (do_test): Likewise.
4017         * string/test-strspn.c (do_one_test): Likewise.
4018         (do_test): Likewise.
4019         * string/test-strstr.c (do_one_test): Likewise.
4020         (do_test): Likewise.
4022         * benchtests/Makefile (string-bench): Add string benchmarks.
4023         * benchtests/bench-bcopy-ifunc.c: New file.
4024         * benchtests/bench-bcopy.c: New file.
4025         * benchtests/bench-bzero-ifunc.c: New file.
4026         * benchtests/bench-bzero.c: New file.
4027         * benchtests/bench-memccpy-ifunc.c: New file.
4028         * benchtests/bench-memccpy.c: New file.
4029         * benchtests/bench-memchr-ifunc.c: New file.
4030         * benchtests/bench-memchr.c: New file.
4031         * benchtests/bench-memcmp-ifunc.c: New file.
4032         * benchtests/bench-memcmp.c: New file.
4033         * benchtests/bench-memmem-ifunc.c: New file.
4034         * benchtests/bench-memmem.c: New file.
4035         * benchtests/bench-memmove-ifunc.c: New file.
4036         * benchtests/bench-memmove.c: New file.
4037         * benchtests/bench-mempcpy-ifunc.c: New file.
4038         * benchtests/bench-mempcpy.c: New file.
4039         * benchtests/bench-memset-ifunc.c: New file.
4040         * benchtests/bench-memset.c: New file.
4041         * benchtests/bench-rawmemchr-ifunc.c: New file.
4042         * benchtests/bench-rawmemchr.c: New file.
4043         * benchtests/bench-stpcpy-ifunc.c: New file.
4044         * benchtests/bench-stpcpy.c: New file.
4045         * benchtests/bench-stpncpy-ifunc.c: New file.
4046         * benchtests/bench-stpncpy.c: New file.
4047         * benchtests/bench-strcasecmp-ifunc.c: New file.
4048         * benchtests/bench-strcasecmp.c: New file.
4049         * benchtests/bench-strcasestr-ifunc.c: New file.
4050         * benchtests/bench-strcasestr.c: New file.
4051         * benchtests/bench-strcat-ifunc.c: New file.
4052         * benchtests/bench-strcat.c: New file.
4053         * benchtests/bench-strchr-ifunc.c: New file.
4054         * benchtests/bench-strchr.c: New file.
4055         * benchtests/bench-strchrnul-ifunc.c: New file.
4056         * benchtests/bench-strchrnul.c: New file.
4057         * benchtests/bench-strcmp-ifunc.c: New file.
4058         * benchtests/bench-strcmp.c: New file.
4059         * benchtests/bench-strcpy-ifunc.c: New file.
4060         * benchtests/bench-strcpy.c: New file.
4061         * benchtests/bench-strcspn-ifunc.c: New file.
4062         * benchtests/bench-strcspn.c: New file.
4063         * benchtests/bench-strlen-ifunc.c: New file.
4064         * benchtests/bench-strlen.c: New file.
4065         * benchtests/bench-strncasecmp-ifunc.c: New file.
4066         * benchtests/bench-strncasecmp.c: New file.
4067         * benchtests/bench-strncat-ifunc.c: New file.
4068         * benchtests/bench-strncat.c: New file.
4069         * benchtests/bench-strncmp-ifunc.c: New file.
4070         * benchtests/bench-strncmp.c: New file.
4071         * benchtests/bench-strncpy-ifunc.c: New file.
4072         * benchtests/bench-strncpy.c: New file.
4073         * benchtests/bench-strnlen-ifunc.c: New file.
4074         * benchtests/bench-strnlen.c: New file.
4075         * benchtests/bench-strpbrk-ifunc.c: New file.
4076         * benchtests/bench-strpbrk.c: New file.
4077         * benchtests/bench-strrchr-ifunc.c: New file.
4078         * benchtests/bench-strrchr.c: New file.
4079         * benchtests/bench-strspn-ifunc.c: New file.
4080         * benchtests/bench-strspn.c: New file.
4081         * benchtests/bench-strstr-ifunc.c: New file.
4082         * benchtests/bench-strstr.c: New file.
4084         * benchtests/Makefile: Disable parallel execution of targets.
4085         (string-bench): Add memcpy.
4086         (benchset): New variable to store a list of benchmark sets.
4087         (bench-func): Renamed from bench.
4088         (bench-set): New target.
4089         (bench): Depend on bench-func and bench-set.
4090         * benchtests/README: Add section on benchmark sets.
4091         * benchtests/bench-memcpy-ifunc.c: New file.
4092         * benchtests/bench-memcpy.c: New file.
4093         * benchtests/bench-string.h: New file.
4095 2013-06-11  Andreas Schwab  <schwab@suse.de>
4097         [BZ #15577]
4098         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4099         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4100         values in the triple.
4101         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4102         terminator in the group key.
4104 2013-06-11  Andreas Jaeger  <aj@suse.de>
4106         * po/zh_TW.po: Update Chinese (traditional) translation from
4107         translation project.
4109 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4111         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4112         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4113         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4114         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4115         (clock_getcpuclockid): Likewise.
4116         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4117         Add weak_alias and libc_hidden_def.
4118         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4119         * rt/clock_gettime.c (clock_gettime): Rename to
4120         __clock_gettime.  Add weak_alias and libc_hidden_def.
4121         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4122         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4123         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4124         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4125         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4126         Likewise.
4127         * rt/clock_settime.c (clock_settime): Rename to
4128         __clock_settime.  Add weak_alias and libc_hidden_def.
4129         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4131 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4133         * mach/err_boot.sub: Remove trailing whitespace.
4134         * mach/err_ipc.sub: Likewise.
4135         * mach/err_mach.sub: Likewise.
4137         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4138         (ROUNDING_TESTS_double): Likewise.
4139         (ROUNDING_TESTS_long_double): Likewise.
4140         (ROUNDING_TESTS): Likewise.
4141         * math/libm-test.inc: Include <math-tests.h>.
4142         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4143         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4144         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4145         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4147 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4149         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4150         of assigning.
4152 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4154         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4155         otherwise empty TRANS lines.
4156         * sysdeps/gnu/errlist.c: Regenerated.
4158         * catgets/gencat.c (error_print): Use (void) in function
4159         definition.
4160         * crypt/crypt_util.c (__init_des): Likewise.
4161         * crypt/speeds.c (Stop): Likewise.
4162         (main): Likewise.
4163         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4164         * inet/ruserpass.c (token): Likewise.
4165         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4166         * intl/localealias.c (extend_alias_table): Likewise.
4167         * intl/plural-exp.c (init_germanic_plural): Likewise.
4168         * libio/fcloseall.c (__fcloseall): Likewise.
4169         * libio/genops.c (_IO_flush_all): Likewise.
4170         (_IO_flush_all_linebuffered): Likewise.
4171         (_IO_cleanup): Likewise.
4172         (_IO_iter_begin): Likewise.
4173         (_IO_iter_end): Likewise.
4174         (_IO_list_lock): Likewise.
4175         (_IO_list_unlock): Likewise.
4176         (_IO_list_resetlock): Likewise.
4177         * libio/getchar.c (getchar): Likewise.
4178         * libio/getchar_u.c (getchar_unlocked): Likewise.
4179         * libio/getwchar.c (getwchar): Likewise.
4180         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4181         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4182         * login/getpt.c (__getpt): Likewise.
4183         * login/tst-utmp.c (main): Likewise.
4184         * malloc/hooks.c (__malloc_check_init): Likewise.
4185         * malloc/malloc.c (__malloc_stats): Likewise.
4186         * malloc/mtrace.c (tr_break): Likewise.
4187         (mtrace): Likewise.
4188         (muntrace): Likewise.
4189         * misc/fstab.c (endfsent): Likewise.
4190         * misc/getclktck.c (__getclktck): Likewise.
4191         * misc/getdtsz.c (__getdtablesize): Likewise.
4192         * misc/gethostid.c (gethostid): Likewise.
4193         * misc/getpagesize.c (__getpagesize): Likewise.
4194         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4195         (__get_nprocs): Likewise.
4196         (__get_phys_pages): Likewise.
4197         (__get_avphys_pages): Likewise.
4198         * misc/getttyent.c (getttyent): Likewise.
4199         (setttyent): Likewise.
4200         (endttyent): Likewise.
4201         * misc/getusershell.c (getusershell): Likewise.
4202         (endusershell): Likewise.
4203         (setusershell): Likewise.
4204         (initshells): Likewise.
4205         * misc/hsearch.c (__hdestroy): Likewise.
4206         * misc/sync.c (sync): Likewise.
4207         * misc/syslog.c (closelog_internal): Likewise.
4208         (closelog): Likewise.
4209         * misc/ttyslot.c (ttyslot): Likewise.
4210         * misc/vhangup.c (vhangup): Likewise.
4211         * posix/fork.c (__fork): Likewise.
4212         * posix/getegid.c (__getegid): Likewise.
4213         * posix/geteuid.c (__geteuid): Likewise.
4214         * posix/getgid.c (__getgid): Likewise.
4215         * posix/getpid.c (__getpid): Likewise.
4216         * posix/getppid.c (__getppid): Likewise.
4217         * posix/getuid.c (__getuid): Likewise.
4218         * posix/pause.c (pause): Likewise.
4219         * posix/setpgrp.c (setpgrp): Likewise.
4220         * posix/setsid.c (__setsid): Likewise.
4221         * posix/test-vfork.c (noop): Likewise.
4222         * resolv/gethnamaddr.c (_endhtent): Likewise.
4223         (_gethtent): Likewise.
4224         (ht_endhostent): Likewise.
4225         (gethostent): Likewise.
4226         (dns_service): Likewise.
4227         * stdlib/drand48.c (drand48): Likewise.
4228         * stdlib/lrand48.c (lrand48): Likewise.
4229         * stdlib/mrand48.c (mrand48): Likewise.
4230         * stdlib/rand.c (rand): Likewise.
4231         * stdlib/random.c (__random): Likewise.
4232         * stdlib/setenv.c (clearenv): Likewise.
4233         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4234         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4235         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4236         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4237         (__get_nprocs): Likewise.
4238         (__get_phys_pages): Likewise.
4239         (__get_avphys_pages): Likewise.
4240         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4241         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4242         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4243         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4244         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4245         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4246         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4247         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4248         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4249         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4250         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4251         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4252         * sysdeps/posix/clock.c (clock): Likewise.
4253         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4254         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4255         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4256         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4257         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4258         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4259         (__get_nprocs_conf): Likewise.
4260         (__get_phys_pages): Likewise.
4261         (__get_avphys_pages): Likewise.
4262         * time/clock.c (clock): Likewise.
4263         * time/tzset.c (__tzname_max): Likewise.
4265 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4267         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4268         (__bswap_32): Do not use "register".
4269         * crypt/crypt.c (_ufc_doit_r): Likewise.
4270         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4271         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4272         * gmon/gmon.c (__monstartup): Likewise.
4273         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4274         * hurd/hurdmalloc.c (more_memory): Likewise.
4275         (malloc): Likewise.
4276         (free): Likewise.
4277         (realloc): Likewise.
4278         (malloc_fork_prepare): Likewise.
4279         (malloc_fork_parent): Likewise.
4280         (malloc_fork_child): Likewise.
4281         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4282         (_svcauth_des): Likewise.
4283         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4284         * inet/inet_net.c (inet_network): Likewise.
4285         * inet/inet_netof.c (inet_netof): Likewise.
4286         * inet/rcmd.c (__validuser2_sa): Likewise.
4287         * io/fts.c (fts_open): Likewise.
4288         (fts_load): Likewise.
4289         (fts_close): Likewise.
4290         (fts_read): Likewise.
4291         (fts_children): Likewise.
4292         (fts_build): Likewise.
4293         (fts_stat): Likewise.
4294         (fts_sort): Likewise.
4295         (fts_alloc): Likewise.
4296         (fts_lfree): Likewise.
4297         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4298         (_IO_file_xsgetn): Likewise.
4299         (_IO_file_xsgetn_mmap): Likewise.
4300         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4301         (_IO_cookie_write): Likewise.
4302         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4303         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4304         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4305         * malloc/obstack.c (_obstack_begin): Likewise.
4306         (_obstack_begin_1): Likewise.
4307         (_obstack_newchunk): Likewise.
4308         (_obstack_allocated_p): Likewise.
4309         (obstack_free): Likewise.
4310         (_obstack_memory_used): Likewise.
4311         * misc/getttyent.c (getttynam): Likewise.
4312         (getttyent): Likewise.
4313         (skip): Likewise.
4314         (value): Likewise.
4315         * misc/getusershell.c (initshells): Likewise.
4316         * misc/syslog.c (__vsyslog_chk): Likewise.
4317         * misc/ttyslot.c (ttyslot): Likewise.
4318         * nis/nis_hash.c (__nis_hash): Likewise.
4319         * posix/fnmatch_loop.c (FCT): Likewise.
4320         * posix/getconf.c (print_all): Likewise.
4321         (main): Likewise.
4322         * posix/getopt.c (exchange): Likewise.
4323         * posix/glob.c (globfree): Likewise.
4324         (prefix_array): Likewise.
4325         (__glob_pattern_type): Likewise.
4326         * resolv/arpa/nameser.h (NS_GET16): Likewise.
4327         (NS_GET32): Likewise.
4328         (NS_PUT16): Likewise.
4329         (NS_PUT32): Likewise.
4330         * resolv/gethnamaddr.c (getanswer): Likewise.
4331         (gethostbyname2): Likewise.
4332         (gethostbyaddr): Likewise.
4333         (_gethtent): Likewise.
4334         (_gethtbyname2): Likewise.
4335         (_gethtbyaddr): Likewise.
4336         * resolv/ns_print.c (dst_s_get_int16): Likewise.
4337         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4338         * resolv/res_init.c (__res_vinit): Likewise.
4339         (net_mask): Likewise.
4340         * resolv/res_mkquery.c (outchar): Likewise.
4341         (PRINT): Likewise.
4342         * stdio-common/printf_fp.c (outchar): Likewise.
4343         (PRINT): Likewise.
4344         * stdio-common/printf_fphex.c (outchar): Likewise.
4345         (PRINT): Likewise.
4346         * stdio-common/printf_size.c (outchar): Likewise.
4347         (PRINT): Likewise.
4348         * stdio-common/test_rdwr.c (main): Likewise.
4349         * stdio-common/tfformat.c (matches): Likewise.
4350         * stdio-common/vfprintf.c (outchar): Likewise.
4351         (printf_unknown): Likewise.
4352         (buffered_vfprintf): Likewise.
4353         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4354         * stdio-common/xbug.c (AppendToBuffer): Likewise.
4355         (ReadFile): Likewise.
4356         * stdlib/qsort.c (SWAP): Likewise.
4357         (_quicksort): Likewise.
4358         * stdlib/setenv.c (__add_to_environ): Likewise.
4359         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4360         * stdlib/strtol_l.c (__strtol_l): Likewise.
4361         * stdlib/tst-strtod.c (main): Likewise.
4362         * stdlib/tst-strtol.c (main): Likewise.
4363         * stdlib/tst-strtoll.c (main): Likewise.
4364         * string/bits/string2.h (__strcmp_cc): Likewise.
4365         (__strcmp_cg): Likewise.
4366         (__strcspn_c1): Likewise.
4367         (__strcspn_c2): Likewise.
4368         (__strcspn_c3): Likewise.
4369         (__strspn_c1): Likewise.
4370         (__strspn_c2): Likewise.
4371         (__strspn_c3): Likewise.
4372         (__strsep_1c): Likewise.
4373         (__strsep_2c): Likewise.
4374         (__strsep_3c): Likewise.
4375         * string/memccpy.c (__memccpy): Likewise.
4376         * string/stpcpy.c (__stpcpy): Likewise.
4377         * string/strcmp.c (strcmp): Likewise.
4378         * string/strrchr.c (strrchr): Likewise.
4379         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4380         Likewise.
4381         * sysdeps/mach/hurd/getcwd.c
4382         (_hurd_canonicalize_directory_name_internal): Likewise.
4383         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4384         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4385         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4386         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4387         Likewise, in both definitions.
4388         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4389         definitions.
4390         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4391         64] (__bswap_64): Likewise.
4392         * time/test_time.c (main): Likewise.
4393         * time/tzfile.c (__tzfile_read): Likewise.
4394         (__tzfile_compute): Likewise.
4395         * time/tzset.c (__tzset_parse_tz): Likewise.
4396         (tzset_internal): Likewise.
4397         (compute_change): Likewise.
4398         * wcsmbs/wcscat.c (__wcscat): Likewise.
4399         * wcsmbs/wcschr.c (wcschr): Likewise.
4400         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4401         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4402         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4403         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4404         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4405         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4406         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4407         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4408         * wcsmbs/wmemset.c (wmemset): Likewise.
4410 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4412         * scripts/config.guess: Update to version 2013-05-16.
4413         * scripts/config.sub: Update to version 2013-04-24.
4414         * scripts/install-sh: Update to version 2011-11-20.07.
4415         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4416         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4418 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4420         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4421         * elf/sln.c: Likewise.
4422         * hurd/hurd/ioctl.h: Likewise.
4423         * hurd/hurdmalloc.c: Likewise.
4424         * hurd/xattr.c: Likewise.
4425         * include/shlib-compat.h: Likewise.
4426         * inet/ruserpass.c: Likewise.
4427         * libio/iofgets_u.c: Likewise.
4428         * libio/iofgetws_u.c: Likewise.
4429         * locale/programs/ld-identification.c: Likewise.
4430         * locale/programs/ld-time.c: Likewise.
4431         * mach/msg-destroy.c: Likewise.
4432         * nss/nss_files/files-netgrp.c: Likewise.
4433         * resolv/res_data.c: Likewise.
4434         * soft-fp/op-1.h: Likewise.
4435         * soft-fp/op-2.h: Likewise.
4436         * soft-fp/op-4.h: Likewise.
4437         * soft-fp/op-common.h: Likewise.
4438         * stdio-common/printf_fphex.c: Likewise.
4439         * stdlib/strtod_l.c: Likewise.
4440         * sunrpc/rpc/clnt.h: Likewise.
4441         * sysdeps/generic/framestate.c: Likewise.
4442         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4443         * sysdeps/i386/bsd-setjmp.S: Likewise.
4444         * sysdeps/i386/__longjmp.S: Likewise.
4445         * sysdeps/i386/setjmp.S: Likewise.
4446         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4447         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4448         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4449         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4451         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4452         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4453         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4455         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4456         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4457         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4458         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4459         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4460         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4461         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4462         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4463         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4464         * sysdeps/ieee754/support.c: Likewise.
4465         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4466         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4467         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4468         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4469         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4470         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4471         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4472         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4473         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4474         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4475         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4476         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4477         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4478         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4479         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4480         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4481         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4484 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4486         * posix/transbug.c: Remove executable mode.
4488 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4490         * crypt/speeds.c: Remove trailing whitespace.
4491         * dlfcn/default.c: Likewise.
4492         * elf/ifuncdep2.c: Likewise.
4493         * elf/ifuncmain1.c: Likewise.
4494         * elf/ifuncmain1vis.c: Likewise.
4495         * elf/testobj.h: Likewise.
4496         * elf/tst-stackguard1.c: Likewise.
4497         * gmon/sys/gmon.h: Likewise.
4498         * hurd/hurdmsg.c: Likewise.
4499         * hurd/new-fd.c: Likewise.
4500         * hurd/ports-get.c: Likewise.
4501         * iconvdata/ibm1008_420.c: Likewise.
4502         * inet/tst-getni1.c: Likewise.
4503         * inet/tst-getni2.c: Likewise.
4504         * libio/ioungetc.c: Likewise.
4505         * libio/wfiledoalloc.c: Likewise.
4506         * manual/libm-err-tab.pl: Likewise.
4507         * math/w_dremf.c: Likewise.
4508         * misc/ftruncate.c: Likewise.
4509         * posix/bug-glob2.c: Likewise.
4510         * posix/tst-pcre.c: Likewise.
4511         * posix/wait4.c: Likewise.
4512         * resolv/README: Likewise.
4513         * resolv/res_debug.h: Likewise.
4514         * resolv/tst-inet_ntop.c: Likewise.
4515         * setjmp/bug269-setjmp.c: Likewise.
4516         * soft-fp/extended.h: Likewise.
4517         * soft-fp/op-1.h: Likewise.
4518         * soft-fp/op-2.h: Likewise.
4519         * soft-fp/op-4.h: Likewise.
4520         * soft-fp/op-8.h: Likewise.
4521         * soft-fp/testit.c: Likewise.
4522         * stdio-common/bug16.c: Likewise.
4523         * stdlib/random.c: Likewise.
4524         * sunrpc/rpcsvc/rquota.x: Likewise.
4525         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4526         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4527         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4528         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4529         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4530         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4531         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4532         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4533         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4534         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4535         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4536         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4537         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4538         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4539         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4540         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4541         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4542         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4543         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4544         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4545         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4546         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4547         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4548         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4549         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4550         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4551         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4552         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4553         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4554         * sysdeps/ieee754/s_lib_version.c: Likewise.
4555         * sysdeps/mach/hurd/check_fds.c: Likewise.
4556         * sysdeps/mach/hurd/getsockname.c: Likewise.
4557         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4558         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4559         * sysdeps/powerpc/bits/link.h: Likewise.
4560         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4561         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4562         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4563         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4564         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4565         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4566         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4567         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4568         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4569         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4570         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4571         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4572         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4573         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4574         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4575         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4576         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4577         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4578         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4579         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4580         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4581         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4582         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4583         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4584         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4585         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4586         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4587         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4588         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4589         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4590         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4591         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4592         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4593         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4594         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4595         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4596         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4597         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4598         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4599         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4600         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4601         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4602         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4603         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4604         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4605         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4606         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4607         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4608         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4609         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4611         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4612         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4613         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4614         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4615         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4616         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4617         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4618         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4619         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4620         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4621         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4622         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4623         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4624         * sysdeps/powerpc/sysdep.h: Likewise.
4625         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4626         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4627         * sysdeps/sh/dl-trampoline.S: Likewise.
4628         * sysdeps/sh/memset.S: Likewise.
4629         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4630         * sysdeps/sh/strlen.S: Likewise.
4631         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4632         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4633         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4634         * sysdeps/sparc/sparc32/rem.S: Likewise.
4635         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4636         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4637         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4638         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4639         * sysdeps/sparc/sparc32/urem.S: Likewise.
4640         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4641         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4642         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4643         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4644         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4645         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4646         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4647         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4648         * sysdeps/unix/bsd/times.c: Likewise.
4649         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4650         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4654         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4655         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4656         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4657         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4658         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4659         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4660         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4661         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4662         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4663         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4664         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4665         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4666         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4667         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4668         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4669         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4670         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4671         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4672         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4673         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4674         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4675         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4676         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4677         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4678         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4679         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4680         * sysdeps/x86_64/strcspn.S: Likewise.
4682 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4684         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4685         generated file.  Regenerate properly from gen-translit.pl.
4686         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4687         locale/C-translit.h.
4689 2013-06-05  Andreas Schwab  <schwab@suse.de>
4691         [BZ #15100]
4692         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4693         week as 6 instead of -1.
4694         * time/tst-strptime.c (day_tests): Add test case.
4696 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4698         * sysdeps/generic/math_private.h
4699         (libc_feholdexcept_setround_53bit): Replace with
4700         libc_feholdsetround_53bit.
4701         (libc_feupdateenv_53bit): Replace with
4702         libc_feresetround_53bit.
4703         (SET_RESTORE_ROUND_53BIT): Adjust.
4705 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4707         * string/test-strchrnul.c: Add copyright header.
4709         * posix/tst-getaddrinfo4.c: Increase test timeout.
4711 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4713         [BZ #15536]
4714         * math/libm-test.inc (MAX_EXP): Remove
4715         (MIN_EXP): Define.
4716         (ulp): Use MIN_EXP - MANT_DIG.
4717         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4719 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4721         * po/be.po: Revert last change.
4722         * po/zh_CN.po: Likewise.
4723         * po/header.pot: Likewise.
4725 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4727         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4728         link-libc-deps to empty as target-specific variable.
4729         * Makerules (link-libc-args): New variable.
4730         (libc-for-link): Likewise.
4731         (link-libc-deps): Likewise.
4732         (lib%.so): Depend on $(link-libc-deps).  Link with
4733         $(link-libc-args).
4734         (build-module): Link with $(link-libc-args).
4735         (build-module-asneeded): Likewise.
4736         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4737         list of objects.
4738         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4739         target-specific variable.
4740         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4741         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4742         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4743         libc.
4744         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4745         libc and ld.so.
4746         ($(objpfx)libpcprofile.so): Likewise.
4747         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4748         libc_nonshared.a.
4749         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4750         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4751         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4752         $(link-libc-deps).
4753         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4754         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4755         * login/Makefile ($(objpfx)libutil.so): Likewise.
4756         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4757         * math/Makefile ($(objpfx)libm.so): Likewise.
4758         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4759         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4760         variable instead of depending directly on libc.
4761         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4762         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4763         $(link-libc-deps).
4764         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4765         libc.
4766         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4767         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4768         ($(objpfx)libanl.so): Likewise.
4769         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4770         ld.so.
4771         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4772         $(link-libc-deps).
4773         * sysdeps/i386/fpu/Makefile: Remove file.
4774         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4775         ($(objpfx)libm.so): Remove dependency on ld.so.
4777 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4779         [BZ # 15553]
4780         * nis/yp_xdr.c (XDRMAXNAME): Define.
4781         (XDRMAXRECORD): Define.
4782         (xdr_domainname): Use XDRMAXNAME.
4783         (xdr_mapname): Likewise.
4784         (xdr_peername): Likewise.
4785         (xdr_keydat): Use XDRMAXRECORD.
4786         (xdr_valdat): Likewise.
4788 2013-05-30  Jeff Law  <law@redhat.com>
4790         [BZ #14256]
4791         * manual/errno.texi (ESTALE): Update to account for more than
4792         just NFS file systems.
4793         * sysdeps/gnu/errlist.c: Regenerated.
4795 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4797         [BZ #15465]
4798         * elf/Makefile (tests): Add tst-null-argv.
4799         (modules-names):  Add tst-null-argv-lib.
4800         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4801         (tst-null-argv-ENV): Set environment for tst-null-argv.
4802         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4803         (RTLD_PROGNAME): New macro.
4804         * elf/tst-null-argv.c: New test case.
4805         * elf/tst-null-argv-lib.c: Library for test case.
4806         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4807         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4808         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4809         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4810         * elf/dl-init.c (call_init): Likewise.
4811         (_dl_init): Likewise.
4812         * elf/dl-load.c (print_search_path): Likewise.
4813         (_dl_map_object): Likewise.
4814         * elf/dl-lookup.c (do_lookup_x): Likewise.
4815         (add_dependency): Likewise.
4816         (_dl_lookup_symbol_x): Likewise.
4817         (_dl_debug_bindings): Likewise.
4818         * elf/dl-open.c (_dl_show_scope): Likewise.
4819         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4820         * elf/dl-version.c (match_symbol): Likewise.
4821         (_dl_check_map_versions): Likewise.
4822         * elf/rtld.c (dl_main): Likewise.
4823         (print_unresolved): Use RTLD_PROGNAME.
4824         (print_missing_version): Likewise.
4825         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4826         (elf_machine_rela): Likewise.
4827         * sysdeps/powerpc/powerpc32/dl-machine.c
4828         (__process_machine_rela): Likewise.
4829         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4830         Likewise.
4831         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4832         Likewise.
4833         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4834         Likewise.
4835         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4836         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4837         Likewise.
4838         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4839         Likewise.
4840         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4842 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4844         * po/be.po: Add descriptive title.
4845         * po/zh_CN.po: Likewise.
4846         * po/header.pot: Likewise.
4848 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4850         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4851         error message.
4852         (enlarge_archive): Likewise.
4854 2013-05-28  Ben North  <ben@redfrontdoor.org>
4856         * manual/arith.texi (frexp): It is the magnitude of the return
4857         value which lies in [0.5, 1), not the return value itself.
4859 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4863 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4865         * stdio-common/bug26.c (main): Correct fscanf template.
4867         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4868         declare _dl_skip_args.
4870         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4871         Don't declare.
4873         * manual/platform.texi: Add missing @end deftypefun.
4875 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4877         [BZ #15529]
4878         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4879         bit of mantissa of 2^16382.
4880         * math/libm-test.inc (hypot_test_data): Add more tests.
4882         * math/libm-test.inc: Add drem and pow10 to list of tested
4883         functions.
4884         (pow10_test): New function.
4885         (drem_test): Likewise.
4886         (drem_test_tonearest): Likewise.
4887         (drem_test_towardzero): Likewise.
4888         (drem_test_downward): Likewise.
4889         (drem_test_upward): Likewise.
4890         (main): Call the new functions.
4892         * math/libm-test.inc (finite_test_data): Remove.
4893         (finite_test): Run tests from isfinite_test_data.
4894         (gamma_test_data): Remove.
4895         (gamma_test): Run tests from lgamma_test_data.
4896         * sysdeps/i386/fpu/libm-test-ulps: Update.
4897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4899 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4901         * manual/platform.texi: Add PowerPC PPR function set documentation.
4902         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4903         implementation.
4905 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4907         * math/libm-test.inc (MAX_EXP): Define.
4908         (ULPDIFF): Define.
4909         (ulp): New function.
4910         (check_float_internal): Use ULPDIFF.
4911         (cpow_test): Disable failing test.
4912         (check_ulp): Test ulp() implemetnation.
4913         (main): Call check_ulp before starting tests.
4915 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4917         * math/gen-libm-test.pl (generate_testfile): Do not handle
4918         START_DATA and END_DATA.
4919         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4920         END_DATA.
4921         (acos_tonearest_test_data): Likewise.
4922         (acos_towardzero_test_data): Likewise.
4923         (acos_downward_test_data): Likewise.
4924         (acos_upward_test_data): Likewise.
4925         (acosh_test_data): Likewise.
4926         (asin_test_data): Likewise.
4927         (asin_tonearest_test_data): Likewise.
4928         (asin_towardzero_test_data): Likewise.
4929         (asin_downward_test_data): Likewise.
4930         (asin_upward_test_data): Likewise.
4931         (asinh_test_data): Likewise.
4932         (atan_test_data): Likewise.
4933         (atanh_test_data): Likewise.
4934         (atan2_test_data): Likewise.
4935         (cabs_test_data): Likewise.
4936         (cacos_test_data): Likewise.
4937         (cacosh_test_data): Likewise.
4938         (carg_test_data): Likewise.
4939         (casin_test_data): Likewise.
4940         (casinh_test_data): Likewise.
4941         (catan_test_data): Likewise.
4942         (catanh_test_data): Likewise.
4943         (cbrt_test_data): Likewise.
4944         (ccos_test_data): Likewise.
4945         (ccosh_test_data): Likewise.
4946         (ceil_test_data): Likewise.
4947         (cexp_test_data): Likewise.
4948         (cimag_test_data): Likewise.
4949         (clog_test_data): Likewise.
4950         (clog10_test_data): Likewise.
4951         (conj_test_data): Likewise.
4952         (copysign_test_data): Likewise.
4953         (cos_test_data): Likewise.
4954         (cos_tonearest_test_data): Likewise.
4955         (cos_towardzero_test_data): Likewise.
4956         (cos_downward_test_data): Likewise.
4957         (cos_upward_test_data): Likewise.
4958         (cosh_test_data): Likewise.
4959         (cosh_tonearest_test_data): Likewise.
4960         (cosh_towardzero_test_data): Likewise.
4961         (cosh_downward_test_data): Likewise.
4962         (cosh_upward_test_data): Likewise.
4963         (cpow_test_data): Likewise.
4964         (cproj_test_data): Likewise.
4965         (creal_test_data): Likewise.
4966         (csin_test_data): Likewise.
4967         (csinh_test_data): Likewise.
4968         (csqrt_test_data): Likewise.
4969         (ctan_test_data): Likewise.
4970         (ctan_tonearest_test_data): Likewise.
4971         (ctan_towardzero_test_data): Likewise.
4972         (ctan_downward_test_data): Likewise.
4973         (ctan_upward_test_data): Likewise.
4974         (ctanh_test_data): Likewise.
4975         (ctanh_tonearest_test_data): Likewise.
4976         (ctanh_towardzero_test_data): Likewise.
4977         (ctanh_downward_test_data): Likewise.
4978         (ctanh_upward_test_data): Likewise.
4979         (erf_test_data): Likewise.
4980         (erfc_test_data): Likewise.
4981         (exp_test_data): Likewise.
4982         (exp_tonearest_test_data): Likewise.
4983         (exp_towardzero_test_data): Likewise.
4984         (exp_downward_test_data): Likewise.
4985         (exp_upward_test_data): Likewise.
4986         (exp10_test_data): Likewise.
4987         (exp2_test_data): Likewise.
4988         (expm1_test_data): Likewise.
4989         (fabs_test_data): Likewise.
4990         (fdim_test_data): Likewise.
4991         (finite_test_data): Likewise.
4992         (floor_test_data): Likewise.
4993         (fma_test_data): Likewise.
4994         (fma_towardzero_test_data): Likewise.
4995         (fma_downward_test_data): Likewise.
4996         (fma_upward_test_data): Likewise.
4997         (fmax_test_data): Likewise.
4998         (fmin_test_data): Likewise.
4999         (fmod_test_data): Likewise.
5000         (fpclassify_test_data): Likewise.
5001         (frexp_test_data): Likewise.
5002         (gamma_test_data): Likewise.
5003         (hypot_test_data): Likewise.
5004         (ilogb_test_data): Likewise.
5005         (isfinite_test_data): Likewise.
5006         (isgreater_test_data): Likewise.
5007         (isgreaterequal_test_data): Likewise.
5008         (isinf_test_data): Likewise.
5009         (isless_test_data): Likewise.
5010         (islessequal_test_data): Likewise.
5011         (islessgreater_test_data): Likewise.
5012         (isnan_test_data): Likewise.
5013         (isnormal_test_data): Likewise.
5014         (issignaling_test_data): Likewise.
5015         (isunordered_test_data): Likewise.
5016         (j0_test_data): Likewise.
5017         (j1_test_data): Likewise.
5018         (jn_test_data): Likewise.
5019         (ldexp_test_data): Likewise.
5020         (lgamma_test_data): Likewise.
5021         (lrint_test_data): Likewise.
5022         (lrint_tonearest_test_data): Likewise.
5023         (lrint_towardzero_test_data): Likewise.
5024         (lrint_downward_test_data): Likewise.
5025         (lrint_upward_test_data): Likewise.
5026         (llrint_test_data): Likewise.
5027         (llrint_tonearest_test_data): Likewise.
5028         (llrint_towardzero_test_data): Likewise.
5029         (llrint_downward_test_data): Likewise.
5030         (llrint_upward_test_data): Likewise.
5031         (log_test_data): Likewise.
5032         (log10_test_data): Likewise.
5033         (log1p_test_data): Likewise.
5034         (log2_test_data): Likewise.
5035         (logb_test_data): Likewise.
5036         (logb_downward_test_data): Likewise.
5037         (lround_test_data): Likewise.
5038         (llround_test_data): Likewise.
5039         (modf_test_data): Likewise.
5040         (nearbyint_test_data): Likewise.
5041         (nextafter_test_data): Likewise.
5042         (nexttoward_test_data): Likewise.
5043         (pow_test_data): Likewise.
5044         (pow_tonearest_test_data): Likewise.
5045         (pow_towardzero_test_data): Likewise.
5046         (pow_downward_test_data): Likewise.
5047         (pow_upward_test_data): Likewise.
5048         (remainder_test_data): Likewise.
5049         (remainder_tonearest_test_data): Likewise.
5050         (remainder_towardzero_test_data): Likewise.
5051         (remainder_downward_test_data): Likewise.
5052         (remainder_upward_test_data): Likewise.
5053         (remquo_test_data): Likewise.
5054         (rint_test_data): Likewise.
5055         (rint_tonearest_test_data): Likewise.
5056         (rint_towardzero_test_data): Likewise.
5057         (rint_downward_test_data): Likewise.
5058         (rint_upward_test_data): Likewise.
5059         (round_test_data): Likewise.
5060         (scalb_test_data): Likewise.
5061         (scalbn_test_data): Likewise.
5062         (scalbln_test_data): Likewise.
5063         (signbit_test_data): Likewise.
5064         (sin_test_data): Likewise.
5065         (sin_tonearest_test_data): Likewise.
5066         (sin_towardzero_test_data): Likewise.
5067         (sin_downward_test_data): Likewise.
5068         (sin_upward_test_data): Likewise.
5069         (sincos_test_data): Likewise.
5070         (sinh_test_data): Likewise.
5071         (sinh_tonearest_test_data): Likewise.
5072         (sinh_towardzero_test_data): Likewise.
5073         (sinh_downward_test_data): Likewise.
5074         (sinh_upward_test_data): Likewise.
5075         (sqrt_test_data): Likewise.
5076         (tan_test_data): Likewise.
5077         (tan_tonearest_test_data): Likewise.
5078         (tan_towardzero_test_data): Likewise.
5079         (tan_downward_test_data): Likewise.
5080         (tan_upward_test_data): Likewise.
5081         (tanh_test_data): Likewise.
5082         (tgamma_test_data): Likewise.
5083         (trunc_test_data): Likewise.
5084         (y0_test_data): Likewise.
5085         (y1_test_data): Likewise.
5086         (yn_test_data): Likewise.
5087         (significand_test_data): Likewise.
5089         * math/gen-libm-test.pl (@functions): Remove variable.
5090         (generate_testfile): Don't handle START and END lines.
5091         * math/libm-test.inc (START): New macro.
5092         (END): Likewise.
5093         (END_COMPLEX): Likewise.
5094         (acos_test): Use END macro without arguments.
5095         (acos_test_tonearest): Likewise.
5096         (acos_test_towardzero): Likewise.
5097         (acos_test_downward): Likewise.
5098         (acos_test_upward): Likewise.
5099         (acosh_test): Likewise.
5100         (asin_test): Likewise.
5101         (asin_test_tonearest): Likewise.
5102         (asin_test_towardzero): Likewise.
5103         (asin_test_downward): Likewise.
5104         (asin_test_upward): Likewise.
5105         (asinh_test): Likewise.
5106         (atan_test): Likewise.
5107         (atanh_test): Likewise.
5108         (atan2_test): Likewise.
5109         (cabs_test): Likewise.
5110         (cacos_test): Use END_COMPLEX macro without arguments.
5111         (cacosh_test): Likewise.
5112         (carg_test): Use END macro without arguments.
5113         (casin_test): Use END_COMPLEX macro without arguments.
5114         (casinh_test): Likewise.
5115         (catan_test): Likewise.
5116         (catanh_test): Likewise.
5117         (cbrt_test): Use END macro without arguments.
5118         (ccos_test): Use END_COMPLEX macro without arguments.
5119         (ccosh_test): Likewise.
5120         (ceil_test): Use END macro without arguments.
5121         (cexp_test): Use END_COMPLEX macro without arguments.
5122         (cimag_test): Use END macro without arguments.
5123         (clog_test): Use END_COMPLEX macro without arguments.
5124         (clog10_test): Likewise.
5125         (conj_test): Likewise.
5126         (copysign_test): Use END macro without arguments.
5127         (cos_test): Likewise.
5128         (cos_test_tonearest): Likewise.
5129         (cos_test_towardzero): Likewise.
5130         (cos_test_downward): Likewise.
5131         (cos_test_upward): Likewise.
5132         (cosh_test): Likewise.
5133         (cosh_test_tonearest): Likewise.
5134         (cosh_test_towardzero): Likewise.
5135         (cosh_test_downward): Likewise.
5136         (cosh_test_upward): Likewise.
5137         (cpow_test): Use END_COMPLEX macro without arguments.
5138         (cproj_test): Likewise.
5139         (creal_test): Use END macro without arguments.
5140         (csin_test): Use END_COMPLEX macro without arguments.
5141         (csinh_test): Likewise.
5142         (csqrt_test): Likewise.
5143         (ctan_test): Likewise.
5144         (ctan_test_tonearest): Likewise.
5145         (ctan_test_towardzero): Likewise.
5146         (ctan_test_downward): Likewise.
5147         (ctan_test_upward): Likewise.
5148         (ctanh_test): Likewise.
5149         (ctanh_test_tonearest): Likewise.
5150         (ctanh_test_towardzero): Likewise.
5151         (ctanh_test_downward): Likewise.
5152         (ctanh_test_upward): Likewise.
5153         (erf_test): Use END macro without arguments.
5154         (erfc_test): Likewise.
5155         (exp_test): Likewise.
5156         (exp_test_tonearest): Likewise.
5157         (exp_test_towardzero): Likewise.
5158         (exp_test_downward): Likewise.
5159         (exp_test_upward): Likewise.
5160         (exp10_test): Likewise.
5161         (exp2_test): Likewise.
5162         (expm1_test): Likewise.
5163         (fabs_test): Likewise.
5164         (fdim_test): Likewise.
5165         (finite_test): Likewise.
5166         (floor_test): Likewise.
5167         (fma_test): Likewise.
5168         (fma_test_towardzero): Likewise.
5169         (fma_test_downward): Likewise.
5170         (fma_test_upward): Likewise.
5171         (fmax_test): Likewise.
5172         (fmin_test): Likewise.
5173         (fmod_test): Likewise.
5174         (fpclassify_test): Likewise.
5175         (frexp_test): Likewise.
5176         (gamma_test): Likewise.
5177         (hypot_test): Likewise.
5178         (ilogb_test): Likewise.
5179         (isfinite_test): Likewise.
5180         (isgreater_test): Likewise.
5181         (isgreaterequal_test): Likewise.
5182         (isinf_test): Likewise.
5183         (isless_test): Likewise.
5184         (islessequal_test): Likewise.
5185         (islessgreater_test): Likewise.
5186         (isnan_test): Likewise.
5187         (isnormal_test): Likewise.
5188         (issignaling_test): Likewise.
5189         (isunordered_test): Likewise.
5190         (j0_test): Likewise.
5191         (j1_test): Likewise.
5192         (jn_test): Likewise.
5193         (ldexp_test): Likewise.
5194         (lgamma_test): Likewise.
5195         (lrint_test): Likewise.
5196         (lrint_test_tonearest): Likewise.
5197         (lrint_test_towardzero): Likewise.
5198         (lrint_test_downward): Likewise.
5199         (lrint_test_upward): Likewise.
5200         (llrint_test): Likewise.
5201         (llrint_test_tonearest): Likewise.
5202         (llrint_test_towardzero): Likewise.
5203         (llrint_test_downward): Likewise.
5204         (llrint_test_upward): Likewise.
5205         (log_test): Likewise.
5206         (log10_test): Likewise.
5207         (log1p_test): Likewise.
5208         (log2_test): Likewise.
5209         (logb_test): Likewise.
5210         (logb_test_downward): Likewise.
5211         (lround_test): Likewise.
5212         (llround_test): Likewise.
5213         (modf_test): Likewise.
5214         (nearbyint_test): Likewise.
5215         (nextafter_test): Likewise.
5216         (nexttoward_test): Likewise.
5217         (pow_test): Likewise.
5218         (pow_test_tonearest): Likewise.
5219         (pow_test_towardzero): Likewise.
5220         (pow_test_downward): Likewise.
5221         (pow_test_upward): Likewise.
5222         (remainder_test): Likewise.
5223         (remainder_test_tonearest): Likewise.
5224         (remainder_test_towardzero): Likewise.
5225         (remainder_test_downward): Likewise.
5226         (remainder_test_upward): Likewise.
5227         (remquo_test): Likewise.
5228         (rint_test): Likewise.
5229         (rint_test_tonearest): Likewise.
5230         (rint_test_towardzero): Likewise.
5231         (rint_test_downward): Likewise.
5232         (rint_test_upward): Likewise.
5233         (round_test): Likewise.
5234         (scalb_test): Likewise.
5235         (scalbn_test): Likewise.
5236         (scalbln_test): Likewise.
5237         (signbit_test): Likewise.
5238         (sin_test): Likewise.
5239         (sin_test_tonearest): Likewise.
5240         (sin_test_towardzero): Likewise.
5241         (sin_test_downward): Likewise.
5242         (sin_test_upward): Likewise.
5243         (sincos_test): Likewise.
5244         (sinh_test): Likewise.
5245         (sinh_test_tonearest): Likewise.
5246         (sinh_test_towardzero): Likewise.
5247         (sinh_test_downward): Likewise.
5248         (sinh_test_upward): Likewise.
5249         (sqrt_test): Likewise.
5250         (tan_test): Likewise.
5251         (tan_test_tonearest): Likewise.
5252         (tan_test_towardzero): Likewise.
5253         (tan_test_downward): Likewise.
5254         (tan_test_upward): Likewise.
5255         (tanh_test): Likewise.
5256         (tgamma_test): Likewise.
5257         (trunc_test): Likewise.
5258         (y0_test): Likewise.
5259         (y1_test): Likewise.
5260         (yn_test): Likewise.
5261         (significand_test): Likewise.
5263 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5265         [BZ #15381]
5266         * libio/genops.c (_IO_no_init): Initialize wide struct info.
5268 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5270         [BZ #14894]
5271         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5272         __ppc_mdoio and __ppc_mdoom.
5273         * manual/platform.texi: Document new functions __ppc_yield,
5274         __ppc_mdoio and __ppc_mdoom.
5276 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
5278         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5279         (main): Mention "tls" pseudo-hwcap is legacy.
5280         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5282 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5284         * math/gen-libm-test.pl (parse_args): Output only string of
5285         arguments as text for test name, not full call or descriptions of
5286         tests for extra outputs.
5287         (generate_testfile): Do not pass function name to parse_args.
5288         Generate this_func variable from START.
5289         * math/libm-test.inc (struct test_f_f_data): Rename test_name
5290         field to arg_str.
5291         (struct test_ff_f_data): Likewise.
5292         (test_ff_f_data_nexttoward): Likewise.
5293         (struct test_fi_f_data): Likewise.
5294         (struct test_fl_f_data): Likewise.
5295         (struct test_if_f_data): Likewise.
5296         (struct test_fff_f_data): Likewise.
5297         (struct test_c_f_data): Likewise.
5298         (struct test_f_f1_data): Likewise.  Remove field extra_name.
5299         (struct test_fF_f1_data): Likewise.
5300         (struct test_ffI_f1_data): Likewise.
5301         (struct test_c_c_data): Rename test_name field to arg_str.
5302         (struct test_cc_c_data): Likewise.
5303         (struct test_f_i_data): Likewise.
5304         (struct test_ff_i_data): Likewise.
5305         (struct test_f_l_data): Likewise.
5306         (struct test_f_L_data): Likewise.
5307         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
5308         and extra2_name.
5309         (COMMON_TEST_SETUP): New macro.
5310         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5311         (COMMON_TEST_CLEANUP): Likewise.
5312         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5313         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
5314         macros.
5315         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5316         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
5317         macros.
5318         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5319         (RUN_TEST_fff_f): Take argument string.  Call new setup and
5320         cleanup macros.
5321         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5322         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
5323         macros.
5324         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5325         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
5326         macros.
5327         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5328         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
5329         cleanup macros.
5330         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5331         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
5332         cleanup macros.
5333         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5334         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
5335         cleanup macros.
5336         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5337         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
5338         macros.
5339         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5340         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
5341         macros.
5342         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5343         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
5344         macros.
5345         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5346         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
5347         cleanup macros.
5348         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5349         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
5350         cleanup macros.
5351         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5352         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
5353         macros.
5354         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5355         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
5356         cleanup macros.
5357         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5358         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
5359         macros.
5360         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5361         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5362         macros.
5363         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5364         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5365         cleanup macros.
5366         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5368 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5370         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5371         to _sifields.sigfault.
5372         (si_addr_lsb): Define new macro.
5373         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5374         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5375         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5377 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5379         [BZ #15441]
5380         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5381         returns -1.
5382         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5383         null return -1.
5384         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5385         loading the domain.
5387 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5389         * math/gen-libm-test.pl (parse_args): Do not include expected
5390         result in test name.
5391         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5392         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5393         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5394         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5395         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5398 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5400         * benchtests/Makefile: Sort function entries.
5402         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5403         tanh, asinh, acosh, atanh.
5404         * benchtests/acos-inputs: New file.
5405         * benchtests/acosh-inputs: New file.
5406         * benchtests/asin-inputs: New file.
5407         * benchtests/asinh-inputs: New file.
5408         * benchtests/atanh-inputs: New file.
5409         * benchtests/cosh-inputs: New file.
5410         * benchtests/log-inputs: New file.
5411         * benchtests/sinh-inputs: New file.
5412         * benchtests/tanh-inputs: New file.
5414 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5416         [BZ #15339]
5417         * posix/tst-getaddrinfo4.c: New test.
5418         * posix/Makefile (tests): Add it.
5420 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5422         [BZ #15339]
5423         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5424         when no services were used.
5425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5426         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5428 2013-05-21  Andreas Schwab  <schwab@suse.de>
5430         [BZ #15014]
5431         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5432         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5433         successful.
5434         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5435         redundant variable declarations and reallocation of buffer when
5436         parsing as IPv6 address.  Always set NSS status when called from
5437         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5438         buffer too small.  Correct computation of needed size.
5439         * nss/Makefile (tests): Add test-digits-dots.
5440         * nss/test-digits-dots.c: New test.
5442 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5444         * benchtests/Makefile: Remove instructions for adding
5445         benchmark tests.
5446         * benchtests/README: New file to explain how to execute and
5447         enhance the benchmark tests.
5449 2013-05-21  Andreas Schwab  <schwab@suse.de>
5451         [BZ #15493]
5452         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5453         * setjmp/tst-sigsetjmp.c: New test.
5455 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5457         * sysdeps/x86_64/memset.S (memset): New implementation.
5458         (__bzero): Likewise.
5459         (__memset_tail): New function.
5461 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5463         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5464         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5465         __memcpy_sse2_unaligned ifunc selection.
5466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5467         Add memcpy-sse2-unaligned.S.
5468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5469         Add: __memcpy_sse2_unaligned.
5471 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5473         [BZ #15490]
5474         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5475         math_force_eval before restoring floating-point envrionment.
5476         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5477         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5478         Likewise.
5479         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5480         <math_private.h>.
5481         (__nearbyintl): Use math_force_eval before restoring
5482         floating-point environment.
5483         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5485         * math/gen-libm-test.pl (special_functions): Remove.
5486         (parse_args): Don't handle TEST_extra.  Handle functions with no
5487         return value.
5488         * math/libm-test.inc (struct test_sincos_data): Replace with
5489         struct test_fFF_11_data.
5490         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5491         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5492         (sincos_test_data): Change element type to struct
5493         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5494         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5495         RUN_TEST_LOOP_sincos.
5496         * math/README.libm-test: Don't mention special handling of
5497         individual functions.
5498         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5499         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5500         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5501         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5502         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5505         * math/gen-libm-test.pl (get_variable): Remove function.
5506         (parse_args): Don't show pointer parameters to call in test
5507         names.  Use "extra output N" in test names for extra outputs
5508         rather than naming variables.
5510 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5512         [BZ #15488]
5513         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5514         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5515         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5516         double tests.
5517         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5518         disable.
5519         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5520         check_long_double.
5522         * math/gen-libm-test.pl (@tests): Remove variable.
5523         ($count): Likewise.
5524         (new_test): Remove function.
5525         (show_exceptions): New function.
5526         (special_functions): Use show_exceptions instead of new_test.
5527         (parse_args): Likewise.
5528         (generate_testfile): Pass only function name in generated call to
5529         print_max_error or print_complex_max_error.
5530         (get_ulps): Do not handle complex tests specially.
5531         (output_test): Rename to ...
5532         (get_all_ulps_for_test): ... this.  Return a string rather than
5533         printing to a file.  Require ulps to be present.
5534         (output_ulps): Generate arrays rather than #defines.
5535         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5536         (struct ulp_data): New type.
5537         (BUILD_COMPLEX_ULP): Remove macro.
5538         (compare_ulp_data): New function.
5539         (find_ulps): Likewise.
5540         (find_test_ulps): Likewise.
5541         (find_function_ulps): Likewise.
5542         (find_complex_function_ulps): Likewise.
5543         (print_max_error): Determine allowed ulps using
5544         find_function_ulps.
5545         (print_complex_max_error): Determine allowed ulps using
5546         find_complex_function_ulps.
5547         (check_float_internal): Determine max ulps using find_test_ulps.
5548         (check_float): Do not take max_ulp parameter.  Update call to
5549         check_float_internal.
5550         (check_complex): Likewise.
5551         (check_int): Do not take max_ulp parameter.
5552         (check_long): Likewise.
5553         (check_bool): Likewise.
5554         (check_longlong): Likewise.
5555         (struct test_f_f_data): Remove max_ulp field.
5556         (struct test_ff_f_data): Likewise.
5557         (struct test_ff_f_data_nexttoward): Likewise.
5558         (struct test_fi_f_data): Likewise.
5559         (struct test_fl_f_data): Likewise.
5560         (struct test_if_f_data): Likewise.
5561         (struct test_fff_f_data): Likewise.
5562         (struct test_c_f_data): Likewise.
5563         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5564         (struct test_fF_f1_data): Likewise.
5565         (struct test_ffI_f1_data): Likewise.
5566         (struct test_c_c_data): Remove max_ulp field.
5567         (struct test_cc_c_data): Likewise.
5568         (struct test_f_i_data): Likewise.
5569         (struct test_ff_i_data): Likewise.
5570         (struct test_f_l_data): Likewise.
5571         (struct test_f_L_data): Likewise.
5572         (struct test_sincos_data): Likewise.
5573         (RUN_TEST_f_f): Do not handle ulps.
5574         (RUN_TEST_LOOP_f_f): Likewise.
5575         (RUN_TEST_2_f): Likewise.
5576         (RUN_TEST_LOOP_2_f): Likewise.
5577         (RUN_TEST_fff_f): Likewise.
5578         (RUN_TEST_LOOP_fff_f): Likewise.
5579         (RUN_TEST_c_f): Likewise.
5580         (RUN_TEST_LOOP_c_f): Likewise.
5581         (RUN_TEST_f_f1): Likewise.
5582         (RUN_TEST_LOOP_f_f1): Likewise.
5583         (RUN_TEST_fF_f1): Likewise.
5584         (RUN_TEST_LOOP_fF_f1): Likewise.
5585         (RUN_TEST_fI_f1): Likewise.
5586         (RUN_TEST_LOOP_fI_f1): Likewise.
5587         (RUN_TEST_ffI_f1): Likewise.
5588         (RUN_TEST_LOOP_ffI_f1): Likewise.
5589         (RUN_TEST_c_c): Likewise.
5590         (RUN_TEST_LOOP_c_c): Likewise.
5591         (RUN_TEST_cc_c): Likewise.
5592         (RUN_TEST_LOOP_cc_c): Likewise.
5593         (RUN_TEST_f_i): Likewise.
5594         (RUN_TEST_LOOP_f_i): Likewise.
5595         (RUN_TEST_f_i_tg): Likewise.
5596         (RUN_TEST_LOOP_f_i_tg): Likewise.
5597         (RUN_TEST_ff_i_tg): Likewise.
5598         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5599         (RUN_TEST_f_b): Likewise.
5600         (RUN_TEST_LOOP_f_b): Likewise.
5601         (RUN_TEST_f_b_tg): Likewise.
5602         (RUN_TEST_LOOP_f_b_tg): Likewise.
5603         (RUN_TEST_f_l): Likewise.
5604         (RUN_TEST_LOOP_f_l): Likewise.
5605         (RUN_TEST_f_L): Likewise.
5606         (RUN_TEST_LOOP_f_L): Likewise.
5607         (RUN_TEST_sincos): Likewise.
5608         (RUN_TEST_LOOP_sincos): Likewise.
5610 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5612         [BZ #15480]
5613         [BZ #15485]
5614         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5615         main case of finite arguments, set rounding mode to FE_TONEAREST
5616         and discard exceptions.
5617         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5618         exceptions.
5619         (remainder_tonearest_test_data): New variable.
5620         (remainder_test_tonearest): New function.
5621         (remainder_towardzero_test_data): New variable.
5622         (remainder_test_towardzero): New function.
5623         (remainder_downward_test_data): New variable.
5624         (remainder_test_downward): New function.
5625         (remainder_upward_test_data): New variable.
5626         (remainder_test_upward): New function.
5627         (main): Call the new test functions.
5629         * math/libm-test.inc (struct test_f_f1_data): Remove field
5630         extra_init.
5631         (struct test_fF_f1_data): Likewise.
5632         (struct test_ffI_f1_data): Likewise.
5633         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5634         based on value of EXTRA_EXPECTED.
5635         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5636         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5637         EXTRA_VAR based on value of EXTRA_EXPECTED.
5638         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5639         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5640         EXTRA_VAR based on value of EXTRA_EXPECTED.
5641         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5642         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5643         EXTRA_VAR based on value of EXTRA_EXPECTED.
5644         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5645         * math/gen-libm-test.pl (parse_args): Don't output initializers
5646         for extra output values.
5648         * math/libm-test.inc (check_int): Expect result to be exactly
5649         equal to expected value and do not handle ulps.
5650         (check_long): Likewise.
5651         (check_longlong): Likewise.
5653         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5654         exceptions.
5655         (cimag_test_data): Likewise.
5656         (conj_test_data): Likewise.
5657         (copysign_test_data): Likewise.
5658         (cproj_test_data): Likewise.
5659         (creal_test_data): Likewise.
5660         (fabs_test_data): Likewise.
5661         (fdim_test_data): Likewise.
5662         (finite_test_data): Likewise.
5663         (floor_test_data): Likewise.
5664         (fmax_test_data): Likewise.
5665         (fmin_test_data): Likewise.
5666         (fmod_test_data): Likewise.
5667         (fpclassify_test_data): Likewise.
5668         (frexp_test_data): Likewise.
5669         (ilogb_test_data): Likewise.
5670         (isfinite_test_data): Likewise.
5671         (isgreater_test_data): Likewise.
5672         (isgreaterequal_test_data): Likewise.
5673         (isinf_test_data): Likewise.
5674         (isless_test_data): Likewise.
5675         (islessequal_test_data): Likewise.
5676         (islessgreater_test_data): Likewise.
5677         (isnan_test_data): Likewise.
5678         (isnormal_test_data): Likewise.
5679         (issignaling_test_data): Likewise.
5680         (isunordered_test_data): Likewise.
5681         (ldexp_test_data): Likewise.
5682         (lrint_test_data): Likewise.
5683         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5684         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5685         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5686         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5687         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5688         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5689         test input.
5690         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5691         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5692         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5693         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5694         that test input.
5695         (lrint_downward_test_data): Test for "inexact" exceptions.
5696         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5697         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5698         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5699         test input.
5700         (lrint_upward_test_data): Test for "inexact" exceptions.
5701         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5702         test input.
5703         (llrint_test_data): Test for "inexact" exceptions.
5704         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5705         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5706         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5707         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5708         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5709         (llrint_downward_test_data): Test for "inexact" exceptions.
5710         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5711         (llrint_upward_test_data): Test for "inexact" exceptions.
5712         (logb_test_data): Likewise.
5713         (logb_downward_test_data): Likewise.
5714         (nextafter_test_data): Likewise.
5715         (nexttoward_test_data): Likewise.
5716         (remainder_test_data): Likewise.
5717         (remquo_test_data): Likewise.
5718         (scalbn_test_data): Likewise.
5719         (scalbln_test_data): Likewise.
5720         (signbit_test_data): Likewise.
5721         (sqrt_test_data): Likewise.
5722         (significand_test_data): Likewise.
5724 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5726         [BZ #15424]
5727         * benchtests/bench-modf.c (struct args): Mark arg0 as
5728         volatile.
5729         * scripts/bench.pl: Mark members of struct args as volatile.
5731 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5733         [BZ # 15497]
5734         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5735         negative infinity on POWER6 or lower.
5736         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5738 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5740         [BZ #15442]
5741         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5742         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5743         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5744         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5745         (_FP_SETQNAN): New macro.
5746         (_FP_SETQNAN_SEMIRAW): Likewise.
5747         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5748         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5749         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5750         (FP_EXTEND): Use _FP_FRAC_SNANP.
5751         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5752         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5753         into account.
5754         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5755         New macro.
5756         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5757         Likewise.
5759 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5761         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5762         with DIVIDE_BY_ZERO_EXCEPTION.
5763         (gamma_test_data): Likewise.
5764         (lgamma_test_data): Likewise.
5765         (log_test_data): Likewise.
5766         (log10_test_data): Likewise.
5767         (log2_test_data): Likewise.
5768         (tgamma_test_data): Likewise.
5770         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5771         (acos_test_tonearest): Likewise.
5772         (acos_test_towardzero): Likewise.
5773         (acos_test_downward): Likewise.
5774         (acos_test_upward): Likewise.
5775         (acosh_test): Likewise.
5776         (asin_test): Likewise.
5777         (asin_test_tonearest): Likewise.
5778         (asin_test_towardzero): Likewise.
5779         (asin_test_downward): Likewise.
5780         (asin_test_upward): Likewise.
5781         (asinh_test): Likewise.
5782         (atan_test): Likewise.
5783         (atanh_test): Likewise.
5784         (atan2_test): Likewise.
5785         (cabs_test): Likewise.
5786         (cacos_test): Likewise.
5787         (cacosh_test): Likewise.
5788         (casin_test): Likewise.
5789         (casinh_test): Likewise.
5790         (catan_test): Likewise.
5791         (catanh_test): Likewise.
5792         (cbrt_test): Likewise.
5793         (ccos_test): Likewise.
5794         (ccosh_test): Likewise.
5795         (cexp_test): Likewise.
5796         (clog_test): Likewise.
5797         (clog10_test): Likewise.
5798         (cos_test): Likewise.
5799         (cos_test_tonearest): Likewise.
5800         (cos_test_towardzero): Likewise.
5801         (cos_test_downward): Likewise.
5802         (cos_test_upward): Likewise.
5803         (cosh_test): Likewise.
5804         (cosh_test_tonearest): Likewise.
5805         (cosh_test_towardzero): Likewise.
5806         (cosh_test_downward): Likewise.
5807         (cosh_test_upward): Likewise.
5808         (cpow_test): Likewise.
5809         (csin_test): Likewise.
5810         (csinh_test): Likewise.
5811         (csqrt_test): Likewise.
5812         (ctan_test): Likewise.
5813         (ctan_test_tonearest): Likewise.
5814         (ctan_test_towardzero): Likewise.
5815         (ctan_test_downward): Likewise.
5816         (ctan_test_upward): Likewise.
5817         (ctanh_test): Likewise.
5818         (ctanh_test_tonearest): Likewise.
5819         (ctanh_test_towardzero): Likewise.
5820         (ctanh_test_downward): Likewise.
5821         (ctanh_test_upward): Likewise.
5822         (erf_test): Likewise.
5823         (erfc_test): Likewise.
5824         (exp_test): Likewise.
5825         (exp_test_tonearest): Likewise.
5826         (exp_test_towardzero): Likewise.
5827         (exp_test_downward): Likewise.
5828         (exp_test_upward): Likewise.
5829         (exp10_test): Likewise.
5830         (exp2_test): Likewise.
5831         (expm1_test): Likewise.
5832         (fmod_test): Likewise.
5833         (gamma_test): Likewise.
5834         (hypot_test): Likewise.
5835         (j0_test): Likewise.
5836         (j1_test): Likewise.
5837         (jn_test): Likewise.
5838         (lgamma_test): Likewise.
5839         (log_test): Likewise.
5840         (log10_test): Likewise.
5841         (log1p_test): Likewise.
5842         (log2_test): Likewise.
5843         (logb_test_downward): Likewise.
5844         (pow_test): Likewise.
5845         (pow_test_tonearest): Likewise.
5846         (pow_test_towardzero): Likewise.
5847         (pow_test_downward): Likewise.
5848         (pow_test_upward): Likewise.
5849         (remainder_test): Likewise.
5850         (remquo_test): Likewise.
5851         (sin_test): Likewise.
5852         (sin_test_tonearest): Likewise.
5853         (sin_test_towardzero): Likewise.
5854         (sin_test_downward): Likewise.
5855         (sin_test_upward): Likewise.
5856         (sincos_test): Likewise.
5857         (sinh_test): Likewise.
5858         (sinh_test_tonearest): Likewise.
5859         (sinh_test_towardzero): Likewise.
5860         (sinh_test_downward): Likewise.
5861         (sinh_test_upward): Likewise.
5862         (sqrt_test): Likewise.
5863         (tan_test): Likewise.
5864         (tan_test_tonearest): Likewise.
5865         (tan_test_towardzero): Likewise.
5866         (tan_test_downward): Likewise.
5867         (tan_test_upward): Likewise.
5868         (tanh_test): Likewise.
5869         (tgamma_test): Likewise.
5870         (y0_test): Likewise.
5871         (y1_test): Likewise.
5872         (yn_test): Likewise.
5874         * math/gen-libm-test.pl (adjust_arg): Remove function.
5875         (special_function): Remove argument $in_func.  Only handle
5876         generating output for tables of tests, not inside functions.
5877         (parse_args): Likewise.
5878         (generate_testfile): Remove variable $in_func.  Update call to
5879         parse_args.
5880         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5881         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5882         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5883         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5884         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5885         (MAX_VALUE_INIT): Rename macro to max_value.
5886         (MIN_VALUE_INIT): Rename macro to min_value.
5887         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5888         (plus_zero): Remove variable.
5889         (minus_zero): Likewise.
5890         (plus_infty): Likewise.
5891         (minus_infty): Likewise.
5892         (qnan_value): Likewise.
5893         (max_value): Likewise.
5894         (min_value): Likewise.
5895         (min_subnorm_value): Likewise.
5897 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5899         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5900         uint64_t or uint32_t usage.
5901         * crypt/sha256-block.c: Likewise.
5902         * crypt/sha256-crypt.c: Likewise.
5903         * crypt/sha256.c: Likewise.
5904         * crypt/sha512-block.c: Likewise.
5905         * crypt/sha512-crypt.c: Likewise.
5906         * crypt/sha512.c: Likewise.
5907         * debug/backtrace-tst.c: Likewise.
5908         * debug/pcprofiledump.c: Likewise.
5909         * elf/cache.c: Likewise.
5910         * elf/dl-cache.c: Likewise.
5911         * elf/dl-misc.c: Likewise.
5912         * elf/dl-profile.c: Likewise.
5913         * elf/dl-support.c: Likewise.
5914         * elf/ldconfig.c: Likewise.
5915         * elf/sprof.c: Likewise.
5916         * iconv/dummy-repertoire.c: Likewise.
5917         * iconv/iconv_charmap.c: Likewise.
5918         * iconv/skeleton.c: Likewise.
5919         * iconvdata/8bit-generic.c: Likewise.
5920         * iconvdata/cp737.h: Likewise.
5921         * iconvdata/cp775.h: Likewise.
5922         * iconvdata/ibm1008.h: Likewise.
5923         * iconvdata/ibm1025.h: Likewise.
5924         * iconvdata/ibm1046.h: Likewise.
5925         * iconvdata/ibm1097.h: Likewise.
5926         * iconvdata/ibm1112.h: Likewise.
5927         * iconvdata/ibm1122.h: Likewise.
5928         * iconvdata/ibm1123.h: Likewise.
5929         * iconvdata/ibm1124.h: Likewise.
5930         * iconvdata/ibm1129.h: Likewise.
5931         * iconvdata/ibm1130.h: Likewise.
5932         * iconvdata/ibm1132.h: Likewise.
5933         * iconvdata/ibm1133.h: Likewise.
5934         * iconvdata/ibm1137.h: Likewise.
5935         * iconvdata/ibm1140.h: Likewise.
5936         * iconvdata/ibm1141.h: Likewise.
5937         * iconvdata/ibm1142.h: Likewise.
5938         * iconvdata/ibm1143.h: Likewise.
5939         * iconvdata/ibm1144.h: Likewise.
5940         * iconvdata/ibm1145.h: Likewise.
5941         * iconvdata/ibm1146.h: Likewise.
5942         * iconvdata/ibm1147.h: Likewise.
5943         * iconvdata/ibm1148.h: Likewise.
5944         * iconvdata/ibm1149.h: Likewise.
5945         * iconvdata/ibm1153.h: Likewise.
5946         * iconvdata/ibm1154.h: Likewise.
5947         * iconvdata/ibm1155.h: Likewise.
5948         * iconvdata/ibm1156.h: Likewise.
5949         * iconvdata/ibm1157.h: Likewise.
5950         * iconvdata/ibm1158.h: Likewise.
5951         * iconvdata/ibm1160.h: Likewise.
5952         * iconvdata/ibm1161.h: Likewise.
5953         * iconvdata/ibm1162.h: Likewise.
5954         * iconvdata/ibm1163.h: Likewise.
5955         * iconvdata/ibm1164.h: Likewise.
5956         * iconvdata/ibm1166.h: Likewise.
5957         * iconvdata/ibm1167.h: Likewise.
5958         * iconvdata/ibm12712.h: Likewise.
5959         * iconvdata/ibm1390.h: Likewise.
5960         * iconvdata/ibm1399.h: Likewise.
5961         * iconvdata/ibm16804.h: Likewise.
5962         * iconvdata/ibm4517.h: Likewise.
5963         * iconvdata/ibm4899.h: Likewise.
5964         * iconvdata/ibm4909.h: Likewise.
5965         * iconvdata/ibm4971.h: Likewise.
5966         * iconvdata/ibm5347.h: Likewise.
5967         * iconvdata/ibm803.h: Likewise.
5968         * iconvdata/ibm856.h: Likewise.
5969         * iconvdata/ibm901.h: Likewise.
5970         * iconvdata/ibm902.h: Likewise.
5971         * iconvdata/ibm9030.h: Likewise.
5972         * iconvdata/ibm9066.h: Likewise.
5973         * iconvdata/ibm921.h: Likewise.
5974         * iconvdata/ibm922.h: Likewise.
5975         * iconvdata/ibm9448.h: Likewise.
5976         * iconvdata/isiri-3342.h: Likewise.
5977         * iconvdata/jis0201.h: Likewise.
5978         * include/link.h: Likewise.
5979         * include/netdb.h: Likewise.
5980         * inet/check_native.c: Likewise.
5981         * inet/check_pf.c: Likewise.
5982         * inet/getipv4sourcefilter.c: Likewise.
5983         * inet/getnameinfo.c: Likewise.
5984         * inet/getsourcefilter.c: Likewise.
5985         * inet/htonl.c: Likewise.
5986         * inet/setipv4sourcefilter.c: Likewise.
5987         * inet/setsourcefilter.c: Likewise.
5988         * inet/test-inet6_opt.c: Likewise.
5989         * inet/tst-network.c: Likewise.
5990         * locale/C-collate.c: Likewise.
5991         * locale/C-ctype.c: Likewise.
5992         * locale/C-time.c: Likewise.
5993         * locale/C-translit.h: Likewise.
5994         * locale/loadarchive.c: Likewise.
5995         * locale/programs/3level.h: Likewise.
5996         * locale/programs/charmap.c: Likewise.
5997         * locale/programs/charmap.h: Likewise.
5998         * locale/programs/ld-address.c: Likewise.
5999         * locale/programs/ld-collate.c: Likewise.
6000         * locale/programs/ld-ctype.c: Likewise.
6001         * locale/programs/ld-identification.c: Likewise.
6002         * locale/programs/ld-measurement.c: Likewise.
6003         * locale/programs/ld-messages.c: Likewise.
6004         * locale/programs/ld-monetary.c: Likewise.
6005         * locale/programs/ld-name.c: Likewise.
6006         * locale/programs/ld-numeric.c: Likewise.
6007         * locale/programs/ld-paper.c: Likewise.
6008         * locale/programs/ld-telephone.c: Likewise.
6009         * locale/programs/ld-time.c: Likewise.
6010         * locale/programs/linereader.c: Likewise.
6011         * locale/programs/locale.c: Likewise.
6012         * locale/programs/locarchive.c: Likewise.
6013         * locale/programs/locfile.h: Likewise.
6014         * locale/programs/repertoire.c: Likewise.
6015         * locale/programs/simple-hash.c: Likewise.
6016         * locale/programs/simple-hash.h: Likewise.
6017         * malloc/memusage.c: Likewise.
6018         * malloc/memusagestat.c: Likewise.
6019         * nis/nis_defaults.c: Likewise.
6020         * nis/nis_hash.c: Likewise.
6021         * nis/nis_print.c: Likewise.
6022         * nis/nis_xdr.c: Likewise.
6023         * nscd/connections.c: Likewise.
6024         * nscd/hstcache.c: Likewise.
6025         * nscd/nscd_gethst_r.c: Likewise.
6026         * nscd/nscd_getserv_r.c: Likewise.
6027         * nscd/nscd_helper.c: Likewise.
6028         * nscd/servicescache.c: Likewise.
6029         * nss/makedb.c: Likewise.
6030         * nss/nss_db/db-XXX.c: Likewise.
6031         * nss/nss_db/db-initgroups.c: Likewise.
6032         * nss/nss_db/db-netgrp.c: Likewise.
6033         * nss/nss_files/files-network.c: Likewise.
6034         * nss/nss_files/files-parse.c: Likewise.
6035         * posix/bug-regex5.c: Likewise.
6036         * posix/fnmatch_loop.c: Likewise.
6037         * posix/regcomp.c: Likewise.
6038         * posix/regexec.c: Likewise.
6039         * posix/tst-rfc3484-2.c: Likewise.
6040         * posix/tst-rfc3484-3.c: Likewise.
6041         * posix/tst-rfc3484.c: Likewise.
6042         * resolv/nss_dns/dns-canon.c: Likewise.
6043         * resolv/nss_dns/dns-network.c: Likewise.
6044         * resolv/res_init.c: Likewise.
6045         * resolv/res_mkquery.c: Likewise.
6046         * resolv/tst-aton.c: Likewise.
6047         * stdlib/cxa_atexit.c: Likewise.
6048         * stdlib/cxa_finalize.c: Likewise.
6049         * stdlib/gen-fpioconst.c: Likewise.
6050         * stdlib/strtol_l.c: Likewise.
6051         * string/tst-endian.c: Likewise.
6052         * sunrpc/auth_des.c: Likewise.
6053         * sunrpc/clnt_udp.c: Likewise.
6054         * sunrpc/rtime.c: Likewise.
6055         * sunrpc/svcauth_des.c: Likewise.
6056         * sunrpc/xdr.c: Likewise.
6057         * sunrpc/xdr_intXX_t.c: Likewise.
6058         * sunrpc/xdr_rec.c: Likewise.
6059         * sysdeps/generic/ldconfig.h: Likewise.
6060         * sysdeps/generic/ldsodefs.h: Likewise.
6061         * sysdeps/generic/memusage.h: Likewise.
6062         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6063         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6064         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6065         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6066         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6068         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6069         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6070         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6072         * sysdeps/posix/getaddrinfo.c: Likewise.
6073         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6074         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6075         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6076         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6077         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6078         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6079         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6080         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6081         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6082         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6083         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6084         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6085         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6086         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6087         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6088         * sysdeps/x86_64/dl-tls.h: Likewise.
6089         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6090         * time/alt_digit.c: Likewise.
6091         * time/era.c: Likewise.
6092         * wcsmbs/tst-c16c32-1.c: Likewise.
6094 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6096         * math/libm-test.inc (struct test_sincos_data): New type.
6097         (RUN_TEST_LOOP_sincos): New macro.
6098         (sincos_test_data): New variable.
6099         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6101 2013-05-16  Richard Henderson  <rth@redhat.com>
6103         * math/atest-exp2.c (LIMB64): New macro.
6104         (CONSTSZ): New macro.
6105         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6106         (hexdig): Move ...
6107         (print_mpn_fp): ... to function scope.
6108         (read_mpn_hex): Remove.
6109         (get_log2): Remove.
6110         (exp2_mpn): Use mp_log2.
6111         (main): Use mp_exp1.
6113 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6115         * math/libm-test.inc: Remove comment about not testing "inexact"
6116         exceptions.
6117         (INEXACT_EXCEPTION): New macro.
6118         (NO_INEXACT_EXCEPTION): Likewise.
6119         (INVALID_EXCEPTION_OK): Update value.
6120         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6121         (OVERFLOW_EXCEPTION_OK): Likewise.
6122         (UNDERFLOW_EXCEPTION_OK): Likewise.
6123         (IGNORE_ZERO_INF_SIGN): Likewise.
6124         (ERRNO_UNCHANGED): Likewise.
6125         (ERRNO_EDOM): Likewise.
6126         (ERRNO_ERANGE): Likewise.
6127         (test_exceptions): Handle testing "inexact" exceptions.
6128         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6129         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6130         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6131         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6132         INEXACT_EXCEPTION.
6133         (rint_towardzero_test_data): Likewise.
6134         (rint_downward_test_data): Likewise.
6135         (rint_upward_test_data): Likewise.
6137         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6138         with OVERFLOW_EXCEPTION.
6139         (exp10_test_data): Likewise.
6140         (exp2_test_data): Likewise.
6141         (expm1_test_data): Likewise.
6142         (lgamma_test_data): Likewise.
6143         (pow_test_data): Likewise.
6144         (tgamma_test_data): Likewise.
6145         (yn_test_data): Remove duplicate test of overflow.
6147         * math/libm-test.inc (struct test_cc_c_data): New type.
6148         (RUN_TEST_LOOP_cc_c): New macro.
6149         (cpow_test_data): New variable.
6150         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6152         * math/libm-test.inc (struct test_f_L_data): New type.
6153         (RUN_TEST_LOOP_f_L): New macro.
6154         (llrint_test_data): New variable.
6155         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6156         (llrint_tonearest_test_data): New variable.
6157         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6158         (llrint_towardzero_test_data): New variable.
6159         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6160         (llrint_downward_test_data): New variable.
6161         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6162         (llrint_upward_test_data): New variable.
6163         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6164         (llround_test_data): New variable.
6165         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6167 2013-05-13  Peter Collingbourne  <pcc@google.com>
6169         * math/atest-exp2.c (get_log2): Remove const attribute.
6171 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6173         * math/libm-test.inc (struct test_f_l_data): New type.
6174         (RUN_TEST_LOOP_f_l): New macro.
6175         (lrint_test_data): New variable.
6176         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6177         (lrint_tonearest_test_data): New variable.
6178         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6179         (lrint_towardzero_test_data): New variable.
6180         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6181         (lrint_downward_test_data): New variable.
6182         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6183         (lrint_upward_test_data): New variable.
6184         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6185         (lround_test_data): New variable.
6186         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6188 2013-05-15  Peter Collingbourne  <pcc@google.com>
6190         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6191         (EXTRACT_WORDS64) Use where appropriate.
6192         (INSERT_WORDS64) Likewise.
6194         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6195         constraints with x constraints.
6196         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6198         * malloc/obstack.c (_obstack_compat): Add initializer.
6200 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6202         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6203         si_trapno and add si_addr_lsb to _sifields.sigfault.
6204         (si_trapno): Remove macro.
6205         (si_addr_lsb): Define new macro.
6206         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6208 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6210         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6211         instead of TEST_f_l.
6212         (llrint_test_tonearest): Likewise.
6213         (llrint_test_towardzero): Likewise.
6214         (llrint_test_downward): Likewise.
6215         (llrint_test_upward): Likewise.
6216         (llround_test): Likewise.
6218         * math/libm-test.inc (struct test_f_i_data): Add comment.
6219         (RUN_TEST_LOOP_f_b): New macro.
6220         (RUN_TEST_LOOP_f_b_tg): Likewise.
6221         (finite_test_data): New variable.
6222         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6223         (isfinite_test_data): New variable.
6224         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6225         (isinf_test_data): New variable.
6226         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6227         (isnan_test_data): New variable.
6228         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6229         (isnormal_test_data): New variable.
6230         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6231         (issignaling_test_data): New variable.
6232         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6233         (signbit_test_data): New variable.
6234         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6236         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6237         with INVALID_EXCEPTION.
6238         (acosh_test_data): Likewise.
6239         (asin_test_data): Likewise.
6240         (atanh_test_data): Likewise.
6241         (fmod_test_data): Likewise.
6242         (log_test_data): Likewise.
6243         (log10_test_data): Likewise.
6244         (log2_test_data): Likewise.
6245         (pow_test_data): Likewise.
6246         (sqrt_test_data): Likewise.
6247         (y0_test_data): Likewise.
6248         (y1_test_data): Likewise.
6249         (yn_test_data): Likewise.
6251         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6252         function contents.
6254         * math/libm-test.inc (struct test_ff_i_data): New type.
6255         (RUN_TEST_LOOP_ff_i_tg): New macro.
6256         (isgreater_test_data): New variable.
6257         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6258         (isgreaterequal_test_data): New variable.
6259         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6260         (isless_test_data): New variable.
6261         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6262         (islessequal_test_data): New variable.
6263         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6264         (islessgreater_test_data): New variable.
6265         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6266         (isunordered_test_data): New variable.
6267         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6269 2013-05-14  David S. Miller  <davem@davemloft.net>
6271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6273 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
6275         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6277         * math/libm-test.inc (struct test_fF_f1_data): Change type of
6278         extra_test to int.
6279         (struct test_f_i_data): Change type of max_ulp to int.
6281         * math/libm-test.inc (test_ffI_f1_data): New type.
6282         (RUN_TEST_LOOP_ffI_f1): New macro.
6283         (remquo_test_data): New variable.
6284         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6286         * setjmp/tst-setjmp-fp.c: New file.
6287         * setjmp/Makefile (tests): Add tst-setjmp-fp.
6288         (link-libm): New variable.
6289         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6291         * math/libm-test.inc (struct test_f_i_data): New type.
6292         (RUN_TEST_LOOP_f_i): New macro.
6293         (RUN_TEST_LOOP_f_i_tg): Likewise.
6294         (fpclassify_test_data): New variable.
6295         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6296         (ilogb_test_data): New variable.
6297         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6299         * math/libm-test.inc (scalbln_test): Correct function name in END
6300         call.
6302         * math/libm-test.inc (struct test_f_f1_data): Add comment.
6303         (RUN_TEST_LOOP_fI_f1): New macro.
6304         (frexp_test_data): New variable.
6305         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6307         * math/libm-test.inc (struct test_fF_f1_data): New type.
6308         (RUN_TEST_LOOP_fF_f1): New macro.
6309         (modf_test_data): New variable.
6310         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6312         * math/libm-test.inc (struct test_f_f1_data): New type.
6313         (RUN_TEST_LOOP_f_f1): New macro.
6314         (gamma_test_data): New variable.
6315         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6316         (lgamma_test_data): New variable.
6317         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6319 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
6321         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6322         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6323         (main): Comment "tls" pseudo-hwcap.
6325 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
6327         * math/libm-test.inc (struct test_fl_f_data): New type.
6328         (RUN_TEST_LOOP_fl_f): New variable.
6329         (scalbln_test_data): New variable.
6330         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6332         * math/libm-test.inc (struct test_fi_f_data): New type.
6333         (RUN_TEST_LOOP_fi_f): New macro.
6334         (ldexp_test_data): New variable.
6335         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6336         (scalbn_test_data): New variable.
6337         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6339         * math/libm-test.inc (struct test_c_f_data): New type.
6340         (RUN_TEST_LOOP_c_f): New macro.
6341         (cabs_test_data): New variable.
6342         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6343         (carg_test_data): New variable.
6344         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6345         (cimag_test_data): New variable.
6346         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6347         (creal_test_data): New variable.
6348         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6350         * math/libm-test.inc (struct test_if_f_data): New type.
6351         (RUN_TEST_LOOP_if_f): New macro.
6352         (jn_test_data): New variable.
6353         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6354         (yn_test_data): New variable.
6355         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6357         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6359 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6361         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6362         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6364 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6366         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6367         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6368         (bench-deps): Add bench-timing.h.
6369         * benchtests-bench-skeleton.c: Include bench-timing.h.
6370         (main): Use TIMING_* macros instead of clock_gettime.
6371         * benchtests/bench-timing.h: New file.
6373         [BZ #14582]
6374         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6375         Renamed from _LIB_VERSION.
6376         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6378 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6380         * math/libm-test.inc (struct test_fff_f_data): New type.
6381         (RUN_TEST_LOOP_fff_f): New macro.
6382         (fma_test_data): New variable.
6383         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6384         (fma_towardzero_test_data): New variable.
6385         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6386         (fma_downward_test_data): New variable.
6387         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6388         (fma_upward_test_data): New variable.
6389         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6391         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6392         (struct test_c_c_data): New type.
6393         (RUN_TEST_LOOP_c_c): New macro.
6394         (cacos_test_data): New variable.
6395         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6396         (cacosh_test_data): New variable.
6397         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6398         (casin_test_data): New variable.
6399         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6400         (casinh_test_data): New variable.
6401         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6402         (catan_test_data): New variable.
6403         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6404         (catanh_test_data): New variable.
6405         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6406         (ccos_test_data): New variable.
6407         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6408         (ccosh_test_data): New variable.
6409         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6410         (cexp_test_data): New variable.
6411         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6412         (clog_test_data): New variable.
6413         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6414         (clog10_test_data): New variable.
6415         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6416         (conj_test_data): New variable.
6417         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6418         (cproj_test_data): New variable.
6419         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6420         (csin_test_data): New variable.
6421         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6422         (csinh_test_data): New variable.
6423         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6424         (csqrt_test_data): New variable.
6425         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6426         (ctan_test_data): New variable.
6427         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6428         (ctan_tonearest_test_data): New variable.
6429         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6430         (ctan_towardzero_test_data): New variable.
6431         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6432         (ctan_downward_test_data): New variable.
6433         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6434         (ctan_upward_test_data): New variable.
6435         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6436         (ctanh_test_data): New variable.
6437         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6438         (ctanh_tonearest_test_data): New variable.
6439         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6440         (ctanh_towardzero_test_data): New variable.
6441         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6442         (ctanh_downward_test_data): New variable.
6443         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6444         (ctanh_upward_test_data): New variable.
6445         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6446         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6447         of BUILD_COMPLEX.
6449         * math/libm-test.inc (struct test_ff_f_data): New type.
6450         (struct test_ff_f_data_nexttoward): Likewise.
6451         (RUN_TEST_LOOP_2_f): New macro.
6452         (RUN_TEST_LOOP_ff_f): Likewise.
6453         (atan2_test_data): New variable.
6454         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6455         (copysign_test_data): New variable.
6456         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6457         (fdim_test_data): New variable.
6458         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6459         (fmax_test_data): New variable.
6460         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6461         (fmin_test_data): New variable.
6462         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6463         (fmod_test_data): New variable.
6464         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6465         (hypot_test_data): New variable.
6466         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6467         (nextafter_test_data): New variable.
6468         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6469         (nexttoward_test_data): New variable.
6470         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6471         (pow_test_data): New variable.
6472         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6473         (pow_tonearest_test_data): New variable.
6474         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6475         (pow_towardzero_test_data): New variable.
6476         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6477         (pow_downward_test_data): New variable.
6478         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6479         (pow_upward_test_data): New variable.
6480         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6481         (remainder_test_data): New variable.
6482         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6483         (scalb_test_data): New variable.
6484         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6485         * sysdeps/i386/fpu/libm-test-ulps: Update.
6487 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6489         * math/libm-test.inc (fma_test): Use max_value instead of local
6490         variable fltmax.
6491         (nextafter_test): Likewise.
6493         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6494         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6495         (acos_downward_test_data): New variable.
6496         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6497         (acos_upward_test_data): New variable.
6498         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6499         (acosh_test_data): New variable.
6500         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6501         (asin_test_data): New variable.
6502         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6503         (asin_tonearest_test_data): New variable.
6504         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6505         (asin_towardzero_test_data): New variable.
6506         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6507         (asin_downward_test_data): New variable.
6508         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6509         (asin_upward_test_data): New variable.
6510         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6511         (asinh_test_data): New variable.
6512         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6513         (atan_test_data): New variable.
6514         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6515         (atanh_test_data): New variable.
6516         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6517         (cbrt_test_data): New variable.
6518         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6519         (ceil_test_data): New variable.
6520         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6521         (cos_test_data): New variable.
6522         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6523         (cos_tonearest_test_data): New variable.
6524         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6525         (cos_towardzero_test_data): New variable.
6526         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6527         (cos_downward_test_data): New variable.
6528         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6529         (cos_upward_test_data): New variable.
6530         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6531         (cosh_test_data): New variable.
6532         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6533         (cosh_tonearest_test_data): New variable.
6534         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6535         (cosh_towardzero_test_data): New variable.
6536         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6537         (cosh_downward_test_data): New variable.
6538         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6539         (cosh_upward_test_data): New variable.
6540         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6541         (erf_test_data): New variable.
6542         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6543         (erfc_test_data): New variable.
6544         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6545         (exp_test_data): New variable.
6546         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6547         (exp_tonearest_test_data): New variable.
6548         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6549         (exp_towardzero_test_data): New variable.
6550         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6551         (exp_downward_test_data): New variable.
6552         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6553         (exp_upward_test_data): New variable.
6554         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6555         (exp10_test_data): New variable.
6556         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6557         (exp2_test_data): New variable.
6558         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6559         (expm1_test_data): New variable.
6560         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6561         (fabs_test_data): New variable.
6562         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6563         (floor_test_data): New variable.
6564         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6565         (j0_test_data): New variable.
6566         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6567         (j1_test_data): New variable.
6568         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6569         (log_test_data): New variable.
6570         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6571         (log10_test_data): New variable.
6572         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6573         (log1p_test_data): New variable.
6574         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6575         (log2_test_data): New variable.
6576         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6577         (logb_test_data): New variable.
6578         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6579         (logb_downward_test_data): New variable.
6580         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6581         (nearbyint_test_data): New variable.
6582         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6583         (rint_test_data): New variable.
6584         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6585         (rint_tonearest_test_data): New variable.
6586         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6587         (rint_towardzero_test_data): New variable.
6588         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6589         (rint_downward_test_data): New variable.
6590         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6591         (rint_upward_test_data): New variable.
6592         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6593         (round_test_data): New variable.
6594         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6595         (sin_test_data): New variable.
6596         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6597         (sin_tonearest_test_data): New variable.
6598         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6599         (sin_towardzero_test_data): New variable.
6600         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6601         (sin_downward_test_data): New variable.
6602         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6603         (sin_upward_test_data): New variable.
6604         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6605         (sinh_test_data): New variable.
6606         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6607         (sinh_tonearest_test_data): New variable.
6608         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6609         (sinh_towardzero_test_data): New variable.
6610         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6611         (sinh_downward_test_data): New variable.
6612         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6613         (sinh_upward_test_data): New variable.
6614         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6615         (sqrt_test_data): New variable.
6616         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6617         (tan_test_data): New variable.
6618         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6619         (tan_tonearest_test_data): New variable.
6620         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6621         (tan_towardzero_test_data): New variable.
6622         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6623         (tan_downward_test_data): New variable.
6624         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6625         (tan_upward_test_data): New variable.
6626         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6627         (tanh_test_data): New variable.
6628         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6629         (tgamma_test_data): New variable.
6630         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6631         (trunc_test_data): New variable.
6632         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6633         (y0_test_data): New variable.
6634         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6635         (y1_test_data): New variable.
6636         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6637         (significand_test_data): New variable.
6638         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6640 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6642         [BZ #12387]
6643         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6645 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6647         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6649 2013-05-10  Andreas Jaeger  <aj@suse.de>
6651         [BZ #15448]
6652         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6653         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6655 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6657         * math/gen-libm-test.pl (adjust_arg): New function.
6658         (special_functions): Handle generating output in both functions
6659         and arrays.
6660         (parse_args): Likewise.
6661         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6662         $in_func argument to parse_args.
6663         * math/libm-test.inc (struct test_f_f_data): New type.
6664         (IF_ROUND_INIT_): New macro.
6665         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6666         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6667         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6668         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6669         (ROUND_RESTORE_): Likewise.
6670         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6671         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6672         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6673         (ROUND_RESTORE_FE_UPWARD): Likewise.
6674         (RUN_TEST_LOOP_f_f): New macro.
6675         (acos_test_data): New variable.
6676         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6677         (acos_tonearest_test_data): New variable.
6678         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6680 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6682         * benchtests/bench-skeleton.c (startup): Fix coding style.
6684 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6686         [BZ #6809]
6687         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6688         negative infinity argument.
6689         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6690         negative infinity argument.
6691         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6692         negative infinity argument.
6693         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6694         domain errors.
6696 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6698         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6699         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6700         * iconv/iconv_prog.c (main): Likewise.
6701         * locale/programs/charmap-dir.c (charmap_readdir)
6702         (fopen_uncompressed): Likewise.
6703         * locale/programs/locfile.c (siblings_uncached)
6704         (write_locale_data): Use lstat64 instead of lstat.
6705         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6706         stat.
6708 2013-05-10  Andreas Jaeger  <aj@suse.de>
6710         [BZ #15395]
6711         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6712         localization.
6713         Include <locale.h>.
6715 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6717         * elf/dl-close.c (_dl_close_worker): Add comments.
6719 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6721         [BZ #15359]
6722         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6723         high part of pi/2.
6724         (__ieee754_rem_pio2l): Update comments.
6726         [BZ #15429]
6727         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6728         high part of pi/2.
6729         (__ieee754_rem_pio2l): Update comments.
6731         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6732         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6734         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6735         M_PI_4l.
6737         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6738         (M_PI_34_LOG10El): Likewise.
6739         (M_PI2_LOG10El): Likewise.
6740         (M_PI4_LOG10El): Likewise.
6741         (M_PI_LOG10El): Likewise.
6743 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6747 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6749         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6750         (MINUS_ZERO_INIT): Likewise.
6751         (PLUS_INFTY_INIT): Likewise.
6752         (MINUS_INFTY_INIT): Likewise.
6753         (QNAN_VALUE_INIT): Likewise.
6754         (MAX_VALUE_INIT): Likewise.
6755         (MIN_VALUE_INIT): Likewise.
6756         (MIN_SUBNORM_VALUE_INIT): Likewise.
6757         (plus_zero): Initialize with PLUS_ZERO_INIT.
6758         (minus_zero): Initialize with MINUS_ZERO_INIT.
6759         (plus_infty): Initialize with PLUS_INFTY_INIT.
6760         (minus_infty): Initialize with MINUS_INFTY_INIT.
6761         (qnan_value): Initialize with QNAN_VALUE_INIT.
6762         (max_value): Initialize with MAX_VALUE_INIT.
6763         (min_value): Initialize with MIN_VALUE_INIT.
6764         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6766         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6767         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6768         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6769         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6771         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6772         (RUN_TEST_2_f): Likewise.
6773         (RUN_TEST_ff_f): Likewise.
6774         (RUN_TEST_fi_f): Likewise.
6775         (RUN_TEST_fl_f): Likewise.
6776         (RUN_TEST_fff_f): Likewise.
6777         (RUN_TEST_c_f): Likewise.
6778         (RUN_TEST_f_f1): Likewise.
6779         (RUN_TEST_fF_f1): Likewise.
6780         (RUN_TEST_fI_f1): Likewise.
6781         (RUN_TEST_ffI_f1): Likewise.
6782         (RUN_TEST_c_c): Likewise.
6783         (RUN_TEST_cc_c): Likewise.
6784         (RUN_TEST_f_i): Likewise.
6785         (RUN_TEST_f_i_tg): Likewise.
6786         (RUN_TEST_ff_i_tg): Likewise.
6787         (RUN_TEST_f_b): Likewise.
6788         (RUN_TEST_f_b_tg): Likewise.
6789         (RUN_TEST_f_l): Likewise.
6790         (RUN_TEST_f_L): Likewise.
6791         (RUN_TEST_sincos): Likewise.
6792         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6793         whether to show exceptions.  Do not include ");\n" in return
6794         value.
6795         (special_functions): Output call to RUN_TEST_sincos instead of
6796         check_float calls.  Update calls to new_test.
6797         (parse_args): Output call to single RUN_TEST_* macro instead of
6798         check_* calls and other assignments.  Update calls to new_test.
6800         [BZ #2546]
6801         [BZ #2560]
6802         [BZ #5159]
6803         [BZ #15426]
6804         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6805         input to result for tgamma overflow.
6806         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6807         (gamma_coeff): New variable.
6808         (NCOEFF): New macro.
6809         (gamma_positive): New function.
6810         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6811         underflow here.  Use gamma_positive instead of exp (lgamma) for
6812         other arguments.
6813         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6814         (gamma_coeff): New variable.
6815         (NCOEFF): New macro.
6816         (gammaf_positive): New function.
6817         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6818         underflow here.  Use gamma_positive instead of exp (lgamma) for
6819         other arguments.
6820         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6821         (gamma_coeff): New variable.
6822         (NCOEFF): New macro.
6823         (gammal_positive): New function.
6824         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6825         underflow here.  Use gamma_positive instead of exp (lgamma) for
6826         other arguments.
6827         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6828         (gamma_coeff): New variable.
6829         (NCOEFF): New macro.
6830         (gammal_positive): New function.
6831         (__ieee754_gammal_r): Handle positive infinity, overflow and
6832         underflow here.  Handle NaN the same as positive infinity.  Remove
6833         check x < 0xffffffff for negative integers.  Use gamma_positive
6834         instead of exp (lgamma) for other arguments.
6835         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6836         (gamma_coeff): New variable.
6837         (NCOEFF): New macro.
6838         (gammal_positive): New function.
6839         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6840         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6841         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6842         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6843         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6844         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6845         * sysdeps/generic/math_private.h (__gamma_productf): New
6846         prototype.
6847         (__gamma_product): Likewise.
6848         (__gamma_productl): Likewise.
6849         * math/Makefile (libm-calls): Add gamma_product.
6850         * math/libm-test.inc (tgamma_test): Add more tests.
6851         * sysdeps/i386/fpu/libm-test-ulps: Update.
6852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6854 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6856         * benchtests/bench-skeleton.c (main): Preheat CPU.
6858 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6860         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6862 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6864         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6865         and _dl_skip_args_internal.
6867 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6869         * manual/message.texi (Message Translation): Talk about users.
6870         Message to key mapping impacts design.
6872 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6874         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6876         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6878         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6879         * sysdeps/wordsize-64/glob64.c: ... here.
6881         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6882         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6883         New macros.
6885         * debug/getlogin_r_chk.c: Moved to ...
6886         * login/getlogin_r_chk.c: ... here.
6887         * debug/Makefile (routines): Move getlogin_r_chk to ...
6888         * login/Makefile (routines): ... here.
6889         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6890         * login/Versions (libc: GLIBC_2.4): ... here.
6892         * io/poll.c (__poll): Renamed from poll.
6893         Add libc_hidden_def.
6894         (poll): Define as weak alias.
6896         * debug/ptsname_r_chk.c: Moved to ...
6897         * login/ptsname_r_chk.c: ... here.
6898         * debug/Makefile (routines): Move ptsname_r_chk to ...
6899         * login/Makefile (routines): ... here.
6900         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6901         * login/Versions (libc: GLIBC_2.4): ... here.
6903         * posix/getlogin.c: Moved to ...
6904         * login/getlogin.c: ... here.
6905         * posix/getlogin_r.c: Moved to ...
6906         * login/getlogin_r.c: ... here.
6907         * posix/getlogin_r.c: Moved to ...
6908         * login/getlogin_r.c: ... here.
6909         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6910         * login/Makefile (routines): ... here.
6911         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6912         * login/Versions (libc: GLIBC_2.0): ... here.
6914         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6915         (setrlimit): Define as weak alias.
6917         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6918         Call __ names for open, ftruncate, and close.
6919         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6920         (truncate): Define as weak alias.
6922 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6924         * math/gen-libm-test.pl (parse_args): Initialize x before each
6925         test of frexp, modf and remquo.
6927         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6928         test signgam value.
6930 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6932         [BZ #15418]
6933         [BZ #15419]
6934         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6935         internal tests.
6936         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6938 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6940         * elf/dl-writev.h: New file.
6941         * elf/dl-misc.c: Include it.
6942         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6943         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6945 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6947         * math/libm-test.inc (noXFails): Remove variable.
6948         (noXPasses): Likewise.
6949         (BUILD_COMPLEX_INT): Remove macro.
6950         (print_screen): Remove xfail argument.
6951         (print_screen_max_error): Likewise.
6952         (update_stats): Likewise.
6953         (print_max_error): Likewise.  Update calls to other affected
6954         functions.
6955         (print_complex_max_error): Likewise.
6956         (test_single_exception): Update calls to print_screen.
6957         (test_single_errno): Likewise.
6958         (check_float_internal): Remove xfail argument.  Update calls to
6959         other affected functions.
6960         (check_float): Likewise.
6961         (check_complex): Likewise.
6962         (check_int): Likewise.
6963         (check_long): Likewise.
6964         (check_bool): Likewise.
6965         (check_longlong): Likewise.
6966         (main): Don't print noXFails and noXPasses.
6967         * math/gen-libm-test.pl (top level): Don't mention expected
6968         failure handling in comment.
6969         (new_test): Don't handle expected failures.
6970         (parse_args): Don't mention expected failure handling in comment.
6971         (generate_testfile): Don't handle expected failures.
6972         (parse_ulps): Likewise.
6973         (print_ulps_file): Likewise.
6974         (get_failure): Remove function.
6975         (output_test): Don't handle expected failures.
6976         * make/README.libm-test: Don't mention expected failure handling.
6978         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6979         (minus_zero): Likewise.
6980         (plus_infty): Likewise.
6981         (minus_infty): Likewise.
6982         (qnan_value): Likewise.
6983         (max_value): Likewise.
6984         (min_value): Likewise.
6985         (min_subnorm_value): Likewise.
6986         (initialize): Do not initialize those variables dynamically.
6988 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6990         * io/open.c (__open_2): Moved to ...
6991         * io/open_2.c: ... this new file.
6992         * io/open64.c (__open64_2): Moved to ...
6993         * io/open64_2.c: ... this new file.
6994         * io/openat.c (__openat_2): Moved to ...
6995         * io/openat_2.c: ... this new file.
6996         * io/openat64.c (__openat64_2): Moved to ...
6997         * io/openat64_2.c: ... this new file.
6998         * io/Makefile (routines): Add them.
6999         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7000         * sysdeps/unix/sysv/linux/open_2.c: File removed.
7001         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7002         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7003         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7004         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7005         (__openat64): Add hidden_ver.
7006         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7007         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7009         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7010         Separately conditionalize setting of GLRO(dl_sysinfo) so
7011         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7012         as well, but the actual setting is only under [NEED_DL_SYSINFO].
7014 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7016         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7017         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7018         definition.
7019         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7020         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7021         (_libc_vdso_platform_setup): Add __vdso_time initialization.
7022         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7023         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7025 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
7027         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7028         test signgam value.
7030         * math/libm-test.inc (hypot_test): Do not use
7031         IGNORE_ZERO_INF_SIGN.
7033 2013-05-03  Andreas Jaeger  <aj@suse.de>
7035         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7036         Linux 3.9.
7037         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7038         (PF_MAX): Adjust for VSOCK change.
7040 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7044 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7046         [BZ #15264]
7047         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7048         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7049         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7051 2013-05-02  David S. Miller  <davem@davemloft.net>
7053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7055 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7057         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7059 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7061         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7063 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7065         [BZ #14952]
7066         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7067         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7068         Use __attribute__ ((__gnu_inline__)).
7069         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7070         Don't use __attribute__ ((__gnu_inline__)).
7072 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7074         [BZ #15423]
7075         * math/s_catan.c (__catan): Handle small real or imaginary part of
7076         input specially to avoid spurious underflow.
7077         * math/s_catanf.c (__catanf): Likewise.
7078         * math/s_catanh.c (__catanh): Likewise.
7079         * math/s_catanhf.c (__catanhf): Likewise.
7080         * math/s_catanhl.c (__catanhl): Likewise.
7081         * math/s_catanl.c (__catanl): Likewise.
7082         * math/libm-test.inc (catan_test): Add more tests.
7083         (catanh_test): Likewise.
7084         * sysdeps/i386/fpu/libm-test-ulps: Update.
7085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7087 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7091 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7093         [BZ #15416]
7094         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7095         accurately for denominator in atan2.
7096         * math/s_catanf.c (__catanf): Likewise.
7097         * math/s_catanh.c (__catanh): Likewise.
7098         * math/s_catanhf.c (__catanhf): Likewise.
7099         * math/s_catanhl.c (__catanhl): Likewise.
7100         * math/s_catanl.c (__catanl): Likewise.
7101         * math/libm-test.inc (catan_test): Add more tests.
7102         (catanh_test): Likewise.
7103         * sysdeps/i386/fpu/libm-test-ulps: Update.
7104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7106 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7108         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7110         * benchtests/Makefile (bench): Remove slow benchmarks.
7111         * benchtests/atan-inputs: Add slow benchmark inputs.
7112         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7113         (BENCH_FUNC): Accept variant offset.
7114         (VARIANT): Define.
7115         * benchtests/bench-skeleton.c (main): Run benchmark for each
7116         variant.
7117         * benchtests/cos-inputs: Add slow benchmark inputs.
7118         * benchtests/exp-inputs: Likewise.
7119         * benchtests/pow-inputs: Likewise.
7120         * benchtests/sin-inputs: Likewise.
7121         * benchtests/slowatan-inputs: Remove.
7122         * benchtests/slowatan.c: Remove.
7123         * benchtests/slowcos-inputs: Remove.
7124         * benchtests/slowcos.c: Remove.
7125         * benchtests/slowexp-inputs: Remove.
7126         * benchtests/slowexp.c: Remove.
7127         * benchtests/slowpow-inputs: Remove.
7128         * benchtests/slowpow.c: Remove.
7129         * benchtests/slowsin-inputs: Remove.
7130         * benchtests/slowsin.c: Remove.
7131         * benchtests/slowtan-inputs: Remove.
7132         * benchtests/slowtan.c: Remove.
7133         * benchtests/tan-inputs: Add slow benchmark inputs.
7134         * scripts/bench.pl: Parse comments and directives.
7136         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7137         in CPPFLAGS.
7138         ($(objpfx)bench-%.c): Remove *-ITER.
7139         * benchtests/bench-modf.c: Remove definition of ITER.
7140         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7141         (main): Loop for DURATION seconds instead of fixed number of
7142         iterations.
7143         * scripts/bench.pl: Don't expect iterations in parameters.
7145 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7147         * io/fchdir.c (__fchdir): Renamed from fchdir.
7148         (fchdir): Define as weak alias.
7150 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7152         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7153         (ERRNO_EDOM): Likewise.
7154         (ERRNO_ERANGE): Likewise.
7155         (noErrnoTests): New variable.
7156         (init_max_error): Set errno to 0.
7157         (test_single_errno): New function.
7158         (test_errno): Likewise.
7159         (check_float_internal): Call test_errno.  Set errno to 0.
7160         (check_complex): Refer to errno tests in comment.
7161         (check_int): Call test_errno.  Set errno to 0.
7162         (check_long): Likewise.
7163         (check_bool): Likewise.
7164         (check_longlong): Likewise.
7165         (cos_test): Use ERRNO_* flags for errno tests instead of
7166         check_int.
7167         (expm1_test): Likewise.
7168         (fmod_test): Likewise.
7169         (ilogb_test): Likewise.
7170         (lgamma_test): Likewise.
7171         (pow_test): Likewise.
7172         (remainder_test): Likewise.
7173         (sin_test): Likewise.
7174         (tan_test): Likewise.
7175         (yn_test): Likewise.
7176         (initialize): Set errno to 0.
7177         (main): Print number of errno tests.
7178         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7180 2013-04-29  Andreas Jaeger  <aj@suse.de>
7182         [BZ #15084]
7183         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7184         and RES_USEVC.
7186         [BZ #15085]
7187         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7188         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7189         unimplemented.
7191         [BZ #15380]
7192         * stdlib/random.c (__initstate): Return NULL if
7193         __initstate fails.
7195         [BZ #15086]
7196         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7197         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7198         RES_SNGLKUPREOP.
7200 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7204 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7206         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7207         of individual tests.
7208         (casin_test): Likewise.
7209         (casinh_test): Likewise.
7211 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7213         [BZ #15409]
7214         * math/s_catan.c (__catan): Handle arguments with large real or
7215         imaginary part separately without squaring.
7216         * math/s_catanf.c (__catanf): Likewise.
7217         * math/s_catanh.c (__catanh): Likewise.
7218         * math/s_catanhf.c (__catanhf): Likewise.
7219         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7220         and redefine.
7221         (__catanhl): Handle arguments with large real or imaginary part
7222         separately without squaring.
7223         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7224         and redefine.
7225         (__catanl): Handle arguments with large real or imaginary part
7226         separately without squaring.
7227         * math/libm-test.inc (catan_test): Add more tests.
7228         (catanh_test): Likewise.
7229         * sysdeps/i386/fpu/libm-test-ulps: Update.
7230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7232 2013-04-27  Andreas Jaeger  <aj@suse.de>
7234         [BZ #15007]
7235         * stdlib/stdlib.h: Update guards for qecvt.
7236         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7237         <stdlib.h>.
7239 2013-04-27  Allan McRae  <allan@archlinux.org>
7241         * sysdeps/i386/fpu/libm-test-ulps: Update.
7243 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7245         [BZ #15406]
7246         * math/s_catan.c: Include <float.h>.
7247         (__catan): Ensure underflow exception occurs for underflowed
7248         result.
7249         * math/s_catanf.c: Include <float.h>.
7250         (__catanf): Ensure underflow exception occurs for underflowed
7251         result.
7252         * math/s_catanh.c: Include <float.h>.
7253         (__catanh): Ensure underflow exception occurs for underflowed
7254         result.
7255         * math/s_catanhf.c: Include <float.h>.
7256         (__catanhf): Ensure underflow exception occurs for underflowed
7257         result.
7258         * math/s_catanhl.c: Include <float.h>.
7259         (__catanhl): Ensure underflow exception occurs for underflowed
7260         result.
7261         * math/s_catanl.c: Include <float.h>.
7262         (__catanl): Ensure underflow exception occurs for underflowed
7263         result.
7264         * math/libm-test.inc (catan_test): Add more tests.
7265         (catanh_test): Likewise.
7267         [BZ #15405]
7268         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7269         underflowed result.
7270         * math/s_ccoshf.c (__ccoshf): Likewise.
7271         * math/s_ccoshl.c (__ccoshl): Likewise.
7272         * math/s_csin.c (__csin): Likewise.
7273         * math/s_csinf.c (__csinf): Likewise.
7274         * math/s_csinh.c (__csinh): Likewise.
7275         * math/s_csinhf.c (__csinhf): Likewise.
7276         * math/s_csinhl.c (__csinhl): Likewise.
7277         * math/s_csinl.c (__csinl): Likewise.
7278         * math/libm-test.inc (ccos_test): Add more tests.
7279         (ccosh_test): Likewise.
7280         (csin_test): Likewise.
7281         (csinh_test): Likewise.
7283 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7285         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7286         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7287         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7288         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7289         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7290         powerpc/power5+/fpu folders.
7291         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7294 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7298 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
7300         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7301         additions to variable.
7302         [$(config-machine) = x86_64] (modules-names): Likewise.
7303         ($(objpfx)tst-audit3): Remove dependency.
7304         ($(objpfx)tst-audit3.out): Likewise.
7305         ($(objpfx)tst-audit4): Likewise.
7306         ($(objpfx)tst-audit4.out): Likewise.
7307         ($(objpfx)tst-audit5): Likewise.
7308         ($(objpfx)tst-audit5.out): Likewise.
7309         ($(objpfx)tst-audit6): Likewise.
7310         ($(objpfx)tst-audit6.out): Likewise.
7311         ($(objpfx)tst-audit7): Likewise.
7312         ($(objpfx)tst-audit7.out): Likewise.
7313         (tst-audit3-ENV): Remove variable.
7314         (tst-audit4-ENV): Likewise.
7315         (tst-audit5-ENV): Likewise.
7316         (tst-audit6-ENV): Likewise.
7317         (tst-audit7-ENV): Likewise.
7318         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7319         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7320         addition to variable.
7321         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7322         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7323         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7324         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7325         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7326         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7327         tst-audit3, tst-audit4 and tst-audit5.
7328         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7329         tst-audit6 and tst-audit7.
7330         [$(subdir) = elf] (modules-names): Add audit modules for those
7331         tests.
7332         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7333         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7334         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7335         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7336         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7337         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7338         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7339         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7340         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7341         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7342         [$(subdir) = elf] (tst-audit3-ENV): New variable.
7343         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7344         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7345         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7346         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7347         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7348         Likewise.
7349         [$(subdir) = elf && $(config-cflags-avx) = yes]
7350         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7351         [$(subdir) = elf && $(config-cflags-avx) = yes]
7352         (CFLAGS-tst-auditmod4a.c): Likewise.
7353         [$(subdir) = elf && $(config-cflags-avx) = yes]
7354         (CFLAGS-tst-auditmod4b.c): Likewise.
7355         [$(subdir) = elf && $(config-cflags-avx) = yes]
7356         (CFLAGS-tst-auditmod6b.c): Likewise.
7357         [$(subdir) = elf && $(config-cflags-avx) = yes]
7358         (CFLAGS-tst-auditmod6c.c): Likewise.
7359         [$(subdir) = elf && $(config-cflags-avx) = yes]
7360         (CFLAGS-tst-auditmod7b.c): Likewise.
7361         * elf/tst-audit3.c: Move to ...
7362         * sysdeps/x86_64/tst-audit3.c: ... here.
7363         * elf/tst-audit4.c: Move to ...
7364         * sysdeps/x86_64/tst-audit4.c: ... here.
7365         * elf/tst-audit5.c: Move to ...
7366         * sysdeps/x86_64/tst-audit5.c: ... here.
7367         * elf/tst-audit6.c: Move to ...
7368         * sysdeps/x86_64/tst-audit6.c: ... here.
7369         * elf/tst-audit7.c: Move to ...
7370         * sysdeps/x86_64/tst-audit7.c: ... here.
7371         * elf/tst-auditmod3a.c: Move to ...
7372         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7373         * elf/tst-auditmod3b.c: Move to ...
7374         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7375         * elf/tst-auditmod4a.c: Move to ...
7376         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7377         * elf/tst-auditmod4b.c: Move to ...
7378         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7379         * elf/tst-auditmod5a.c: Move to ...
7380         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7381         * elf/tst-auditmod5b.c: Move to ...
7382         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7383         * elf/tst-auditmod6a.c: Move to ...
7384         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7385         * elf/tst-auditmod6b.c: Move to ...
7386         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7387         * elf/tst-auditmod6c.c: Move to ...
7388         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7389         * elf/tst-auditmod7a.c: Move to ...
7390         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7391         * elf/tst-auditmod7b.c: Move to ...
7392         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7394 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7396         [BZ #15366]
7397         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7398         define unconditionally.
7399         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7400         define unconditionally.
7401         (INT8_C, INT16_C, etc.): Likewise.
7403 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7405         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7406         __ehdr_start with hidden visibility.
7408         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7410 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7412         * math/libm-test.inc (cos_test): Use accurate hex constants.
7413         (sincost_test): Likewise.
7415 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7417         * math/libm-test.inc (catan_test): Add more tests.
7418         (catanh_test): Likewise.
7420         * math/s_catanf.c (__catanf): Use suffixed floating-point
7421         constants.
7422         * math/s_catanhf.c (__catanhf): Likewise.
7423         * math/s_catanhl.c (__catanhl): Likewise.
7424         * math/s_catanl.c (__catanl): Likewise.
7426         [BZ #15394]
7427         * math/s_catan.c (__catan): Calculate imaginary part of result
7428         with log1p not log unless computing log of number close to 0.
7429         * math/s_catanf.c (__catanf): Likewise.
7430         * math/s_catanl.c (__catanl): Likewise.
7431         * math/s_catanh.c (__catanh): Calculate real part of result with
7432         log1p not log unless computing log of number close to 0.
7433         * math/s_catanhf.c (__catanhf): Likewise.
7434         * math/s_catanhl.c (__catanhl): Likewise.
7435         * math/libm-test.inc (catan_test): Add more tests.
7436         (catanh_test): Likewise.
7437         * sysdeps/i386/fpu/libm-test-ulps: Update.
7438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7440 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7442         * benchtests/Makefile: Mention files in which fast and slow
7443         paths of math functions are implemented.
7445 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7447         * sysdeps/posix/timespec_get.c: New file.
7449 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7451         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7452         POWER.
7453         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7454         for POWER.
7455         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7456         powerpc/power5/fpu folders.
7457         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7458         * benchtests/Makefile: Add modf testcase.
7459         * benchtests/bench-modf.c: New file: Benchmark test for mo
7461 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7463         [BZ #14888]
7464         * time/Makefile (tests): Add tst-strptime-whitespace.
7465         * time/strptime_l.c (get_number): Use ISSPACE.
7466         (__strptime_internal): Likewise.
7467         * time/tst-strptime-whitespace.c: New test case.
7469 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7471         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7472         member.
7473         (_nss_files_init): Set it here.
7475 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7477         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7478         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7479         unsigned.
7481 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7483         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7485 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7487         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7488         size just once.
7490 2013-04-21  David S. Miller  <davem@davemloft.net>
7492         * po/ru.po: Update Russion translation from translation project.
7494 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7496         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7497         and setfsgid.
7499 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7501         * configure.in: Remove i386 configure warning. Remove i386 case.
7502         * configure: Regenerate.
7503         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7504         Add example to error message.
7505         * sysdeps/i386/configure: Regenerate.
7507 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7509         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7510         slowtan.
7511         * benchtests/cos-inputs: New file.
7512         * benchtests/slowcos-inputs: New file.
7513         * benchtests/slowcos.c: New file.
7514         * benchtests/slowtan-inputs: New file.
7515         * benchtests/slowtan.c: New file.
7516         * benchtests/tan-inputs: New file.
7518 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7520         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7521         considered kosher.
7523 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7525         * benchtests/Makefile: Include cppflags-iterator.mk to add
7526         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7528         * Makefile.in (bench-clean): New target.
7529         * benchtests/Makefile (bench-clean): Likewise.
7531 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7533         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7535 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7537         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7539 2013-04-15  Andreas Schwab  <schwab@suse.de>
7541         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7542         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7543         * nscd/pwdcache.c (cache_addpw): Likewise.
7544         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7545         more than recsize.
7547 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7549         * benchtests/Makefile (bench): Write all output to
7550         bench-out.tmp together.
7552 2013-04-15  Andreas Schwab  <schwab@suse.de>
7554         * nscd/nscd.c (main): Don't fork again after closing files.
7556 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7558         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7560         * benchtests/Rules (bench-deps): Collect dependencies into a
7561         single variable.  Add Makefile to dependencies.
7562         ($(objpfx)bench-%.c): Depend on bench-deps.
7564 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7565             Xavier Roche  <roche+kml2@exalead.com>
7567         [BZ #15361]
7568         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7569         just that it's a file descriptor.
7570         * manual/llio.texi (Synchronizing AIO Operations): Update description
7571         for EBADF error from aio_fsync.
7573 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7575         * Rules (bench): Move target definition...
7576         * benchtests/Makefile: ... here.
7578 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7580         * math/libm-test.inc (cos_test): Fix PI/2 test.
7581         (sincos_test): Likewise.
7582         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7583         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7585 2013-04-11  Andreas Schwab  <schwab@suse.de>
7587         [BZ #13988]
7588         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7589         accept exponent character only when digits were seen.
7590         * stdio-common/Makefile (tests): Add bug26.
7591         * stdio-common/bug26.c: New file.
7593         [BZ #14293]
7594         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7595         non-freeable.
7597 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7599         * Makeconfig (rtld-prefix): Define built linker prefix.
7600         * Rules (run-bench): Use it.
7601         * math/Makefile (run-regen-ulps): Likewise.
7603         * Rules (bench): Remove eval.
7605 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7606             Roland McGrath  <roland@hack.frob.com>
7607             Ondrej Bilka  <neleai@seznam.cz>
7609         [BZ #15346]
7610         * time/getdate.c: Include ctype.h and alloca.h.
7611         (__getdate_r): Trim leading and trailing spaces of input.
7612         * time/tst-getdate.c (tests): Add tests with leading and
7613         trailing spaces.
7615 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7617         [BZ #14280]
7618         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7619         when computing value.
7621 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7623         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7624         Use testrun.sh to run libm tests.
7626         [BZ #15309]
7627         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7629 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7631         [BZ #15264]
7632         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7634 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7636         * Makefile.in (regen-ulps): New target.
7637         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7638         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7639         [ifneq (no,$(PERL)] (regen-ulps): New target.
7640         [ifeq (no,$(PERL)] (regen-ulps): New target.
7641         * math/libm-test.inc (ulps_file_name): Define.
7642         (output_dir): New variable.
7643         (options): Add "output-dir" option.
7644         (parse_opt): Handle 'o' case.
7645         (main): If output_dir is non-NULL use it as a prefix
7646         otherwise use "".
7647         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7649 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7651         [BZ #10060, #10062]
7652         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7653         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7654         fail configure if __sync_val_compare_and_swap is not inlined.
7655         * sysdeps/i386/configure: Regenerate.
7656         * configure.in: Build for i686 when configured for i386.
7657         * configure: Regenerate.
7658         * README: Remove i386 reference.
7660 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7662         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7663         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7665 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7667         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7668         (lmsnanval): New variables.
7669         (F): Add conversion tests.
7670         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7671         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7673         * stdio-common/tstdiomisc.c (F): Properly collect individual
7674         tests' results.
7676         [BZ #14686, #15336]
7677         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7678         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7679         Instead, use input NaN values or generate a qNaN by arithmetic
7680         operation.  Also fix bugs to comply with the standard.
7681         * math/libm-test.inc (remainder_test): Add more tests.
7683         [BZ #15335, #15342]
7684         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7685         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7686         input NaN values or generate a qNaN by arithmetic operation.
7688         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7689         unreachable code.
7691         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7692         definitions.
7694 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7696         [BZ #14478]
7697         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7698         underflowed result.
7699         * math/s_cexpf.c (__cexpf): Likewise.
7700         * math/s_cexpl.c (__cexpl): Likewise.
7701         * math/libm-test.inc (cexp_test): Add more tests.
7703 2013-04-03  Andreas Schwab  <schwab@suse.de>
7705         [BZ #15330]
7706         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7707         order arrays from heap if bigger than alloca cutoff.
7709 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7711         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7712         (SNAN_TESTS_double): Refer to GCC PR56831.
7713         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7714         GCC PR56828.
7716 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7718         * Rules (bench): Move bench.out after the run is complete.
7720         * Rules (bench): Echo currently running benchmark.
7722         * benchtests/Makefile (bench): Add atan and slowatan.
7723         * benchtests/atan-inputs: New file.
7724         * benchtests/slowatan-inputs: New file.
7725         * benchtests/slowatan.c: New file.
7727         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7728         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7729         its value.
7731         [BZ #15305]
7732         * sysdeps/unix/sysv/linux/kernel-features.h
7733         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7734         __ASSUME_XFS_RESTRICTED_CHOWN.
7735         * sysdeps/unix/sysv/linux/pathconf.c
7736         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7737         Save and restore errno.
7739 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7741         [BZ #15327]
7742         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7743         arguments using __kernel_casinh.
7744         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7745         arguments using __kernel_casinhf.
7746         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7747         arguments using __kernel_casinhl.
7748         * math/libm-test.inc (cacosh_test): Add more tests.
7749         * sysdeps/i386/fpu/libm-test-ulps: Update.
7750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7752 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7754         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7755         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7757         * bench/Makefile (bench): Add sin and slowsin.
7758         * benchtests/sin-inputs: New file.
7759         * benchtests/slowsin-inputs: New file.
7760         * benchtests/slowsin.c: New file.
7762         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7763         (bench): Add slowexp and slowpow.
7764         (exp-ITER): Increase iterations.
7765         (pow-ITER): Likewise.
7766         * benchtests/exp-inputs: Change input.
7767         * benchtests/pow-inputs: Likewise.
7768         * benchtests/slowexp-inputs: New file.
7769         * benchtests/slowexp.c: New file.
7770         * benchtests/slowpow-inputs: New file.
7771         * benchtests/slowpow.c: New file.
7773 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7775         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7776         instructions.
7777         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7778         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7779         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7780         * benchtests/Makefile: Add rint benchtest.
7781         * benchtests/rint-inputs: Input for rint benchtest.
7783 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7785         * Versions.def (libm): Add GLIBC_2.18.
7786         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7787         hidden libm prototypes.
7788         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7789         * math/Makefile (libm-calls): Add s_issignaling.
7790         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7791         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7792         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7793         declaration.
7794         * math/math.h [__USE_GNU] (issignaling): New macro.
7795         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7796         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7797         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7798         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7799         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7800         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7801         * manual/arith.texi (issignaling): New section.
7802         * manual/libm-err-tab.pl (@all_functions): Update comment.
7803         * math/gen-libm-test.pl (parse_args): Apply special handling for
7804         issignaling.
7805         * math/libm-test.inc (print_float, issignaling_test): New
7806         functions.
7807         (check_float_internal): Add issignaling checks.
7808         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7809         default definition.
7810         * sysdeps/powerpc/math-tests.h: New file.
7811         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7812         tests.
7813         * math/test-snan.c (TEST_FUNC): Likewise.
7815 2013-03-30  David S. Miller  <davem@davemloft.net>
7817         * po/de.po: Update from translation team.
7819 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7821         [BZ #10357]
7822         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7823         imaginary part less than 1.0 and real part less than 0.5
7824         specially.
7825         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7826         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7827         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7828         (cacos_test): Add more tests.
7829         (casin_test): Likewise.
7830         (casinh_test): Likewise.
7831         * sysdeps/i386/fpu/libm-test-ulps: Update.
7832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7834 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7836         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7837         ONE with its value.
7839         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7840         (__pow_mp): Replace ONE and MONE with their values.
7841         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7842         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7843         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7844         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7845         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7846         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7848         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7850         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7851         (__pow_mp): Replace ZERO and MZERO with their values.
7852         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7853         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7854         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7855         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7856         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7857         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7858         (__sqr): Likewise.
7860         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7862         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7864 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7866         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7867         Declare with __attribute__ ((weak)).
7868         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7869         Call __call_tls_dtors only if it's not NULL.
7871 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7873         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7874         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7875         magic __ehdr_start linker symbol if it's defined.
7876         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7877         them up here if it was already done.
7879         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7880         (_dl_aux_init): Use const in cast when setting it.
7881         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7882         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7883         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7885         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7886         Declare them here.
7887         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7888         * csu/libc-tls.c: Nor here.
7889         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7891         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7892         (__libc_message): Never call vsyslog.
7894 2013-03-28  Alan Modra  <amodra@gmail.com>
7896         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7897         Define as empty.
7898         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7899         Likewise.
7901 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7903         [BZ #15214]
7904         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7905         underflow.
7906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7908 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7910         [BZ #15304]
7911         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7912         Don't add gid passed as argument.
7914         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7916 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7918         [BZ #15307]
7919         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7920         imaginary part between 1.0 and 1.5 and real part less than 0.5
7921         specially.
7922         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7923         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7924         * math/libm-test.inc (cacos_test): Add more tests.
7925         (casin_test): Likewise.
7926         (casinh_test): Likewise.
7927         * sysdeps/i386/fpu/libm-test-ulps: Update.
7928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7930 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7932         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7933         constants.
7934         (norm): Likewise.
7935         (denorm): Likewise.
7936         (__dbl_mp): Likewise.
7937         (add_magnitudes): Likewise.
7938         (sub_magnitudes): Likewise.
7939         (__add): Likewise.
7940         (__sub): Likewise.
7941         (__mul): Likewise.
7942         (__sqr): Likewise.
7943         (__inv): Likewise.
7944         (__dvd): Likewise.
7946         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7947         commented code.
7948         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7949         (__dubcos): Likewise.
7950         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7951         (__ieee754_acos): Likewise.
7952         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7953         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7954         (__exp1): Likewise.
7955         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7956         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7957         (log1): Likewise.
7958         (my_log2): Likewise.
7959         (checkint): Likewise.
7960         * sysdeps/ieee754/dbl-64/e_remainder.c
7961         (__ieee754_remainder): Likewise.
7962         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7963         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7964         (bsloww): Likewise.
7965         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7967         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7968         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7969         MANTISSA_STORE_T to store computations on mantissa.  Use
7970         macros for rounding and division.
7971         (denorm): Likewise.
7972         (__dbl_mp): Likewise.
7973         (add_magnitudes): Likewise.
7974         (sub_magnitudes): Likewise.
7975         (__mul): Likewise.
7976         (__sqr): Likewise.
7977         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7978         powers of two in terms of TWOPOW macro.
7979         (mp_no): Make type of mantissa as MANTISSA_T.
7980         [!RADIXI]: Define RADIXI.
7981         [!TWO52]: Define TWO52.
7982         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7984 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7986         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7987         llroundl symbol when building for PPC32.
7989 2013-03-24  Mark H Weaver  <mhw@netris.org>
7991         * manual/arith.texi (Normalization Functions): Fix prototypes for
7992         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7994 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7996         [BZ #13889]
7997         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7998         high value to check if expl overflow.
7999         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8000         to check for underflow and overflow.
8001         * math/libm-test.inc: Add exp test.
8003 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
8005         [BZ #11120]
8006         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8007         with NOT_IN_libc.
8009 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8011         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8012         symbol.
8014 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8016         * math/gen-libm-test.pl (parse_args, special_functions): Properly
8017         wrap blocks consisting of several statements.
8019         * sysdeps/generic/math-tests.h: New file.
8020         * sysdeps/i386/fpu/math-tests.h: Likewise.
8021         * math/test-snan.c: Include it.
8022         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8024 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8026         [BZ #15285]
8027         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8028         (__ieee754_j0l): Do not improve calculations using cos of twice
8029         input for inputs above LDBL_MAX / 2.0L.
8030         (__ieee754_y0l): Likewise.
8031         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8032         (__ieee754_j1l): Do not improve calculations using cos of twice
8033         input for inputs above LDBL_MAX / 2.0L.
8034         (__ieee754_y1l): Likewise.
8035         * math/libm-test.inc (j0_test): Add another test.
8036         (j1_test): Likewise.
8037         (y0_test): Likewise.
8038         (y1_test): Likewise.
8039         * sysdeps/i386/fpu/libm-test-ulps: Update.
8041 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8043         * Rules ($(objpfx)bench-%.c): Include code from a C source
8044         file.
8046 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8048         [BZ #15287]
8049         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8050         imaginary part 1.0 and real part less than 0.5 specially.
8051         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8052         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8053         * math/libm-test.inc (cacos_test): Add more tests.
8054         (casin_test): Likewise.
8055         (casinh_test): Likewise.
8056         * sysdeps/i386/fpu/libm-test-ulps: Update.
8057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8059 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8061         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8062         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8064 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8066         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8067         * config.make.in (config-cflags-sse4): Remove variable.
8068         (config-cflags-avx): Likewise.
8069         (config-cflags-sse2avx): Likewise.
8070         (config-cflags-novzeroupper): Likewise.
8071         (config-asflags-i686): Likewise.
8072         (have-mfma4): Likewise.
8073         (have-as-vis3): Likewise.
8074         (MIG): Likewise.
8075         * configure.in (MIG): Do not AC_SUBST.
8076         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8077         (libc_cv_cc_sse4): Do not AC_SUBST.
8078         (libc_cv_cc_avx): Likewise.
8079         (libc_cv_cc_sse2avx): Likewise.
8080         (libc_cv_cc_novzeroupper): Likewise.
8081         (libc_cv_cc_fma4): Likewise.
8082         (libc_cv_as_i686): Likewise.
8083         (libc_cv_sparc_as_vis3): Likewise.
8084         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8085         LIBC_CONFIG_VAR.
8086         (config-asflags-i686): Likewise.
8087         (config-cflags-avx): Likewise.
8088         (config-cflags-sse2avx): Likewise.
8089         (have-mfma4): Likewise.
8090         (config-cflags-novzeroupper): Likewise.
8091         * sysdeps/mach/configure.in (MIG): Likewise.
8092         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8093         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8094         LIBC_CONFIG_VAR.
8095         (config-cflags-avx): Likewise.
8096         (config-cflags-sse2avx): Likewise.
8097         (have-mfma4): Likewise.
8098         (config-cflags-novzeroupper): Likewise.
8099         * configure: Regenerated.
8100         * sysdeps/i386/configure: Likewise.
8101         * sysdeps/mach/configure: Likewise.
8102         * sysdeps/sparc/configure: Likewise.
8103         * sysdeps/x86_64/configure: Likewise.
8105 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8107         [BZ #14812]
8108         * locale/programs/localedef.c (options): Put N_ translation marker
8109         on argument names, not just descriptions.
8111 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8113         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8115 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8117         [BZ #14176]
8118         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8120 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8122         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8123         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8124         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8125         [!BEFORE_ABORT] (before_abort): New function.
8126         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8127         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8128         (writev_for_fatal): New function.
8129         (WRITEV_FOR_FATAL): New macro; call that.
8130         (backtrace_and_maps): New function.
8131         (BEFORE_ABORT): New macro; call that.
8132         (struct str_list): Type removed.
8133         (__libc_message, __libc_fatal): Functions removed.
8134         Include <sysdeps/posix/libc_fatal.c> instead.
8136 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8138         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8139         constants.
8140         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8141         double constants.
8143 2013-03-19  Andreas Schwab  <schwab@suse.de>
8145         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8146         * sysdeps/gnu/configure: Regenerate.
8148         * configure.in: Substitute libc_cv_rtlddir.
8149         * configure: Regenerate.
8150         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8151         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8152         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8153         * elf/Makefile (install-others, CFLAGS-interp.c)
8154         (ldso_install, common-ldd-rewrite): Likewise.
8155         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8156         $(inst_slibdir)/$(rtld-installed-name).
8157         * scripts/rellns-sh: Add -p option.
8158         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8159         for source.
8161 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8163         * manual/nptl.texi: Renamed to ...
8164         * manual/threads.texi: ... this.
8165         * manual/Makefile (chapters): Update.
8167 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8169         [BZ #14812]
8170         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8171         on argument names, not just descriptions.
8172         * malloc/memusagestat.c (options): Likewise.
8173         * nss/getent.c (options): Likewise.
8175 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8177         [BZ #14812]
8178         * iconv/iconv_prog.c (options): Put N_ translation marker
8179         on argument names, not just descriptions.
8180         * iconv/iconvconfig.c (options): Likewise.
8182 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8184         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8185         implementation which is faster on all x86_64 architectures.
8186         Tested on AMD, Intel Nehalem, SNB, IVB.
8187         * sysdeps/x86_64/strnlen.S: Likewise.
8189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8190         Remove all multiarch strlen and strnlen versions.
8191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8192         Remove strlen and strnlen related parts.
8194         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8195         Inline strlen part.
8196         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8198         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8199         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8200         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8201         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8202         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8203         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8205 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8207         * manual/memory.texi (Malloc Tunable Parameters):
8208         Sort parameters alphabetically. Add comments for missing entries.
8210 2013-03-17  David S. Miller  <davem@davemloft.net>
8212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8214 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8216         [BZ #15283]
8217         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8218         for arguments at most half maximum finite value.
8219         * math/libm-test.inc (j0_test): Add more tests.
8220         (j1_test): Likewise.
8221         (y0_test): Likewise.
8222         (y1_test): Likewise.
8223         * sysdeps/i386/fpu/libm-test-ulps: Update.
8224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8226         [BZ #14155]
8227         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8228         1 / x and functions P and Q for arguments above 0x1p256L.
8229         (__ieee754_y0l): Likewise.
8230         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8231         (__ieee754_y1l): Likewise.
8232         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8233         (j1_test): Likewise.
8234         (y0_test): Likewise.
8235         (y1_test): Likewise.
8237 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8239         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8240         variable.
8242 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8244         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8245         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8246         zero since it's initialized to EXEC_PAGESIZE.
8248         * sysdeps/unix/sysv/linux/ldsodefs.h
8249         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8250         * sysdeps/generic/ldsodefs.h: ... here.
8252 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8254         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8256         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8257         math/test-snan.c.
8258         * math/test-snan.c: Renamed from
8259         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8260         * math/Makefile (tests): Add test-snan.
8261         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8262         test-powerpc-snan.
8264         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8265         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8266         functions.
8267         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
8268         __builtin_nan family of functions.
8269         * math/libm-test.inc (initialize): Initialize qnan_value with
8270         __builtin_nan family of functions.
8271         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8272         Remove variables.
8273         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8274         Remove functions.
8275         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
8276         storage class.  Initialize qNaN_var and sNaN_var with
8277         __builtin_nan and __builtin_nans families of functions,
8278         respectively.
8280         * math/libm-test.inc (acosh_test): Also test with qNaN input.
8281         (sqrt_test): Remove duplicate test with qNaN input.
8282         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8283         (round_test, signbit_test, significand_test): Note missing +/-Inf
8284         as well as qNaN tests.
8286         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8287         qNaN_var.  Fix a few strings, too.
8288         * math/libm-test.inc (nan_value): Rename to qnan_value.
8289         * math/gen-libm-test.pl (%beautify): Adjust to that.
8290         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8291         * math/test-misc.c (main): Likewise.
8292         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8293         to __qnan_bytes, and __qnan_union, respectively.
8294         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8295         Likewise.
8296         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8297         and lqnanval, respectively.
8298         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8299         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8300         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8301         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8303         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8304         * math/test-misc.c (main) [__x86_64__]: Enable test for long
8305         doubles.
8307         * math/test-misc.c (main): Fix copy'n'pastos.
8308         * misc/tst-efgcvt.c (special): Likewise.
8310         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8311         Remove declarations.
8313 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8315         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8316         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8317         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8318         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8320 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8322         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8323         macro to return vdso values correctly in IFUNC implementations.
8324         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8325         Optimization by using IFUNC.
8327 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8328             Richard Henderson  <rth@redhat.com>
8329             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8331         * Makefile.in (bench): New target.
8332         * NEWS: Mention the benchmark framework.
8333         * Rules (bench): Likewise.
8334         (binaries-bench): Generate binaries for functions to
8335         benchmark.
8336         * benchtests/Makefile: New makefile for benchmark tests.
8337         * benchtests/bench-skeleton.c: New skeleton file for benchmark
8338         programs.
8339         * benchtests/exp-inputs: New input file for EXP function.
8340         * benchtests/pow-inputs: New input file for POW function.
8341         * scripts/bench.pl: New script to generate source files for
8342         benchmark programs.
8344 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8346         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8347         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8348         computations on mantissa.  Use macros for rounding and
8349         division.
8350         (denorm): Likewise.
8351         (__dbl_mp): Likewise.
8352         (add_magnitudes): Likewise.
8353         (sub_magnitudes): Likewise.
8354         (__mul): Likewise.
8355         (__sqr): Likewise.
8356         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8357         powers of two in terms of TWOPOW macro.
8358         (mp_no): Make type of mantissa as MANTISSA_T.
8359         [!RADIXI]: Define RADIXI.
8360         [!TWO52]: Define TWO52.
8361         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8363         * manual/nptl.texi (cindex): Modify threads to pthreads.
8365 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8367         * sysdeps/x86_64/preconfigure: Regenerated.
8369 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8371         [BZ #14155]
8372         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8373         0x1p28 and above.
8374         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8375         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8376         0x1p28 and above.
8377         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8378         * math/libm-test.inc (j0_test): Do not allow one spurious
8379         underflow exception.
8380         (y1_test): Likewise.
8382 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8384         * manual/Makefile (chapters): Add nptl.
8385         * manual/debug.texi (Debugging Support): Add link to Threads
8386         chapter.
8387         * manual/nptl.texi: New file.
8389         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8391 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8393         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8394         for non-NULL pointer before the memory validity test. Pointed
8395         out by Holger Brunck <holger.brunck@keymile.com>.
8397 2013-03-13  Andreas Schwab  <schwab@suse.de>
8399         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8400         instead of .os.
8402 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8404         * timezone/zic.c: Update from tzcode 2013b.
8406 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8408         * manual/install.texi (Configuring and compiling):
8409         Mention i686 and i586.
8410         * INSTALL: Regenerate.
8412 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8414         * sysdeps/init_array/elf-init.c: New file.
8415         * csu/elf-init.c
8416         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8417         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8419         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8420         __gmon_start__ as global, but as static with a .preinit_array pointer.
8421         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8422         * sysdeps/init_array/crti.S: New file, empty except for comments.
8423         * sysdeps/init_array/crtn.S: Likewise.
8425 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8427         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8428         definining bcopy.
8429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8430         Remove Prefer_SSE_for_memop.
8431         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8432         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8433         HAS_PREFER_SSE_FOR_MEMOP.
8434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8435         memset-x86-64.
8436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8437         Remove bzero, memset ifunc support.
8438         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8439         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8440         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8441         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8443 2013-03-11  Andreas Schwab  <schwab@suse.de>
8445         [BZ #15234]
8446         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8447         by SHLIB_COMPAT.
8448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8449         (GLIBC_2.16): Remove pthread_atfork.
8451 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8453         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8454         (ptestcases.h): Likewise.
8456 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8458         * Makeconfig ($(common-objpfx)config.status): Depend on
8459         sysdeps/*/preconfigure{,.in} too.
8461 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8463         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8464         (__free_hook): Use void * instead of __malloc_ptr_t.
8465         (__malloc_hook): Likewise.
8466         (__realloc_hook): Likewise.
8467         (__memalign_hook): Likewise.
8468         (__after_morecore_hook): Likewise.
8469         * malloc/arena.c (save_malloc_hook): Likewise.
8470         (save_free_hook): Likewise.
8471         * malloc/hooks.c (malloc_hook_ini): Likewise.
8472         (realloc_hook_ini): Likewise.
8473         (memalign_hook_ini): Likewise.
8474         * malloc/malloc.c (malloc_hook_ini): Likewise.
8475         (realloc_hook_ini): Likewise.
8476         (memalign_hook_ini): Likewise.
8477         (__free_hook): Likewise.
8478         (__malloc_hook): Likewise.
8479         (__realloc_hook): Likewise.
8480         (__memalign_hook): Likewise.
8481         (__libc_malloc): Likewise.
8482         (__libc_free): Likewise.
8483         (__libc_realloc): Likewise.
8484         (__libc_memalign): Likewise.
8485         (__libc_valloc): Likewise.
8486         (__libc_pvalloc): Likewise.
8487         (__libc_calloc): Likewise.
8488         (__posix_memalign): Likewise.
8489         * malloc/morecore.c (__sbrk): Likewise.
8490         (__default_morecore): Likewise.
8492         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8494         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8495         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8496         __malloc_ptrdiff_t.
8498         * malloc/malloc.h (__malloc_size_t): Remove macro.
8499         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8500         __malloc_size_t.
8501         (old_memalign_hook): Likewise.
8502         (old_realloc_hook): Likewise.
8503         (struct hdr): Likewise.
8504         (flood): Likewise.
8505         (mallochook): Likewise.
8506         (memalignhook): Likewise.
8507         (reallochook): Likewise.
8508         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8509         (tr_old_realloc_hook): Likewise.
8510         (tr_old_memalign_hook): Likewise.
8511         (tr_mallochook): Likewise.
8512         (tr_reallochook): Likewise.
8513         (tr_memalignhook): Likewise.
8515 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8517         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8518         default_ldbl_pack and using as default implementation.
8519         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8520         implementation.
8521         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8522         redundant definition.
8523         (ldbl_insert_mantissa): Likewise.
8524         (ldbl_canonicalize): Likewise.
8525         (ldbl_nearbyint): Likewise.
8526         (ldbl_pack): Rename to ldbl_pack_ppc.
8527         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8528         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8529         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8531 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8533         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8534         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8535         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8536         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8538         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8539         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8540         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8542 2013-03-07  Andreas Jaeger  <aj@suse.de>
8544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8545         bits/mman-linux.h.
8547 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8549         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8550         Include mpa.h and declare __MPEXP.
8551         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8552         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8553         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8554         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8555         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8556         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8557         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8559         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8560         (__slowpow): Use long double EXPL and LOGL functions to
8561         compute POW.
8562         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8563         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8564         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8565         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8566         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8570         intermediate variable to calculate exponent.
8571         (__sqr): Likewise.
8572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8573         Likewise.
8574         (__sqr): Likewise.
8576         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8577         [!NO__SQR]: Define __sqr.
8578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8579         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8580         sysdeps/ieee754/dbl-64/mpa.c.
8581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8583         [BZ #12723]
8584         * posix/Makefile (tests): Add tst-pathconf.
8585         * posix/tst-pathconf.c: New test case.
8586         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8587         _PC_PIPE_BUF.
8588         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8590 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8592         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8594 2013-03-06  Andreas Jaeger  <aj@suse.de>
8596         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8597         definition via __MAP_ANONYMOUS.
8599         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8600         it's not part of Linux headers.
8602         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8603         (MAP_HUGE_MASK): Define.
8605         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8606         Define.
8607         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8608         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8609         Define.
8610         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8611         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8612         Define.
8613         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8614         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8615         Define.
8616         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8618         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8619         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8620         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8621         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8622         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8623         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8625         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8626         Handle f2fs.
8628         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8629         Handle f2fs and efivarfs.
8631         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8632         f2fs.
8634         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8635         (EFIVARFS_MAGIC): Add.
8636         (F2FS_LINK_MAX): Add.
8638 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8640         * stdio-common/vfprintf.c: Replace __builtin_expect with
8641         __glibc_unlikely.
8643 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8645         [BZ #13550]
8646         * sysdeps/generic/bp-sym.h: Remove file.
8647         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8648         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8649         <bp-sym.h> and <bp-asm.h>.
8650         (__longjmp): Don't use BP_SYM.
8651         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8652         and <bp-asm.h>.
8653         (memcpy): Don't use BP_SYM.
8654         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8655         <bp-sym.h> and <bp-asm.h>.
8656         (memcpy): Don't use BP_SYM.
8657         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8658         <bp-asm.h>.
8659         (memcpy): Don't use BP_SYM.
8660         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8661         <bp-asm.h>.
8662         (memset): Don't use BP_SYM.
8663         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8664         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8665         (__bzero): Don't use BP_SYM.
8666         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8667         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8668         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8669         <bp-sym.h> and <bp-asm.h>.
8670         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8671         pointers.
8672         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8673         <bp-sym.h> and <bp-asm.h>.
8674         (memcpy): Don't use BP_SYM.
8675         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8676         <bp-sym.h> and <bp-asm.h>.
8677         (memset): Don't use BP_SYM.
8678         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8679         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8680         (__bzero): Don't use BP_SYM.
8681         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8682         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8683         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8684         <bp-sym.h> and <bp-asm.h>.
8685         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8686         pointers.
8687         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8688         <bp-sym.h> and <bp-asm.h>.
8689         (memcpy): Don't use BP_SYM.
8690         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8691         <bp-sym.h> and <bp-asm.h>.
8692         (memset): Don't use BP_SYM.
8693         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8694         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8695         (__bzero): Don't use BP_SYM.
8696         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8697         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8698         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8699         <bp-sym.h> and <bp-asm.h>.
8700         (__memchr): Don't use BP_SYM.
8701         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8702         <bp-sym.h> and <bp-asm.h>.
8703         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8704         pointers.
8705         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8706         <bp-sym.h> and <bp-asm.h>.
8707         (memcpy): Don't use BP_SYM.
8708         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8709         <bp-sym.h> and <bp-asm.h>.
8710         (__mempcpy): Don't use BP_SYM.
8711         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8712         <bp-sym.h> and <bp-asm.h>.
8713         (__memrchr): Don't use BP_SYM.
8714         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8715         <bp-sym.h> and <bp-asm.h>.
8716         (memset): Don't use BP_SYM.
8717         (__bzero): Likewise.
8718         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8719         <bp-sym.h> and <bp-asm.h>.
8720         (__rawmemchr): Don't use BP_SYM.
8721         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8722         <bp-sym.h> and <bp-asm.h>.
8723         (__STRCMP): Don't use BP_SYM.
8724         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8725         <bp-sym.h> and <bp-asm.h>.
8726         (strchr): Don't use BP_SYM.
8727         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8728         <bp-sym.h> and <bp-asm.h>.
8729         (__strchrnul): Don't use BP_SYM.
8730         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8731         <bp-sym.h> and <bp-asm.h>.
8732         (strlen): Don't use BP_SYM.
8733         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8734         <bp-sym.h> and <bp-asm.h>.
8735         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8736         pointers.
8737         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8738         <bp-sym.h> and <bp-asm.h>.
8739         (__strnlen): Don't use BP_SYM.
8740         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8741         <bp-sym.h> and <bp-asm.h>.
8742         (__GI__setjmp): Don't use BP_SYM.
8743         (_setjmp): Likewise.
8744         (__sigsetjmp): Likewise.
8745         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8746         (L(start_addresses)): Don't use BP_SYM.
8747         (_start): Likewise.
8748         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8749         <bp-asm.h>.
8750         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8751         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8752         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8753         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8754         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8755         <bp-asm.h>.
8756         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8757         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8758         about bounded pointers.
8759         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8760         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8761         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8762         <bp-asm.h>.
8763         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8764         about bounded pointers.  Remove GKM FIXME comments.
8765         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8766         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8767         <bp-asm.h>.
8768         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8769         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8770         Remove GKM FIXME comments.
8771         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8772         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8773         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8774         <bp-asm.h>.
8775         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8776         about bounded pointers.  Remove GKM FIXME comment.
8777         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8778         and <bp-asm.h>.
8779         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8780         pointers.
8781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8782         <bp-sym.h> and <bp-asm.h>.
8783         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8785         <bp-sym.h> and <bp-asm.h>.
8786         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8787         comment.
8789 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8791         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8792         call free(NULL).
8794 2013-03-05  David S. Miller  <davem@davemloft.net>
8796         * po/es.po: Update from translation team.
8798 2013-03-05  Andreas Jaeger  <aj@suse.de>
8800         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8801         <bits/mman-linux.h>.
8802         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8803         is fine.
8804         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8805         <bits/mman-linux.h> to end of file.
8806         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8807         is fine.
8808         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8809         <bits/mman-linux.h> to end of file.
8810         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8811         is fine.
8812         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8813         <bits/mman-linux.h> to end of file.
8815         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8816         (MCL_CURRENT, MCL_FUTURE): Define here.
8818 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8820         [BZ #15232]
8821         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8822         attribute_hidden.
8823         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8825 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8827         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8828         fourth parameter needed for rt_sigprocmask syscall.
8829         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8830         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8831         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8832         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8833         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8834         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8836 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8838         [BZ #13550]
8839         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8840         comment about bounded pointers.
8841         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8842         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8844 2013-03-04  Andreas Jaeger  <aj@suse.de>
8846         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8847         common definitions.
8849         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8850         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8851         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8852         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8853         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8854         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8856 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8858         [BZ #15055]
8859         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8860         __ieee754_sqrl instead of __sqrl.
8862 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8864         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8865         * sysdeps/powerpc/fpu_control.h: ... here.
8866         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8867         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8868         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8869         * sysdeps/powerpc/bits/mathinline.h: ... here.
8871 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8873         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8874         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8875         to just [NEED_DL_SYSINFO_DSO].
8876         * elf/dl-support.c: Likewise.
8877         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8878         * elf/rtld.c (dl_main): Likewise.
8879         * elf/setup-vdso.h (setup_vdso): Likewise.
8880         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8881         * sysdeps/unix/sysv/linux/dl-sysdep.c
8882         (_dl_discover_osversion): Likewise.
8884 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8886         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8887         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8889 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8891         * NEWS: Mention libm performance improvements and non-x86 PI
8892         futex support.
8894         * csu/libc-start.c (__pthread_initialize_minimal): Change
8895         function arguments.
8896         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8898 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8900         [BZ #13550]
8901         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8902         * sysdeps/powerpc/powerpc32/__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/a2/memcpy.S: Don't include <bp-sym.h>
8906         and <bp-asm.h>.
8907         (memcpy): Don't use BP_SYM.
8908         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8909         <bp-asm.h>.
8910         (__mpn_add_n): Don't use BP_SYM.
8911         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8912         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8913         and <bp-asm.h>.
8914         (__mpn_addmul_1): Don't use BP_SYM.
8915         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8916         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8917         <bp-sym.h>.
8918         (_setjmp): Don't use BP_SYM.
8919         (__novmx_setjmp): Likewise.
8920         (__GI__setjmp): Likewise.
8921         (__vmx_setjmp): Likewise.
8922         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8923         <bp-sym.h>.
8924         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8925         (__bzero): Don't use BP_SYM.
8926         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8927         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8928         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8929         <bp-sym.h> and <bp-asm.h>.
8930         (memcpy): Don't use BP_SYM.
8931         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8932         <bp-sym.h> and <bp-asm.h>.
8933         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8934         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8935         <bp-sym.h> and <bp-asm.h>.
8936         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8937         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8938         <bp-asm.h>.
8939         (__mpn_lshift): Don't use BP_SYM.
8940         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8941         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8942         <bp-asm.h>.
8943         (memset): Don't use BP_SYM.
8944         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8945         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8946         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8947         <bp-asm.h>.
8948         (__mpn_mul_1): Don't use BP_SYM.
8949         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8950         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8951         <bp-sym.h> and <bp-asm.h>.
8952         (memcmp): Don't use BP_SYM.
8953         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8954         <bp-sym.h> and <bp-asm.h>.
8955         (memcpy): Don't use BP_SYM.
8956         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8957         <bp-sym.h> and <bp-asm.h>.
8958         (memset): Don't use BP_SYM.
8959         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8960         <bp-sym.h> and <bp-asm.h>.
8961         (strncmp): Don't use BP_SYM.
8962         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8963         <bp-sym.h> and <bp-asm.h>.
8964         (memcpy): Don't use BP_SYM.
8965         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8966         <bp-sym.h> and <bp-asm.h>.
8967         (memset): Don't use BP_SYM.
8968         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8969         <bp-sym.h> and <bp-asm.h>.
8970         (__memchr): Don't use BP_SYM.
8971         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8972         <bp-sym.h> and <bp-asm.h>.
8973         (memcmp): Don't use BP_SYM.
8974         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8975         <bp-sym.h> and <bp-asm.h>.
8976         (memcpy): Don't use BP_SYM.
8977         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8978         <bp-sym.h> and <bp-asm.h>.
8979         (__mempcpy): Don't use BP_SYM.
8980         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8981         <bp-sym.h> and <bp-asm.h>.
8982         (__memrchr): Don't use BP_SYM.
8983         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8984         <bp-sym.h> and <bp-asm.h>.
8985         (memset): Don't use BP_SYM.
8986         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8987         <bp-sym.h> and <bp-asm.h>.
8988         (__rawmemchr): Don't use BP_SYM.
8989         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8990         <bp-sym.h> and <bp-asm.h>.
8991         (__STRCMP): Don't use BP_SYM.
8992         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8993         <bp-sym.h> and <bp-asm.h>.
8994         (strchr): Don't use BP_SYM.
8995         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8996         <bp-sym.h> and <bp-asm.h>.
8997         (__strchrnul): Don't use BP_SYM.
8998         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8999         <bp-sym.h> and <bp-asm.h>.
9000         (strlen): Don't use BP_SYM.
9001         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9002         <bp-sym.h> and <bp-asm.h>.
9003         (strncmp): Don't use BP_SYM.
9004         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9005         <bp-sym.h> and <bp-asm.h>.
9006         (__strnlen): Don't use BP_SYM.
9007         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9008         <bp-asm.h>.
9009         (__mpn_rshift): Don't use BP_SYM.
9010         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9011         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9012         <bp-sym.h> and <bp-asm.h>.
9013         (__sigsetjmp): Don't use BP_SYM.
9014         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9015         (L(start_addresses)): Don't use BP_SYM.
9016         (_start): Likewise.
9017         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9018         <bp-asm.h>.
9019         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9020         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9021         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9022         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9023         <bp-asm.h>.
9024         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9025         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9026         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9027         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9028         <bp-asm.h>.
9029         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9030         comments.
9031         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9032         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9033         <bp-asm.h>.
9034         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
9035         FIXME comments.
9036         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9037         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9038         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9039         <bp-asm.h>.
9040         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9041         comment.
9042         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9043         and <bp-asm.h>.
9044         (strncmp): Don't use BP_SYM,
9045         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9046         <bp-asm.h>.
9047         (__mpn_sub_n): Don't use BP_SYM.
9048         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9049         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9050         and <bp-asm.h>.
9051         (__mpn_submul_1): Don't use BP_SYM.
9052         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9054         <bp-sym.h> and <bp-asm.h>.
9055         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9057         <bp-sym.h> and <bp-asm.h>.
9058         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9059         comment.
9061 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9064         Use ZK to minimize writes to Z.
9065         (sub_magnitudes): Simplify code a bit.
9066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9067         Use ZK to minimize writes to Z.
9068         (sub_magnitudes): Simplify code a bit.
9070 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9072         * csu/gmon-start.c: Add special exception to license text.
9074 2013-02-27  Richard Henderson  <rth@redhat.com>
9076         * scripts/config.guess: Update from config.git.
9077         * scripts/config.sub: Likewise.
9079 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9081         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9083         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9085         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9087         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9089         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9091 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9093         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9094         [$(build-shared = yes].
9096 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9098         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9099         (__mul): Reduce iterations for calculating mantissa.
9101         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9102         MPTWO.
9103         (__mpranred): Likewise.
9105         [BZ #15160]
9106         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9107         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9109 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9111         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9112         Define __attribute__.
9114 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9116         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9117         unused.
9118         * posix/regex_internal.h (__attribute): Remove.
9119         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9120         (re_string_context_at): Likewise.
9121         (bitset_not): Use __attribute__ and mark function as possibly
9122         unused.
9123         (bitset_merge): Likewise.
9124         (bitset_mask): Likewise.
9125         (re_string_char_size_at): Likewise.
9126         (re_string_wchar_at): Likewise.
9127         (re_string_elem_size_at): Likewise.
9129 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9131         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9132         code.
9133         (cc32): Likewise.
9135         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9136         (__acr): Likewise.
9137         (__cpy): Likewise.
9138         (norm): Likewise.
9139         (denorm): Likewise.
9140         (__dbl_mp): Likewise.
9141         (add_magnitudes): Likewise.
9142         (sub_magnitudes): Likewise.
9143         (__mul): Likewise.
9144         (__inv): Likewise.
9146         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9147         style.
9149         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9150         style.
9152         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9153         code.
9155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9156         up changes with default code.
9157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9158         Likewise.
9160 2013-02-24  Allan McRae  <allan@archlinux.org>
9162         * manual/socket.texi (The Internet Namespace): Order menu items
9163         to match that in the file.
9165         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9166         node listing of the info page menu.
9168 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9170         [BZ #13550]
9171         * sysdeps/i386/bp-asm.h: Remove file.
9172         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9173         (PARMS): Do not use macros from bp-asm.h.
9174         (S1): Likewise.
9175         (S2): Likewise.
9176         (SIZE): Likewise.
9177         (__mpn_add_n): Do not use BP_SYM
9178         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9179         "bp-asm.h".
9180         (PARMS): Do not use macros from bp-asm.h.
9181         (S1): Likewise.
9182         (SIZE): Likewise.
9183         (__mpn_addmul_1): Do not use BP_SYM
9184         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9185         "bp-asm.h".
9186         (PARMS): Do not use macros from bp-asm.h.
9187         (SIGMSK): Likewise.
9188         (_setjmp): Likewise.  Do not use BP_SYM.
9189         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9190         "bp-asm.h".
9191         (PARMS): Do not use macros from bp-asm.h.
9192         (SIGMSK): Likewise.
9193         (setjmp): Likewise.  Do not use BP_SYM.
9194         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9195         "bp-asm.h".
9196         (PARMS): Do not use macros from bp-asm.h.
9197         (__frexp): Do not use BP_SYM.
9198         (frexp): Likewise.
9199         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9200         "bp-asm.h".
9201         (PARMS): Do not use macros from bp-asm.h.
9202         (__frexpf): Do not use BP_SYM.
9203         (frexpf): Likewise.
9204         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9205         "bp-asm.h".
9206         (PARMS): Do not use macros from bp-asm.h.
9207         (__frexpl): Do not use BP_SYM.
9208         (frexpl): Likewise.
9209         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9210         "bp-asm.h".
9211         (PARMS): Do not use macros from bp-asm.h.
9212         (__remquo): Do not use BP_SYM.
9213         (remquo): Likewise.
9214         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9215         "bp-asm.h".
9216         (PARMS): Do not use macros from bp-asm.h.
9217         (__remquof): Do not use BP_SYM.
9218         (remquof): Likewise.
9219         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9220         "bp-asm.h".
9221         (PARMS): Do not use macros from bp-asm.h.
9222         (__remquol): Do not use BP_SYM.
9223         (remquol): Likewise.
9224         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9225         "bp-asm.h".
9226         (PARMS): Do not use macros from bp-asm.h.
9227         (DEST): Likewise.
9228         (SRC): Likewise.
9229         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9230         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9231         "bp-asm.h".
9232         (PARMS): Do not use macros from bp-asm.h.
9233         (strlen): Do not use BP_SYM.
9234         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9235         "bp-asm.h".
9236         (PARMS): Do not use macros from bp-asm.h.
9237         (S1): Likewise.
9238         (S2): Likewise.
9239         (SIZE): Likewise.
9240         (__mpn_add_n): Do not use BP_SYM.
9241         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9242         "bp-asm.h".
9243         (PARMS): Do not use macros from bp-asm.h.
9244         (S1): Likewise.
9245         (SIZE): Likewise.
9246         (__mpn_addmul_1): Do not use BP_SYM.
9247         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9248         weak_alias.
9249         (bzero): Likewise.
9250         * sysdeps/i386/i586/lshift.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_lshift): Do not use BP_SYM.
9256         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9257         "bp-asm.h".
9258         (PARMS): Do not use macros from bp-asm.h.
9259         (DEST): Likewise.
9260         (SRC): Likewise.
9261         (LEN): Likewise.
9262         (memcpy): Likewise.  Do not use BP_SYM.
9263         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9264         libc_hidden_def and weak_alias.
9265         (mempcpy): Do not use BP_SYM in weak_alias.
9266         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9267         "bp-asm.h".
9268         (PARMS): Do not use macros from bp-asm.h.
9269         (DEST): Likewise.
9270         (LEN): Likewise.
9271         [!BZERO_P] (CHR): Likewise.
9272         (memset): Likewise.  Do not use BP_SYM.
9273         * sysdeps/i386/i586/mul_1.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         (SIZE): Likewise.
9278         (__mpn_mul_1): Do not use BP_SYM.
9279         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9280         "bp-asm.h".
9281         (PARMS): Do not use macros from bp-asm.h.
9282         (S): Likewise.
9283         (SIZE): Likewise.
9284         (__mpn_rshift): Do not use BP_SYM.
9285         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9286         "bp-asm.h".
9287         (PARMS): Do not use macros from bp-asm.h.
9288         (STR): Likewise.
9289         (CHR): Likewise.
9290         (strchr): Likewise.  Do not use BP_SYM.
9291         (index): Do not use BP_SYM in weak_alias.
9292         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9293         "bp-asm.h".
9294         (PARMS): Do not use macros from bp-asm.h.
9295         (DEST): Likewise.
9296         (SRC): Likewise.
9297         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
9298         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9299         "bp-asm.h".
9300         (PARMS): Do not use macros from bp-asm.h.
9301         (strlen): Do not use BP_SYM.
9302         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9303         "bp-asm.h".
9304         (PARMS): Do not use macros from bp-asm.h.
9305         (S1): Likewise.
9306         (S2): Likewise.
9307         (SIZE): Likewise.
9308         (__mpn_sub_n): Do not use BP_SYM.
9309         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9310         "bp-asm.h".
9311         (PARMS): Do not use macros from bp-asm.h.
9312         (S1): Likewise.
9313         (SIZE): Likewise.
9314         (__mpn_submul_1): Do not use BP_SYM.
9315         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9316         "bp-asm.h".
9317         (PARMS): Do not use macros from bp-asm.h.
9318         (S1): Likewise.
9319         (S2): Likewise.
9320         (SIZE): Likewise.
9321         (__mpn_add_n): Do not use BP_SYM.
9322         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9323         weak_alias.
9324         (bzero): Likewise.
9325         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9326         "bp-asm.h".
9327         (PARMS): Do not use macros from bp-asm.h.
9328         (BLK2): Likewise.
9329         (LEN): Likewise.
9330         (memcmp): Do not use BP_SYM.
9331         (bcmp): Do not use BP_SYM in weak_alias.
9332         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9333         "bp-asm.h".
9334         (PARMS): Do not use macros from bp-asm.h.
9335         (DEST): Likewise.
9336         (SRC): Likewise.
9337         (LEN): Likewise.
9338         (memcpy): Likewise.  Do not use BP_SYM.
9339         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9340         "bp-asm.h".
9341         (PARMS): Do not use macros from bp-asm.h.
9342         (DEST): Likewise.
9343         (SRC): Likewise.
9344         (LEN): Likewise.
9345         (memmove): Likewise.  Do not use BP_SYM.
9346         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9347         "bp-asm.h".
9348         (PARMS): Do not use macros from bp-asm.h.
9349         (DEST): Likewise.
9350         (SRC): Likewise.
9351         (LEN): Likewise.
9352         (__mempcpy): Likewise.  Do not use BP_SYM.
9353         (mempcpy): Do not use BP_SYM in weak_alias.
9354         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9355         "bp-asm.h".
9356         (PARMS): Do not use macros from bp-asm.h.
9357         (DEST): Likewise.
9358         (LEN): Likewise.
9359         [!BZERO_P] (CHR): Likewise.
9360         (memset): Likewise.  Do not use BP_SYM.
9361         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9362         "bp-asm.h".
9363         (PARMS): Do not use macros from bp-asm.h.
9364         (STR2): Likewise.
9365         (strcmp): Do not use BP_SYM.
9366         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9367         "bp-asm.h".
9368         (PARMS): Do not use macros from bp-asm.h.
9369         (STR): Likewise.
9370         (DELIM): Likewise.
9371         [USE_AS_STRTOK_R] (SAVE): Likewise.
9372         (FUNCTION): Likewise.  Do not use BP_SYM.
9373         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9374         aliases.
9375         (strtok_r): Likewise.
9376         (__GI___strtok_r): Likewise.
9377         * sysdeps/i386/lshift.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_lshift): Do not use BP_SYM.
9382         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9383         (PARMS): Do not use macros from bp-asm.h.
9384         (STR): Likewise.
9385         (CHR): Likewise.
9386         (__memchr): Do not use BP_SYM.
9387         (memchr): Do not use BP_SYM in weak_alias.
9388         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9389         (PARMS): Do not use macros from bp-asm.h.
9390         (BLK2): Likewise.
9391         (LEN): Likewise.
9392         (memcmp): Do not use BP_SYM.
9393         (bcmp): Do not use BP_SYM in weak_alias.
9394         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9395         (PARMS): Do not use macros from bp-asm.h.
9396         (S1): Likewise.
9397         (SIZE): Likewise.
9398         (__mpn_mul_1): Do not use BP_SYM.
9399         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9400         "bp-asm.h".
9401         (PARMS): Do not use macros from bp-asm.h.
9402         (STR): Likewise.
9403         (CHR): Likewise.
9404         (__rawmemchr): Do not use BP_SYM.
9405         (rawmemchr): Do not use BP_SYM in weak_alias.
9406         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9407         (PARMS): Do not use macros from bp-asm.h.
9408         (S): Likewise.
9409         (SIZE): Likewise.
9410         (__mpn_rshift): Do not use BP_SYM.
9411         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9412         (PARMS): Do not use macros from bp-asm.h.
9413         (SIGMSK): Likewise.
9414         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9415         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9416         (_start): Do not use BP_SYM.
9417         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9418         (PARMS): Do not use macros from bp-asm.h.
9419         (DEST): Likewise.
9420         (SRC): Likewise.
9421         (__stpcpy): Likewise.  Do not use BP_SYM.
9422         (stpcpy): Do not use BP_SYM in weak_alias.
9423         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9424         "bp-asm.h".
9425         (PARMS): Do not use macros from bp-asm.h.
9426         (DEST): Likewise.
9427         (SRC): Likewise.
9428         (LEN): Likewise.
9429         (__stpncpy): Likewise.  Do not use BP_SYM.
9430         (stpncpy): Do not use BP_SYM in weak_alias.
9431         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9432         (PARMS): Do not use macros from bp-asm.h.
9433         (STR): Likewise.
9434         (CHR): Likewise.
9435         (strchr): Likewise.  Do not use BP_SYM.
9436         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9437         "bp-asm.h".
9438         (PARMS): Do not use macros from bp-asm.h.
9439         (STR): Likewise.
9440         (CHR): Likewise.
9441         (__strchrnul): Likewise.  Do not use BP_SYM.
9442         (strchrnul): Do not use BP_SYM in weak_alias.
9443         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9444         "bp-asm.h".
9445         (PARMS): Do not use macros from bp-asm.h.
9446         (STOP): Likewise.
9447         (strcspn): Do not use BP_SYM.
9448         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9449         "bp-asm.h".
9450         (PARMS): Do not use macros from bp-asm.h.
9451         (STR): Likewise.
9452         (STOP): Likewise.
9453         (strpbrk): Likewise.  Do not use BP_SYM.
9454         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9455         "bp-asm.h".
9456         (PARMS): Do not use macros from bp-asm.h.
9457         (STR): Likewise.
9458         (CHR): Likewise.
9459         (strrchr): Likewise.  Do not use BP_SYM.
9460         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9461         (PARMS): Do not use macros from bp-asm.h.
9462         (SKIP): Likewise.
9463         (strspn): Do not use BP_SYM.
9464         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9465         (PARMS): Do not use macros from bp-asm.h.
9466         (STR): Likewise.
9467         (DELIM): Likewise.
9468         (SAVE): Likewise.
9469         (FUNCTION): Likewise.  Do not use BP_SYM.
9470         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9471         aliases.
9472         (strtok_r): Likewise.
9473         (__GI___strtok_r): Likewise.
9474         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9475         (PARMS): Do not use macros from bp-asm.h.
9476         (S1): Likewise.
9477         (S2): Likewise.
9478         (SIZE): Likewise.
9479         (__mpn_sub_n): Do not use BP_SYM.
9480         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9481         "bp-asm.h".
9482         (PARMS): Do not use macros from bp-asm.h.
9483         (S1): Likewise.
9484         (SIZE): Likewise.
9485         (__mpn_submul_1): Do not use BP_SYM.
9486         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9487         <bp-sym.h>.
9488         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9489         and <bp-asm.h>.
9490         (PARMS): Do not use macros from bp-asm.h.
9491         (FLAGS): Likewise.
9492         (PTID): Likewise.
9493         (TLS): Likewise.
9494         (CTID): Likewise.
9495         (__clone): Do not use BP_SYM.
9496         (clone): Do not use BP_SYM in weak_alias.
9497         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9498         and <bp-asm.h>.
9499         (PARMS): Do not use macros from bp-asm.h.
9500         (LEN): Likewise.
9501         (__mmap64): Do not use BP_SYM.
9502         (mmap64): Do not use BP_SYM in weak_alias.
9503         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9504         <bp-sym.h> and <bp-asm.h>.
9505         (PARMS): Do not use macros from bp-asm.h.
9506         (__posix_fadvise64_l64): Do not use BP_SYM.
9507         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9508         (PARMS): Do not use macros from bp-asm.h.
9509         (NSOPS): Likewise.
9510         (semtimedop): Do not use BP_SYM.
9511         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9512         and <bp-asm.h>.
9514 2013-02-21  Allan McRae  <allan@archlinux.org>
9516         * manual/message.texi (Charset conversion in gettext):
9517         Move @end statement to beginning of line.
9519 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9522         static.
9523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9524         Likewise.
9526         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9527         (denorm): Likewise.
9528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9531 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9533         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9534         tail-call to the resolved function if pltexit isn't needed.
9536 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9539         or Y being zero as being unlikely.
9540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9541         Likewise.
9543 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9545         * manual/nss.texi (System Databases and Name Service Switch):
9546         Remove frobnicate @pxref.
9548 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9550         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9551         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9553 2013-02-20  Petr Machata  <pmachata@redhat.com>
9555         * elf/elf.h (R_ARM_TARGET1): New macro.
9556         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9557         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9558         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9559         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9560         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9561         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9562         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9563         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9564         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9565         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9566         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9567         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9568         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9569         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9570         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9571         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9572         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9573         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9574         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9575         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9576         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9577         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9578         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9579         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9580         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9581         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9582         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9583         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9584         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9585         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9586         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9587         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9588         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9589         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9590         (R_ARM_THM_GOT_BREL12): Likewise.
9591         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9592         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9593         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9594         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9595         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9596         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9597         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9598         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9599         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9601 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9603         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9604         __attribute_used__ to __attribute__ ((unused)).
9606 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9608         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9609         powerpc mpa.c.
9610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9611         comment formatting.
9612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9614 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9616         [BZ #13550]
9617         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9618         Remove macro.
9619         (ENTER): Remove both macro definitions.
9620         (LEAVE): Likewise.
9621         (CHECK_BOUNDS_LOW): Likewise.
9622         (CHECK_BOUNDS_HIGH): Likewise.
9623         (CHECK_BOUNDS_BOTH): Likewise.
9624         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9625         (RETURN_BOUNDED_POINTER): Likewise.
9626         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9627         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9628         (POP_ERRNO_LOCATION_RETURN): Likewise.
9629         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9630         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9631         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9632         macros.
9633         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9634         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9635         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9636         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9637         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9638         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9639         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9640         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9641         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9642         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9643         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9644         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9645         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9646         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9647         removed macros.
9648         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9649         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9650         macros.
9651         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9652         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9653         * sysdeps/i386/i586/memset.S (memset): Likewise.
9654         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9655         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9656         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9657         macros.
9658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9659         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9660         Change uses of L(2) to L(out).
9661         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9662         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9663         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9664         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9665         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9666         removed macros.
9667         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9668         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9669         macros.
9670         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9671         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9672         (RETURN): Do not use macro LEAVE.
9673         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9674         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9675         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9676         * sysdeps/i386/i686/memset.S (memset): Likewise.
9677         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9678         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9679         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9680         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9681         Likewise.
9682         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9683         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9684         L(1_2) and L(1_3) into L(1).
9685         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9686         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9687         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9688         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9689         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9690         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9691         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9692         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9693         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9694         macros.
9695         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9696         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9697         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9698         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9699         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9700         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9701         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9702         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9703         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9704         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9705         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9706         * sysdeps/i386/strspn.S (strspn): Likewise.
9707         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9708         conditional code.
9709         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9710         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9711         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9712         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9713         L(1_3) into L(1_1).
9714         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9715         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9716         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9717         macros.
9718         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9720 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9722         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9723         macro.
9725 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9727         * math/atest-exp.c (exp_mpn): Remove ROUND.
9728         * math/atest-exp2.c (exp_mpn): Likewise.
9729         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9731         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9732         * stdlib/tst-tls-atexit-lib.c: Likewise.
9733         * stdlib/tst-tls-atexit.c: Likewise.
9735 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9737         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9738         and __attribute_alloc_size__.
9740 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9742         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9743         __attribute_alloc_size__.
9744         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9745         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9747 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9749         * include/programs/xmalloc.h: New file.
9750         * catgets/gencat.c: Include it.
9751         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9752         * elf/pldd.c: Likewise.
9753         * iconv/iconv_charmap.c: Likewise.
9754         * iconv/iconvconfig.c: Likewise.
9755         * iconv/strtab.c: Likewise.
9756         * locale/programs/locale.c: Likewise.
9757         * locale/programs/localedef.h: Likewise.
9758         * locale/programs/simple-hash.c: Likewise.
9759         * nscd/nscd.h: Likewise.
9760         * nss/makedb.c: Likewise.
9761         * sysdeps/generic/ldconfig.h: Likewise.
9763 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9765         * Versions.def: Add GLIBC_2.18.
9766         * include/link.h (struct link_map): New member l_tls_dtor_count.
9767         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9768         (__call_tls_dtors): Likewise.
9769         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9770         __cxa_thread_atexit_impl.
9771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9772         Likewise.
9773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9774         Likewise.
9775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9776         Likewise.
9777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9778         Likewise.
9779         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9781         Likewise.
9782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9783         Likewise.
9784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9786         Likewise.
9787         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9788         (tests): Add test case tst-tls-atexit.
9789         (modules-names): Add shared library for tst-tls-atexit.
9790         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9791         (GLIBC_PRIVATE): Add __call_tls_dtors.
9792         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9793         for libstdc++.
9794         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9795         * stdlib/tst-tls-atexit.c: New test case.
9796         * stdlib/tst-tls-atexit-lib.c: New test case.
9798         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9800         * elf/Versions (ld): Add _dl_find_dso_for_object.
9801         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9802         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9803         (dl_open_worker): Use _dl_find_dso_for_object.
9804         * elf/dl-sym.c (do_sym): Likewise.
9805         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9807 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9809         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9810         Syntactic changes only.
9811         (_dl_runtime_profile): Do a tail-call to the resolved function.
9813 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9815         [BZ #13550]
9816         * sysdeps/x86_64/bp-asm.h: Remove file.
9817         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9818         <bp-sym.h> and <bp-asm.h>.
9819         (__clone): Do not use BP_SYM.
9820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9821         <bp-sym.h> and <bp-asm.h>.
9822         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9823         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9824         "bp-asm.h".
9825         (_setjmp): Do not use BP_SYM.
9826         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9827         "bp-asm.h".
9828         (setjmp): Do not use BP_SYM.
9829         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9830         libc_hidden_def.
9831         (mempcpy): Do not use BP_SYM in weak_alias.
9832         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9833         "bp-asm.h".
9834         (strchr): Do not use BP_SYM.
9835         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9836         "bp-asm.h".
9837         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9838         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9839         (_start): Do not use BP_SYM.
9840         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9841         "bp-asm.h".
9842         (strcat): Do not use BP_SYM.
9843         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9844         "bp-asm.h".
9845         (STRCMP): Do not use BP_SYM.
9846         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9847         "bp-asm.h".
9848         (STRCPY): Do not use BP_SYM.
9849         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9850         "bp-asm.h".
9851         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9852         "bp-asm.h".
9853         (FUNCTION): Do not use BP_SYM.
9854         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9855         weak_alias.
9856         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9858 2013-02-17  Andreas Jaeger  <aj@suse.de>
9860         * time/Versions: Sort entries.
9861         * string/Versions: Likewise.
9862         * resolv/Versions: Likewise.
9863         * posix/Versions: Likewise.
9864         * iconv/Versions: Likewise.
9865         * elf/Versions: Likewise.
9866         * wcsmbs/Versions: Likewise.
9868 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9870         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9871         loop termination condition.
9873         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9874         variable to calculate EZ.
9875         (__sqr): Likewise.
9877         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9878         the lower precision input.
9880 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9882         [BZ #13550]
9883         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9884         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9885         (run-via-rtld-prefix): Do not handle %-bp tests.
9886         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9887         (all-object-suffixes): Remove .ob.
9888         (bppfx): Remove variable.
9889         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9890         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9891         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9892         [$(build-bounded) = yes] (libtype.ob): Likewise.
9893         * Makerules (elide-routines.ob): Remove variable.
9894         (do-tests-clean): Do not handle *-bp.out.
9895         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9896         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9897         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9898         (tests): Do not include $(tests-bp.out).
9899         (xtests): Do not include $(xtests-bp.out).
9900         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9901         [$(build-bounded) = yes] ($(addprefix
9902         $(objpfx),$(binaries-bounded))): Remove rule.
9903         ($(objpfx)%-bp.out): Remove rule.
9904         * config.make.in (build-bounded): Remove variable.
9905         * crypt/Makefile [$(build-bounded) = yes]
9906         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9907         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9908         append to variable.
9909         [$(build-bounded) = yes] (install-lib): Likewise.
9910         [$(build-bounded) = yes] (generated): Likewise.
9911         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9912         Remove rule.
9913         * intl/Makefile [$(build-bounded) = yes]
9914         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9915         * math/Makefile [$(build-bounded) = yes]
9916         ($(tests:%=$(objpfx)%-bp): Likewise.
9917         * misc/Makefile [$(build-bounded) = yes]
9918         ($(objpfx)tst-tsearch-bp): Likewise.
9919         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9920         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9921         Remove dependency.
9922         * string/Makefile (o-objects.ob): Remove variable.
9923         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9924         (CFLAGS-.ob): Remove variable.
9925         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9926         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9927         both definitions of variable.
9928         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9929         (ASFLAGS-.ob): Remove variable.
9931 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9933         [BZ #13550]
9934         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9935         Remove __BOUNDED_POINTERS__ from condition.
9936         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9937         * string/bits/string2.h [!__NO_STRING_INLINES &&
9938         !__BOUNDED_POINTERS__]: Likewise.
9939         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9940         Likewise.
9941         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9942         Remove conditional code.
9943         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9944         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9945         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9946         condition.
9948         [BZ #13550]
9949         * csu/libc-start.c: Do not include <bp-sym.h>.
9950         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9951         * elf/dl-open.c: Do not include <bp-sym.h>.
9952         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9953         * math/fegetenv.c: Do not include <bp-sym.h>.
9954         (fegetenv): Do not use BP_SYM in versioned symbols.
9955         * nptl/sysdeps/pthread/bits/libc-lockP.h
9956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9957         <bp-sym.h>.
9958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9959         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9961         (__pthread_mutex_destroy): Likewise.
9962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9963         (__pthread_mutex_lock): Likewise.
9964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9965         (__pthread_mutex_trylock): Likewise.
9966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9967         (__pthread_mutex_unlock): Likewise.
9968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9969         (__pthread_mutexattr_init): Likewise.
9970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9971         (__pthread_mutexattr_destroy): Likewise.
9972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9973         (__pthread_mutexattr_settype): Likewise.
9974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9975         (__pthread_rwlock_init): Likewise.
9976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9977         (__pthread_rwlock_destroy): Likewise.
9978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9979         (__pthread_rwlock_rdlock): Likewise.
9980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9981         (__pthread_rwlock_tryrdlock): Likewise.
9982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9983         (__pthread_rwlock_wrlock): Likewise.
9984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9985         (__pthread_rwlock_trywrlock): Likewise.
9986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9987         (__pthread_rwlock_unlock): Likewise.
9988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9989         (__pthread_key_create): Likewise.
9990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9991         (__pthread_setspecific): Likewise.
9992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9993         (__pthread_getspecific): Likewise.
9994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9995         Likewise.
9996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9997         (_pthread_cleanup_push_defer): Likewise.
9998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9999         (_pthread_cleanup_pop_restore): Likewise.
10000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10001         (pthread_setcancelstate): Likewise.
10002         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10003         <bp-sym.h>.
10004         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10005         (memchr): Do not use BP_SYM in weak_alias.
10006         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10007         (fegetenv): Do not use BP_SYM in versioned symbols.
10008         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10009         (fesetenv): Do not use BP_SYM in versioned symbols.
10010         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10011         (feupdateenv): Do not use BP_SYM in versioned symbols.
10012         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10013         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10014         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10015         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10016         (open64): Do not use BP_SYM in weak_alias.
10017         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10018         (fegetenv): Do not use BP_SYM in versioned symbols.
10019         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10020         (fesetenv): Do not use BP_SYM in versioned symbols.
10021         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10022         (feupdateenv): Do not use BP_SYM in versioned symbols.
10023         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10024         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10025         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10026         (feraiseexcept): Do not use BP_SYM in versioned symbols.
10027         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10028         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10029         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10030         <bp-sym.h>.
10031         (__libc_start_main): Do not use BP_SYM.
10033 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10036         redundant return line.
10037         (norm): Likewise.
10038         (denorm): Likewise.
10039         (dbl_mp): Likewise.
10040         (sub_magnitudes): Likewise.
10041         (__add): Likewise.
10042         (__sub): Likewise.
10043         (__mul): Likewise.
10044         (__inv): Likewise.
10045         (__dvd): Likewise.
10046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10047         (norm): Likewise.
10048         (denorm): Likewise.
10049         (dbl_mp): Likewise.
10050         (sub_magnitudes): Likewise.
10051         (__add): Likewise.
10052         (__sub): Likewise.
10053         (__mul): Likewise.
10054         (__inv): Likewise.
10055         (__dvd): Likewise.
10057         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10058         instead of __mul.
10059         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10060         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10061         (cc32): Likewise.
10063         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10064         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10065         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10066         of __mul for squares.
10067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10068         function
10069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10070         Likewise.
10071         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10072         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10074 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10076         [BZ #13550]
10077         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10078         code.
10079         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10080         prototype or function definition.  Rename ubp_* variables and
10081         parameters.  Remove argv definitions conditional on
10082         [__BOUNDED_POINTERS__].
10083         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10084         * elf/dl-runtime.c (_dl_fixup): Likewise.
10085         * include/set-hooks.h (RUN_HOOK): Likewise.
10086         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10087         definition.
10088         * string/strcpy.c (strcpy): Do not use __unbounded.
10089         * sysdeps/generic/frame.h (struct layout): Likewise.
10090         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10091         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10092         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10093         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10094         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10095         (__backtrace): Likewise.
10096         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10097         use __ptrvalue.
10098         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10099         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10100         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10101         Likewise.
10102         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10103         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10104         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10105         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10106         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10107         Do not use __unbounded.
10108         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10109         Rename __unboundedrlimits parameter to rlimits in prototype.
10110         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10111         Do not use __unbounded.
10112         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10113         not use __ptrvalue.
10114         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10115         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10116         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10117         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10118         __ptrvalue or __unbounded.
10119         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10120         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10121         use __unbounded.
10122         (__new_msgctl): Do not use __ptrvalue.
10123         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10124         __unbounded.
10125         (__libc_msgrcv): Do not use __ptrvalue.
10126         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10127         startup_info): Do not use __unbounded.
10128         (__libc_start_main): Likewise.  Rename ubp_* variables and
10129         parameters.  Remove argv definitions conditional on
10130         [__BOUNDED_POINTERS__].
10131         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10132         __ptrvalue.
10133         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10134         use __unbounded.
10135         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10136         or __ptrvalue.
10137         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10138         use __unbounded.
10139         (__new_shmctl): Do not use __ptrvalue.
10140         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10141         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10142         Likewise.
10143         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10144         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10145         (__libc_sigaction): Likewise.
10146         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10147         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10148         Likewise.
10149         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10151 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10153         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10155         * string/mempcpy.c: Implement by calling memcpy.
10157 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10159         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10162         evaluation.
10164         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10165         values in the mantissa.
10167         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10168         minimize writes to Z.
10169         (sub_magnitudes): Simplify code a bit.
10171 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10173         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10174         from the message.  The linker prefixes all warnings with that already.
10176 2013-02-12  Andreas Schwab  <schwab@suse.de>
10178         [BZ #15078]
10179         * posix/regexec.c (extend_buffers): Add parameter min_len.
10180         (check_matching): Pass minimum needed length.
10181         (clean_state_log_if_needed): Likewise.
10182         (get_subexp): Likewise.
10183         * posix/Makefile (tests): Add bug-regex34.
10184         (bug-regex34-ENV): Define.
10185         * posix/bug-regex34.c: New file.
10187         [BZ #11561]
10188         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10189         elements compare against the byte sequence of it, not its name.
10190         * posix/Makefile (tests): Add bug-regex35.
10191         (bug-regex35-ENV): Define.
10192         * posix/bug-regex35.c: New file.
10194 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10196         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10197         comment.
10198         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10199         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10200         (CHECK_EOL): Add undef.
10202 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10204         * bits/stdlib-bsearch.h: New file.
10205         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10206         * stdlib/stdlib.h: Likewise.
10208 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10210         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10211         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10212         declaration.
10213         * manual/search.texi (Array Search Function): Add missing const in
10214         lfind prototype.
10215         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10216         declaration to use rlim_t.
10217         (Basic Scheduling Functions): Remove erroneous const from
10218         sched_getparam prototype.  Remove erroneous * from
10219         sched_get_priority_max and sched_get_priority_min prototypes.
10220         (Resource Usage): Fix summary @comment on vtimes to refer to
10221         sys/vtimes.h rather than vtimes.h.
10222         Add missing *s in vtimes prototype.
10223         (Limits on Resources): Fix ulimit prototype to return long int.
10224         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10225         prototypes to use long int rather than double.
10226         (BSD Random): Fix initstate and setstate to use char *, not void *.
10227         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10228         prototype to make second argument 'struct aiocb64 *const[]'.
10229         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10230         (Status of AIO Operations): Remove erroneous const in aio_return and
10231         aio_return64 prototypes.
10232         (Synchronizing I/O): Fix sync prototype to return void.
10233         * manual/startup.texi (Suboptions): Remove an erroneous const in
10234         getsubopt prototype.
10235         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10236         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10237         use size_t rather than int.
10238         (Scanning All Users): Likewise for getpwent_r.
10239         (Setting Groups): Add missing const to setgroups prototype.
10240         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10241         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10242         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10243         'const void *' rather than 'const char *'.
10244         (Host Address Functions): Likewise for inet_ntop.
10245         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10246         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10247         ssize_t for return value.
10248         (Sending Data): Likewise for send, sendto, sendmsg.
10249         (Socket Option Functions): Add a missing const in setsockopt prototype.
10250         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10251         use wchar_t for the argument.
10252         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10253         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10254         take no arguments.
10255         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10256         double/float/long double for second argument.
10257         Fix return types of significand, significandf, significandl.
10258         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10259         argument in fchmod prototype.
10260         (File Owner): Use uid_t and gid_t in fchown prototype.
10261         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10262         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10263         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10264         use 'const struct dirent **' as argument types to CMP function pointer
10265         argument.
10266         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10267         (File Times): Fix summary magic @comment for struct utimbuf and utime
10268         to refer to utime.h, not time.h.
10269         * manual/string.texi (Argz Functions): Add missing const in
10270         argz_extract and argz_next prototypes.
10271         (Finding Tokens in a String): Likewise for basename.
10272         (String/Array Comparison): Fix typo in wcscasecmp prototype.
10273         (Copying and Concatenation): Fix typo in wmemmove prototype.
10274         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10275         (Signal Stack): Remove erroneous const in sigstack prototype.
10276         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10277         prototype.
10278         (Simple Calendar Time): Likewise for stime.
10279         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10280         prototype.
10281         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10282         say sys/sysctl.h instead.
10283         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10284         and vsyslog prototypes.
10286 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10288         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10289         Remove.
10291 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10293         * misc/sys/mman.h: Fix typo in mremap comment.
10295 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10297         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10298         the '\0' terminator.
10300 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10302         [BZ #13550]
10303         * debug/segfault.c: Don't include <bp-checks.h>.
10304         * sysdeps/generic/bp-checks.h: Remove file.
10305         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10306         (__GETDENTS): Don't use CHECK_N.
10307         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10308         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10309         (__getgroups): Don't use CHECK_N.
10310         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10311         (setgroups): Don't use CHECK_N.
10312         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10313         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10314         (__libc_msgrcv): Don't use CHECK_N.
10315         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10316         (__libc_msgsnd): Don't use CHECK_N.
10317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10318         <bp-checks.h>.
10319         (__libc_pread): Don't use CHECK_N.
10320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10321         include <bp-checks.h>.
10322         (__libc_pread64): Don't use CHECK_N.
10323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10324         include <bp-checks.h>.
10325         (__libc_pwrite): Don't use CHECK_N.
10326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10327         include <bp-checks.h>.
10328         (__libc_pwrite64): Don't use CHECK_N.
10329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10330         <bp-checks.h>.
10331         (__libc_pread): Don't use CHECK_N.
10332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10333         include <bp-checks.h>.
10334         (__libc_pread64): Don't use CHECK_N.
10335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10336         include <bp-checks.h>.
10337         (__libc_pwrite): Don't use CHECK_N.
10338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10339         include <bp-checks.h>.
10340         (__libc_pwrite64): Don't use CHECK_N.
10341         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10342         (do_pread): Don't use CHECK_N.
10343         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10344         (do_pread64): Don't use CHECK_N.
10345         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10346         (do_pwrite): Don't use CHECK_N.
10347         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10348         (do_pwrite64): Don't use CHECK_N.
10349         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10350         (__libc_readv): Don't use CHECK_N.
10351         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10352         (semop): Don't use CHECK_N.
10353         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10354         <bp-checks.h>.
10355         (semtimedop): Don't use CHECK_N.
10356         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10357         (__libc_pread): Don't use CHECK_N.
10358         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10359         <bp-checks.h>.
10360         (__libc_pread64): Don't use CHECK_N.
10361         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10362         <bp-checks.h>.
10363         (__libc_pwrite): Don't use CHECK_N.
10364         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10365         <bp-checks.h>.
10366         (__libc_pwrite64): Don't use CHECK_N.
10367         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10368         <bp-checks.h>.
10369         (__libc_msgrcv): Don't use CHECK_N.
10370         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10371         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10372         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10373         (__libc_writev): Don't use CHECK_N.
10375 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10377         * string/strcpy.c: Removed unused variable.
10379         * Makeconfig (+sysdep-includes): Define with := rather than =.
10380         Use an existing include/ subdir of each sysdeps dir before it.
10382 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10384         * nscd/connection.c (register_traced_file): Comment function.
10385         [HAVE_INOTIFY] (union __inev): Define.
10386         [HAVE_INOTIFY] (inotify_check_files): New function.
10387         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10388         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10389         clear_db_cache.
10390         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10392 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10394         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10395         loaded if not already and that a failure is permanent.
10397 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10399         [BZ #15006]
10400         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10401         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10403 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10405         [BZ #13550]
10406         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10407         (CHECK_1_NULL_OK): Likewise.
10408         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10409         (__fxstat): Do not use CHECK_1.
10410         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10411         <bp-checks.h>.
10412         (___fxstat64): Do not use CHECK_1.
10413         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10414         <bp-checks.h>.
10415         (__fxstatat): Do not use CHECK_1.
10416         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10417         <bp-checks.h>.
10418         (__fxstatat64): Do not use CHECK_1.
10419         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10420         <bp-checks.h>.
10421         (__fxstat): Do not use CHECK_1.
10422         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10423         <bp-checks.h>.
10424         (__fxstatat): Do not use CHECK_1.
10425         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10426         <bp-checks.h>.
10427         (__getresgid): Do not use CHECK_1.
10428         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10429         <bp-checks.h>.
10430         (__getresuid): Do not use CHECK_1.
10431         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10432         <bp-checks.h>.
10433         (__lxstat): Do not use CHECK_1.
10434         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10435         <bp-checks.h>.
10436         (__old_msgctl): Do not use CHECK_1.
10437         (__new_msgctl): Likewise.
10438         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10439         <bp-checks.h>.
10440         (__new_setrlimit): Do not use CHECK_1.
10441         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10442         <bp-checks.h>.
10443         (__old_shmctl): Do not use CHECK_1.
10444         (__new_shmctl): Likewise.
10445         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10446         <bp-checks.h>.
10447         (__xstat): Do not use CHECK_1.
10448         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10449         (__lxstat): Do not use CHECK_1.
10450         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10451         <bp-checks.h>.
10452         (___lxstat64): Do not use CHECK_1.
10453         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10454         (__old_msgctl): Do not use CHECK_1.
10455         (__new_msgctl): Likewise.
10456         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10457         <bp-checks.h>.
10458         (__gettimeofday): Do not use CHECK_1.
10459         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10460         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10461         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10462         <bp-checks.h>.
10463         (__gettimeofday): Do not use CHECK_1.
10464         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10465         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10466         (__new_shmctl): Do not use CHECK_1.
10467         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10468         <bp-checks.h>.
10469         (do_sigtimedwait): Do not use CHECK_1.
10470         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10471         <bp-checks.h>.
10472         (do_sigwaitinfo): Do not use CHECK_1.
10473         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10474         <bp-checks.h>.
10475         (msgctl): Do not use CHECK_1.
10476         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10477         <bp-checks.h>.
10478         (shmctl): Do not use CHECK_1.
10479         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10480         (ustat): Do not use CHECK_1.
10481         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10482         <bp-checks.h>.
10483         (__fxstat): Do not use CHECK_1.
10484         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10485         <bp-checks.h>.
10486         (__fxstatat): Do not use CHECK_1.
10487         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10488         <bp-checks.h>.
10489         (__lxstat): Do not use CHECK_1.
10490         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10491         <bp-checks.h>.
10492         (__xstat): Do not use CHECK_1.
10493         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10494         (__xstat): Do not use CHECK_1.
10495         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10496         (___xstat64): Do not use CHECK_1.
10498         [BZ #13550]
10499         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10500         definitions.
10501         (CHECK_BOUNDS_HIGH): Likewise.
10502         * string/strcpy.c: Do not include <bp-checks.h>.
10503         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10505 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10507         * nscd/nscd-client.h (__nscd_drop_map_ref):
10508         Add __attribute__ ((unused)).
10509         * nis/nss-nisplus.h (niserr2nss): Likewise.
10511         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10512         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10514         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10515         Remove inline keyword.
10516         * include/rounding-mode.h (round_away): Likewise.
10517         * libio/wfileops.c (adjust_wide_data): Likewise.
10518         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10519         (__m128i_strloadu_tolower): Likewise.
10520         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10521         (__m128i_strloadu_tolower): Likewise.
10522         * time/mktime.c (ydhms_diff): Likewise.
10523         * locale/elem-hash.h (elem_hash): Likewise.
10524         * locale/setlocale.c (setdata): Likewise.
10525         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10526         (re_string_wchar_at): Likewise.
10527         (bitset_not, bitset_merge, bitset_mask): Likewise.
10528         [!(__GNUC__ > 3)] (inline): Remove macro.
10529         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10530         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10531         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10532         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10533         * string/memcmp.c (memcmp_bytes): Likewise.
10534         * locale/programs/locarchive.c (compute_hashval): Likewise.
10535         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10536         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10537         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10538         * nss/getent.c (print_rpc, print_protocols): Likewise.
10539         (print_passwd, print_group, print_aliases): Likewise.
10540         * nis/nss-nisplus.h (niserr2nss): Likewise.
10541         * nscd/connections.c (restart_p): Likewise.
10542         Change return type to bool.
10544 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10546         * Makeconfig (all-Depend-files): Add existing
10547         $(sorted-subdirs:=/Depend) files.
10548         (all-subdirs): Remove nss.
10549         * sysdeps/unix/inet/Subdirs: Add it here instead.
10550         * hesiod/Depend: New file.
10552         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10553         instead of calling alloca.
10555         * io/lseek.c (__lseek): Rename to __libc_lseek.
10556         Define __lseek as an alias.
10558         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10560 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10562         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10563         else clause and remove check for non-standard endianness.
10565 2013-02-04  David S. Miller  <davem@davemloft.net>
10567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10569 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10571         [BZ #13550]
10572         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10573         (__ubp_memchr): Remove prototype.
10574         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10575         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10576         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10577         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10578         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10579         Remove alias.
10580         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10581         (__ubp_memchr): Likewise.
10582         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10583         (__ubp_memchr): Likewise.
10584         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10585         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10586         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10587         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10588         CHECK_STRING.
10589         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10590         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10591         (__getcwd): Do not use CHECK_STRING.
10592         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10593         <bp-checks.h>.
10594         (__real_chown): Do not use CHECK_STRING.
10595         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10596         <bp-checks.h>.
10597         (fchownat): Do not use CHECK_STRING.
10598         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10599         CHECK_STRING.
10600         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10601         <bp-checks.h>.
10602         (__lchown): Do not use CHECK_STRING.
10603         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10604         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10605         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10606         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10608         include <bp-checks.h>.
10609         (truncate64): Do not use CHECK_STRING.
10610         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10611         <bp-checks.h>.
10612         (__real_chown): Do not use CHECK_STRING.
10613         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10614         <bp-checks.h>.
10615         (__lchown): Do not use CHECK_STRING.
10616         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10617         <bp-checks.h>.
10618         (__chown): Do not use CHECK_STRING.
10619         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10620         <bp-checks.h>.
10621         (truncate64): Do not use CHECK_STRING.
10622         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10623         Likewise.
10624         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10625         (__xmknod): Do not use CHECK_STRING.
10626         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10627         <bp-checks.h>.
10628         (__xmknodat): Do not use CHECK_STRING.
10629         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10630         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10632 2013-02-04  Andreas Schwab  <schwab@suse.de>
10634         [BZ #14142]
10635         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10636         * include/netdb.h: Likewise for h_errno.
10637         * elf/tst-stackguard1.c: Include <tls.h>.
10639 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10641         * elf/link.h (struct link_map): Extend the l_addr comment.
10642         * include/link.h (struct link_map): Likewise.
10644 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10646         [BZ #13550]
10647         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10648         (BOUNDED_1): Remove macro.
10649         * debug/backtrace.c: Don't include <bp-checks.h>.
10650         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10651         (__backtrace): Likewise.
10652         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10653         <bp-checks.h>.
10654         (__backtrace): Don't use BOUNDED_1.
10655         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10656         <bp-checks.h>.
10657         (__backtrace): Don't use BOUNDED_1.
10658         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10659         (__backtrace): Don't use BOUNDED_1.
10660         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10661         (shmat): Don't use BOUNDED_N.
10663 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10665         [BZ #13550]
10666         * sysdeps/generic/bp-start.h: Remove file.
10667         * csu/libc-start.c: Don't include <bp-start.h>.
10668         (LIBC_START_MAIN): Set up __environ directly instead of using
10669         INIT_ARGV_and_ENVIRON.
10670         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10671         <bp-start.h>.
10673         [BZ #13550]
10674         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10675         definitions.
10676         (CHECK_FCNTL): Likewise.
10677         (CHECK_N_PAGES): Likewise.
10679         [BZ #13550]
10680         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10681         definitions.
10682         (CHECK_SIGSET_NULL_OK): Likewise.
10683         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10684         <bp-checks.h>.
10685         (sigpending): Don't use CHECK_SIGSET.
10686         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10687         <bp-checks.h>.
10688         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10689         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10690         <bp-checks.h>.
10691         (do_sigsuspend): Don't use CHECK_SIGSET.
10692         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10693         use CHECK_SIGSET.
10694         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10695         (do_sigwait): Don't use CHECK_SIGSET.
10696         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10697         use CHECK_SIGSET.
10698         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10699         include <bp-checks.h>.
10700         (sigpending): Don't use CHECK_SIGSET.
10701         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10702         include <bp-checks.h>.
10703         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10704         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10705         <bp-checks.h>.
10706         (sigpending): Don't use CHECK_SIGSET.
10707         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10708         <bp-checks.h>.
10709         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10711         [BZ #13550]
10712         * sysdeps/generic/bp-semctl.h: Remove file.
10713         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10714         <bp-checks.h> and <bp-semctl.h>.
10715         (__old_semctl): Don't use CHECK_SEMCTL.
10716         (__new_semctl): Likewise.
10717         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10718         and <bp-semctl.h>.
10719         (__old_semctl): Don't use CHECK_SEMCTL.
10720         (__new_semctl): Likewise.
10721         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10722         <bp-checks.h> and <bp-semctl.h>.
10723         (__old_semctl): Don't use CHECK_SEMCTL.
10724         (__new_semctl): Likewise.
10725         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10726         <bp-checks.h> and <bp-semctl.h>.
10727         (semctl): Don't use CHECK_SEMCTL.
10729         [BZ #13550]
10730         * Makerules (elide-bp-thunks): Remove variable.
10731         (elide-routines.oS): Don't use $(elide-bp-thunks).
10732         (elide-routines.os): Likewise.
10733         (elide-routines.o): Likewise.
10734         (elide-routines.op): Likewise.
10735         (elide-routines.og): Likewise.
10736         (objects): Don't use $(bp-thunks).
10737         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10738         include.
10739         (common-generated): Do not add s-proto-bp.d.
10740         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10741         (int): Likewise.
10742         (typ): Likewise.
10743         Do not generate makefile rules for bounded-pointer thunks.
10744         * sysdeps/generic/bp-thunks.h: Remove file.
10745         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10746         * sysdeps/unix/s-proto-bp.S: Likewise.
10748         [BZ #15062]
10749         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10750         parts of result separately when argument is not close to line from
10751         -i to i and one part of argument is small.
10752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10754         * math/libm-test.inc (cacos_test): Add more tests.
10755         (casin_test): Likewise.
10756         (casinh_test): Likewise.
10757         * sysdeps/i386/fpu/libm-test-ulps: Update.
10758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10760 2013-01-31  David S. Miller  <davem@davemloft.net>
10762         * po/de.po: Update from translation team.
10764 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10766         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10768 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10770         * configure.in (_AC_PROG_CC_C89): New definition.
10771         * configure: Regenerate.
10773         * configure.in (AC_PROG_CPP): New definition.
10774         * configure: Regenerate.
10776 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10778         * debug/tst-backtrace.h: New file.
10779         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10780         (ret): Remove variable.
10781         (x): Likewise.
10782         (FAIL): Remove macro.
10783         (NO_INLINE): Likewise.
10784         (fn1): Use match function instead of strstr.
10785         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10786         (ret): Remove variable.
10787         (x): Likewise.
10788         (FAIL): Remove macro.
10789         (NO_INLINE): Likewise.
10790         (fn): Use match function instead of strstr.
10791         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10792         (ret): Remove variable.
10793         (x): Likewise.
10794         (FAIL): Remove macro.
10795         (NO_INLINE): Likewise.
10796         (handle_signal): Use match function instead of strstr.
10797         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10798         (ret): Remove variable.
10799         (x): Likewise.
10800         (FAIL): Remove macro.
10801         (NO_INLINE): Likewise.
10802         (handle_signal): Use match function instead of strstr.
10804 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10806         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10808 2013-01-23  David S. Miller  <davem@davemloft.net>
10810         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10811         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10812         argument of CAS if possible.
10813         * sysdeps/sparc/sparc64/bits/atomic.h
10814         (__arch_compare_and_exchange_val_32_acq): Likewise.
10815         (__arch_compare_and_exchange_val_64_acq): Likewise.
10817 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10819         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10820         * sysdeps/posix/ulimit.c: ... this.
10821         Include <limits.h>.
10822         * sysdeps/unix/bsd/ulimit.c: Remove file.
10824 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10826         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10827         (LDFLAGS-tst-array5): Likewise.
10829 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10831         [BZ #15036]
10832         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10833         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10834         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10835         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10837 2013-01-21  David S. Miller  <davem@davemloft.net>
10839         * sysdeps/sparc/backtrace.c: New file.
10840         * sysdeps/sparc/sparc32/backtrace.h: New file.
10841         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10842         * sysdeps/sparc/sparc64/backtrace.h: New file.
10843         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10844         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10845         -funwind-tables.
10847 2013-01-21  Andreas Schwab  <schwab@suse.de>
10849         [BZ #15020]
10850         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10851         closed its stdout.
10853 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10856         "mpa2.h".
10857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10859 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10860             Mark Mitchell  <mark@codesourcery.com>
10861             Tom de Vries  <tom@codesourcery.com>
10862             Paul Pluzhnikov  <ppluzhnikov@google.com>
10864         * debug/tst-backtrace2.c: New file.
10865         * debug/tst-backtrace3.c: Likewise.
10866         * debug/tst-backtrace4.c: Likewise.
10867         * debug/tst-backtrace5.c: Likewise.
10868         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10869         (CFLAGS-tst-backtrace3.c): Likewise.
10870         (CFLAGS-tst-backtrace4.c): Likewise.
10871         (CFLAGS-tst-backtrace5.c): Likewise.
10872         (LDFLAGS-tst-backtrace2): Likewise.
10873         (LDFLAGS-tst-backtrace3): Likewise.
10874         (LDFLAGS-tst-backtrace4): Likewise.
10875         (LDFLAGS-tst-backtrace5): Likewise.
10876         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10877         tst-backtrace4 and tst-backtrace5.
10879 2013-01-18  Anton Blanchard  <anton@samba.org>
10880             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10882         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10883         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10884         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10885         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10887         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10888         "+r" and remove output regs list as redundant.  Add explicit inline
10889         asm to specify register of return val to work around compiler codegen
10890         bug.  Remove (int) cast on return value.  Add return type parameter to
10891         use in macro so that this macro does not truncate return value for
10892         64-bit values.
10893         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10894         pass to INTERNAL_VSYSCALL_NCS.
10895         (INLINE_VSYSCALL): Add 'long int' as return type to
10896         INTERNAL_VSYSCALL_NCS macro invocation.
10897         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10898         INTERNAL_VSYSCALL_NCS macro invocation.
10899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10901 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10903         [BZ #14496]
10904         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10905         Fix application of SIMD FP exception mask.
10907         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10908         mp_no from a power of two.
10909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10910         __mpexp_twomm1.  Use __pow_mp.
10912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10913         multiplication.
10915 2013-01-17  David S. Miller  <davem@davemloft.net>
10917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10919 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10921         [BZ #15023]
10922         * include/complex.h: Condition contents on [!_COMPLEX_H].
10923         (__kernel_casinhf): New prototype.
10924         (__kernel_casinh): Likewise.
10925         (__kernel_casinhl): Likewise.
10926         * math/Makefile (libm_calls): Add k_casinh.
10927         * math/k_casinh.c: New file.
10928         * math/k_casinhf.c: Likewise.
10929         * math/k_casinhl.c: Likewise.
10930         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10931         finite nonzero arguments.
10932         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10933         finite nonzero arguments.
10934         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10935         finite nonzero arguments.
10936         * math/s_casinh.c: Do not include <float.h>.
10937         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10938         * math/s_casinhf.c: Do not include <float.h>.
10939         (__casinhf): Move code for finite nonzero arguments to
10940         k_casinhf.c.
10941         * math/s_casinhl.c: Do not include <float.h>.
10942         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10943         redefine.
10944         (__casinhl): Move code for finite nonzero arguments to
10945         k_casinhl.c.
10946         * math/libm-test.inc (cacos_test): Add more tests.
10947         * sysdeps/i386/fpu/libm-test-ulps: Update.
10948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10950 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10952         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10953         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10954         [!HAVE_MREMAP]: Remove [defined linux] case.
10955         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10957 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10959         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10961 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10963         * elf/elf.h (R_386_SIZE32): New relocation.
10964         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10965         R_386_SIZE32.
10966         (elf_machine_rela): Likewise.
10967         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10968         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10970 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10972         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10973         (FP_FAST_FMA): Do not define.
10974         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10975         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10976         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10977         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10978         !_SOFT_FLOAT]: Likewise.
10979         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10980         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10981         value.
10982         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10983         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10984         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10985         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10986         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10987         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10988         file.
10990 2013-01-16  Andreas Schwab  <schwab@suse.de>
10992         [BZ #14327]
10993         * include/stdlib.h (__mktemp): Add declaration.
10994         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10995         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10997 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10999         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11000         definitions.
11001         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11002         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11003         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11004         definitions here.
11005         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11006         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11007         definitions.
11008         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11009         and ONE.
11010         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11011         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11012         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11013         definitions.
11014         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11015         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11016         definitions.
11017         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11019         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11021 2013-01-15  David S. Miller  <davem@davemloft.net>
11023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11024         trunc{,f} to libm-sysdep_routes.
11025         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11027         file.
11028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11030         file.
11031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11032         file.
11033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11035         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11036         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11037         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11038         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11039         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11040         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11043         nearbyint{,f} to libm-sysdep_routes.
11044         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11046         New file.
11047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11048         file.
11049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11050         New file.
11051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11052         file.
11053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11055         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11056         file.
11057         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11058         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11059         file.
11060         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11061         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11062         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11064         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11065         libc_feholdexcept and libc_fesetenv.
11067 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11069         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11071 2013-01-14  David S. Miller  <davem@davemloft.net>
11073         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11074         (SPARC_ASM_VIS2_IFUNC): Likewise.
11075         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11077         use of 'siam' instruction.
11078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11079         Likewise.
11080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11081         Likewise.
11082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11083         Likewise.
11084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11086         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11089         file.
11090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11091         file.
11092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11093         file.
11094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11095         file.
11096         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11098         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11099         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11101         new VIS2 routines.
11102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11105         Likewise.
11106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11107         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11111         routines to libm-sysdep_routines.
11112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11115         fdim/fdimf to libm-sysdep_routines.
11116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11117         file.
11118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11120         file.
11121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11124         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11125         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11126         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11127         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11129 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11131         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11132         to optimize copies.
11134         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11139         local variable MPTWO.
11140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11141         Likewise.
11143 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11145         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11146         GLOB_NOESCAPE.
11148 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11150         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11152 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11154         * manual/pattern.texi (glob_t): Document gl_flags.
11155         (glob64_t): Likewise.
11157 2013-01-11  David S. Miller  <davem@davemloft.net>
11159         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11160         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11161         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11162         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11163         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11164         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11165         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11166         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11167         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11168         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11169         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11170         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11171         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11173         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11174         sparc V9 rather than using V8 code.
11175         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11176         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11178         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11179         Move to...
11180         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11181         Here.
11183 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11185         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11186         not in the main loop.
11187         * configure: Regenerated.
11189 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11191         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11192         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11193         to just #else.
11194         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11195         [!__GLIBC_HAVE_LONG_LONG] case.
11196         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11197         condition to just #else.
11198         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11199         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11200         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11201         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11202         unconditional.
11203         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11204         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11205         #elif condition to just #else.
11206         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11207         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11208         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11209         #elif condition to just #else.
11211 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11213         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11214         (EF_MIPS_ARCH_64): Fix value.
11215         (EF_MIPS_ARCH_32R2): New.
11216         (EF_MIPS_ARCH_64R2): New.
11218 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11220         * Makeconfig (+link-pie-before-libc): New.
11221         (+link-pie-after-libc): Likewise.
11222         (+link-pie-tests): Likewise.
11223         (+link-pie): Rewritten.
11224         (link-before-libc): Remove $(config-LDFLAGS).
11225         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11226         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11227         (config-LDFLAGS): Renamed to ...
11228         (rtld-LDFLAGS): This.
11229         (rtld-tests-LDFLAGS): New macro.
11230         (link-libc-rpath-link): Likewise.
11231         (link-libc-tests-rpath-link): Likewise.
11232         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11233         (link-libc): Prepand $(link-libc-rpath-link).
11234         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11235         (test-program-prefix): New macro.
11236         (test-via-rtld-prefix): Likewise.
11237         (test-program-cmd): Likewise.
11238         (host-test-program-cmd): Likewise.
11239         * Makefile ($(common-objpfx)testrun.sh): Replace
11240         $(run-program-prefix) with $(test-program-prefix).
11241         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11242         $(rtld-LDFLAGS).
11243         ($(common-objpfx)shlib.lds): Likewise.
11244         (build-module-helper): Likewise.
11245         ($(common-objpfx)format.lds): Likewise.
11246         * Rules (binaries-pie-tests): New.
11247         (binaries-pie-notests): Likewise.
11248         (binaries-pie): Rewritten.
11249         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11250         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11251         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11252         (make-test-out): Replace $(host-built-program-cmd) with
11253         $(host-test-program-cmd).
11254         * config.make.in (build-hardcoded-path-in-tests): New variable.
11255         * configure.in (--enable-hardcoded-path-in-tests): New configure
11256         option.
11257         (hardcoded_path_in_tests): New AC_SUBST.
11258         * configure: Regenerated.
11259         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11260         $(built-program-cmd) with $(test-program-cmd).
11261         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11262         (test_program_cmd): This.
11263         * elf/Makefile ($(objpfx)order.out): Run test with
11264         $(test-program-prefix).
11265         ($(objpfx)order2.out): Likewise.
11266         ($(objpfx)tst-initorder.out): Likewise.
11267         ($(objpfx)tst-initorder2.out): Likewise.
11268         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11269         $(test-program-cmd).
11270         ($(objpfx)tst-array1-static.out): Likewise.
11271         ($(objpfx)tst-array2.out): Likewise.
11272         ($(objpfx)tst-array3.out): Likewise.
11273         ($(objpfx)tst-array4.out): Likewise.
11274         ($(objpfx)tst-array5.out): Likewise.
11275         ($(objpfx)tst-array5-static.out): Likewise.
11276         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11277         $(test-program-cmd).
11278         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11279         $(run-program-prefix) with $(test-program-prefix).
11280         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11281         (test_program_prefix): This.
11282         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11283         $(run-program-prefix) with $(test-program-prefix).
11284         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11285         (test_program_prefix): This.
11286         * iconvdata/tst-tables.sh: Likewise.
11287         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11288         $(run-program-prefix) with $(test-program-prefix).
11289         ($(objpfx)tst-translit.out): Likewise.
11290         ($(objpfx)tst-gettext2.out): Likewise.
11291         ($(objpfx)tst-gettext4.out): Likewise.
11292         ($(objpfx)tst-gettext6.out): Likewise.
11293         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11294         (test_program_prefix): This.
11295         * intl/tst-gettext2.sh: Likewise.
11296         * intl/tst-gettext4.sh  Likewise.
11297         * intl/tst-gettext6.sh: Likewise.
11298         * intl/tst-translit.sh: Likewise.
11299         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11300         with $(test-program-cmd).
11301         * libio/Makefile ($(objpfx)test-freopen.out): Replace
11302         $(run-program-prefix) with $(test-program-prefix).
11303         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11304         (test_program_prefix): This.
11305         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11306         $(run-program-prefix) with $(test-program-prefix).
11307         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11308         (test_program_prefix): This.
11309         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11310         * posix/Makefile ($(objpfx)globtest.out): Replace
11311         $(run-via-rtld-prefix) and $(test-wrapper) with
11312         $(test-program-prefix) and $(test-via-rtld-prefix).
11313         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11314         $(test-program-prefix).
11315         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11316         $(host-test-program-cmd).
11317         (tst-spawn-ARGS): Likewise.
11318         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11319         $(test-program-prefix).
11320         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11321         (test_via_rtld_prefix): This.
11322         (test_wrapper): Renamed to ...
11323         (test_program_prefix): This.
11324         (run_program_prefix): Replaced by test_program_prefix.
11325         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11326         (test_program_prefix): This.
11327         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11328         with $(host-test-program-cmd).
11329         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11330         $(run-program-prefix) with $(test-program-prefix).
11331         ($(objpfx)tst-printf.out): Likewise.
11332         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11333         $(test-program-cmd).
11334         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11335         (test_program_prefix): This.
11336         * stdio-common/tst-unbputc.sh: Likewise.
11337         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11338         $(run-program-prefix) with $(test-program-prefix).
11339         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11340         (test_program_prefix): This.
11341         * string/Makefile ($(objpfx)tst-svc.out):  Replace
11342         $(built-program-cmd) with $(test-program-cmd).
11344 2013-01-11  Andreas Jaeger  <aj@suse.de>
11346         [BZ #15003]
11347         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11348         value. Sync with Linux 3.7.
11350 2013-01-10  David S. Miller  <davem@davemloft.net>
11352         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11353         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11354         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11356 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11358         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11359         never set.
11360         * configure: Regenerated.
11362 2013-01-10  David S. Miller  <davem@davemloft.net>
11364         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11365         sparc V9 rather than using V8 code.
11366         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11367         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11369 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11371         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11372         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11373         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11374         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11375         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11376         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11377         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11378         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11379         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11380         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11381         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11382         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11383         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11384         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11385         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11386         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11387         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11388         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11389         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11390         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11391         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11392         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11393         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11394         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11395         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11396         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11397         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11399 2013-01-10  David S. Miller  <davem@davemloft.net>
11401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11403 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11405         * posix/Makefile (tests-static): New variable.
11406         (tests): Add $(tests-static).
11407         (tst-exec-static-ARGS): New variable.
11408         (tst-spawn-static-ARGS): Likewise.
11409         * posix/tst-exec-static.c: New file.
11410         * posix/tst-spawn-static.c: Likewise.
11411         * posix/tst-exec.c: Support run directly.
11412         * posix/tst-spawn.c: Likewise.
11414 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11416         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11417         long.
11418         * math/bits/mathcalls.h (llrint): Likewise.
11419         (llround): Likewise.
11420         * stdlib/stdlib.h (struct drand48_data): Likewise.
11421         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11422         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11423         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11424         Likewise.
11425         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11426         Likewise.
11427         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11428         (elf_greg_t): Likewise.
11429         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11430         (__jmp_buf): Likewise.
11431         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11432         definitions.
11433         (llrint): Likewise, for all definitions.
11434         (llrintl): Likewise.
11436         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11437         Remove [__GNUC__] condition.
11438         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11439         condition to just [__USE_ISOC99].
11440         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11442 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11444         [BZ #14200]
11445         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11446         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11447         defined.
11448         (_POSIX_V6_ILP32_OFF32): Likewise.
11449         (_XBS5_ILP32_OFF32): Likewise.
11450         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11451         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11453 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11455         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11458         doubles __mpexp_twomm1.  Adjust usage.
11459         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11460         Remove.
11462 2013-01-10  Andreas Schwab  <schwab@suse.de>
11464         [BZ #14964]
11465         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11466         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11468 2013-01-09  David S. Miller  <davem@davemloft.net>
11470         [BZ #15003]
11471         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11472         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11473         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11474         TCP_FASTOPEN): Define.
11475         (tcp_repair_opt): New structure.
11476         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11477         enum values.
11478         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11479         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11480         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11481         (tcp_cookie_transactions): New structure.
11483 2013-01-09  Anton Blanchard  <anton@samba.org>
11485         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11486         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11487         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11488         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11490 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11492         * include/features.h (__USE_ANSI): Remove.
11494 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11496         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11498         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11500 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11502         * sysdeps/s390/fpu/libm-test-ulps: Update.
11504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11506         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11507         (__acr): Likewise.
11508         (__cpy): Likewise.
11509         (norm): Likewise.
11510         (denorm): Likewise.
11511         (__mp_dbl): Likewise.
11512         (__dbl_mp): Likewise.
11513         (add_magnitudes): Likewise.
11514         (sub_magnitudes): Likewise.
11515         (__add): Likewise.
11516         (__sub): Likewise.
11517         (__mul): Likewise.
11518         (__inv): Likewise.
11519         (__dvd): Likewise.
11520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11521         (__acr): Likewise.
11522         (__cpy): Likewise.
11523         (norm): Likewise.
11524         (denorm): Likewise.
11525         (__mp_dbl): Likewise.
11526         (__dbl_mp): Likewise.
11527         (add_magnitudes): Likewise.
11528         (sub_magnitudes): Likewise.
11529         (__add): Likewise.
11530         (__sub): Likewise.
11531         (__mul): Likewise.
11532         (__inv): Likewise.
11533         (__dvd): Likewise.
11534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11535         (__acr): Likewise.
11536         (__cpy): Likewise.
11537         (norm): Likewise.
11538         (denorm): Likewise.
11539         (__mp_dbl): Likewise.
11540         (__dbl_mp): Likewise.
11541         (add_magnitudes): Likewise.
11542         (sub_magnitudes): Likewise.
11543         (__add): Likewise.
11544         (__sub): Likewise.
11545         (__mul): Likewise.
11546         (__inv): Likewise.
11547         (__dvd): Likewise.
11549 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11551         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11552         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11553         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11554         2 && __USE_EXTERN_INLINES]: Likewise.
11556 2013-01-08  Andreas Jaeger  <aj@suse.de>
11558         [BZ# 14985]
11559         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11560         Remove.
11561         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11562         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11564 2013-01-07  Anton Blanchard  <anton@samba.org>
11566         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11567         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11568         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11569         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11570         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11571         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11572         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11573         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11575         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11576         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11577         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11578         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11579         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11580         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11581         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11582         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11583         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11584         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11585         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11586         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11587         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11588         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11589         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11590         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11591         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11592         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11593         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11594         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11595         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11596         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11598         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11599         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11600         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11601         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11602         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11603         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11604         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11605         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11606         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11607         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11608         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11610 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11612         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11613         (__MALLOC_PMT): Likewise.
11614         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11615         [__GNUC__], only on [_LIBC].
11616         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11617         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11618         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11619         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11620         forward declaration.
11621         (realloc_hook_ini): Likewise.
11622         (memalign_hook_ini): Likewise.
11623         (__libc_memalign): Do not use __MALLOC_PMT in variable
11624         declaration.
11625         (__libc_valloc): Likewise.
11626         (__libc_pvalloc): Likewise.
11627         (__libc_calloc): Likewise.
11628         (__posix_memalign): Likewise.
11630         [BZ #14996]
11631         * math/s_casinh.c: Include <float.h>.
11632         (__casinh): Do not do computation with squaring and square root
11633         for large arguments.
11634         * math/s_casinhf.c: Include <float.h>.
11635         (__casinhf): Do not do computation with squaring and square root
11636         for large arguments.
11637         * math/s_casinhl.c: Include <float.h>.
11638         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11639         (__casinhl): Do not do computation with squaring and square root
11640         for large arguments.
11641         * math/libm-test.inc (casin_test): Add more tests.
11642         (casinh_test): Likewise.
11643         * sysdeps/i386/fpu/libm-test-ulps: Update.
11644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11646 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11648         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11649         (__x86_64_raw_data_cache_size): Likewise.
11650         (__x86_64_data_cache_size_half): Likewise.
11651         (__x86_64_raw_data_cache_size_half): Likewise.
11652         (__x86_64_shared_cache_size): Likewise.
11653         (__x86_64_raw_shared_cache_size): Likewise.
11654         (__x86_64_shared_cache_size_half): Likewise.
11655         (__x86_64_raw_shared_cache_size_half): Likewise.
11656         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11657         to ...
11658         (__x86_data_cache_size): This.
11659         (__x86_64_raw_data_cache_size): Renamed to ...
11660         (__x86_raw_data_cache_size): This.
11661         (__x86_64_data_cache_size_half): Renamed to ...
11662         (__x86_data_cache_size_half): This.
11663         (__x86_64_raw_data_cache_size_half): Renamed to ...
11664         (__x86_raw_data_cache_size_half): This.
11665         (__x86_64_shared_cache_size): Renamed to ...
11666         (__x86_shared_cache_size): This.
11667         (__x86_64_raw_shared_cache_size): Renamed to ...
11668         (__x86_raw_shared_cache_size): This.
11669         (__x86_64_shared_cache_size_half): Renamed to ...
11670         (__x86_shared_cache_size_half): This.
11671         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11672         (__x86_raw_shared_cache_size_half): This.
11673         * sysdeps/x86_64/memcpy.S: Updated.
11674         * sysdeps/x86_64/memset.S: Likewise.
11675         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11676         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11677         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11679 2013-01-04  David S. Miller  <davem@davemloft.net>
11681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11683 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11685         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11686         1 to avoid redefinition warning.
11687         (__USE_GNU): Don't define.
11688         (init_signaling_nan): Protoize.
11690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11692 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11694         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11696         (__cpymn): Likewise.
11697         (norm): Remove commented code.
11698         (denorm): Likewise.
11699         (__mp_dbl): Likewise.
11700         (__inv): Likewise.
11701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11702         (__cpymn): Likewise.
11703         (norm): Remove commented code.
11704         (denorm): Likewise.
11705         (__mp_dbl): Likewise.
11706         (__inv): Likewise.
11708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11709         mp_no value for 1.0 and 2.0.
11710         (norm): Use RADIXI instead of radixi.d.
11711         (denorm): Likewise.
11712         (__mul): Use 0.0 instead of zero.d.
11713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11714         mp_no value for 1.0 and 2.0.
11715         (norm): Use RADIXI instead of radixi.d.
11716         (denorm): Likewise.
11717         (__mul): Use 0.0 instead of zero.d.
11719 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11721         [BZ #14994]
11722         * math/s_casinh.c (__casinh): Reduce finite argument to first
11723         quadrant then set signs of results at the end.
11724         * math/s_casinhf.c (__casinhf): Likewise.
11725         * math/s_casinhl.c (__casinhl): Likewise.
11726         * math/libm-test.inc (casin_test): Add more tests.
11727         (casinh_test): Likewise.
11728         * sysdeps/i386/fpu/libm-test-ulps: Update.
11729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11731 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11733         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11735         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11737         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11738         declarations.
11739         (denorm): Likewise.
11740         (__mp_dbl): Likewise.
11741         (__inv): Likewise.
11743         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11744         and adjust the header comment.
11746         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11747         variable name from declaration.
11749 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11752         Initialize COMMON_CPUID_INDEX_7 element.
11753         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11754         (CPUID_RTM): Likewise.
11755         (HAS_RTM): Likewise.
11756         (COMMON_CPUID_INDEX_7): New enum.
11758 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11760         [BZ #14981]
11761         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11762         size is zero, record memory as freed.
11764 2013-01-03  Andreas Jaeger  <aj@suse.de>
11766         * po/ia.po: Add new Interlingua translation.
11768 2012-01-03  Allan McRae  <allan@archlinux.org>
11770         * locale/programs/localedef.c: Fix description of '--posix' flag.
11772 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11774         * NEWS: Update dates in second copyright notice.
11775         * README: Update copyright dates in example.
11776         * manual/libc.texinfo: Update copyright dates.
11777         * scripts/test-installation.pl: Update copyright date in --version
11778         output.
11780         * hurd/ctty-input.c: Fix copyright notice formatting.
11781         * hurd/ctty-output.c: Likewise.
11782         * hurd/dtable.c: Likewise.
11783         * hurd/hurd-raise.c: Likewise.
11784         * hurd/hurdprio.c: Likewise.
11785         * hurd/msgportdemux.c: Likewise.
11786         * misc/sys/file.h: Likewise.
11787         * misc/sys/ioctl.h: Likewise.
11788         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11789         * sysdeps/mach/hurd/chdir.c: Likewise.
11790         * sysdeps/mach/hurd/fchdir.c: Likewise.
11791         * sysdeps/mach/hurd/rename.c: Likewise.
11792         * sysdeps/mach/hurd/rmdir.c: Likewise.
11793         * sysdeps/mach/hurd/seekdir.c: Likewise.
11794         * sysdeps/mach/hurd/setsid.c: Likewise.
11795         * sysdeps/posix/wait3.c: Likewise.
11797         * All files with FSF copyright notices: Update copyright dates
11798         using scripts/update-copyrights.
11799         * intl/plural.c: Regenerated.
11800         * locale/programs/charmap-kw.h: Likewise.
11801         * locale/programs/locfile-kw.h: Likewise.
11803 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11805         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11806         four values.
11808         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11809         calculation loop and add branch prediction.
11811         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11812         check access beyond bounds of m1np.
11814         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11815         MPTWO.
11816         (__inv): Remove local variable MPTWO to use the global
11817         constant.
11818         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11819         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11820         variable MPTWO.
11821         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11822         MP3HALFS static const.
11824 2013-01-01  David S. Miller  <davem@davemloft.net>
11826         * po/ca.po: Update from translation team.
11828 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11830         * scripts/update-copyrights: New file.
11831         * Makeconfig: Reformat copyright notice.
11832         * ctype/ctype.h: Likewise.
11833         * debug/swprintf_chk.c: Likewise.
11834         * elf/dl-cache.c: Likewise.
11835         * elf/dl-debug.c: Likewise.
11836         * elf/dl-object.c: Likewise.
11837         * grp/initgroups.c: Likewise.
11838         * hurd/Makefile: Likewise.
11839         * hurd/hurd/signal.h: Likewise.
11840         * hurd/hurdfault.c: Likewise.
11841         * hurd/hurdioctl.c: Likewise.
11842         * hurd/hurdlookup.c: Likewise.
11843         * hurd/intr-msg.c: Likewise.
11844         * iconv/gconv_open.c: Likewise.
11845         * libio/swprintf.c: Likewise.
11846         * locale/lc-ctype.c: Likewise.
11847         * locale/nl_langinfo.c: Likewise.
11848         * mach/Machrules: Likewise.
11849         * mach/Makefile: Likewise.
11850         * malloc/obstack.h: Likewise.
11851         * manual/Makefile: Likewise.
11852         * manual/tsort.awk: Likewise.
11853         * misc/bits/stab.def: Likewise.
11854         * nis/nis_print_group_entry.c: Likewise.
11855         * nis/nis_table.c: Likewise.
11856         * nis/nss_compat/compat-pwd.c: Likewise.
11857         * nis/nss_compat/compat-spwd.c: Likewise.
11858         * po/Makefile: Likewise.
11859         * posix/fnmatch.c: Likewise.
11860         * posix/regex.h: Likewise.
11861         * resolv/Makefile: Likewise.
11862         * resolv/nss_dns/dns-network.c: Likewise.
11863         * resolv/res_hconf.c: Likewise.
11864         * scripts/gen-sorted.awk: Likewise.
11865         * soft-fp/soft-fp.h: Likewise.
11866         * stdio-common/printf.h: Likewise.
11867         * stdlib/monetary.h: Likewise.
11868         * stdlib/random.c: Likewise.
11869         * stdlib/random_r.c: Likewise.
11870         * sysdeps/generic/Makefile: Likewise.
11871         * sysdeps/gnu/Makefile: Likewise.
11872         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11873         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11874         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11875         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11876         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11877         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11878         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11879         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11880         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11881         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11882         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11883         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11884         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11885         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11886         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11887         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11888         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11889         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11890         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11891         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11892         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11893         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11894         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11895         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11896         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11897         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11898         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11899         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11900         * sysdeps/mach/hurd/errnos.awk: Likewise.
11901         * sysdeps/mach/hurd/fork.c: Likewise.
11902         * sysdeps/mach/hurd/getcwd.c: Likewise.
11903         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11904         * sysdeps/mach/hurd/mmap.c: Likewise.
11905         * sysdeps/mach/hurd/utimes.c: Likewise.
11906         * sysdeps/mach/hurd/xmknod.c: Likewise.
11907         * sysdeps/posix/profil.c: Likewise.
11908         * sysdeps/posix/readdir_r.c: Likewise.
11909         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11910         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11911         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11912         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11914         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11915         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11916         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11918         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11919         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11920         * sysdeps/pthread/lio_listio.c: Likewise.
11921         * sysdeps/sparc/dl-procinfo.h: Likewise.
11922         * sysdeps/unix/i386/sysdep.S: Likewise.
11923         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11924         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11925         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11926         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11928         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11929         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11930         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11931         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11932         * sysdeps/wordsize-32/divdi3.c: Likewise.
11933         * time/sys/time.h: Likewise.
11934         * wcsmbs/Makefile: Likewise.
11936 2013-01-01  David S. Miller  <davem@davemloft.net>
11938         * po/fr.po: Update from translation team.
11940         * catgets/gencat.c: Update copyright year.
11941         * csu/version.c: Likewise.
11942         * debug/catchsegv.sh: Likewise.
11943         * debug/pcprofiledump.c: Likewise.
11944         * debug/xtrace.sh: Likewise.
11945         * elf/ldconfig.c: Likewise.
11946         * elf/ldd.bash.in: Likewise.
11947         * elf/pldd.c: Likewise.
11948         * elf/sotruss.ksh: Likewise.
11949         * elf/sprof.c: Likewise.
11950         * iconv/iconv_prog.c: Likewise.
11951         * iconv/iconvconfig.c: Likewise.
11952         * locale/programs/locale.c: Likewise.
11953         * locale/programs/localedef.c: Likewise.
11954         * login/programs/pt_chown.c: Likewise.
11955         * malloc/memusage.sh: Likewise.
11956         * malloc/memusagestat.c: Likewise.
11957         * malloc/mtrace.pl: Likewise.
11958         * nscd/nscd.c: Likewise.
11959         * nss/getent.c: Likewise.
11960         * nss/makedb.c: Likewise.
11961         * posix/getconf.c: Likewise.
11963 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11965         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11966         numbers.
11968 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11970         * math/bits/mathcalls.h (modf): Use __nonnull.
11972 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11974         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11975         (split): Use macro CN instead of the bare value.
11976         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11977         could be used.
11978         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11979         instead of the bare value.
11980         (power1): Likewise.
11982 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11985         __ATAN_TWOM.
11986         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11988         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11989         their values.
11990         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11991         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11992         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11993         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11995 2012-12-28  Andreas Jaeger  <aj@suse.de>
11997         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11998         values are from Linux 3.7.
12000         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12001         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
12003 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12005         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12006         TRUE case.
12008         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12009         (norm): Likewise.
12010         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12011         variables with preprocessor constants.
12012         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12013         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12014         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12016 2012-12-27  Bruno Haible  <bruno@clisp.org>
12018         [BZ #14317]
12019         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12020         only if needed.
12022 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12024         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12025         and use variable directly.
12026         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12028         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12029         MPONE.
12030         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12031         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12032         variable MPONE.
12033         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12035         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12036         include directive.  Remove local variable MPONE.
12037         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12038         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12039         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12041 2012-12-25  David S. Miller  <davem@davemloft.net>
12043         * version.h (RELEASE): Set to "development".
12044         (VERSION): Set to "2.17.90".
12045         * NEWS: Add 2.18 section.
12047 2012-12-21  David S. Miller  <davem@davemloft.net>
12049         * po/hr.po: Update from translation team.
12051 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12053         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12055 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12057         * NEWS:  Mention new memcpy for MIPS.
12059 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12061         * manual/contrib.texi (Contributors): Spelling correction.
12063 2012-12-15  David S. Miller  <davem@davemloft.net>
12065         * po/ru.po: Update from translation team.
12067 2012-12-13  David S. Miller  <davem@davemloft.net>
12069         * NEWS: Mention IFUNC testsuite enhancements.
12071         * po/pl.po: Update from translation team.
12072         * po/bg.po: Likewise.
12074         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12075         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12077 2012-12-11  David S. Miller  <davem@davemloft.net>
12079         * po/sv.po: Update from translation team.
12081         * po/vi.po: Update from translation team.
12083         * po/cs.po: Update from translation team.
12085         * po/de.po: Update from translation team.
12086         * po/eo.po: Likewise.
12087         * po/nl.po: Likewise.
12089 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12091         [BZ #14246]
12092         * manual/argp.texi (Argp Helper Functions): Move node to follow
12093         Argp Parsing State.
12095         [BZ #14872]
12096         * manual/conf.texi (Limits on File System Capacity): Mention if
12097         terminating null is included in the max size.
12099 2012-12-10  Andreas Jaeger  <aj@suse.de>
12101         * po/cs.po: Update from translation team.
12103 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12105         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12106         void pointer and cast to uintptr_t.
12107         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12108         path.
12109         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12110         * sysdeps/s390/s390-64/memset.S: Likewise.
12112 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12114         [BZ #14833]
12115         * menual/message.texi (Message Translation): Fix typos.
12116         (Helper programs for gettext): Likewise.
12118 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12120         [BZ #14898]
12121         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12122         Change to -1.
12124 2012-12-07  David S. Miller  <davem@davemloft.net>
12126         * po/libc.pot: Update.
12128 2012-12-07  Richard Henderson  <rth@redhat.com>
12130         [BZ #10114]
12131         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12132         normal/normal case to before the switch.
12133         (_FP_DIV): Likewise.
12135 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12136             Mike Frysinger  <vapier@gentoo.org>
12138         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12139         check for __NR_fadvise64_64.
12141 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12143         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12144         0, not just to plain "0" as a statement.
12145         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12146         with cw.
12148 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12150         * NEWS: Use sourceware.org in Bugzilla URL.
12152 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12155         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12157         * stdio-common/tst-put-error.c (do_test): Add newline to the
12158         padded test to ensure flush.
12160 2012-12-05  Jeff Law  <law@redhat.com>
12162         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12164 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12166         * README: Don't refer to ports add-on as distributed separately.
12167         Mention AArch64 in list of systems supported in the ports add-on.
12169         * LICENSES: Add more non-FSF copyright and license notices.
12171         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12172         ((unused)).
12174         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12176         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12177         10000 as width of padded output.
12179 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12181         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12183         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12184         variable LX with __attribute__ ((unused)).
12185         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12186         Likewise.
12187         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12188         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12189         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12190         with __attribute__ ((unused)).
12192 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12194         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12196 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12198         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12199         (CFLAGS-nldbl-acos.c): New variable.
12200         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12201         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12202         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12203         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12204         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12205         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12206         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12207         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12208         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12209         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12210         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12211         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12212         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12213         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12214         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12215         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12216         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12217         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12218         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12219         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12220         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12221         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12222         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12223         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12224         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12225         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12226         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12227         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12228         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12229         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12230         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12231         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12232         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12233         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12234         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12235         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12236         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12237         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12238         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12239         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12240         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12241         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12242         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12243         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12244         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12245         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12246         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12247         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12248         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12249         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12250         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12251         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12252         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12253         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12254         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12255         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12256         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12257         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12258         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12259         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12260         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12261         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12262         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12263         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12264         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12265         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12266         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12267         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12268         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12269         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12270         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12271         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12272         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12273         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12274         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12275         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12276         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12277         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12278         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12279         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12280         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12281         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12282         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12283         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12284         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12285         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12286         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12287         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12288         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12289         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12290         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12291         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12292         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12293         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12294         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12295         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12296         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12299         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12301         [BZ #14914]
12302         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12303         whole low double instead of just low 47 bits when splitting values
12304         into two parts.
12306 2012-12-03  Allan McRae  <allan@archlinux.org>
12308         * manual/stdio.texi (Predefined Printf Handlers): Remove
12309         @hsep and @vsep usage.
12311 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
12313         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12314         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12316 2012-12-03  Jeff Law  <law@redhat.com>
12318         * time/sys/time.h (settimeofday): Do not mark TV argument
12319         as __nonnull.
12321 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
12323         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12324         when currently writing and seek to current position when not.
12325         * libio/Makefile (tests): Remove bug-fclose1.
12326         * libio/bug-fclose1.c: Delete.
12328 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
12330         * manual/arith.texi (feenableexcept): Fix typo.
12331         (fedisableexcept): Likewise.
12333 2012-11-30  Roland McGrath  <roland@hack.frob.com>
12335         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12336         second, differently-typed declaration, rather than a cast.
12338 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12340         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12341         * include/rpc/svc.h: ... here.
12343 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
12345         [BZ #13013]
12346         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12347         depending n and resplen2 to catch cases where answer
12348         equals answerp2.
12350 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
12352         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12353         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12355 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
12357         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12359 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12361         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12363 2012-11-28  Jeff Law  <law@redhat.com>
12365         [BZ #13761]
12366         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12367         dataset_temporary.  Track alloca usage into alloca_used.
12368         If dataset is large allocate and release it via malloc/free.
12370 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12372         [BZ #14197]
12373         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12375 2012-11-28  David S. Miller  <davem@davemloft.net>
12377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12379 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12381         [BZ #14803]
12382         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12383         of pi/2 rounded to nearest to 64 bits.
12384         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12385         nearest to 64 bits.
12386         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12387         bits.
12389 2012-11-28  Jeff Law <law@redhat.com>
12390             Martin Osvald <mosvald@redhat.com>
12392         [BZ #14889]
12393         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12394         * sunrpc/svc.c: Include time.h.
12395         (__svc_accept_failed): New function.
12396         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12397         any reason other than EINTR, call __svc_accept_failed.
12398         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12399         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12401 2012-11-28  Andreas Schwab  <schwab@suse.de>
12403         * scripts/abilist.awk: Also handle indirect functions in .opd
12404         section.
12406 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12408         [BZ #13881]
12409         * sysdeps/x86/fpu/powl_helper.c: New file.
12410         * sysdeps/x86/fpu/Makefile: Likewise.
12411         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12412         (p3): New object.
12413         (__ieee754_powl): Use __powl_helper for finite arguments except
12414         integer exponents below 8.
12415         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12416         (p3): New object.
12417         (__ieee754_powl): Use __powl_helper for finite arguments except
12418         integer exponents below 8.
12419         * math/libm-test.inc (pow_test): Add more tests and enable some
12420         previously disabled tests.
12421         * sysdeps/i386/fpu/libm-test-ulps: Update.
12422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12424 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12425             Carlos O'Donell  <carlos_odonell@mentor.com>
12427         * nss/makedb.c (is_prime): Assert that input is odd and greater
12428         than 4.  Note that fact in a comment too.
12429         (next_prime): Add 4 to input.
12431 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12433         [BZ #11741]
12434         * libio/Makefile (tests): Add test case tst-fwrite-error.
12435         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12436         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12437         * libio/tst-fwrite-error.c: New test case.
12439 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12441         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12442         before casting to void *.
12443         * include/libc-internal.h (__pointer_type): New macro.
12444         (__integer_if_pointer_type_sub): Likewise.
12445         (__integer_if_pointer_type): Likewise.
12446         (cast_to_integer): Likewise.
12447         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12448         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12449         before casting to atomic64_t.
12450         (atomic_exchange_acq): Likewise.
12451         (__arch_exchange_and_add_body): Likewise.
12452         (__arch_add_body): Likewise.
12453         (atomic_add_negative): Likewise.
12454         (atomic_add_zero): Likewise.
12456 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12458         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12459         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12460         (add_fdes): Likewise.
12461         (linear_search_fdes): Likewise.
12462         (binary_search_unencoded_fdes): Likewise.
12464 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12466         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12468 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12470         * configure.in: Autodetect C++ header directories.
12471         * configure: Regenerated.
12473 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12475         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12477 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12481 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12483         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12484         LDBL_MANT_DIG == 106]: Disable some tests.
12485         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12486         Likewise.
12487         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12488         Likewise.
12490         [BZ #14871]
12491         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12492         input for small inputs.  Return +/- pi/2 for large inputs.
12493         * math/libm-test.inc (atan_test): Add more tests.
12495         * sysdeps/generic/unwind-dw2-fde-glibc.c
12496         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12497         __attribute__ ((unused)).
12499         [BZ #14645]
12500         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12501         x * y if x and y are nonzero and z is zero.
12503         [BZ #14811]
12504         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12505         nonzero exponents with absolute value below 0x1p-117 to +/-
12506         0x1p-117.
12508         [BZ #14869]
12509         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12510         up arguments below 2**-450, not just those below 2**-500.
12511         * math/libm-test.inc (hypot_test): Add another test.
12513         [BZ #14868]
12514         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12515         Return a+b for ratio over 2**120, not 2**60.
12516         * math/libm-test.inc (hypot_test): Add another test.
12518         * math/libm-test.inc (clog_test): Use
12519         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12520         (clog10_test): Likewise.
12522         [BZ #6778]
12523         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12525 2012-11-22  Andreas Schwab  <schwab@suse.de>
12527         * sysdeps/i386/fpu/libm-test-ulps: Update.
12529 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12531         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12532         printf output with newline.
12534 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12536         [BZ #14865]
12537         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12538         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12539         -z nodlopen, -z initfirst and -z execstack support.
12540         * configure: Regenerated.
12542         * elf/elf.h (DF_1_NODIRECT): New macro.
12543         (DF_1_IGNMULDEF): Likewise.
12544         (DF_1_NOKSYMS): Likewise.
12545         (DF_1_NOHDR): Likewise.
12546         (DF_1_EDITED): Likewise.
12547         (DF_1_NORELOC): Likewise.
12548         (DF_1_SYMINTPOSE): Likewise.
12549         (DF_1_GLOBAUDIT): Likewise.
12550         (DF_1_SINGLETON): Likewise.
12551         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12552         DT_1_SUPPORTED_MASK bits.
12553         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12555 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12557         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12559 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12561         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12562         macro.
12564         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12565         (sendmmsg): Move declarations...
12566         * socket/sys/socket.h: ... here.
12567         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12568         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12569         include it from...
12570         * socket/recvmmsg.c: ... this new file.
12571         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12572         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12573         definition of __sendmmsg hidden.
12574         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12575         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12576         Move ENOSYS stub into and include it from...
12577         * socket/sendmmsg.c: ... this new file.
12578         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12579         (sysdep_routines): Move recvmmsg and sendmmsg...
12580         * socket/Makefile (routines): ... here.
12581         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12582         (GLIBC_PRIVATE): Add __sendmmsg.
12583         * include/sys/socket.h (__sendmmsg): Add declarations.
12584         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12585         sendmmsg.
12587 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12589         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12590         variable I1 with __attribute__ ((unused)).
12591         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12593 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12595         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12596         DUMMY variables with __attribute__ ((unused)).
12598         * bits/byteswap.h: Include <bits/types.h>.
12599         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12601 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12603         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12604         string_t.  Do not manually set errno.
12605         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12606         length with __strnlen.  Make sure to both set errno and return it on
12607         failure.
12609 2012-11-19  David S. Miller  <davem@davemloft.net>
12611         With help from Joseph Myers.
12612         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12613         very large arguments properly.
12614         * math/libm-test.inc (atan_test): New tests.
12615         (atan2_test): New tests.
12616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12619 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12621         [BZ #14856]
12622         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12623         Define to 3.
12625         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12626         [POSIX] (EADDRNOTAVAIL): Likewise.
12627         [POSIX] (EAFNOSUPPORT): Likewise.
12628         [POSIX] (EALREADY): Likewise.
12629         [POSIX] (ECONNABORTED): Likewise.
12630         [POSIX] (ECONNREFUSED): Likewise.
12631         [POSIX] (ECONNRESET): Likewise.
12632         [POSIX] (EDESTADDRREQ): Likewise.
12633         [POSIX] (EDQUOT): Likewise.
12634         [POSIX] (EHOSTUNREACH): Likewise.
12635         [POSIX] (EIDRM): Likewise.
12636         [POSIX] (EISCONN): Likewise.
12637         [POSIX] (ELOOP): Likewise.
12638         [POSIX] (EMULTIHOP): Likewise.
12639         [POSIX] (ENETDOWN): Likewise.
12640         [POSIX] (ENETUNREACH): Likewise.
12641         [POSIX] (ENOBUFS): Likewise.
12642         [POSIX] (ENODATA): Likewise.
12643         [POSIX] (ENOLINK): Likewise.
12644         [POSIX] (ENOMSG): Likewise.
12645         [POSIX] (ENOPROTOOPT): Likewise.
12646         [POSIX] (ENOSR): Likewise.
12647         [POSIX] (ENOSTR): Likewise.
12648         [POSIX] (ENOTCONN): Likewise.
12649         [POSIX] (ENOTSOCK): Likewise.
12650         [POSIX] (EOPNOTSUPP): Likewise.
12651         [POSIX] (EOVERFLOW): Likewise.
12652         [POSIX] (EPROTO): Likewise.
12653         [POSIX] (EPROTONOSUPPORT): Likewise.
12654         [POSIX] (EPROTOTYPE): Likewise.
12655         [POSIX] (ESTALE): Likewise.
12656         [POSIX] (ETIME): Likewise.
12657         [POSIX] (ETXTBSY): Likewise.
12658         [POSIX] (EWOULDBLOCK): Likewise.
12659         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12660         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12661         [POSIX] (SEEK_CUR): Likewise.
12662         [POSIX] (SEEK_END): Likewise.
12663         [POSIX || UNIX98] (mode_t): Do not require.
12664         [POSIX] (off_t): Likewise.
12665         [POSIX] (pid_t): Likewise.
12666         [POSIX] (sys/stat.h): Do not allow header.
12667         [POSIX] (unistd.h): Likewise.
12668         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12669         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12670         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12671         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12672         require.
12673         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12674         sigevent): Specify elements.
12675         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12676         entry.
12677         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12678         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12680         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12681         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12682         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12683         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12684         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12685         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12686         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12687         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12688         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12689         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12690         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12691         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12692         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12693         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12694         Likewise.
12695         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12696         Likewise.
12697         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12698         Likewise.
12699         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12700         Likewise.
12701         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12702         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12703         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12704         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12705         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12706         Specify lower bound on value.
12707         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12708         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12709         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12710         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12711         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12712         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12713         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12714         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12715         value.
12716         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12717         as optional.
12718         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12719         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12720         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12721         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12722         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12723         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12724         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12725         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12726         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12727         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12728         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12729         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12730         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12731         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12732         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12733         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12734         entry.
12735         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12736         optional.
12737         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12738         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12739         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12740         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12741         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12742         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12743         Likewise.
12744         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12745         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12746         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12747         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12748         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12749         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12750         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12751         as optional.
12752         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12753         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12754         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12755         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12756         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12757         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12758         specify as optional.
12759         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12760         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12761         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12762         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12763         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12764         [XPG3] (NL_LANGMAX): Likewise.
12765         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12766         [POSIX || XPG3] (NL_NMAX): Likewise.
12767         [POSIX || XPG3] (NL_SETMAX): Likewise.
12768         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12769         [XPG3] (NZERO): Likewise.
12770         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12771         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12772         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12773         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12774         (REG_ERANGE): Expect.
12775         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12776         optional-constant.
12777         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12778         Use (void) in prototype.
12779         [POSIX] (*_t): Allow.
12780         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12781         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12782         (WRDE_BADVAL): Expect.
12784         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12785         expect.
12786         [XPG3 || XPG4] (O_RSYNC): Likewise.
12787         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12788         Likewise.
12789         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12790         [XPG3 || XPG4] (sigqueue): Likewise.
12791         [XPG3 || XPG4] (sigtimedwait): Likewise.
12792         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12793         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12794         [XPG3 || XPG4] (vsnprintf): Likewise.
12795         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12796         Likewise.
12797         [XPG3 || XPG4] (blksize_t): Likewise.
12798         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12799         Likewise.
12800         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12801         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12802         [XPG3 || XPG4] (struct itimerspec): Likewise.
12803         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12804         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12805         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12806         [XPG3 || XPG4] (clockid_t): Likewise.
12807         [XPG3 || XPG4] (timer_t): Likewise.
12808         [XPG3 || XPG4] (clock_getres): Likewise.
12809         [XPG3 || XPG4] (clock_gettime): Likewise.
12810         [XPG3 || XPG4] (clock_settime): Likewise.
12811         [XPG3 || XPG4] (nanosleep): Likewise.
12812         [XPG3 || XPG4] (timer_create): Likewise.
12813         [XPG3 || XPG4] (timer_delete): Likewise.
12814         [XPG3 || XPG4] (timer_gettime): Likewise.
12815         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12816         [XPG3 || XPG4] (timer_settime): Likewise.
12817         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12818         [XPG3 || XPG4] (getlogin_r): Likewise.
12819         [XPG3 || XPG4] (pread): Likewise.
12820         [XPG3 || XPG4] (pthread_atfork): Likewise.
12821         [XPG3 || XPG4] (pwrite): Likewise.
12823         [BZ #14835]
12824         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12825         <bits/siginfo.h>.
12827 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12829         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12830         finalizing MALLSTREAM.
12832         * sysdeps/mach/hurd/syncfs.c: New file.
12834 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12836         [BZ #14719]
12837         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12838         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12839         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12840         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12841         (_nss_dns_gethostbyname4_r): Likewise.
12842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12843         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12845 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12847         [BZ #13763]
12848         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12850 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12852         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12853         * elf/cache.c (print_entry): Print ",AArch64" for
12854         FLAG_AARCH64_LIB64
12856         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12857         * elf/cache.c (print_entry): Print ",hard-float" for
12858         FLAG_ARM_LIBHF.
12860 2012-11-18  David S. Miller  <davem@davemloft.net>
12862         With help from Joseph Myers.
12863         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12864         cutoff to 2**-13.
12865         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12866         cutoff to 2**-25.
12867         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12868         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12869         small.
12870         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12871         * math/libm-test.inc (y0_test): New tests.
12872         (y1_test): New tests.
12873         * sysdeps/i386/fpu/libm-test-ulps: Update.
12874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12877 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12879         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12880         64-bit targets.
12881         * configure: Regenerated.
12883 2012-11-17  David S. Miller  <davem@davemloft.net>
12885         [BZ #14811]
12886         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12887         nonzero exponents with absolute value below 0x1p-128 to +/-
12888         0x1p-128.
12890 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12892         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12894         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12896         * posix/getconf-speclist.c: New file.
12897         * posix/posix-envs.def: Likewise.
12898         * posix/confstr.c (START_ENV_GROUP): New macro.
12899         (END_ENV_GROUP): Likewise.
12900         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12901         (KNOWN_PRESENT_ENV_STRING): Likewise.
12902         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12903         (UNKNOWN_ENVIRONMENT): Likewise.
12904         (confstr): Include posix-envs.def instead of handling
12905         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12906         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12907         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12908         (END_ENV_GROUP): Likewise.
12909         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12910         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12911         (UNKNOWN_ENVIRONMENT): Likewise.
12912         (__sysconf): Include posix-envs.def instead of handling associated
12913         cases directly here.
12914         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12915         preprocessing getconf-speclist.c rather than running getconf or
12916         generating empty file.
12918 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12920         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12922 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12924         [BZ #14672]
12925         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12927 2012-11-16  David S. Miller  <davem@davemloft.net>
12929         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12930         smaller than LDBL_EPSILON/2.0L, just return xm1.
12932 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12934         * elf/tst-array1.c (init): Set constructor priority to 1000.
12935         (fini): Set destructor priority to 1000.
12936         * elf/tst-array2dep.c: Likewise.
12938 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12940         [BZ #11741]
12941         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12942         (_IO_new_file_xsputn): Also return EOF if none of the input
12943         data was written when overflow failed.
12944         * libio/iopadn.c (_IO_padn): Likewise.
12945         * libio/iowpadn.c (_IO_wpadn): Likewise.
12946         * stdio-common/tst-put-error.c: Add copyright notice.
12947         (do_test): Add case for printing padded string.
12948         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12949         _IO_padn returned error.
12950         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12951         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12952         return EOF.
12954 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12956         * libio/libioP.h: Add comment note that the references to C++
12957         bits are now obsolete.
12959 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12961         * math/libm-test.inc (check_complex): Use asprintf.
12963 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12965         * debug/pcprofiledump.c (print_version): Update copyright year.
12966         * malloc/memusagestat.c (print_version): Likewise.
12968 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12970         [BZ #14831]
12971         * elf/Makefile (tests): Add tst-audit8.
12972         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12973         ($(objpfx)tst-audit8.out): New target.
12974         (tst-audit8-ENV): New variable.
12975         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12976         audit if l_reloc_result is NULL.
12977         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12978         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12979         * elf/tst-audit8.c: New file.
12981 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12983         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12984         * misc/Makefile (CFLAGS-select.c): Define.
12985         * posix/Makefile (CFLAGS-pause.c): Define.
12987 2012-11-13  David S. Miller  <davem@davemloft.net>
12989         * crypt/Makefile: Move test targets after toplevel Rules
12990         inclusion.  Grab any necessary sysdep routines when linking.
12991         * crypt/md5.c (md5_process_block): Remove define, we will always
12992         name it __md5_process_block.
12993         (md5_finish_ctx): Update md5_process_block call.
12994         (md5_stream): Likewise.
12995         (md5_process_bytes): Likewise.
12996         (md5_process_block): Rename to __md5_process_block and move to ...
12997         * crypt/md5-block.c: ... here.
12998         * crypt/sha256.c (sha256_process_block): Move to ...
12999         * crypt/sha256-block.c: ... here.
13000         * crypt/sha512.c (sha512_process_block): Move to ...
13001         * crypt/sha512-block.c: ... here.
13002         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13003         path.
13004         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13005         * sysdeps/sparc/sparc64/multiarch/Makefile
13006         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13007         crypt subdir.
13008         (localedef-aux): Add md5 crypto assembler when in locale subdir.
13009         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13010         multiarch changes.
13011         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13012         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13013         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13014         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13015         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13016         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13017         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13018         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13019         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13020         file.
13021         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13022         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13023         file.
13024         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13026 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
13028         * timezone/tzselect.ksh: Update from tzcode git revision
13029         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13030         * timezone/zdump.c: Likewise.
13031         * timezone/zic.c: Likewise.
13032         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13033         in TZVERSION setting, not $(PKGVERSION).
13034         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
13035         REPORT_BUGS_TO settings.
13037         [BZ #14838]
13038         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13039         macro.
13041 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13043         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13044         detection to immediately after _FP_ROUND().
13045         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13046         bits are 0.
13048 2012-11-11  David S. Miller  <davem@davemloft.net>
13050         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13051         inttypes.h
13052         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13053         __close rather than their public counterparts.
13055 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13057         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13058         file.
13059         [UNIX98] (sem_timedwait): Do not expect.
13060         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13061         [XPG4 || UNIX98] (sockatmark): Do not expect.
13062         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13063         (clock_getcpuclockid): Do not expect.
13064         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13065         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13066         Do not expect.
13067         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13068         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13069         [UNIX98] (vwscanf): Likewise.
13070         [UNIX98] (vswscanf): Likewise.
13072 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13074         * timezone/version.h: Remove file.
13075         * timezone/README: Do not refer to version.h.
13076         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13077         $(objpfx)version.h.
13078         ($(objpfx)zdump.o): Likewise.
13079         ($(objpfx)version.h): New target.
13081         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13082         2012i.
13083         * timezone/README: Don't mention modification to tzselect.ksh.
13084         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13085         work on unmodified tzselect.ksh.  Substitute version numbers in
13086         tzselect.ksh.
13088         * Makefile (format-me): Remove.
13089         (INSTALL): Adjust indentation.  Use commands directly instead of
13090         using $(format-me).
13092         * aclocal.m4 (ACX_PKGVERSION): New macro.
13093         (ACX_BUGURL): Likewise.
13094         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13095         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13096         (REPORT_BUGS_TO): Likewise.
13097         * configure: Regenerated.
13098         * config.h.in (PKGVERSION): New macro.
13099         (REPORT_BUGS_TO): Likewise.
13100         * config.make.in (PKGVERSION): New variable.
13101         (PKGVERSION_TEXI): Likewise.
13102         (REPORT_BUGS_TO): Likewise.
13103         (REPORT_BUGS_TEXI): Likewise.
13104         * Makefile (format-me): Use -I$(common-objpfx)manual.
13105         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13106         ($(common-objpfx)manual/%): New target.
13107         (manual/%): Remove target.
13108         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13109         (print_version): Use PKGVERSION.
13110         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13111         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13112         and REPORT_BUGS_TO.
13113         ($(objpfx)xtrace): Likewise.
13114         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13115         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13116         (print_version): Use PKGVERSION.
13117         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13118         (do_version): Use PKGVERSION.
13119         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13120         REPORT_BUGS_TO.
13121         (common-ldd-rewrite): Likewise.
13122         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13123         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13124         (print_version): Use PKGVERSION.
13125         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13126         * elf/pldd.c (argp_program_bug_address): Remove variable.
13127         (more_help): New function.
13128         (argp): Use more_help.
13129         (print_version): Use PKGVERSION.
13130         * elf/sln.c (main): Use PKGVERSION.
13131         (usage): Use REPORT_BUGS_TO.
13132         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13133         (top level): Use PKGVERSION.
13134         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13135         (print_version): Use PKGVERSION.
13136         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13137         (print_version): Use PKGVERSION.
13138         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13139         (print_version): Use PKGVERSION.
13140         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13141         (print_version): Use PKGVERSION.
13142         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13143         (print_version): Use PKGVERSION.
13144         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13145         (print_version): Use PKGVERSION.
13146         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13147         and BUGURL.
13148         ($(objpfx)memusage): Likewise.
13149         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13150         (do_version): Use PKGVERSION.
13151         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13152         (print_version): Use PKGVERSION.
13153         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13154         ($PKGVERSION): New variable.
13155         ($REPORT_BUGS_TO): Likewise.
13156         (usage): Use $REPORT_BUGS_TO.
13157         (top level): Use $PKGVERSION.
13158         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13159         ($(objpfx)pkgvers.texi): New rule.
13160         ($(objpfx)stamp-pkgvers): Likewise.
13161         * manual/install.texi: Include pkgvers.texi.
13162         (--with-pkgversion): Document new configure option.
13163         (--with-bugurl): Likewise.
13164         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13165         than necessarily for this particular distribution.  Use
13166         REPORT_BUGS_TO for where to report bugs.
13167         * INSTALL: Regenerated.
13168         * manual/libc.texinfo: Include pkgvers.texi.
13169         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13170         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13171         (print_version): Use PKGVERSION.
13172         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13173         (print_version): Use PKGVERSION.
13174         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13175         (print_version): Use PKGVERSION.
13176         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13177         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13178         macro.
13179         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13180         (print_version): Use PKGVERSION.
13181         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13182         (print_version): Use PKGVERSION.
13183         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13184         and PKGVERSION.
13186         * timezone/checktab.awk: Update from tzcode 2012i.
13187         * timezone/ialloc.c: Likewise.
13188         * timezone/private.h: Likewise.
13189         * timezone/scheck.c: Likewise.
13190         * timezone/tzfile.h: Likewise.
13191         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13192         (TZVERSION): Hardcode tzcode version number.
13193         * timezone/zdump.c: Update from tzcode 2012i.
13194         * timezone/zic.c: Likewise.
13195         * timezone/version.h: New file.
13196         * timezone/README: Describe version.h.  Update upstream location.
13198         [BZ #14824]
13199         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13200         (mktemp): Enable declaration.
13201         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13202         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13203         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13204         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13205         Likewise.
13206         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13207         Likewise.
13208         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13209         Likewise.
13210         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13211         Likewise.
13212         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13213         Likewise.
13214         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13215         Likewise.
13217         [BZ #14821]
13218         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13219         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13220         for copies of such integer values.
13221         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13222         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13224 2012-11-09  Andreas Jaeger  <aj@suse.de>
13226         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13227         definitions and declarations that are provided by
13228         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13230 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13232         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13233         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13234         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13235         definition.
13237 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13239         * elf/elf.h: Update comment before AArch64 relocations.
13241 2012-11-07  David S. Miller  <davem@davemloft.net>
13243         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13244         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13245         (__start_context): Declare.
13246         (__makecontext_ret): Delete.
13247         (__makecontext): Hook up __start_context instead of
13248         __makecontext_ret.
13249         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13250         (sysdep_routines): Add __start_context when in stdlib.
13252 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13254         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13255         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13256         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13257         hardcoded "nm".
13258         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13259         (READELF): New variable.  Use it instead of hardcoded "readelf".
13261 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13263         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13264         * sysdeps/x86/Makefile: Here.
13265         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13266         * sysdeps/x86/tst-xmmymm.sh: This.
13268 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13270         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13271         expectations.
13272         [UNIX98] (pthread_barrier_t): Do not expect.
13273         [UNIX98] (pthread_barrierattr_t): Likewise.
13274         [UNIX98] (pthread_spinlock_t): Likewise.
13275         [UNIX98] (pthread_barrier_destroy): Likewise.
13276         [UNIX98] (pthread_barrier_init): Likewise.
13277         [UNIX98] (pthread_barrier_wait): Likewise.
13278         [UNIX98] (pthread_barrierattr_destroy): Likewise.
13279         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13280         [UNIX98] (pthread_barrierattr_init): Likewise.
13281         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13282         [UNIX98] (pthread_getcpuclockid): Likewise.
13283         [UNIX98] (pthread_mutex_timedlock): Likewise.
13284         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13285         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13286         [UNIX98] (pthread_sigmask): Likewise.
13287         [UNIX98] (pthread_spin_destroy): Likewise.
13288         [UNIX98] (pthread_spin_init): Likewise.
13289         [UNIX98] (pthread_spin_lock): Likewise.
13290         [UNIX98] (pthread_spin_trylock): Likewise.
13291         [UNIX98] (pthread_spin_unlock): Likewise.
13292         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13293         Do not expect.
13294         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13295         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13296         [XPG3 || XPG4] (pthread_cond_t): Likewise.
13297         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13298         [XPG3 || XPG4] (pthread_key_t): Likewise.
13299         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13300         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13301         [XPG3 || XPG4] (pthread_once_t): Likewise.
13302         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13303         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13304         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13305         [XPG3 || XPG4] (pthread_t): Likewise.
13307         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13308         not expect.
13309         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13311         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13312         Change function return type to int.
13314         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13315         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13316         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13317         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13318         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13319         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13320         [!POSIX] (posix_madvise): Likewise.
13321         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13322         && !UNIX98].
13323         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13324         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13325         (mode_t): Likewise.
13326         (posix_mem_offset): Likewise.
13327         (posix_typed_mem_get_info): Likewise.
13328         (posix_typed_mem_open): Likewise.
13330         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13331         Change condition to [XOPEN2K8].
13333         * conform/conformtest.pl: Preprocess allow-header data with -x c
13334         instead of from stdin.
13335         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13336         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13337         [C99-based standards] (cerfc): Likewise.
13338         [C99-based standards] (cexp2): Likewise.
13339         [C99-based standards] (cexpm1): Likewise.
13340         [C99-based standards] (clog10): Likewise.
13341         [C99-based standards] (clog1p): Likewise.
13342         [C99-based standards] (clog2): Likewise.
13343         [C99-based standards] (clgamma): Likewise.
13344         [C99-based standards] (ctgamma): Likewise.
13345         [C99-based standards] (cerff): Likewise.
13346         [C99-based standards] (cerfcf): Likewise.
13347         [C99-based standards] (cexp2f): Likewise.
13348         [C99-based standards] (cexpm1f): Likewise.
13349         [C99-based standards] (clog10f): Likewise.
13350         [C99-based standards] (clog1pf): Likewise.
13351         [C99-based standards] (clog2f): Likewise.
13352         [C99-based standards] (clgammaf): Likewise.
13353         [C99-based standards] (ctgammaf): Likewise.
13354         [C99-based standards] (cerfl): Likewise.
13355         [C99-based standards] (cerfcl): Likewise.
13356         [C99-based standards] (cexp2l): Likewise.
13357         [C99-based standards] (cexpm1l): Likewise.
13358         [C99-based standards] (clog10l): Likewise.
13359         [C99-based standards] (clog1pl): Likewise.
13360         [C99-based standards] (clog2l): Likewise.
13361         [C99-based standards] (clgammal): Likewise.
13362         [C99-based standards] (ctgammal): Likewise.
13363         * conform/data/inttypes.h-data [C99-based standards]: Include
13364         stdint.h-data.  Remove all expectations for stdint.h contents.
13365         [C99-based standards] (PRI*): Do not allow.
13366         [C99-based standards] (SCN*): Likewise.
13367         [C99-based standards] (*_t): Likewise.
13368         [C99-based-standards] (PRId8): Expect macro.
13369         [C99-based-standards] (PRIi8): Likewise.
13370         [C99-based-standards] (PRIo8): Likewise.
13371         [C99-based-standards] (PRIu8): Likewise.
13372         [C99-based-standards] (PRIx8): Likewise.
13373         [C99-based-standards] (PRIX8): Likewise.
13374         [C99-based-standards] (SCNd8): Likewise.
13375         [C99-based-standards] (SCNi8): Likewise.
13376         [C99-based-standards] (SCNo8): Likewise.
13377         [C99-based-standards] (SCNu8): Likewise.
13378         [C99-based-standards] (SCNx8): Likewise.
13379         [C99-based-standards] (PRIdLEAST8): Likewise.
13380         [C99-based-standards] (PRIiLEAST8): Likewise.
13381         [C99-based-standards] (PRIoLEAST8): Likewise.
13382         [C99-based-standards] (PRIuLEAST8): Likewise.
13383         [C99-based-standards] (PRIxLEAST8): Likewise.
13384         [C99-based-standards] (PRIXLEAST8): Likewise.
13385         [C99-based-standards] (SCNdLEAST8): Likewise.
13386         [C99-based-standards] (SCNiLEAST8): Likewise.
13387         [C99-based-standards] (SCNoLEAST8): Likewise.
13388         [C99-based-standards] (SCNuLEAST8): Likewise.
13389         [C99-based-standards] (SCNxLEAST8): Likewise.
13390         [C99-based-standards] (PRIdFAST8): Likewise.
13391         [C99-based-standards] (PRIiFAST8): Likewise.
13392         [C99-based-standards] (PRIoFAST8): Likewise.
13393         [C99-based-standards] (PRIuFAST8): Likewise.
13394         [C99-based-standards] (PRIxFAST8): Likewise.
13395         [C99-based-standards] (PRIXFAST8): Likewise.
13396         [C99-based-standards] (SCNdFAST8): Likewise.
13397         [C99-based-standards] (SCNiFAST8): Likewise.
13398         [C99-based-standards] (SCNoFAST8): Likewise.
13399         [C99-based-standards] (SCNuFAST8): Likewise.
13400         [C99-based-standards] (SCNxFAST8): Likewise.
13401         [C99-based-standards] (PRId16): Likewise.
13402         [C99-based-standards] (PRIi16): Likewise.
13403         [C99-based-standards] (PRIo16): Likewise.
13404         [C99-based-standards] (PRIu16): Likewise.
13405         [C99-based-standards] (PRIx16): Likewise.
13406         [C99-based-standards] (PRIX16): Likewise.
13407         [C99-based-standards] (SCNd16): Likewise.
13408         [C99-based-standards] (SCNi16): Likewise.
13409         [C99-based-standards] (SCNo16): Likewise.
13410         [C99-based-standards] (SCNu16): Likewise.
13411         [C99-based-standards] (SCNx16): Likewise.
13412         [C99-based-standards] (PRIdLEAST16): Likewise.
13413         [C99-based-standards] (PRIiLEAST16): Likewise.
13414         [C99-based-standards] (PRIoLEAST16): Likewise.
13415         [C99-based-standards] (PRIuLEAST16): Likewise.
13416         [C99-based-standards] (PRIxLEAST16): Likewise.
13417         [C99-based-standards] (PRIXLEAST16): Likewise.
13418         [C99-based-standards] (SCNdLEAST16): Likewise.
13419         [C99-based-standards] (SCNiLEAST16): Likewise.
13420         [C99-based-standards] (SCNoLEAST16): Likewise.
13421         [C99-based-standards] (SCNuLEAST16): Likewise.
13422         [C99-based-standards] (SCNxLEAST16): Likewise.
13423         [C99-based-standards] (PRIdFAST16): Likewise.
13424         [C99-based-standards] (PRIiFAST16): Likewise.
13425         [C99-based-standards] (PRIoFAST16): Likewise.
13426         [C99-based-standards] (PRIuFAST16): Likewise.
13427         [C99-based-standards] (PRIxFAST16): Likewise.
13428         [C99-based-standards] (PRIXFAST16): Likewise.
13429         [C99-based-standards] (SCNdFAST16): Likewise.
13430         [C99-based-standards] (SCNiFAST16): Likewise.
13431         [C99-based-standards] (SCNoFAST16): Likewise.
13432         [C99-based-standards] (SCNuFAST16): Likewise.
13433         [C99-based-standards] (SCNxFAST16): Likewise.
13434         [C99-based-standards] (PRId32): Likewise.
13435         [C99-based-standards] (PRIi32): Likewise.
13436         [C99-based-standards] (PRIo32): Likewise.
13437         [C99-based-standards] (PRIu32): Likewise.
13438         [C99-based-standards] (PRIx32): Likewise.
13439         [C99-based-standards] (PRIX32): Likewise.
13440         [C99-based-standards] (SCNd32): Likewise.
13441         [C99-based-standards] (SCNi32): Likewise.
13442         [C99-based-standards] (SCNo32): Likewise.
13443         [C99-based-standards] (SCNu32): Likewise.
13444         [C99-based-standards] (SCNx32): Likewise.
13445         [C99-based-standards] (PRIdLEAST32): Likewise.
13446         [C99-based-standards] (PRIiLEAST32): Likewise.
13447         [C99-based-standards] (PRIoLEAST32): Likewise.
13448         [C99-based-standards] (PRIuLEAST32): Likewise.
13449         [C99-based-standards] (PRIxLEAST32): Likewise.
13450         [C99-based-standards] (PRIXLEAST32): Likewise.
13451         [C99-based-standards] (SCNdLEAST32): Likewise.
13452         [C99-based-standards] (SCNiLEAST32): Likewise.
13453         [C99-based-standards] (SCNoLEAST32): Likewise.
13454         [C99-based-standards] (SCNuLEAST32): Likewise.
13455         [C99-based-standards] (SCNxLEAST32): Likewise.
13456         [C99-based-standards] (PRIdFAST32): Likewise.
13457         [C99-based-standards] (PRIiFAST32): Likewise.
13458         [C99-based-standards] (PRIoFAST32): Likewise.
13459         [C99-based-standards] (PRIuFAST32): Likewise.
13460         [C99-based-standards] (PRIxFAST32): Likewise.
13461         [C99-based-standards] (PRIXFAST32): Likewise.
13462         [C99-based-standards] (SCNdFAST32): Likewise.
13463         [C99-based-standards] (SCNiFAST32): Likewise.
13464         [C99-based-standards] (SCNoFAST32): Likewise.
13465         [C99-based-standards] (SCNuFAST32): Likewise.
13466         [C99-based-standards] (SCNxFAST32): Likewise.
13467         [C99-based-standards] (PRId64): Likewise.
13468         [C99-based-standards] (PRIi64): Likewise.
13469         [C99-based-standards] (PRIo64): Likewise.
13470         [C99-based-standards] (PRIu64): Likewise.
13471         [C99-based-standards] (PRIx64): Likewise.
13472         [C99-based-standards] (PRIX64): Likewise.
13473         [C99-based-standards] (SCNd64): Likewise.
13474         [C99-based-standards] (SCNi64): Likewise.
13475         [C99-based-standards] (SCNo64): Likewise.
13476         [C99-based-standards] (SCNu64): Likewise.
13477         [C99-based-standards] (SCNx64): Likewise.
13478         [C99-based-standards] (PRIdLEAST64): Likewise.
13479         [C99-based-standards] (PRIiLEAST64): Likewise.
13480         [C99-based-standards] (PRIoLEAST64): Likewise.
13481         [C99-based-standards] (PRIuLEAST64): Likewise.
13482         [C99-based-standards] (PRIxLEAST64): Likewise.
13483         [C99-based-standards] (PRIXLEAST64): Likewise.
13484         [C99-based-standards] (SCNdLEAST64): Likewise.
13485         [C99-based-standards] (SCNiLEAST64): Likewise.
13486         [C99-based-standards] (SCNoLEAST64): Likewise.
13487         [C99-based-standards] (SCNuLEAST64): Likewise.
13488         [C99-based-standards] (SCNxLEAST64): Likewise.
13489         [C99-based-standards] (PRIdFAST64): Likewise.
13490         [C99-based-standards] (PRIiFAST64): Likewise.
13491         [C99-based-standards] (PRIoFAST64): Likewise.
13492         [C99-based-standards] (PRIuFAST64): Likewise.
13493         [C99-based-standards] (PRIxFAST64): Likewise.
13494         [C99-based-standards] (PRIXFAST64): Likewise.
13495         [C99-based-standards] (SCNdFAST64): Likewise.
13496         [C99-based-standards] (SCNiFAST64): Likewise.
13497         [C99-based-standards] (SCNoFAST64): Likewise.
13498         [C99-based-standards] (SCNuFAST64): Likewise.
13499         [C99-based-standards] (SCNxFAST64): Likewise.
13500         [C99-based-standards] (PRIdMAX): Likewise.
13501         [C99-based-standards] (PRIiMAX): Likewise.
13502         [C99-based-standards] (PRIoMAX): Likewise.
13503         [C99-based-standards] (PRIuMAX): Likewise.
13504         [C99-based-standards] (PRIxMAX): Likewise.
13505         [C99-based-standards] (PRIXMAX): Likewise.
13506         [C99-based-standards] (SCNdMAX): Likewise.
13507         [C99-based-standards] (SCNiMAX): Likewise.
13508         [C99-based-standards] (SCNoMAX): Likewise.
13509         [C99-based-standards] (SCNuMAX): Likewise.
13510         [C99-based-standards] (SCNxMAX): Likewise.
13511         [C99-based-standards] (PRIdPTR): Likewise.
13512         [C99-based-standards] (PRIiPTR): Likewise.
13513         [C99-based-standards] (PRIoPTR): Likewise.
13514         [C99-based-standards] (PRIuPTR): Likewise.
13515         [C99-based-standards] (PRIxPTR): Likewise.
13516         [C99-based-standards] (PRIXPTR): Likewise.
13517         [C99-based-standards] (SCNdPTR): Likewise.
13518         [C99-based-standards] (SCNiPTR): Likewise.
13519         [C99-based-standards] (SCNoPTR): Likewise.
13520         [C99-based-standards] (SCNuPTR): Likewise.
13521         [C99-based-standards] (SCNxPTR): Likewise.
13522         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13523         allow.
13524         * conform/data/stdint.h-data: Update comments to clarify
13525         requirements.
13526         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13527         type.
13528         [C99-based standards] (INT8_MAX): Likewise.
13529         [C99-based standards] (INT16_MIN): Likewise.
13530         [C99-based standards] (INT16_MAX): Likewise.
13531         [C99-based standards] (INT32_MIN): Likewise.
13532         [C99-based standards] (INT32_MAX): Likewise.
13533         [C99-based standards] (INT64_MIN): Likewise.
13534         [C99-based standards] (INT64_MAX): Likewise.
13535         [C99-based standards] (UINT8_MAX): Likewise.
13536         [C99-based standards] (UINT16_MAX): Likewise.
13537         [C99-based standards] (UINT32_MAX): Likewise.
13538         [C99-based standards] (UINT64_MAX): Likewise.
13539         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13540         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13541         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13542         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13543         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13544         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13545         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13546         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13547         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13548         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13549         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13550         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13551         [C99-based standards] (INT_FAST8_MIN): Likewise.
13552         [C99-based standards] (INT_FAST8_MAX): Likewise.
13553         [C99-based standards] (INT_FAST16_MIN): Likewise.
13554         [C99-based standards] (INT_FAST16_MAX): Likewise.
13555         [C99-based standards] (INT_FAST32_MIN): Likewise.
13556         [C99-based standards] (INT_FAST32_MAX): Likewise.
13557         [C99-based standards] (INT_FAST64_MIN): Likewise.
13558         [C99-based standards] (INT_FAST64_MAX): Likewise.
13559         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13560         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13561         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13562         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13563         [C99-based standards] (INTPTR_MIN): Likewise.
13564         [C99-based standards] (INTPTR_MAX): Likewise.
13565         [C99-based standards] (UINTPTR_MAX): Likewise.
13566         [C99-based standards] (INTMAX_MIN): Likewise.
13567         [C99-based standards] (INTMAX_MAX): Likewise.
13568         [C99-based standards] (UINTMAX_MAX): Likewise.
13569         [C99-based standards] (PTRDIFF_MIN): Likewise.
13570         [C99-based standards] (PTRDIFF_MAX): Likewise.
13571         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13572         [C99-based standards] (SIZE_MAX): Likewise.
13573         [C99-based standards] (WCHAR_MAX): Likewise.
13574         [C99-based standards] (WINT_MAX): Likewise.
13575         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13576         constraint on value.
13577         [C99-based standards] (WCHAR_MIN): Likewise.
13578         [C99-based standards] (WINT_MIN): Likewise.
13579         [C99-based standards] (*_t): Allow.
13580         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13581         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13582         Include math.h-data and complex.h-data.  Remove all expectations
13583         of math.h and complex.h contents.
13584         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13585         at end of line.
13586         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13587         (struct tm): Expect tag.
13588         [C99-based-standards] (wcstof): Expect function.
13589         [C99-based-standards] (wcstold): Likewise.
13590         [C99-based-standards] (wcstoll): Likewise.
13591         [C99-based-standards] (wcstoull): Likewise.
13592         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13593         macro-int-constant.  Specify type.
13594         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13595         constraint on value.
13596         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13597         Specify type.
13598         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13599         Specify value.
13600         [ISO C standards]: Do not allow headers.
13601         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13602         wcs[abcdefghijklmnopqrstuvwxyz]*.
13603         [ISO C standards] (*_t): Do not allow.
13604         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13605         Expect function.
13606         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13607         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13608         Specify type.
13609         [ISO C standards]: Do not allow headers.
13610         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13611         is[abcdefghijklmnopqrstuvwxyz]*.
13612         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13613         to[abcdefghijklmnopqrstuvwxyz]*.
13614         [ISO C standards] (*_t): Do not allow.
13615         * conform/data/stdalign.h-data: New file.
13616         * conform/data/stdbool.h-data: Likewise.
13617         * conform/data/stdnoreturn.h-data: Likewise.
13619 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13621         [BZ #14815]
13622         * manual/filesys.texi (Directory Entries): Typo fix.
13623         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13625 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13627         * elf/elf.h (EM_AARCH64): New macro.
13628         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13629         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13630         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13631         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13632         (R_AARCH64_TLSDESC): Likewise.
13633         (NT_ARM_TLS): Likewise.
13634         (NT_ARM_HW_BREAK): Likewise.
13635         (NT_ARM_HW_WATCH): Likewise.
13637 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13639         [BZ #14811]
13640         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13641         (__ieee754_powl): Saturate nonzero exponents with absolute value
13642         below 0x1p-79 to +/- 0x1p-79.
13643         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13644         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13645         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13646         nonzero exponents with absolute value below 0x1p-32 to +/-
13647         0x1p-32.
13648         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13649         (__ieee754_powl): Saturate nonzero exponents with absolute value
13650         below 0x1p-79 to +/- 0x1p-79.
13651         * math/libm-test.inc (pow_test): Add more tests.
13653 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13655         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13656         _dl_s390_cap_flags with kernel. Increase string length.
13657         (_dl_s390_platforms): Add z196 and zEC12.
13659 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13661         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13662         Change XOPEN21K to XOPEN2K.
13664 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13666         * string/memmove.c: Use memcpy when possible.
13668 2012-11-06  Andreas Jaeger  <aj@suse.de>
13670         * po/eo.po: Update from translation team.
13672 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13674         [BZ #14793]
13675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13676         exponent and small x and y exponents, scale x or y up.  Increase
13677         by 2 the exponent used in scaling up.
13678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13679         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13680         * math/libm-test.inc (fma_test): Add more tests.
13681         (fma_test_towardzero): Likewise.
13682         (fma_test_downward): Likewise.
13683         (fma_test_upward): Likewise.
13685 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13687         [BZ #14805]
13688         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13689         fenv_t *.
13691         [BZ #14801]
13692         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13693         namespace for names of struct fields.
13694         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13695         fenv_t fields.
13696         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13697         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13699 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13701         [BZ #3665]
13702         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13704 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13706         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13707         PTR_DEMANGLE.
13709         [BZ #5246]
13710         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13711         PTR_DEMANGLE.
13713 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13715         [BZ #14797]
13716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13717         definitely overflow as x * y not x * y + z.
13718         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13719         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13720         * math/libm-test.inc (fma_test): Add more tests.
13721         (fma_test_towardzero): Likewise.
13722         (fma_test_downward): Likewise.
13723         (fma_test_upward): Likewise.
13725 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13727         [BZ #157]
13729         * include/stub-tag.h: Remove file.
13730         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13731         '#include' of it.
13732         * manual/maint.texi (Porting): Don't reference it.
13733         * Makerules ($(objpfx)stubs): Likewise.
13734         * dirent/closedir.c: Don't include <stub-tag.h>.
13735         * dirent/dirfd.c: Likewise.
13736         * dirent/fdopendir.c: Likewise.
13737         * dirent/getdents.c: Likewise.
13738         * dirent/getdents64.c: Likewise.
13739         * dirent/opendir.c: Likewise.
13740         * dirent/readdir.c: Likewise.
13741         * dirent/readdir64.c: Likewise.
13742         * dirent/readdir64_r.c: Likewise.
13743         * dirent/readdir_r.c: Likewise.
13744         * dirent/rewinddir.c: Likewise.
13745         * dirent/seekdir.c: Likewise.
13746         * dirent/telldir.c: Likewise.
13747         * gmon/profil.c: Likewise.
13748         * grp/setgroups.c: Likewise.
13749         * inet/if_index.c: Likewise.
13750         * io/access.c: Likewise.
13751         * io/chdir.c: Likewise.
13752         * io/chmod.c: Likewise.
13753         * io/chown.c: Likewise.
13754         * io/close.c: Likewise.
13755         * io/dup.c: Likewise.
13756         * io/dup2.c: Likewise.
13757         * io/dup3.c: Likewise.
13758         * io/euidaccess.c: Likewise.
13759         * io/faccessat.c: Likewise.
13760         * io/fchdir.c: Likewise.
13761         * io/fchmod.c: Likewise.
13762         * io/fchmodat.c: Likewise.
13763         * io/fchown.c: Likewise.
13764         * io/fchownat.c: Likewise.
13765         * io/fcntl.c: Likewise.
13766         * io/flock.c: Likewise.
13767         * io/fstatfs.c: Likewise.
13768         * io/fstatfs64.c: Likewise.
13769         * io/fstatvfs.c: Likewise.
13770         * io/fstatvfs64.c: Likewise.
13771         * io/futimens.c: Likewise.
13772         * io/fxstat.c: Likewise.
13773         * io/fxstat64.c: Likewise.
13774         * io/fxstatat.c: Likewise.
13775         * io/fxstatat64.c: Likewise.
13776         * io/getcwd.c: Likewise.
13777         * io/isatty.c: Likewise.
13778         * io/lchmod.c: Likewise.
13779         * io/lchown.c: Likewise.
13780         * io/link.c: Likewise.
13781         * io/linkat.c: Likewise.
13782         * io/lseek.c: Likewise.
13783         * io/lseek64.c: Likewise.
13784         * io/lxstat64.c: Likewise.
13785         * io/mkdir.c: Likewise.
13786         * io/mkdirat.c: Likewise.
13787         * io/mkfifo.c: Likewise.
13788         * io/mkfifoat.c: Likewise.
13789         * io/open.c: Likewise.
13790         * io/open64.c: Likewise.
13791         * io/openat.c: Likewise.
13792         * io/openat64.c: Likewise.
13793         * io/pipe.c: Likewise.
13794         * io/pipe2.c: Likewise.
13795         * io/poll.c: Likewise.
13796         * io/posix_fadvise.c: Likewise.
13797         * io/posix_fadvise64.c: Likewise.
13798         * io/posix_fallocate.c: Likewise.
13799         * io/posix_fallocate64.c: Likewise.
13800         * io/read.c: Likewise.
13801         * io/readlink.c: Likewise.
13802         * io/readlinkat.c: Likewise.
13803         * io/rmdir.c: Likewise.
13804         * io/sendfile.c: Likewise.
13805         * io/sendfile64.c: Likewise.
13806         * io/statfs.c: Likewise.
13807         * io/statfs64.c: Likewise.
13808         * io/statvfs.c: Likewise.
13809         * io/statvfs64.c: Likewise.
13810         * io/symlink.c: Likewise.
13811         * io/symlinkat.c: Likewise.
13812         * io/ttyname.c: Likewise.
13813         * io/ttyname_r.c: Likewise.
13814         * io/umask.c: Likewise.
13815         * io/unlink.c: Likewise.
13816         * io/unlinkat.c: Likewise.
13817         * io/utime.c: Likewise.
13818         * io/utimensat.c: Likewise.
13819         * io/write.c: Likewise.
13820         * io/xmknod.c: Likewise.
13821         * io/xmknodat.c: Likewise.
13822         * io/xstat.c: Likewise.
13823         * io/xstat64.c: Likewise.
13824         * login/getpt.c: Likewise.
13825         * login/grantpt.c: Likewise.
13826         * login/unlockpt.c: Likewise.
13827         * math/e_acoshl.c: Likewise.
13828         * math/e_acosl.c: Likewise.
13829         * math/e_asinl.c: Likewise.
13830         * math/e_atan2l.c: Likewise.
13831         * math/e_atanhl.c: Likewise.
13832         * math/e_coshl.c: Likewise.
13833         * math/e_expl.c: Likewise.
13834         * math/e_fmodl.c: Likewise.
13835         * math/e_gammal_r.c: Likewise.
13836         * math/e_hypotl.c: Likewise.
13837         * math/e_j0l.c: Likewise.
13838         * math/e_j1l.c: Likewise.
13839         * math/e_jnl.c: Likewise.
13840         * math/e_lgammal_r.c: Likewise.
13841         * math/e_log10l.c: Likewise.
13842         * math/e_log2l.c: Likewise.
13843         * math/e_logl.c: Likewise.
13844         * math/e_powl.c: Likewise.
13845         * math/e_rem_pio2l.c: Likewise.
13846         * math/e_sinhl.c: Likewise.
13847         * math/e_sqrtl.c: Likewise.
13848         * math/fclrexcpt.c: Likewise.
13849         * math/fedisblxcpt.c: Likewise.
13850         * math/feenablxcpt.c: Likewise.
13851         * math/fegetenv.c: Likewise.
13852         * math/fegetexcept.c: Likewise.
13853         * math/fegetround.c: Likewise.
13854         * math/feholdexcpt.c: Likewise.
13855         * math/fesetenv.c: Likewise.
13856         * math/fesetround.c: Likewise.
13857         * math/feupdateenv.c: Likewise.
13858         * math/fgetexcptflg.c: Likewise.
13859         * math/fraiseexcpt.c: Likewise.
13860         * math/fsetexcptflg.c: Likewise.
13861         * math/ftestexcept.c: Likewise.
13862         * math/k_cosl.c: Likewise.
13863         * math/k_rem_pio2l.c: Likewise.
13864         * math/k_sinl.c: Likewise.
13865         * math/k_tanl.c: Likewise.
13866         * math/s_asinhl.c: Likewise.
13867         * math/s_atanl.c: Likewise.
13868         * math/s_cbrtl.c: Likewise.
13869         * math/s_erfl.c: Likewise.
13870         * math/s_expm1l.c: Likewise.
13871         * math/s_log1pl.c: Likewise.
13872         * math/s_tanhl.c: Likewise.
13873         * misc/acct.c: Likewise.
13874         * misc/brk.c: Likewise.
13875         * misc/chflags.c: Likewise.
13876         * misc/chroot.c: Likewise.
13877         * misc/fchflags.c: Likewise.
13878         * misc/fgetxattr.c: Likewise.
13879         * misc/flistxattr.c: Likewise.
13880         * misc/fremovexattr.c: Likewise.
13881         * misc/fsetxattr.c: Likewise.
13882         * misc/fsync.c: Likewise.
13883         * misc/ftruncate.c: Likewise.
13884         * misc/futimes.c: Likewise.
13885         * misc/futimesat.c: Likewise.
13886         * misc/getdomain.c: Likewise.
13887         * misc/getdtsz.c: Likewise.
13888         * misc/gethostid.c: Likewise.
13889         * misc/gethostname.c: Likewise.
13890         * misc/getloadavg.c: Likewise.
13891         * misc/getpagesize.c: Likewise.
13892         * misc/getsysstats.c: Likewise.
13893         * misc/getxattr.c: Likewise.
13894         * misc/gtty.c: Likewise.
13895         * misc/ioctl.c: Likewise.
13896         * misc/lgetxattr.c: Likewise.
13897         * misc/listxattr.c: Likewise.
13898         * misc/llistxattr.c: Likewise.
13899         * misc/lremovexattr.c: Likewise.
13900         * misc/lsetxattr.c: Likewise.
13901         * misc/lutimes.c: Likewise.
13902         * misc/madvise.c: Likewise.
13903         * misc/mincore.c: Likewise.
13904         * misc/mlock.c: Likewise.
13905         * misc/mlockall.c: Likewise.
13906         * misc/mmap.c: Likewise.
13907         * misc/mprotect.c: Likewise.
13908         * misc/msync.c: Likewise.
13909         * misc/munlock.c: Likewise.
13910         * misc/munlockall.c: Likewise.
13911         * misc/munmap.c: Likewise.
13912         * misc/preadv.c: Likewise.
13913         * misc/preadv64.c: Likewise.
13914         * misc/ptrace.c: Likewise.
13915         * misc/pwritev.c: Likewise.
13916         * misc/pwritev64.c: Likewise.
13917         * misc/readv.c: Likewise.
13918         * misc/reboot.c: Likewise.
13919         * misc/remap_file_pages.c: Likewise.
13920         * misc/removexattr.c: Likewise.
13921         * misc/revoke.c: Likewise.
13922         * misc/select.c: Likewise.
13923         * misc/setdomain.c: Likewise.
13924         * misc/setegid.c: Likewise.
13925         * misc/seteuid.c: Likewise.
13926         * misc/sethostid.c: Likewise.
13927         * misc/sethostname.c: Likewise.
13928         * misc/setregid.c: Likewise.
13929         * misc/setreuid.c: Likewise.
13930         * misc/setxattr.c: Likewise.
13931         * misc/sstk.c: Likewise.
13932         * misc/stty.c: Likewise.
13933         * misc/swapoff.c: Likewise.
13934         * misc/swapon.c: Likewise.
13935         * misc/sync.c: Likewise.
13936         * misc/syncfs.c: Likewise.
13937         * misc/syscall.c: Likewise.
13938         * misc/truncate.c: Likewise.
13939         * misc/ualarm.c: Likewise.
13940         * misc/usleep.c: Likewise.
13941         * misc/ustat.c: Likewise.
13942         * misc/utimes.c: Likewise.
13943         * misc/vhangup.c: Likewise.
13944         * misc/writev.c: Likewise.
13945         * posix/_exit.c: Likewise.
13946         * posix/alarm.c: Likewise.
13947         * posix/execve.c: Likewise.
13948         * posix/fexecve.c: Likewise.
13949         * posix/fork.c: Likewise.
13950         * posix/fpathconf.c: Likewise.
13951         * posix/getaddrinfo.c: Likewise.
13952         * posix/getegid.c: Likewise.
13953         * posix/geteuid.c: Likewise.
13954         * posix/getgid.c: Likewise.
13955         * posix/getgroups.c: Likewise.
13956         * posix/getlogin.c: Likewise.
13957         * posix/getlogin_r.c: Likewise.
13958         * posix/getpgid.c: Likewise.
13959         * posix/getpid.c: Likewise.
13960         * posix/getppid.c: Likewise.
13961         * posix/getresgid.c: Likewise.
13962         * posix/getresuid.c: Likewise.
13963         * posix/getsid.c: Likewise.
13964         * posix/getuid.c: Likewise.
13965         * posix/glob64.c: Likewise.
13966         * posix/nanosleep.c: Likewise.
13967         * posix/pathconf.c: Likewise.
13968         * posix/pause.c: Likewise.
13969         * posix/posix_madvise.c: Likewise.
13970         * posix/pread.c: Likewise.
13971         * posix/pread64.c: Likewise.
13972         * posix/pwrite.c: Likewise.
13973         * posix/pwrite64.c: Likewise.
13974         * posix/sched_getaffinity.c: Likewise.
13975         * posix/sched_getp.c: Likewise.
13976         * posix/sched_gets.c: Likewise.
13977         * posix/sched_primax.c: Likewise.
13978         * posix/sched_primin.c: Likewise.
13979         * posix/sched_rr_gi.c: Likewise.
13980         * posix/sched_setaffinity.c: Likewise.
13981         * posix/sched_setp.c: Likewise.
13982         * posix/sched_sets.c: Likewise.
13983         * posix/sched_yield.c: Likewise.
13984         * posix/setgid.c: Likewise.
13985         * posix/setlogin.c: Likewise.
13986         * posix/setpgid.c: Likewise.
13987         * posix/setresgid.c: Likewise.
13988         * posix/setresuid.c: Likewise.
13989         * posix/setsid.c: Likewise.
13990         * posix/setuid.c: Likewise.
13991         * posix/sleep.c: Likewise.
13992         * posix/spawni.c: Likewise.
13993         * posix/sysconf.c: Likewise.
13994         * posix/times.c: Likewise.
13995         * posix/wait.c: Likewise.
13996         * posix/wait3.c: Likewise.
13997         * posix/wait4.c: Likewise.
13998         * posix/waitpid.c: Likewise.
13999         * resolv/gai_sigqueue.c: Likewise.
14000         * resource/getpriority.c: Likewise.
14001         * resource/getrlimit.c: Likewise.
14002         * resource/getrusage.c: Likewise.
14003         * resource/nice.c: Likewise.
14004         * resource/setpriority.c: Likewise.
14005         * resource/setrlimit.c: Likewise.
14006         * resource/ulimit.c: Likewise.
14007         * rt/aio_cancel.c: Likewise.
14008         * rt/aio_fsync.c: Likewise.
14009         * rt/aio_read.c: Likewise.
14010         * rt/aio_sigqueue.c: Likewise.
14011         * rt/aio_suspend.c: Likewise.
14012         * rt/aio_write.c: Likewise.
14013         * rt/clock_getres.c: Likewise.
14014         * rt/clock_gettime.c: Likewise.
14015         * rt/clock_nanosleep.c: Likewise.
14016         * rt/clock_settime.c: Likewise.
14017         * rt/lio_listio.c: Likewise.
14018         * rt/mq_close.c: Likewise.
14019         * rt/mq_getattr.c: Likewise.
14020         * rt/mq_notify.c: Likewise.
14021         * rt/mq_open.c: Likewise.
14022         * rt/mq_receive.c: Likewise.
14023         * rt/mq_send.c: Likewise.
14024         * rt/mq_setattr.c: Likewise.
14025         * rt/mq_timedreceive.c: Likewise.
14026         * rt/mq_timedsend.c: Likewise.
14027         * rt/mq_unlink.c: Likewise.
14028         * rt/shm_open.c: Likewise.
14029         * rt/shm_unlink.c: Likewise.
14030         * rt/timer_create.c: Likewise.
14031         * rt/timer_delete.c: Likewise.
14032         * rt/timer_getoverr.c: Likewise.
14033         * rt/timer_gettime.c: Likewise.
14034         * rt/timer_settime.c: Likewise.
14035         * setjmp/__longjmp.c: Likewise.
14036         * setjmp/setjmp.c: Likewise.
14037         * signal/kill.c: Likewise.
14038         * signal/killpg.c: Likewise.
14039         * signal/raise.c: Likewise.
14040         * signal/sigaction.c: Likewise.
14041         * signal/sigaltstack.c: Likewise.
14042         * signal/sigblock.c: Likewise.
14043         * signal/sigignore.c: Likewise.
14044         * signal/sigintr.c: Likewise.
14045         * signal/signal.c: Likewise.
14046         * signal/sigpause.c: Likewise.
14047         * signal/sigpending.c: Likewise.
14048         * signal/sigqueue.c: Likewise.
14049         * signal/sigreturn.c: Likewise.
14050         * signal/sigset.c: Likewise.
14051         * signal/sigsetmask.c: Likewise.
14052         * signal/sigstack.c: Likewise.
14053         * signal/sigsuspend.c: Likewise.
14054         * signal/sigtimedwait.c: Likewise.
14055         * signal/sigvec.c: Likewise.
14056         * signal/sigwait.c: Likewise.
14057         * signal/sigwaitinfo.c: Likewise.
14058         * signal/sysv_signal.c: Likewise.
14059         * socket/accept.c: Likewise.
14060         * socket/accept4.c: Likewise.
14061         * socket/bind.c: Likewise.
14062         * socket/connect.c: Likewise.
14063         * socket/getpeername.c: Likewise.
14064         * socket/getsockname.c: Likewise.
14065         * socket/getsockopt.c: Likewise.
14066         * socket/isfdtype.c: Likewise.
14067         * socket/listen.c: Likewise.
14068         * socket/recv.c: Likewise.
14069         * socket/recvfrom.c: Likewise.
14070         * socket/recvmsg.c: Likewise.
14071         * socket/send.c: Likewise.
14072         * socket/sendmsg.c: Likewise.
14073         * socket/sendto.c: Likewise.
14074         * socket/setsockopt.c: Likewise.
14075         * socket/shutdown.c: Likewise.
14076         * socket/sockatmark.c: Likewise.
14077         * socket/socket.c: Likewise.
14078         * socket/socketpair.c: Likewise.
14079         * stdio-common/ctermid.c: Likewise.
14080         * stdio-common/cuserid.c: Likewise.
14081         * stdio-common/remove.c: Likewise.
14082         * stdio-common/rename.c: Likewise.
14083         * stdio-common/renameat.c: Likewise.
14084         * stdio-common/tempname.c: Likewise.
14085         * stdlib/getcontext.c: Likewise.
14086         * stdlib/makecontext.c: Likewise.
14087         * stdlib/setcontext.c: Likewise.
14088         * stdlib/swapcontext.c: Likewise.
14089         * stdlib/system.c: Likewise.
14090         * streams/fattach.c: Likewise.
14091         * streams/fdetach.c: Likewise.
14092         * streams/getmsg.c: Likewise.
14093         * streams/getpmsg.c: Likewise.
14094         * streams/putmsg.c: Likewise.
14095         * streams/putpmsg.c: Likewise.
14096         * sysdeps/unix/bsd/getpt.c: Likewise.
14097         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14098         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14099         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14101         Likewise.
14102         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14103         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14104         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14105         * sysvipc/msgctl.c: Likewise.
14106         * sysvipc/msgget.c: Likewise.
14107         * sysvipc/msgrcv.c: Likewise.
14108         * sysvipc/msgsnd.c: Likewise.
14109         * sysvipc/semctl.c: Likewise.
14110         * sysvipc/semget.c: Likewise.
14111         * sysvipc/semop.c: Likewise.
14112         * sysvipc/semtimedop.c: Likewise.
14113         * sysvipc/shmat.c: Likewise.
14114         * sysvipc/shmctl.c: Likewise.
14115         * sysvipc/shmdt.c: Likewise.
14116         * sysvipc/shmget.c: Likewise.
14117         * termios/tcdrain.c: Likewise.
14118         * termios/tcflow.c: Likewise.
14119         * termios/tcflush.c: Likewise.
14120         * termios/tcgetattr.c: Likewise.
14121         * termios/tcgetpgrp.c: Likewise.
14122         * termios/tcsendbrk.c: Likewise.
14123         * termios/tcsetattr.c: Likewise.
14124         * termios/tcsetpgrp.c: Likewise.
14125         * time/adjtime.c: Likewise.
14126         * time/clock.c: Likewise.
14127         * time/getitimer.c: Likewise.
14128         * time/gettimeofday.c: Likewise.
14129         * time/setitimer.c: Likewise.
14130         * time/settimeofday.c: Likewise.
14131         * time/stime.c: Likewise.
14132         * time/time.c: Likewise.
14134 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14136         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14137         /usr/old/bin.
14139         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14140         instead of spaces.
14141         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14143 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14145         [BZ #14796]
14146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14147         FE_TONEAREST before applying Dekker multiplication and Knuth
14148         addition.  Clear inexact exceptions and check for exact zero
14149         results afterwards.
14150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14151         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14152         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14153         * math/libm-test.inc (fma_test): Add more tests.
14154         (fma_test_towardzero): Likewise.
14155         (fma_test_downward): Likewise.
14156         (fma_test_upward): Likewise.
14157         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14158         function.
14159         (libc_fesetround): New macro.
14160         (libc_fesetroundf): Likewise.
14161         (libc_fesetroundl): Likewise.
14162         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14163         function.
14164         (libc_fesetround_387): Likewise.
14165         (libc_fesetroundf): New macro.
14166         (libc_fesetround): Likewise.
14167         (libc_fesetroundl): Likewise.
14168         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14169         function.
14170         (libc_fesetroundf): New macro.
14171         (libc_fesetround): Likewise.
14172         (libc_fesetroundl): Likewise.
14173         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14174         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14175         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14176         libm_hidden_ver.
14177         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14178         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14179         libm_hidden_def.
14180         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14181         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14182         libm_hidden_ver.
14183         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14184         libm_hidden_def.
14186         [BZ #3439]
14187         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14188         integer constant usable in #if and use that to give value to enum
14189         constant.
14190         (FE_DIVBYZERO): Likewise.
14191         (FE_UNDERFLOW): Likewise.
14192         (FE_OVERFLOW): Likewise.
14193         (FE_INVALID): Likewise.
14194         (FE_INVALID_SNAN): Likewise.
14195         (FE_INVALID_ISI): Likewise.
14196         (FE_INVALID_IDI): Likewise.
14197         (FE_INVALID_ZDZ): Likewise.
14198         (FE_INVALID_IMZ): Likewise.
14199         (FE_INVALID_COMPARE): Likewise.
14200         (FE_INVALID_SOFTWARE): Likewise.
14201         (FE_INVALID_SQRT): Likewise.
14202         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14203         (FE_TONEAREST): Likewise.
14204         (FE_TOWARDZERO): Likewise.
14205         (FE_UPWARD): Likewise.
14206         (FE_DOWNWARD): Likewise.
14207         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14208         (FE_DIVBYZERO): Likewise.
14209         (FE_OVERFLOW): Likewise.
14210         (FE_UNDERFLOW): Likewise.
14211         (FE_INEXACT): Likewise.
14212         (FE_TONEAREST): Likewise.
14213         (FE_DOWNWARD): Likewise.
14214         (FE_UPWARD): Likewise.
14215         (FE_TOWARDZERO): Likewise.
14216         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14217         (FE_UNDERFLOW): Likewise.
14218         (FE_OVERFLOW): Likewise.
14219         (FE_DIVBYZERO): Likewise.
14220         (FE_INVALID): Likewise.
14221         (FE_TONEAREST): Likewise.
14222         (FE_TOWARDZERO): Likewise.
14223         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14224         (FE_OVERFLOW): Likewise.
14225         (FE_UNDERFLOW): Likewise.
14226         (FE_DIVBYZERO): Likewise.
14227         (FE_INEXACT): Likewise.
14228         (FE_TONEAREST): Likewise.
14229         (FE_TOWARDZERO): Likewise.
14230         (FE_UPWARD): Likewise.
14231         (FE_DOWNWARD): Likewise.
14232         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14233         (FE_DIVBYZERO): Likewise.
14234         (FE_OVERFLOW): Likewise.
14235         (FE_UNDERFLOW): Likewise.
14236         (FE_INEXACT): Likewise.
14237         (FE_TONEAREST): Likewise.
14238         (FE_DOWNWARD): Likewise.
14239         (FE_UPWARD): Likewise.
14240         (FE_TOWARDZERO): Likewise.
14242 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14244         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14246 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14248         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14249         commands.  Quote $PWD.
14250         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14251         -x" by "export".
14252         (remove_newlines): Remove.
14254 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14256         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14257         * stdlib/stdlib.h (atof): Moved to ...
14258         * include/bits/stdlib-float.h: Here.  New file.
14259         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14260         * stdlib/bits/stdlib-float.h: New file.
14261         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14262         -mno-sse -mno-mmx.
14263         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14264         <xmmintrin.h>.
14266 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14268         * conform/conformtest.pl (@headers): Add fenv.h.
14269         * conform/data/fenv.h-data: New file.
14270         * include/fenv.h [_ISOMAC]: Disable all contents of file except
14271         include of <math/fenv.h>.
14273         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14274         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14275         && !UNIX98].  Enables tests for XOPEN2K8.
14276         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14277         POSIX2008]: Likewise.
14279         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14280         (struct rusage): Do not expect type or its members.
14282         [BZ #3439]
14283         * math/math.h (FP_NAN): Define macro to integer constant usable in
14284         #if and use that to give value to enum constant.
14285         (FP_INFINITE): Likewise.
14286         (FP_ZERO): Likewise.
14287         (FP_SUBNORMAL): Likewise.
14288         (FP_NORMAL): Likewise.
14290 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
14292         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14293         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14294         arguments.
14296 2012-11-02  Roland McGrath  <roland@hack.frob.com>
14298         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14299         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14300         autoconf-time if not.
14301         * configure.in: Remove AC_PREREQ.
14303 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14305         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14306         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14307         of the internal implementation.
14309 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14311         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14312         except include of <misc/sys/syslog.h>.
14314 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14317         function returns with a NULL context exit with zero.
14319 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14321         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14323 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
14325         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14326         (run_program_cmd): This.
14327         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14328         (tst_langinfo): New variable.  Use it.
14330 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
14332         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14333         floating point opcodes.
14335 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14337         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14338         variable.
14340         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14342         * sysdeps/mach/hurd/powerpc: Remove directory.
14343         * sysdeps/mach/powerpc: Likewise.
14345 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14347         * scripts/check-local-headers.sh: Ignore c++ headers.
14349 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14351         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14352         __libc_cleanup_region_start argument.
14354 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
14356         [BZ #14784]
14357         [BZ #14785]
14358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14359         x * y using scaling, not as x * y + z.
14360         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14362         * math/libm-test.inc (fma_test): Add more tests.
14363         (fma_test_towardzero): Likewise.
14364         (fma_test_downward): Likewise.
14365         (fma_test_upward): Likewise.
14367 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14369         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14371 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14373         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14374         New variable.
14376 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14378         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14380 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14383         Fix sort order.
14384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14385         Likewise.
14387 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14390         Fix the order of the list for glibc 2.17.
14391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14392         Likewise.
14394 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14398 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14400         [BZ #14610]
14401         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14402         for low part of x being zero before using __atanl (y).
14403         * math/libm-test.inc (atan2_test): Add another test.
14405         * manual/install.texi (Configuring and compiling): Document
14406         general use of test-wrapper and test-wrapper-env.
14407         * INSTALL: Regenerated.
14409         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14410         (__fma): Do not extract and scale down low bits on after-rounding
14411         systems when result rounded to normal precision would have normal
14412         exponent.
14413         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14414         (__fmal): Do not extract and scale down low bits on after-rounding
14415         systems when result rounded to normal precision would have normal
14416         exponent.
14417         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14418         (__fmal): Do not extract and scale down low bits on after-rounding
14419         systems when result rounded to normal precision would have normal
14420         exponent.
14421         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14422         macro.
14423         (fma_test): Add more tests.
14424         (fma_test_towardzero): Likewise.
14425         (fma_test_downward): Likewise.
14426         (fma_test_upward): Likewise.
14428 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14430         * sysdeps/i386/tininess.h: Renamed to ...
14431         * sysdeps/x86/tininess.h: This.
14432         * sysdeps/x86_64/tininess.h: Removed.
14434 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14436         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14437         input.  Use $(build-program-cmd).
14438         ($(objpfx)tst-array1-static.out): Likewise.
14439         ($(objpfx)tst-array2.out): Likewise.
14440         ($(objpfx)tst-array3.out): Likewise.
14441         ($(objpfx)tst-array4.out): Likewise.
14442         ($(objpfx)tst-array5.out): Likewise.
14443         ($(objpfx)tst-array5-static.out): Likewise.
14445 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14447         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14448         if defined.
14450         * nss/nsswitch.h (nss_interface_function): Provide new
14451         macro for use with NSS functions.
14452         * grp/initgroups.c: Use new macro.
14453         * nss/getXXbyYY.c: Likewise.
14454         * nss/getXXbyYY_r.c: Likewise.
14455         * nss/getXXent.c: Likewise.
14456         * nss/getXXent_r.c: Likewise.
14457         * sysdeps/posix/getaddrinfo.c: Likewise.
14459 2012-10-30  Andreas Jaeger  <aj@suse.de>
14461         * po/ru.po: Update Russion translation from translation project.
14463 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14465         [BZ #14152]
14466         [BZ #14783]
14467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14468         result and shift together with sticky bit instead of replicating
14469         round-to-nearest rounding.
14470         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14471         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14472         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14473         missing underflow exceptions.
14474         (fma_test_towardzero): Add more tests.
14475         (fma_test_downward): Likewise.
14476         (fma_test_upward): Likewise.
14478         [BZ #14047]
14479         * sysdeps/generic/tininess.h: New file.
14480         * sysdeps/i386/tininess.h: Likewise.
14481         * sysdeps/sh/tininess.h: Likewise.
14482         * sysdeps/x86_64/tininess.h: Likewise.
14483         * stdlib/tst-strtod-underflow.c: Likewise.
14484         * stdlib/tst-tininess.c: Likewise.
14485         * stdlib/strtod_l.c: Include <tininess.h>.
14486         (round_and_return): Do not set errno for exact underflow cases.
14487         Force an underflow exception when setting errno for underflow.
14488         Determine underflow based on rounding to normal precision if
14489         TININESS_AFTER_ROUNDING.
14490         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14491         ERANGE for exact underflow cases.
14492         * stdlib/Makefile (tests): Add tst-tininess and
14493         tst-strtod-underflow.
14494         ($(objpfx)tst-tininess): Use $(link-libm).
14495         ($(objpfx)tst-strtod-underflow): Likewise.
14497 2012-10-30  Andreas Jaeger  <aj@suse.de>
14499         [BZ#14767]
14500         * elf/Makefile (tests): Remove conditional for have-initfini-array
14501         since this is now always required and the variable does not exist
14502         anymore.
14503         (tests-static): Likewise.
14504         (modules-names): Likewise.
14506         * po/eo.po: Add Esperanto translation from translation project.
14508         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14509         merged with constructor/destructor.
14510         (init_array): Likewise.
14511         * elf/tst-array2dep.c (fini_array): Likewise.
14512         (init_array): Likewise.
14514 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14516         * manual/message.texi: Delete @cartouche tags.
14518 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14520         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14521         EOPNOTSUPP.
14522         * sysdeps/mach/hurd/fsync.c: Likewise.
14524         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14525         [_POSIX_REALTIME_SIGNALS]: Change condition to
14526         [_POSIX_REALTIME_SIGNALS > 0].
14528 2012-10-27  Andreas Jaeger  <aj@suse.de>
14530         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14531         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14533         [__WORDSIZE != 64]: Likewise.
14535 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14537         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14538         *  iconvdata/tst-tables.sh: Likewise.
14540 2012-10-25  David S. Miller  <davem@davemloft.net>
14542         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14543         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14544         of strtoull.
14546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14547         ifunc-impl-list.c
14548         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14549         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14550         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14551         file.
14553 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14555         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14556         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14557         __getdirentries.
14559 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14560             Jim Blandy  <jimb@codesourcery.com>
14562         * scripts/cross-test-ssh.sh: New file.
14563         * manual/install.texi (Configuring and compiling): Document use of
14564         cross-test-ssh.sh.
14565         * INSTALL: Regenerated.
14567 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14569         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14570         EOPNOTSUPP.
14572 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14574         * Makeconfig (run-program-prefix): Fix comment.
14576 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14577             Jim Blandy  <jimb@codesourcery.com>
14579         * Makeconfig (test-wrapper): New variable,
14580         (test-wrapper-env): Likewise.
14581         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14582         (run-built-tests): Define to yes.
14583         (run-program-prefix): Use $(test-wrapper).
14584         (built-program-cmd): Likewise.
14585         * Rules (make-test-out): Use $(test-wrapper-env) and
14586         $(host-built-program-cmd).
14587         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14588         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14589         tst-pathopt.sh.
14590         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14591         $(test-wrapper-env) to tst-rtld-load-self.sh.
14592         ($(objpfx)order2.out): Use $(test-wrapper).
14593         ($(objpfx)tst-initorder.out): Likewise.
14594         ($(objpfx)tst-initorder2.out): Likewise.
14595         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14596         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14597         (test_wrapper_env): New variable.  Use it to run ld.so.
14598         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14599         Use it to run ld.so.
14600         (test_wrapper_env): Likewise.
14601         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14602         $(test-wrapper) to run-iconv-test.sh.
14603         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14604         (ICONV): Use $test_wrapper.
14605         * posix/Makefile ($(objpfx)globtest.out): Pass
14606         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14607         globtest.sh, not $(run-program-prefix).
14608         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14609         (test_wrapper): Likewise.
14610         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14611         set together with run_via_rtld_prefix.
14612         (run_program_prefix): Define in terms of test_wrapper and
14613         run_via_rtld_prefix.
14615 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14617         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14618         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14619         Targets removed.
14621         [BZ #14743]
14622         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14623         Declare __clock_getres, __clock_gettime, __clock_settime,
14624         __clock_nanosleep, and __clock_getcpuclockid.
14625         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14626         Remove librt_hidden_def (clock_gettime).
14627         * sysdeps/unix/clock_gettime.c: Likewise.
14628         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14629         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14630         * rt/clock_getres.c: Define __clock_getres as an alias.
14631         * sysdeps/posix/clock_getres.c: Likewise.
14632         * rt/clock_settime.c: Define __clock_settime as an alias.
14633         * sysdeps/unix/clock_settime.c: Likewise.
14634         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14635         * sysdeps/unix/clock_nanosleep.c: Likewise.
14636         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14637         * rt/clock-compat.c: New file.
14638         * rt/Makefile (librt-routines): Add clock-compat and move
14639         $(clock-routines) to ...
14640         (routines): ... here, new variable.
14641         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14642         Don't add get_clockfreq here.
14643         * rt/Versions (libc: GLIBC_2.17): New version set.
14644         Add clock_* symbols here.
14645         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14646         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14647         (GLIBC_2.17): Add clock_* symbols.
14648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14650         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14652         Likewise.
14653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14654         Likewise.
14655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14659         * NEWS: Mention the move.
14661         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14662         Use __open, __read, __close rather than their public counterparts.
14663         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14664         (__get_clockfreq_via_cpuinfo): Likewise.
14665         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14666         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14668         * config.h.in (HAVE_IFUNC): New #undef.
14669         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14670         was successful.
14671         * configure: Regenerated.
14673 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14675         * configure.in: Move READELF check to start of file.
14676         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14677         libc_cv_asm_gnu_indirect_function in the process.
14678         * configure: Regenerated.
14680 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14682         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14683         send the output to /dev/null.
14684         (libc_cv_cc_with_libunwind): Likewise.
14685         (libc_cv_as_noexecstack): Likewise.
14686         * configure: Regenerate.
14688 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14690         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14692         * posix/globtest.sh (TMPDIR): Do not set.
14693         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14694         (testout): Likewise.
14696 2012-10-24  Andreas Jaeger  <aj@suse.de>
14698         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14699         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14700         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14701         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14702         posix_fadvise64, posix_fallocate64.
14704         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14705         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14706         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14707         Likewise.
14708         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14709         Likewise.
14710         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14713         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14714         <bits/fcntl-linux.h>.
14715         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14718         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14719         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14720         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14721         [__WORDSIZE != 64]: Likewise.
14723 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14725         * Makeconfig (run-built-tests): New variable.
14726         * Rules [$(cross-compiling) = yes]: Change condition to
14727         [$(run-built-tests) = no].
14728         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14729         to [$(run-built-tests) = yes].
14730         * elf/Makefile [$(cross-compiling) = no]: Likewise
14731         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14732         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14733         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14734         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14735         * io/Makefile [$(cross-compiling) = no]: Likewise.
14736         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14737         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14738         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14739         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14740         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14741         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14742         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14743         * string/Makefile [$(cross-compiling) = no]: Likewise.
14745         * posix/Makefile ($(objpfx)globtest.out): Pass
14746         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14747         $(rtld-installed-name).
14748         * posix/globtest.sh (elf_objpfx): Remove variable.
14749         (rtld_installed_name): Likewise.
14750         (library_path): Likewise.
14751         (run_program_prefix): New variable.  Use for running globtest
14752         binary.
14754 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14755             Joseph Myers  <joseph@codesourcery.com>
14757         * Makeconfig (host-built-program-cmd): New variable.
14758         * elf/Makefile (tst-stackguard1-ARGS): Use
14759         $(host-built-program-cmd).
14760         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14761         (tst-spawn-ARGS): Likewise.
14762         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14764 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14765             Jim Blandy  <jimb@codesourcery.com>
14767         * Makeconfig (run-via-rtld-prefix): New variable.
14768         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14769         (built-program-cmd): Likewise.
14771 2012-10-22  Andreas Jaeger  <aj@suse.de>
14773         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14774         __O_RSYNC if it exists, otherwise to O_SYNC.
14776 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14777             Joseph Myers  <joseph@codesourcery.com>
14779         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14780         /dev/null.
14781         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14782         from /dev/null
14783         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14784         /dev/null.
14786 2012-10-22  Andreas Jaeger  <aj@suse.de>
14788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14789         Define always.
14790         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14793         bits/fcntl-linux.h.
14795         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14796         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14798         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14799         to __O_LARGEFILE.
14800         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14801         to __O_LARGEFILE.
14803 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14804             Joseph Myers  <joseph@codesourcery.com>
14806         * config.make.in (NM): New variable.
14808 2012-10-21  Andreas Jaeger  <aj@suse.de>
14810         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14811         definitions and declarations that are provided by
14812         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14814 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14816         [BZ #14683]
14817         * elf/Makefile (tests-static): Add tst-leaks1-static.
14818         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14819         ($(objpfx)tst-leaks1-static): New rule.
14820         ($(objpfx)tst-leaks1-static-mem): Likewise.
14821         (tst-leaks1-static-ENV): New macro.
14822         * elf/dl-open.c (dl_open_worker): Check the main application
14823         only if SHARED is defined.
14824         * elf/tst-leaks1-static.c: New file.
14826 2012-10-20  Andreas Jaeger  <aj@suse.de>
14828         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14829         generic values for Linux.
14830         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14831         and declarations that are provided by <bits/fcntl-linux.h> and
14832         include <bits/fcntl-linux.h>.
14833         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14834         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14836 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14838         * io/fcntl.h: Move include of <bits/types.h> to the top and
14839         include it unconditionally.
14841 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14843         * wcsmbs/Makefile (tests-ifunc): New variable.
14844         (tests): Add $(tests-ifunc).
14845         * wcsmbs/test-wcschr-ifunc.c: New file.
14846         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14847         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14848         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14849         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14850         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14852         * string/Makefile (tests-ifunc): New variable.
14853         (tests): Add $(tests-ifunc).
14854         * string/test-memccpy.c (TEST_NAME): New macro.
14855         * string/test-memchr.c (TEST_NAME): Likewise.
14856         * string/test-memcmp.c (TEST_NAME): Likewise.
14857         * string/test-memcpy.c (TEST_NAME): Likewise.
14858         * string/test-memmem.c (TEST_NAME): Likewise.
14859         * string/test-memmove.c (TEST_NAME): Likewise.
14860         * string/test-memset.c (TEST_NAME): Likewise.
14861         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14862         * string/test-stpcpy.c (TEST_NAME): Likewise.
14863         * string/test-stpncpy.c (TEST_NAME): Likewise.
14864         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14865         * string/test-strcasestr.c (TEST_NAME): Likewise.
14866         * string/test-strcat.c (TEST_NAME): Likewise.
14867         * string/test-strchr.c (TEST_NAME): Likewise.
14868         * string/test-strcmp.c(TEST_NAME): Likewise.
14869         * string/test-strcpy.c (TEST_NAME): Likewise.
14870         * string/test-strcspn.c (TEST_NAME): Likewise.
14871         * string/test-strlen.c (TEST_NAME): Likewise.
14872         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14873         * string/test-strncmp.c (TEST_NAME): Likewise.
14874         * string/test-strncpy.c (TEST_NAME): Likewise.
14875         * string/test-strnlen.c (TEST_NAME): Likewise.
14876         * string/test-strpbrk.c (TEST_NAME): Likewise.
14877         * string/test-strrchr.c (TEST_NAME): Likewise.
14878         * string/test-strspn.c (TEST_NAME): Likewise.
14879         * string/test-strstr.c (TEST_NAME): Likewise.
14880         * string/test-bcopy-ifunc.c: New file.
14881         * string/test-bzero-ifunc.c: Likewise.
14882         * string/test-memccpy-ifunc.c: Likewise.
14883         * string/test-memchr-ifunc.c: Likewise.
14884         * string/test-memcmp-ifunc.c: Likewise.
14885         * string/test-memcpy-ifunc.c: Likewise.
14886         * string/test-memmem-ifunc.c: Likewise.
14887         * string/test-memmove-ifunc.c: Likewise.
14888         * string/test-mempcpy-ifunc.c: Likewise.
14889         * string/test-memset-ifunc.c: Likewise.
14890         * string/test-rawmemchr-ifunc.c: Likewise.
14891         * string/test-stpcpy-ifunc.c: Likewise.
14892         * string/test-stpncpy-ifunc.c: Likewise.
14893         * string/test-strcasecmp-ifunc.c: Likewise.
14894         * string/test-strcasestr-ifunc.c: Likewise.
14895         * string/test-strcat-ifunc.c: Likewise.
14896         * string/test-strchr-ifunc.c: Likewise.
14897         * string/test-strchrnul-ifunc.c: Likewise.
14898         * string/test-strcmp-ifunc.c: Likewise.
14899         * string/test-strcpy-ifunc.c: Likewise.
14900         * string/test-strcspn-ifunc.c: Likewise.
14901         * string/test-strlen-ifunc.c: Likewise.
14902         * string/test-strncasecmp-ifunc.c: Likewise.
14903         * string/test-strncat-ifunc.c: Likewise.
14904         * string/test-strncmp-ifunc.c: Likewise.
14905         * string/test-strncpy-ifunc.c: Likewise.
14906         * string/test-strnlen-ifunc.c: Likewise.
14907         * string/test-strpbrk-ifunc.c: Likewise.
14908         * string/test-strrchr-ifunc.c: Likewise.
14909         * string/test-strspn-ifunc.c: Likewise.
14910         * string/test-strstr-ifunc.c: Likewise.
14912         * debug/Makefile (tests-ifunc): New variable.
14913         (tests): Add $(tests-ifunc).
14914         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14915         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14916         * debug/test-stpcpy_chk-ifunc.c: New file.
14917         * debug/test-strcpy_chk-ifunc.c: Likewise.
14919 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14921         [BZ #13601]
14922         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14923         header is not read in.
14925 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14927         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14928         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14929         directly.  Pass built executable to script as
14930         $(built-program-cmd).
14931         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14932         $testprogram without using LD_LIBRARY_PATH and $ldso.
14934         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14935         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14936         $(rtld-installed-name).
14937         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14938         (rtld_installed_name): Likewise.
14939         (library_path): Likewise.
14940         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14941         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14942         $(run-program-prefix) to tst-tables.sh.
14943         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14944         it to run tst-table-from and tst-table-to.
14945         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14946         Pass it to tst-table.sh.
14947         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14948         $(run-program-prefix) to tst-gettext.sh.
14949         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14950         tst-translit.sh.
14951         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14952         tst-gettext2.sh.
14953         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14954         to run tst-gettext.
14955         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14956         to run tst-gettext2.
14957         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14958         to run tst-translit.
14959         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14960         $(run-program-prefix) to tst-mtrace.sh.
14961         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14962         to run tst-mtrace.
14963         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14964         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14965         $(rtld-installed-name).
14966         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14967         (rtld_installed_name): Likewise.
14968         (run_program_prefix): New variable.  Use it to run wordexp-test.
14970         * Makeconfig (ARCH): Remove all definitions.
14971         (machine): Likewise.
14972         [ARCH]: Remove conditional code.
14973         [!objdir]: Give error.
14974         [!objdir] (objpfx): Remove.
14975         [!objdir] (common-objpfx): Likewise.
14976         [!objdir] (common-objdir): Likewise.
14977         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14978         AC_CONFIG_FILES call.
14979         * configure: Regenerated.
14981         [BZ #13888]
14982         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14983         or TMPDIR.
14984         (testout): Likewise.
14986         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14987         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14988         $(rtld-installed-name).
14989         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14990         (rtld_installed_name): Likwise.
14991         (runit): Remove function.
14992         (run_getconf): New variable,  Use it for running getconf binary.
14994 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14996         [BZ #14716]
14997         * string/test-memmem.c (check_result): New function.
14998         (do_one_test): Use it.
14999         (check1): New function.
15000         (test_main): Use it.
15002 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
15004         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15006 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
15008         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15009         (_G_LSEEK64): Likewise.
15010         (_G_MMAP64): Likewise.
15011         (_G_FSTAT64): Likewise.
15012         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15013         (_G_LSEEK64): Likewise.
15014         (_G_MMAP64): Likewise.
15015         (_G_FSTAT64): Likewise.
15016         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15017         unconditional.  Call __mmap64 directly.
15018         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15019         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
15020         __lseek64 directly.
15021         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15022         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
15023         __mmap64 directly.
15024         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15025         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15026         __lseek64 directly.
15027         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15028         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15029         __lseek64 directly.
15030         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15031         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
15032         __lseek64 directly.
15033         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15034         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
15035         __fxstat64 directly.
15036         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15037         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15038         unconditional.
15039         (freopen64) [!_G_OPEN64]: Remove conditional code.
15040         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15041         unconditional.
15042         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15043         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15044         unconditional.
15045         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15046         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15047         unconditional.
15048         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15049         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15050         unconditional.
15051         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15052         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15053         unconditional.
15054         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15055         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15056         unconditional.
15057         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15058         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15059         unconditional.
15060         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15062 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15064         [BZ #12140]
15065         * manual/memory.texi (Malloc Tunable Parameters): Add note
15066         about free list pointers overwriting some perturb bytes.
15067         Wording suggested by Roland McGrath.
15069 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15071         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15072         (lgamma_test): Likewise.
15073         (tgamma_test): Likewise.
15075 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15077         [BZ #14700]
15078         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15079         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15081 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15083         * NEWS: Mention BZ #14716.
15084         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15085         when removing AVAILABLE1_USES_J macro.
15087 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15089         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15090         (__bswap_64): __uint64_t for unsigned 64-bit int.
15092 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15094         * include/string.h (memmem): Declare libc hidden alias.
15095         * string/memmem.c (memmem): Define libc hidden alias.
15096         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15097         __read, __close instead of open, read, close.
15099 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15102         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15103         global and hidden.
15104         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15105         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15106         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15107         Likewise.
15108         (__rawmemchr_sse2): Likewise.
15109         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15110         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15111         (__strchr_sse2): Likewise.
15112         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15113         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15114         (__strcasecmp_sse2): Likewise.
15115         (__strncasecmp_sse2): Likewise.
15116         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15117         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15118         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15119         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15120         (__strrchr_sse2): Likewise.
15121         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15122         ifunc-impl-list.c.
15123         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15124         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15125         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15126         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15127         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15128         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15129         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15130         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15131         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15132         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15133         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15134         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15135         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15136         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15137         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15138         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15139         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15140         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15141         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15142         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15143         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15144         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15145         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15146         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15147         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15148         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15149         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15150         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15151         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15152         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15154         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15155         global and hidden.
15156         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15157         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15158         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15159         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15160         Likewise.
15161         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15162         Likewise.
15163         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15164         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15165         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15166         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15167         ifunc-impl-list.c.
15168         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15169         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15170         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15171         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15172         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15173         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15174         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15175         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15176         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15177         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15178         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15179         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15180         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15181         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15182         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15183         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15184         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15185         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15186         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15187         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15188         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15189         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15190         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15191         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15192         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15193         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15194         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15195         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15196         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15197         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15198         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15199         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15200         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15201         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15202         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15203         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15204         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15205         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15206         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15207         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15208         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15210         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15211         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15212         * include/ifunc-impl-list.h: New file.
15213         * misc/ifunc-impl-list.c: Likewise.
15214         * misc/Makefile (routines): Add ifunc-impl-list.
15215         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15216         * string/test-string.h: Include <ifunc-impl-list.h>.
15217         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15218         impl_array): New variables.
15219         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15220         are defined.
15221         (test_init): Call __libc_ifunc_impl_list to initialize
15222         func_list if TEST_IFUNC and TEST_NAME are defined.
15224         * string/Makefile (strop-tests): Add bcopy and bzero.
15225         * string/test-bcopy.c: New file.
15226         * string/test-bzero.c: Likewise.
15227         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15228         defined.
15229         * string/test-memset.c: Support bzero test if TEST_BZERO is
15230         defined.
15231         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15232         __libc_memmove.
15233         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15234         __libc_memset.
15235         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15236         of memset.
15238 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15240         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15241         * configure: Regenerated.
15243         * Makeconfig (+link-static-before-libc): Don't include
15244         $(link-static-libc).
15246         * libio/libio.h (_IO_pos_t): Remove.
15248 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15250         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15251         McGrath.
15253 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15255         * crypt/crypt-entry.c: Include fips-private.h.
15256         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15257         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15258         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15259         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15261 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15263         * crypt/crypt-private.h: Include stdbool.h.
15264         (_ufc_setup_salt_r): Return bool.
15265         * crypt/crypt-entry.c: Include errno.h.
15266         (__crypt_r): Return NULL with EINVAL for bad salt.
15267         * crypt/crypt_util.c (bad_for_salt): New.
15268         (_ufc_setup_salt_r): Check that salt is long enough and within
15269         the specified alphabet.
15270         * crypt/badsalttest.c: New file.
15271         * crypt/Makefile (tests): Add it.
15272         ($(objpfx)badsalttest): New.
15274 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
15276         * NEWS: Add entry for BZ #14602.
15278 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15280         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15281         type-generic.
15282         * math/libm-test.inc: Update comment listing what functions and
15283         macros are tested.
15284         (isgreater_test): New function.
15285         (isgreaterequal_test): Likewise.
15286         (isless_test): Likewise.
15287         (islessequal_test): Likewise.
15288         (islessgreater_test): Likewise.
15289         (isunordered_test): Likewise.
15290         (main): Call the new functions.
15292 2012-10-09  Roland McGrath  <roland@hack.frob.com>
15294         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15295         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15296         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15297         * sysdeps/i386/configure: Regenerated.
15298         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15299         * sysdeps/mach/configure: Regenerated.
15300         * sysdeps/mach/hurd/configure: Regenerated.
15301         * sysdeps/powerpc/configure: Regenerated.
15302         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15303         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15304         * sysdeps/s390/s390-32/configure: Regenerated.
15305         * sysdeps/s390/s390-64/configure: Regenerated.
15306         * sysdeps/sh/configure: Regenerated.
15307         * sysdeps/sparc/configure: Regenerated.
15308         * sysdeps/unix/sysv/linux/configure: Regenerated.
15309         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15310         * sysdeps/x86_64/configure: Regenerated.
15312         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15313         defined.  Don't check if MAP is NULL.
15315 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15317         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15318         (_G_stat64): Likewise.
15319         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15320         (_G_stat64): Likewise.
15321         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15322         instead of struct _G_stat64.
15323         * libio/fileops.c (mmap_remap_check): Likewise.
15324         (decide_maybe_mmap): Likewise.
15325         (_IO_new_file_seekoff): Likewise.
15326         (_IO_file_stat): Likewise.
15327         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15328         _G_off64_t.
15329         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15330         instead of struct _G_stat64.
15331         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15333 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
15335         [BZ #14602]
15336         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15337         Replace with ...
15338         (CHECK_EOL): New macro.
15339         (two_way_short_needle): Check beginning of haystack for EOL.  Use
15340         CHECK_EOL.
15341         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15342         Replace with CHECK_EOL.
15343         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15344         Replace with CHECK_EOL.
15346 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
15348         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15349         type-generic.
15350         * math/libm-test.inc: Update comment listing what functions and
15351         macros are tested.
15352         (finite_test): New function.
15353         (isinf_test): Likewise.
15354         (isnan_test): Likewise.
15355         (fpclassify_test): Test subnormal input.
15356         (isfinite_test): Likewise.
15357         (isnormal_test): Likewise.
15358         (main): Call the new functions.
15360 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15362         [BZ #14660]
15363         * Makerules (%.dynsym): Force C locale when running
15364         $(OBJDUMP) --dynamic-syms.
15366 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15368         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15369         <stdint.h>.
15371 2012-10-06  David S. Miller  <davem@davemloft.net>
15373         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15374         upper 32-bits of the length value in %o2 since we use branch-on-register
15375         tests which consider the entire 64-bit register.
15377 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15379         * string/test-strstr.c (check2): Add a test for page boundary.
15381 2012-10-05  David S. Miller  <davem@davemloft.net>
15383         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15384         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15385         file.
15386         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15387         sysdep_routines.
15388         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15389         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15390         and bzero when HWCAP_SPARC_CRYPTO is present.
15392 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15394         [BZ #14602]
15395         * string/test-strstr.c (check2): New function.
15396         (test_main): Call check2.
15398         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15399         and bug-strchr1.
15400         * string/bug-strcasestr1.c (do_test): Moved to ...
15401         * string/test-strcasestr.c (check1): Here.  New function.
15402         (do_one_test): Break out result checking code into ...
15403         (check_result): This.  New function.
15404         (do_one_test): Call check_result.
15405         (test_main): Call check1.
15406         * string/bug-strchr1.c (do_test): Moved to ...
15407         * string/test-strchr.c (check1): Here.  New function.
15408         (do_one_test): Break out result checking code into ...
15409         (check_result): This.  New function.
15410         (do_one_test): Call check_result.
15411         (test_main): Call check1.
15412         * string/bug-strstr1.c (main): Moved to ...
15413         * string/test-strstr.c (check1): Here.  New function.
15414         (do_one_test): Break out result checking code into ...
15415         (check_result): This.  New function.
15416         (do_one_test): Call check_result.
15417         (test_main): Call check1.
15418         * string/bug-strcasestr1.c: Removed.
15419         * string/bug-strchr1.c: Likewise.
15420         * string/bug-strstr1.c: Likewise.
15422         * elf/Makefile (dl-routines): Add hwcaps.
15423         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15424         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15425         (_dl_important_hwcaps): Moved to ...
15426         * elf/dl-hwcaps.c: Here.  New file.
15427         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15429         [BZ #14557]
15430         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15431         if IS_IN_rtld isn't defined.
15433         * elf/dl-support.c (_dl_sysinfo_map): New.
15434         Include "get-dynamic-info.h" and "setup-vdso.h".
15435         (_dl_non_dynamic_init): Call setup_vdso.
15436         * elf/dynamic-link.h: Don't include <assert.h>.
15437         (elf_get_dynamic_info): Moved to ...
15438         * elf/get-dynamic-info.h: Here.  New file.
15439         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15440         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15441         * elf/setup-vdso.h: Here.  New file.
15442         * elf/rtld.c: Include "setup-vdso.h".
15443         (dl_main): Call setup_vdso.
15445 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15447         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15448         creal in comment listing functions tested.  List finite, isinf,
15449         isnan, isless, islessequal, isgreater, isgreaterequal,
15450         islessgreater, isunordered, lgamma_r and pow10 as functions and
15451         macros not tested.  Mention which functions not tested are aliases
15452         for other functions.  Fix typo.  Note that signs of NaNs are not
15453         tested.
15455         * scripts/config.guess: Update from config.git.
15456         * scripts/config.sub: Likewise.
15458 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15460         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15461         * misc/madvise.c (madvise): Renamed to __madvise.
15462         Make madvise a weak alias.
15463         * include/sys/mman.h: Declare __madvise.
15464         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15465         * sysdeps/unix/syscalls.list
15466         (madvise): Make __madvise the strong name, and madvise a weak alias.
15467         * sysdeps/unix/sysv/linux/syscalls.list
15468         (madvise, mmap): Remove redundant entries.
15469         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15470         * malloc/malloc.c (mtrim): Likewise.
15471         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15473 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15475         * sysdeps/mach/hurd/dl-cache.c: File removed.
15476         * config.h.in (USE_LDCONFIG): New #undef.
15477         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15478         * configure: Regenerated.
15479         * elf/Makefile (dl-routines): Add dl-cache only under
15480         [$(use-ldconfig) = yes].
15481         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15482         cache on [USE_LDCONFIG].
15483         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15484         [USE_LDCONFIG].
15485         * elf/rtld.c (dl_main): Likewise.
15487 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15489         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15490         _SC_LEVEL4_CACHE_LINESIZE.
15492 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15494         * sysdeps/unix/bsd/confstr.h: File removed.
15496 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15498         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15499         sys/sdt-config.h.
15501 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15503         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15504         Make 'mapoff' field ElfW(Off) rather than off_t.
15506 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15508         * nscd/Makefile: Remove nscd-cflags and all its users.
15509         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15510         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15512         [BZ #10631]
15513         * malloc.c (malloc_printerr): Clarify error message.
15515 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15517         [BZ #14648]
15518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15519         Set bit_FMA_Usable if FMA is supported.
15520         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15521         macro.
15522         (bit_FMA4_Usable): Updated.
15523         (index_FMA_Usable): New macro.
15524         (CPUID_FMA): Likewise
15525         (HAS_FMA): Defined with bit_FMA_Usable.
15527 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15529         * bits/types.h (__swblk_t): Type removed.
15530         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15531         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15533         (__SWBLK_T_TYPE): Likewise.
15534         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15535         (__SWBLK_T_TYPE): Likewise.
15536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15537         (__SWBLK_T_TYPE): Likewise.
15538         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15539         (__SWBLK_T_TYPE): Likewise.
15541 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15542             Honza Horak <hhorak@redhat.com>
15544         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15545         (xdr_mapname): Use YPMAXMAP as maxsize.
15546         (xdr_peername): Use YPMAXPEER as maxsize.
15547         (xdr_keydat): Use YPAXRECORD as maxsize.
15548         (xdr_valdat): Use YPMAXRECORD as maxsize.
15550 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15552         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15554         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15555         * csu/init-first.c: ... here.
15556         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15557         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15558         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15559         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15560         * sysdeps/i386/init-first.c: File removed.
15561         * sysdeps/sh/init-first.c: File removed.
15563 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15565         [BZ #14645]
15566         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15567         if x * y might underflow to zero and z is zero.
15568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15569         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15570         * math/libm-test.inc (min_subnorm_value): New variable.
15571         (fma_test): Add more tests.
15572         (fma_test_towardzero): Likewise.
15573         (fma_test_downward): Likewise
15574         (fma_test_upward): Likewise.
15575         (initialize): Set min_subnorm_value.
15577 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15579         [BZ #14638]
15580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15581         0 + 0.
15582         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15583         mode for addition resulting in exact zero.
15584         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15586         exact 0 + 0.
15587         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15588         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15589         * math/libm-test.inc (fma_test): Add more tests.
15590         (fma_test_towardzero): New function.
15591         (fma_test_downward): Likewise.
15592         (fma_test_upward): Likewise.
15593         (main): Call the new functions.
15595 2012-09-28  David S. Miller  <davem@davemloft.net>
15597         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15599 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15601         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15602         instead of SIGALRM.
15604         * sysdeps/gnu/_G_config.h: Moved to ...
15605         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15606         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15607         * sysdeps/generic/_G_config.h: ... here.
15609         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15611         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15613         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15614         Conditionalize target on [libnss_test1.so-version].
15616         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15618         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15619         (elfobjdir): Move out of conditionals.
15621         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15622         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15623         (__nss_lookup_function): Conditionalize label remove_from_tree on
15624         [!DO_STATIC_NSS || SHARED], matching its only use.
15626 2012-09-28  David S. Miller  <davem@davemloft.net>
15628         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15629         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15630         file.
15631         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15632         sysdep_routines.
15633         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15634         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15635         when HWCAP_SPARC_CRYPTO is present.
15637 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15639         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15641 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15643         [BZ #6530]
15644         * stdio-common/vfprintf.c (process_string_arg): Revert
15645         2000-07-22 change.
15647 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15649         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15650         for testcase.
15651         * stdio-common/tst-sprintf.c: Include <locale.h>
15652         (main): Test sprintf's handling of incomplete multibyte
15653         characters.
15655 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15657         * elf/dl-runtime.c (VERSYMIDX): Removed.
15658         * elf/dl-version.c (VERSYMIDX): Likewise.
15659         * elf/do-rel.h (VERSYMIDX): Likewise.
15660         (VALIDX): Likewise.
15661         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15662         * elf/rtld.c (VALIDX): Likewise.
15663         (ADDRIDX): Likewise.
15664         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15665         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15666         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15667         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15668         (VALIDX): Likewise.
15669         (ADDRIDX): Likewise.
15671 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15673         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15675 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15677         [BZ #11438]
15678         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15679         to global scope.
15680         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15681         addresses are in the same scope as 192.0.2/24.
15682         * posix/gai.conf: Document new scope table defaults.
15684 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15686         [BZ #5298]
15687         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15688         for ftell.  Compute offsets from write pointers instead.
15689         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15691 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15693         [BZ #14543]
15694         * libio/Makefile (tests): New test case tst-fseek.
15695         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15696         combination works in wide mode.
15697         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15698         state when the external buffer state changes.
15700 2012-09-27  David S. Miller  <davem@davemloft.net>
15702         [BZ #14376]
15703         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15704         pass reloc->r_addend in as the 'high' argument to
15705         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15709 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15711         * rt/tst-aio2.c: Include <pthread.h>.
15712         * rt/tst-aio3.c: Likewise.
15714 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15716         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15718 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15720         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15721         contents on [SHARED].
15723 2012-09-26  Marek Polacek  <polacek@redhat.com>
15725         [BZ #14530]
15726         [BZ #13741]
15727         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15728         for C++ and GCC <4.3 as well as for non GCC compilers.
15730 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15734 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15736         * Makefile.in (all, install): Declare with .PHONY.
15737         Reported by Michael Hope <michael.hope@linaro.org>.
15739 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15741         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15742         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15743         system header.
15744         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15745         Likewise.
15746         (sydep_routines): Add the new and the internal functions.
15747         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15748         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15750         (GLIBC_2.17): Add the new function.
15751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15752         (GLIBC_2.17): Likewise.
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15754         (GLIBC_2.17): Likewise.
15755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15756         (GLIBC_2.17): Likewise.
15757         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15759 2012-09-25  Alan Modra  <amodra@gmail.com>
15761         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15762         Add release barrier before setting once_control to say
15763         initialisation is done.  Add hints on lwarx.  Use macro in
15764         place of isync.
15765         (clear_once_control): Add release barrier.
15767 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15769         [BZ #13629]
15770         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15771         specially.
15772         * math/s_clog10.c (__clog10): Likewise.
15773         * math/s_clog10f.c (__clog10f): Likewise.
15774         * math/s_clog10l.c (__clog10l): Likewise.
15775         * math/s_clogf.c (__clogf): Likewise.
15776         * math/s_clogl.c (__clogl): Likewise.
15777         * math/Makefile (libm-calls): Add x2y2m1.
15778         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15779         (__x2y2m1): Likewise.
15780         (__x2y2m1l): Likewise.
15781         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15782         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15783         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15784         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15785         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15786         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15787         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15788         * sysdeps/i386/fpu/libm-test-ulps: Update.
15789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15791         [BZ #14621]
15792         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15793         int as type of variable DEPTH.
15794         (glob): Use size_t instead of int as type of variables NEWCOUNT
15795         and OLD_PATHC.
15797 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15799         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15800         Add s_sincosf-sse2.
15801         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15802         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15803         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15804         macros for using routine as __sincosf_ia32.
15805         Use macro for function declaration and weak_alias.
15806         * sysdeps/i386/fpu/libm-test-ulps: Update.
15808         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15809         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15811         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15812         subnormal argument.
15813         * math/s_cexpf.c (__cexpf): Likewise.
15814         * math/s_csinf.c (__csinf): Likewise.
15815         * math/s_csinhf.c (__csinhf): Likewise.
15816         * math/s_ctanf.c (__ctanf): Likewise.
15817         * math/s_ctanhf.c (__ctanhf): Likewise.
15818         * math/s_ccosh.c (__ccoshf): Likewise.
15819         * math/s_cexp.c (__cexpl): Likewise.
15820         * math/s_csin.c (__csin): Likewise.
15821         * math/s_csinh.c (__csinh): Likewise.
15822         * math/s_ctan.c (__ctan): Likewise.
15823         * math/s_ctanh.c (ctanh): Likewise.
15824         * math/s_ccoshl.c (__ccoshl): Likewise.
15825         * math/s_cexpl.c (__cexpl): Likewise.
15826         * math/s_csinl.c (__csinl): Likewise.
15827         * math/s_csinhl.c (__csinhl): Likewise.
15828         * math/s_ctanl.c (__ctanl): Likewise.
15829         * math/s_ctanhl.c (__ctanhl): Likewise.
15831 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15833         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15834         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15835         (_IO_off_t): Define to __off_t, not _G_off_t.
15836         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15837         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15838         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15839         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15840         type of __dummy and __dummy2 fields.
15841         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15842         (_G_ssize_t): Likewise.
15843         (_G_off_t): Likewise.
15844         (_G_pid_t): Likewise.
15845         (_G_uid_t): Likewise.
15846         (_G_wchar_t): Likewise.
15847         (_G_wint_t): Likewise.
15848         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15849         (_G_ssize_t): Likewise.
15850         (_G_off_t): Likewise.
15851         (_G_pid_t): Likewise.
15852         (_G_uid_t): Likewise.
15853         (_G_wchar_t): Likewise.
15854         (_G_wint_t): Likewise.
15855         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15856         (_G_ssize_t): Likewise.
15857         (_G_off_t): Likewise.
15858         (_G_pid_t): Likewise.
15859         (_G_uid_t): Likewise.
15860         (_G_wchar_t): Likewise.
15861         (_G_wint_t): Likewise.
15863 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15865         * malloc/arena.c: Include malloc-sysdep.h.
15866         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15867         is sufficient to shrink the heap or an unmap is needed.
15868         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15869         new function check_may_shrink_heap.
15870         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15871         new function check_may_shrink_heap.
15873 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15875         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15876         comments.
15878 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15880         * catgets/test-gencat.sh: Add "set -e".
15881         * elf/tst-pathopt.sh: Likewise.
15882         * grp/tst_fgetgrent.sh: Likewise.
15883         * iconvdata/run-iconv-test.sh: Likewise.
15884         * intl/tst-gettext.sh: Likewise.
15885         * intl/tst-gettext2.sh: Likewise.
15886         * intl/tst-gettext4.sh: Likewise.
15887         * intl/tst-gettext6.sh: Likewise.
15888         * intl/tst-translit.sh: Likewise.
15889         * io/ftwtest-sh: Likewise.
15890         * libio/test-freopen.sh: Likewise.
15891         * malloc/tst-mtrace.sh: Likewise.
15892         * posix/globtest.sh: Likewise.
15893         * posix/tst-getconf.sh: Likewise.
15894         * posix/wordexp-tst.sh: Likewise.
15895         * stdio-common/tst-printf.sh: Likewise.
15896         * stdio-common/tst-unbputc.sh: Likewise.
15897         * stdlib/tst-fmtmsg.sh: Likewise.
15898         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15899         * catgets/Makefile: Do not specify -e option when running
15900         testsuite shell scripts.
15901         * elf/Makefile: Likewise.
15902         * grp/Makefile: Likewise.
15903         * iconvdata/Makefile: Likewise.
15904         * intl/Makefile: Likewise.
15905         * io/Makefile: Likewise.
15906         * libio/Makefile: Likewise.
15907         * malloc/Makefile: Likewise.
15908         * posix/Makefile: Likewise.
15909         * stdio-common/Makefile: Likewise.
15910         * stdlib/Makefile: Likewise.
15911         * sysdeps/x86_64/Makefile: Likewise.
15913         * io/ftwtest-sh: Add copyright header.
15914         * posix/globtest.sh: Likewise.
15915         * posix/tst-getconf.sh: Likewise.
15916         * posix/wordexp-tst.sh: Likewise.
15917         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15919 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15921         [BZ #13679]
15922         * Makeconfig (+link): Defined as $(+link-static) if
15923         $(build-shared) isn't yes.
15924         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15925         isn't yes.
15926         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15928         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15930         [BZ #14562]
15931         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15932         new chunk size with MALLOC_ALIGN_MASK.
15934 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15936         [BZ #5044]
15937         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15938         <rounding-mode.h>.
15939         (__printf_fphex): Determine rounding using get_rounding_mode and
15940         round_away.
15941         * stdio-common/tst-printf-round.c (struct hex_test): New
15942         structure.
15943         (hex_tests): New variable.
15944         (test_hex_in_one_mode): New function.
15945         (do_test): Also run tests for hex float output.
15947 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15949         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15950         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15951         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15952         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15953         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15954         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15955         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15956         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15958 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15960         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15961         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15962         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15963         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15965 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15967         [BZ #14579]
15968         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15969         mode only.
15970         * elf/tst-rtld-load-self.sh: New test.
15971         * elf/Makefile: Run it.
15973 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15975         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15976         (tst-writev-ENV): Remove.
15977         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15979 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15981         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15983 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15985         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15986         unconditional.
15987         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15988         Likewise.
15989         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15990         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15991         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15992         Likewise.
15994 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15996         [BZ #14587]
15997         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15998         * config.make.in (have-cpp-asm-debuginfo): Removed.
15999         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16000         * configure: Regenerated.
16002 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
16004         [BZ #5044]
16005         * stdio-common/printf_fp.c: Include <stdbool.h> and
16006         <rounding-mode.h>.
16007         (___printf_fp): Determine rounding using get_rounding_mode and
16008         round_away.
16009         * stdio-common/tst-printf-round.c: New file.
16010         * stdio-common/Makefile (tests): Add tst-printf-round.
16011         (link-libm): New variable.
16012         ($(objpfx)tst-printf-round): Depend in $(link-libm).
16014 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
16016         [BZ #14576]
16017         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16018         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16019         Likewise.
16020         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16021         Likewise.
16023 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
16025         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16026         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16027         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16028         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16030 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
16032         [BZ #14518]
16033         * include/rounding-mode.h: New file.
16034         * sysdeps/generic/get-rounding-mode.h: Likewise.
16035         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16036         * stdlib/strtod_l.c: Include <rounding-mode.h>.
16037         (MAX_VALUE): New macro.
16038         (MIN_VALUE): Likewise.
16039         (overflow_value): New function.
16040         (underflow_value): Likewise.
16041         (round_and_return): Use overflow_value and underflow_value to
16042         determine return values in overflow and underflow cases.  Use
16043         round_away to determine rounding depending on rounding mode.
16044         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16045         determine return values in overflow and underflow cases.
16046         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16047         (struct test_results): New structure.
16048         (struct test): Use struct test_results to store expected results
16049         for all rounding modes.
16050         (TEST): Include expected results for all rounding modes.
16051         (test_in_one_mode): New function.
16052         (do_test): Use test_in_one_mode to compute and check results.
16053         Check results for all rounding modes.
16054         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16055         $(link-libm).
16057 2012-12-09  Allan McRae  <allan@archlinux.org>
16059         * sysdeps/i386/fpu/libm-test-ulps: Update
16061 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16063         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16064         (_G_int32_t): Likewise.
16065         (_G_uint16_t): Likewise.
16066         (_G_uint32_t): Likewise.
16067         (_G_HAVE_BOOL): Likewise.
16068         (_G_HAVE_ATEXIT): Likewise.
16069         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16070         (_G_HAVE_IO_FILE_OPEN): Likewise.
16071         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16072         (_G_int32_t): Likewise.
16073         (_G_uint16_t): Likewise.
16074         (_G_uint32_t): Likewise.
16075         (_G_HAVE_BOOL): Likewise.
16076         (_G_HAVE_ATEXIT): Likewise.
16077         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16078         (_G_HAVE_IO_FILE_OPEN): Likewise.
16079         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16080         (_G_int32_t): Likewise.
16081         (_G_uint16_t): Likewise.
16082         (_G_uint32_t): Likewise.
16083         (_G_HAVE_BOOL): Likewise.
16084         (_G_HAVE_ATEXIT): Likewise.
16085         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16086         (_G_HAVE_IO_FILE_OPEN): Likewise.
16088 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16090         * csu/libc-tls.c: Update copyright years.
16092 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16094         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16095         [!_G_USING_THUNKS]: Remove conditional code.
16096         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16097         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16099         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16100         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16101         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16102         (_G_VTABLE_LABEL_PREFIX): Likewise.
16103         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16104         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16105         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16106         (_G_VTABLE_LABEL_PREFIX): Likewise.
16107         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16108         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16109         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16110         (_G_VTABLE_LABEL_PREFIX): Likewise.
16111         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16113 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16115         * libio/Makefile: Include ../Makeconfig before tests.
16116         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16117         only if $(build-shared) is yes.
16119         * iconv/gconv_db.c: Update copyright years.
16121 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16123         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16124         unwind info if defined PIC. Fix special cases description.
16125         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16127         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16128         DP_HI_MASK entry.
16129         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16131 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16133         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16135         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16136         is NULL.
16138         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16139         (LDLIBS-tst-chk4): This.
16140         (LDFLAGS-tst-chk5): Renamed to ...
16141         (LDLIBS-tst-chk5): This.
16142         (LDFLAGS-tst-chk6): Renamed to ...
16143         (LDLIBS-tst-chk6): This.
16144         (LDFLAGS-tst-lfschk4): Renamed to ...
16145         (LDLIBS-tst-lfschk4): This.
16146         (LDFLAGS-tst-lfschk5): Renamed to ...
16147         (LDLIBS-tst-lfschk5): This.
16148         (LDFLAGS-tst-lfschk6): Renamed to ...
16149         (LDLIBS-tst-lfschk6): This.
16151         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16152         on $(common-objpfx)soversions.mk.
16154 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16156         [BZ #10014]
16157         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16158         example host name.
16160 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16162         * malloc/arena.c (arena_get_retry): New function that gets
16163         another arena for the caller to try its request on.
16164         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16165         current arena cannot fulfill the request.
16166         (__libc_memalign): Likewise.
16167         (__libc_memalign): Likewise.
16168         (__libc_pvalloc): Likewise.
16169         (__libc_calloc): Likewise.
16171 2012-09-05  John Tobey  <john.tobey@gmail.com>
16173         [BZ #13542]
16174         * manual/arith.texi (Operations on Complex): Fix description
16175         of carg branch cut.
16177 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16179         [BZ #10014]
16180         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16181         host name.
16183         [BZ #10038]
16184         * manual/memory.texi (Memory): Make order of menu items match
16185         order of sections.
16187 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16189         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16190         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16191         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16193 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16195         * csu/libc-tls.c (static_dtv): Renamed to ...
16196         (_dl_static_dtv): This.  Make it global.
16197         (_dl_initial_dtv): Removed.
16198         (__libc_setup_tls): Updated.
16199         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16200         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16201         DL_INITIAL_DTV.
16203 2012-09-06  Petr Machata  <pmachata@redhat.com>
16205         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16206         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16207         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16208         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16210 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16212         [BZ #14545]
16213         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16214         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16215         freeing dtv[-1].
16217 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16219         [BZ #14544]
16220         * Makeconfig (link-static-before-libc): Replace $(+prector)
16221         with $(+prectorT).
16222         (link-static-after-libc): Replace $(+postctor) with
16223         $(+postctorT).
16224         (link-bounded): Replace $(+prector)/$(+postctor) with
16225         $(+prectorT)/$(+postctorT).
16226         (+prectorT): New macro.
16227         (+postctorT): Likewise.
16229 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16231         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16232         (round_str): Handle values above the maximum for IBM long double
16233         as inexact.
16234         * stdlib/tst-strtod-round.c (tests): Regenerated.
16236 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16238         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16239         assembler flag.
16240         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16241         zarch_nohighgprs around the zarch optimized routines.
16242         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16243         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16244         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16245         for zarch.
16247 2012-09-05  David S. Miller  <davem@davemloft.net>
16249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16251         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16252         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16253         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16254         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16255         entries.
16257 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16259         * malloc/arena.c: Fold copyright years.
16260         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16262 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16264         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16266 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16268         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
16270 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16272         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16273         change internal state upon failure.
16275 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16277         * malloc/mcheck.c (mcheck_check_all): Fix typo.
16278         * malloc/memusage.c (mmap): Likewise.
16279         (mmap64, mremap): Likewise.  Adjust name in comment.
16281 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16283         * libio/fileops.c: Fix typos in comments.
16284         * libio/oldfileops.c: Likewise.
16285         * libio/wfileops.c: Likewise.
16287 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16289         [BZ #1349]
16290         * malloc/Makefile (tests): Add tst-malloc-usable test case.
16291         (tst-malloc-usable-ENV): Set environment for test case.
16292         * malloc/hooks.c (malloc_check_get_size): New function to get
16293         requested size.
16294         * malloc/malloc.c (musable): Use malloc_check_get_size.
16295         * malloc/tst-malloc-usable.c: New test case.
16297 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16299         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16301 2012-09-05  Allan McRae  <allan@archlinux.org>
16303         [BZ #13966]
16304         * configure.in (CXX_SYSINCLUDES): Use compiler output to
16305         determine header location.
16306         * configure: Regenerated.
16308 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16310         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16311         float format.
16312         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16313         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16314         format.
16315         (test): Regenerate.
16317 2012-09-04  David S. Miller  <davem@davemloft.net>
16319         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16320         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16321         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16323 2012-09-04  Florian Weimer  <fweimer@redhat.com>
16325         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16326         failures.
16328         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16330 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
16332         [BZ #9914]
16333         * libio/iogetdelim.c: Include <limits.h>.
16334         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16335         + len + 1 would overflow.
16337 2012-09-03  Andreas Jaeger  <aj@suse.de>
16339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16340         * sysdeps/i386/fpu/libm-test-ulps: Update.
16342 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16344         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16345         Add s_sinf-sse2, s_conf-sse2.
16347         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16348         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16349         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16350         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16352         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16353         for using routine as __sinf_ia32.
16354         Use macro for function declaration and weak_alias.
16355         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16356         for using routine as __cosf_ia32.
16357         Use macro for function declaration and weak_alias.
16359         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16360         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16362         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16363         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16366         * math/libm-test.inc (cos_test): Add more test cases.
16367         (sin_test): Likewise.
16368         (sincos_test): Likewise.
16370 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16372         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16373         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16374         hidden.
16375         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16377 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16379         [BZ #14538]
16380         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16381         first element of the GOT.
16382         (elf_machine_load_address): Return the difference between
16383         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16385 2012-09-01  Allan McRae  <allan@archlinux.org>
16387         [BZ #13412]
16388         * configure.in (AWK): Require gawk version 3.0 or later.
16389         * configure: Regenerated.
16391 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16393         * sysdeps/unix/sysv/linux/kernel-features.h
16394         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16395         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16396         [__NR_clock_getres]: Make code unconditional.
16397         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16398         (clock_getcpuclockid): Remove code left unreachable by removal of
16399         conditionals.
16400         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16401         code unconditional.
16402         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16403         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16404         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16405         Make code unconditional.
16406         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16407         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16408         * sysdeps/unix/sysv/linux/clock_settime.c
16409         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16410         conditional code.
16411         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16412         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16414 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16416         [BZ #14476]
16417         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16418         scripts/test-installation.pl.
16420         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16421         and $ld_so_version if it is set.
16423 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16425         [BZ #14516]
16426         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16427         failure if reading from procfs failed.
16428         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16430 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16432         * sysdeps/unix/sysv/linux/kernel-features.h
16433         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16434         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16435         Remove conditional code.
16436         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16437         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16438         Remove conditional code.
16439         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16440         * sysdeps/unix/sysv/linux/i386/fxstat.c
16441         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16442         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16443         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16444         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16445         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16446         * sysdeps/unix/sysv/linux/i386/lxstat.c
16447         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16448         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16449         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16450         Remove conditional code.
16451         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16452         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16453         Remove conditional code.
16454         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16455         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16456         <kernel-features.h>.
16457         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16458         Remove.
16459         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16460         Remove conditional code.
16461         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16462         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16463         Remove conditional.
16465 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16467         [BZ #5400]
16468         * NEWS: Add fixed bug number.
16470 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16472         [BZ #14519]
16473         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16474         underflowing exponent in case of negative sign.
16475         * stdlib/tst-strtod-round-data: Add more tests.
16476         * stdlib/tst-strtod-round.c (tests): Regenerated.
16478         [BZ #3479]
16479         * stdlib/strtod_l.c (NDIG): Remove.
16480         (HEXNDIG): Likewise.
16481         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16482         smallest representable value.
16483         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16484         lie within an exact representation of 1/2 ulp of the result.
16485         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16486         unconditionally.
16487         (TENS_P9_IDX): Define unconditionally.
16488         (TENS_P9_SIZE): Likewise.
16489         (TENS_P10_IDX): Likewise.
16490         (TENS_P10_SIZE): Likewise.
16491         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16492         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16493         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16494         entries for 10^2^13 and 10^2^14.
16495         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16496         (TENS_P13_IDX): Define.
16497         (TENS_P13_SIZE): Likewise.
16498         (TENS_P14_IDX): Likewise.
16499         (TENS_P14_SIZE): Likewise.
16500         (_fpioconst_pow10): Change array size to
16501         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16502         unconditional.
16503         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16504         1024]: Add entries for 10^2^13 and 10^2^14.
16505         [LAST_POW10 > _LAST_POW10]: Remove #error.
16506         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16507         (_fpioconst_pow10): Change array size to
16508         FPIOCONST_POW10_ARRAY_SIZE.
16509         * stdlib/gen-fpioconst.c: New file.
16510         * stdlib/gen-tst-strtod-round.c: Likewise.
16511         * stdlib/tst-strtod-round-data: Likewise.
16512         * stdlib/tst-strtod-round.c: Likewise.
16513         * stdlib/Makefile (tests): Add tst-strtod-round.
16515         [BZ #14459]
16516         * stdlib/strtod_l.c: Include <stdint.h>.
16517         (NDEBUG): Do not define.
16518         (round_and_return): Change EXPONENT parameter to type intmax_t.
16519         Rearrange calculations to avoid internal overflow possibilities.
16520         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16521         Rearrange calculations to avoid internal overflow possibilities.
16522         Assert that number fits inside MPNSIZE limbs.
16523         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16524         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16525         calculations and add assertions to avoid internal overflow
16526         possibilities.  Add casts to avoid signed/unsigned operations.
16527         * stdlib/tst-strtod-overflow.c: New file.
16528         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16530 2012-08-25  Marek Polacek  <polacek@redhat.com>
16532         * time/time.h: Fix some typos in comments.
16534 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16536         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16537         * posix/tst-rfc3484-2.c: Likewise.
16538         * posix/tst-rfc3484-3.c: Likewise.
16540 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16542         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16543         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16545 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16547         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16548         #include of fxstatat64.c.
16550 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16552         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16553         * shadow/getspent_r.c: Likewise.
16554         * shadow/getspnam.c: Likewise.
16555         * shadow/getspnam_r.c: Likewise.
16556         * gshadow/getsgent.c: Likewise.
16557         * gshadow/getsgent_r.c: Likewise.
16558         * gshadow/getsgnam.c: Likewise.
16559         * gshadow/getsgnam_r.c: Likewise.
16560         * inet/getnetbyad.c: Likewise.
16561         * inet/getnetbyad_r.c: Likewise.
16562         * inet/getnetbynm.c: Likewise.
16563         * inet/getnetbynm_r.c: Likewise.
16564         * inet/getnetent.c: Likewise.
16565         * inet/getnetent_r.c: Likewise.
16566         * inet/getproto.c: Likewise.
16567         * inet/getproto_r.c: Likewise.
16568         * inet/getprtent.c: Likewise.
16569         * inet/getprtent_r.c: Likewise.
16570         * inet/getprtname.c: Likewise.
16571         * inet/getprtname_r.c: Likewise.
16572         * inet/getrpcbyname.c: Likewise.
16573         * inet/getrpcbyname_r.c: Likewise.
16574         * inet/getrpcbynumber.c: Likewise.
16575         * inet/getrpcbynumber_r.c: Likewise.
16576         * inet/getrpcent.c: Likewise.
16577         * inet/getrpcent_r.c: Likewise.
16578         * inet/getaliasent.c: Likewise.
16579         * inet/getaliasent_r.c: Likewise.
16580         * inet/getaliasname.c: Likewise.
16581         * inet/getaliasname_r.c: Likewise.
16582         * nscd/getgrgid_r.c: Likewise.
16583         * nscd/getgrnam_r.c: Likewise.
16584         * nscd/gethstbyad_r.c: Likewise.
16585         * nscd/gethstbynm3_r.c: Likewise.
16586         * nscd/getpwnam_r.c: Likewise.
16587         * nscd/getpwuid_r.c: Likewise.
16588         * nscd/getsrvbynm_r.c: Likewise.
16589         * nscd/getsrvbypt_r.c: Likewise.
16590         * nscd/gai.c: Likewise.
16592         * configure.in (build_nscd): New substituted variable, set
16593         by --disable-build-nscd and defaults to $use_nscd.
16594         * configure: Regenerated.
16595         * config.make.in (build-nscd): New substituted variable.
16596         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16597         Change conditional to require [$(build-nscd) = yes] as well.
16598         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16600         [BZ# 13696]
16601         * configure.in (use_nscd): New substituted variable, set by
16602         --disable-nscd.  If enabled, define USE_NSCD.
16603         * configure: Regenerated.
16604         * config.h.in: Add USE_NSCD.
16605         * config.make.in (use-nscd): New substituted variable.
16606         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16607         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16608         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16609         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16610         (CFLAGS-getgrnam_r.c): Likewise.
16611         (CFLAGS-initgroups.c): Likewise.
16612         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16613         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16614         Variables removed.
16615         * inet/getnetgrent_r.c
16616         (nscd_setnetgrent): New function, broken out of ...
16617         (setnetgrent): ... here.  Call it.
16618         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16619         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16620         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16621         * nscd/Makefile (routines, aux): Move definitions after include of
16622         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16623         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16624         Conditionalize on [USE_NSCD].
16625         (is_nscd, nscd_init_cb): Likewise.
16626         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16627         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16628         * nss/nss_db/db-init.c: Likewise.
16629         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16630         [USE_NSCD].
16631         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16632         (make_request): Use it.
16633         (cache_valid_p): New function.
16634         (__check_pf): Use it.
16635         * NEWS: Add item for --disable-nscd.
16637 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16639         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16640         to support sed >= 4.2.1-20-ga9bf076.
16641         * configure: Regenerated.
16643 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16645         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16646         Conditionalize whole body on [IREL].
16648 2012-08-22  Jeff Law <law@redhat.com>
16650         [BZ #14505]
16651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16652         if the family is PF_UNSPEC.
16654 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16656         * Makerules (lib-version): Rename from V.
16657         (install-lib-nosubdir): Change V to lib-version.
16659 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16661         [BZ #14252]
16662         * powerpc32/power6/wcschr.c: New file.
16663         * powerpc32/power6/wcscpy.c: New file.
16664         * powerpc32/power6/wcsrchr.c: New file.
16665         * powerpc64/power6/wcschr.c: New file.
16666         * powerpc64/power6/wcscpy.c: New file.
16667         * powerpc64/power6/wcsrchr.c: New file.
16669 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16671         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16672         (two_way_short_needle): Use it.
16673         * string/strstr.c (AVAILABLE1_USES_J): Define.
16674         * string/strcasestr.c: Likewise.
16676         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16677         array references.
16678         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16680         [BZ #11607]
16681         * NEWS: Add an entry.
16682         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16683         define their defaults.
16684         (two_way_short_needle): Detect end-of-string on-the-fly.
16685         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16686         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16687         * string/bug-strcasestr1.c: New test.
16688         * string/Makefile: Run it.
16690 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16692         [BZ #11607]
16693         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16694         the first character.
16696 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16698         * csu/elf-init.c (__libc_csu_irel): Function removed.
16699         * csu/libc-start.c (apply_irel): New function.
16700         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16702 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16704         * sysdeps/unix/sysv/linux/kernel-features.h
16705         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16706         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16707         <kernel-features.h>.
16708         [__NR_fadvise64_64]: Make code unconditional.
16709         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16710         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16711         !__NR_fadvise64_64)]: Likewise.
16712         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16713         !__NR_fadvise64_64))]: Likewise.
16714         [__NR_fadvise64]: Make code unconditional.
16715         [!__NR_fadvise64]: Remove conditional code.
16716         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16717         <kernel-features.h>.
16718         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16719         unconditional.
16720         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16721         conditional code.
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16723         not include <kernel-features.h>.
16724         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16725         unconditional.
16726         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16727         conditional code.
16728         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16729         include <kernel-features.h>.
16730         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16731         unconditional.
16732         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16733         conditional code.
16735 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16737         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16738         slight instruction rearrangements per scrollpipe analysis.
16739         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16741 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16743         * manual/syslog.texi (syslog; vsyslog, closelog):
16744         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16745         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16747         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16748         DSOCAPS to match condition on defining it.
16750 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16752         * sysdeps/unix/sysv/linux/kernel-features.h
16753         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16755         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16756         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16758         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16759         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16761         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16762         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16764         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16765         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16767         * sysdeps/unix/sysv/linux/kernel-features.h
16768         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16769         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16770         unconditional.
16771         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16772         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16773         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16774         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16775         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16776         Make code unconditional.
16777         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16778         (__mmap64) [!__NR_mmap2]: Likewise.
16779         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16780         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16781         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16782         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16783         [__NR_mmap2]: Make code unconditional.
16784         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16785         (__mmap64) [!__NR_mmap2]: Likewise.
16787 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16789         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16791 2012-08-18  Andreas Jaeger  <aj@suse.de>
16793         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16795 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16797         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16798         * include/unistd.h (__have_sock_cloexec): Likewise.
16799         (__have_pipe2): Likewise.
16800         (__have_dup3): Likewise.
16802 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16804         [BZ #9685]
16805         * include/unistd.h (__have_pipe2): Change define into an extern int.
16806         (__have_dup3): Likewise.
16807         * socket/have_sock_cloexec.c: Include fcntl.h.
16808         (__have_pipe2): New variable.
16809         (__have_dup3): Likewise.
16811 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16813         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16815 2012-08-17  Marek Polacek  <polacek@redhat.com>
16817         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16818         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16820 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16822         * configure.in: Add AC_SUBST for sysheaders.
16823         * configure: Regenerated.
16824         * config.make.in (sysheaders): New substituted variable.
16826         * sysdeps/unix/mkfifo.c: Moved ...
16827         * sysdeps/posix/mkfifo.c: ... here.
16828         * sysdeps/unix/mkfifoat.c: Moved ...
16829         * sysdeps/posix/mkfifoat.c: ... here.
16831         * sysdeps/unix/utime.c: Moved ...
16832         * sysdeps/posix/utime.c: ... here.
16834         * sysdeps/unix/time.c: Moved ...
16835         * sysdeps/posix/time.c: ... here.
16836         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16837         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16839         * sysdeps/unix/nice.c: Moved ...
16840         * sysdeps/posix/nice.c: ... here.
16842         * sysdeps/unix/alarm.c: Moved ...
16843         * sysdeps/posix/alarm.c: ... here.
16845         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16847 2012-08-17  Jeff Law <law@redhat.com>
16849         * intl/Makefile (codeset_mo): New variable.
16850         ($(codeset_mo)): New target.
16851         (tst-codeset.out): Depend on that.  Remove explicit rule.
16852         (tst-gettext3.out, tst-gettext5.out): Likewise.
16853         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16854         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16855         * intl/tst-codeset.sh: Remove.
16856         * intl/tst-gettext3.sh: Likewise.
16857         * intl/tst-gettext5.sh: Likewise.
16859 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16861         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16862         * sysdeps/unix/syscalls.list: ... here.
16864         * sysdeps/posix/getaddrinfo.c
16865         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16866         (gaiconf_init, gaiconf_reload): Use them.
16867         [!_STATBUF_ST_NSEC]
16868         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16869         Define using time_t rather than struct timespec.
16871         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16872         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16873         Macros removed.
16874         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16875         [!NO_THREADS].
16876         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16877         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16878         Likewise.
16880         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16881         __libc_cleanup_push argument.
16883         * bits/param.h: New file.
16884         * misc/sys/param.h: New file.
16885         * include/sys/param.h: New file.
16886         * misc/Makefile (headers): Add bits/param.h.
16887         * sysdeps/generic/sys/param.h: File removed.
16888         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16889         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16890         * sysdeps/mach/hurd/bits/param.h: New file.
16891         * sysdeps/mach/hurd/sys/param.h: File removed.
16893         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16894         last change.
16896         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16897         [_IO_MTSAFE_IO].
16898         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16899         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16900         New macros.
16902         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16903         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16904         rather than -D_IO_MTSAFE_IO conditionally.
16905         * stdio-common/Makefile (CPPFLAGS): Likewise.
16906         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16907         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16908         Use $(libio-mtsafe).
16909         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16910         of -D_IO_MTSAFE_IO.
16911         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16912         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16913         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16914         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16915         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16916         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16917         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16918         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16919         (CFLAGS-fread_u_chk.c): Likewise.
16920         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16921         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16922         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16923         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16924         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16925         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16926         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16927         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16928         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16930         * libio/Makefile: Test [$(libc-reentrant) = yes]
16931         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16933         * Makeconfig
16934         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16935         * sysdeps/pthread/configure: File removed.
16936         * sysdeps/pthread/Makeconfig: New file.
16937         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16938         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16940 2012-08-16  Gary Benson  <gbenson@redhat.com>
16942         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16943         unmapping the first object in a namespace.
16945 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16947         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16948         (__internal_setnetgrent): ... this.  Add internal_function to
16949         definition.  Add libc_hidden_def.
16950         (setnetgrent): Update caller.
16951         (internal_endnetgrent): Renamed to ...
16952         (__internal_endnetgrent): ... this.  Add internal_function to
16953         definition.  Add libc_hidden_def.
16954         (endnetgrent): Update caller.
16955         (internal_getnetgrent_r): Renamed to ...
16956         (__internal_getnetgrent_r): ... this.  Add internal_function to
16957         definition.  Add libc_hidden_def.
16958         (__getnetgrent_r): Update caller.
16959         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16961 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16963         * stdlib/longlong.h: Update from GCC.
16965 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16967         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16968         on _QL, which is set by umul_ppmm but never used.
16969         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16970         variables, which are set by GMP macros but never used.
16971         * stdio-common/_itowa.c (_itowa): Likewise.
16972         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16973         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16975 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16977         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16978         struct La_sh_regs is not constant.
16979         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16980         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16981         and struct La_sparc64_regs are not constant.
16983 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16985         * sysdeps/unix/sysv/linux/kernel-features.h
16986         (__ASSUME_POSIX_TIMERS): Remove.
16987         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16988         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16989         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16990         Make code unconditional.
16991         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16992         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16993         Make code unconditional.
16994         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16995         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16996         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16997         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16998         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16999         Make code unconditional.
17000         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17001         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17002         (__libc_missing_posix_timers): Remove.
17004 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17006         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17007         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17009         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17011         * elf/dl-sym.c: Include <stdlib.h>.
17013         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17014         constants, which avoids warnings in 32-bit builds.
17016         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17017         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17019         * misc/lseek.c: File moved to ...
17020         * io/lseek.c: ... here.
17022         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17024         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17025         shifting LEN more than 31 bits at once.
17027 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17029         [BZ #14195]
17030         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17031         segmentation fault for a case of two empty input strings.
17032         * string/test-strncasecmp.c (check1): Renamed to...
17033         (bz12205): ...this.
17034         (bz14195): Add new testcase for two empty input strings and N > 0.
17035         (test_main): Call new testcase, adapt for renamed function.
17037 2012-08-15  Andreas Jaeger  <aj@suse.de>
17039         [BZ #14090]
17040         * crypt/md5test2.c: New test, based on test supplied by Serge
17041         Belyshev <belyshev@depni.sinp.msu.ru>.
17042         * crypt/Makefile (xtests): Add md5test-giant..
17043         * crypt/Makefile ($(objpfx)md5test-giant): Add.
17045 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17047         [BZ #14090]
17048         * crypt/md5.c (md5_process_block): Don't assume the buffer
17049         length is less than 2**32.
17050         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17051         length is less than 2**64.
17053 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17055         * string/str-two-way.h: Include <sys/param.h>.
17056         (MAX): Macro removed.
17058         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17059         Move #define and #undef of memmove to just before and after
17060         including <string.h>.
17062         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17063         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17064         and after including <string.h>.  Move declarations of
17065         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17066         to before #include "string/memmove.c".
17068         * include/dirent.h: Declare __getdirentries.
17070         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17071         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17073 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17075         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17076         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17077         * sysdeps/i386/configure: Regenerated.
17078         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17079         STABS_CURRENT_FILE, and STABS_FUN.
17080         (END): Remove call to STABS_FUN_END.
17081         (STABS_CURRENT_FILE1): Delete.
17082         (STABS_CURRENT_FILE): Likewise.
17083         (STABS_FUN): Likewise.
17084         (STABS_FUN_END): Likewise.
17085         (STABS_FUN2): Likewise.
17086         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17087         * sysdeps/x86_64/configure: Regenerated.
17089 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17091         * elf/dl-open.c: Include <atomic.h>.
17092         * elf/dl-lookup.c: Likewise.
17094 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17096         * sysdeps/unix/sysv/linux/kernel-features.h
17097         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17098         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17099         unconditionally.
17100         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17101         unconditionally.
17102         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17103         condition on __ASSUME_CLONE_THREAD_FLAGS.
17105 2012-08-14  Andreas Jaeger  <aj@suse.de>
17107         * sysdeps/i386/fpu/libm-test-ulps: Update.
17109 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17111         * include/atomic.h (atomic_exchange_and_add): Split into ...
17112         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17113         New atomic macros.
17115 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17119 2012-08-13  Jeff Law <law@redhat.com>
17121         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17122         null byte in the output string.
17124 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17126         * sysdeps/unix/sysv/linux/kernel-features.h
17127         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17128         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17129         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17130         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17131         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17132         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17133         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17135 2012-08-09  Jeff Law <law@redhat.com>
17137         [BZ #13939]
17138         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17139         When avoid_arena is set, don't retry in the that arena.  Pick the
17140         next one, whatever it might be.
17141         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17142         (arena_lock): Pass in new parameter to arena_get2.
17143         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17144         arena_get2.
17145         (__libc_malloc): Unify retrying after main arena failure with
17146         __libc_memalign version.
17147         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17149 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17151         [BZ #14166]
17152         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17153         to __redirect_strstr.
17154         (__strstr_sse42): Use typeof __redirect_strstr.
17155         (__strstr_ia32): Likewise.
17156         (__libc_strstr): New prototype.
17157         (strstr): Renamed to ...
17158         (__libc_strstr): This.
17159         (strstr): New strong alias of __libc_strstr.
17160         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17161         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17162         __redirect_time.
17163         Include <time.h>.
17164         (__libc_time): New prototype.
17165         (time_ifunc): Replace time with __libc_time.
17166         (time): New strong alias and hidden definition of __libc_time.
17167         (__GI_time): Remove strong alias.
17168         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17169         Include <stddef.h>.
17170         (memmove): Redefined to __redirect_memmove.
17171         (__memmove_sse2): Use typeof __redirect_memmove.
17172         (__memmove_ssse3): Likewise.
17173         (__memmove_ssse3_back): Likewise.
17174         (__libc_memmove): New prototype.
17175         (memmove): Renamed to ...
17176         (__libc_memmove): This.
17177         (memmove): New strong alias of __libc_memmove.
17179 2012-08-08  Mark Salter  <msalter@redhat.com>
17181         * elf/elf.h
17182         (R_MN10300_TLS_GD): Define.
17183         (R_MN10300_TLS_LD): Likewise.
17184         (R_MN10300_TLS_LDO): Likewise.
17185         (R_MN10300_TLS_GOTIE): Likewise.
17186         (R_MN10300_TLS_IE): Likewise.
17187         (R_MN10300_TLS_LE): Likewise.
17188         (R_MN10300_TLS_DTPMOD): Likewise.
17189         (R_MN10300_TLS_DTPOFF): Likewise.
17190         (R_MN10300_TLS_TPOFF): Likewise.
17191         (R_MN10300_SYM_DIFF): Likewise.
17192         (R_MN10300_ALIGN): Likewise.
17193         (R_MN10300_NUM): Update.
17195 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17197         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17198         Remove.
17200 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17202         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17204         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17205         sysdeps/unix -> sysdeps/posix move.
17206         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17208 2012-08-07      Allan McRae     <allan@archlinux.org>
17210         [BZ #14303]
17211         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17212         (SUNOS_CPP): Likewise.
17213         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17214         not found.
17215         (open_input): Call CPP using execvp.
17217 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17219         * sysdeps/unix/sysv/linux/kernel-features.h
17220         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17221         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17222         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17223         (__ASSUME_WAITID_SYSCALL): Likewise.
17224         * sysdeps/unix/sysv/linux/dl-execstack.c
17225         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17226         code unconditional.
17227         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17228         conditional code.
17229         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17230         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17231         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17232         code.
17233         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17234         unconditional.
17235         [__ASSUME_WAITID_SYSCALL]: Likewise.
17236         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17238 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17240         * sysdeps/unix/closedir.c: Renamed to ...
17241         * sysdeps/posix/closedir.c: ... here.
17242         * sysdeps/unix/dirfd.c: Renamed to ...
17243         * sysdeps/posix/dirfd.c: ... here.
17244         * sysdeps/unix/dirstream.h: Renamed to ...
17245         * sysdeps/posix/dirstream.h: ... here.
17246         * sysdeps/unix/fdopendir.c: Renamed to ...
17247         * sysdeps/posix/fdopendir.c: ... here.
17248         * sysdeps/unix/opendir.c: Renamed to ...
17249         * sysdeps/posix/opendir.c: ... here.
17250         * sysdeps/unix/readdir.c: Renamed to ...
17251         * sysdeps/posix/readdir.c: ... here.
17252         * sysdeps/unix/readdir_r.c: Renamed to ...
17253         * sysdeps/posix/readdir_r.c: ... here.
17254         * sysdeps/unix/rewinddir.c: Renamed to ...
17255         * sysdeps/posix/rewinddir.c: ... here.
17256         * sysdeps/unix/seekdir.c: Renamed to ...
17257         * sysdeps/posix/seekdir.c: ... here.
17258         * sysdeps/unix/telldir.c: Renamed to ...
17259         * sysdeps/posix/telldir.c: ... here.
17260         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17261         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17262         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17263         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17265         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17266         * bits/fcntl.h: ... here.
17268         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17269         not 0.
17270         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17271         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17272         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17273         (struct flock): Move l_start, l_len to the beginning.
17274         Use __pid_t for l_pid.
17275         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17276         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17277         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17278         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17279         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17280         [__USE_LARGEFILE64] (struct flock64): New type.
17281         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17283         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17284         * bits/dirent.h: ... here.
17286         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17287         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17289 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17291         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17292         Change from 2.6.0 to 2.6.16.
17293         * sysdeps/unix/sysv/linux/configure: Regenerated.
17294         * sysdeps/unix/sysv/linux/kernel-features.h
17295         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17296         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17297         version.
17298         (__ASSUME_UTIMES): Likewise.
17299         (__ASSUME_CLONE_STOPPED): Remove.
17300         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17301         architectures, not kernel version.
17302         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17303         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17304         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17305         (__ASSUME_WAITID_SYSCALL): Likewise.
17306         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17307         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17308         * README: State 2.6.16 as minimum Linux kernel version.  Do not
17309         refer to older versions.
17311 2012-08-06  Roland McGrath  <roland@hack.frob.com>
17313         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17314         Define alphasort64 as an alias.
17315         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17316         Define versionsort64 as an alias.
17317         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17318         Define scandir64 as an alias.
17319         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17320         Define scandirat64 as an alias.
17321         * dirent/alphasort64.c (alphasort64):
17322         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17323         * dirent/versionsort64.c: Likewise.
17324         * dirent/scandir64.c: Likewise.
17325         * dirent/scandirat64.c: Likewise.
17326         * sysdeps/wordsize-64/alphasort.c: File removed.
17327         * sysdeps/wordsize-64/alphasort64.c: File removed.
17328         * sysdeps/wordsize-64/scandir.c: File removed.
17329         * sysdeps/wordsize-64/scandir64.c: File removed.
17330         * sysdeps/wordsize-64/scandirat.c: File removed.
17331         * sysdeps/wordsize-64/scandirat64.c: File removed.
17332         * sysdeps/wordsize-64/versionsort.c: File removed.
17333         * sysdeps/wordsize-64/versionsort64.c: File removed.
17334         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17335         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17336         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17337         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17338         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17339         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17340         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17341         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17343         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17344         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17345         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17347         [defined __arch64__ || defined __sparcv9]
17348         (__INO_T_MATCHES_INO64_T): New macro.
17349         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17350         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17351         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17352         * sysdeps/unix/sysv/linux/bits/dirent.h
17353         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17354         (_DIRENT_MATCHES_DIRENT64): New macro.
17356         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17357         Define lockf64 as an alias.
17358         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17359         Define fseeko64 as an alias.
17360         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17361         Define ftello64 as an alias.
17362         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17363         Define _IO_fgetpos64 and fgetpos64 as aliases.
17364         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17365         Define _IO_fsetpos64 and fsetpos64 as aliases.
17366         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17367         Conditionalize body on this.
17368         * libio/fseeko64.c: Likewise.
17369         * libio/ftello64.c: Likewise.
17370         * libio/iofgetpos64.c: Likewise.
17371         * libio/iofsetpos64.c: Likewise.
17372         * sysdeps/wordsize-64/lockf.c: File removed.
17373         * sysdeps/wordsize-64/lockf64.c: File removed.
17374         * sysdeps/wordsize-64/fseeko.c: File removed.
17375         * sysdeps/wordsize-64/fseeko64.c: File removed.
17376         * sysdeps/wordsize-64/ftello.c: File removed.
17377         * sysdeps/wordsize-64/ftello64.c: File removed.
17378         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17379         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17380         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17381         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17382         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17383         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17384         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17385         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17386         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17387         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17388         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17389         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17390         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17391         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17393         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17394         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17395         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17396         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17397         [defined __arch64__ || defined __sparcv9]
17398         (__OFF_T_MATCHES_OFF64_T): New macro.
17399         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17400         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17401         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17402         (__OFF_T_MATCHES_OFF64_T): New macro.
17404 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17406         * stdlib/secure-getenv.c (__secure_getenv): Replace
17407         GLIBC_2_16 with GLIBC_2_17.
17409 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17411         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17412         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17414 2012-08-03  David S. Miller  <davem@davemloft.net>
17416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17418 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17421         Remove.
17422         (__ASSUME_CORRECT_SI_PID): Likewise.
17423         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17424         (__ASSUME_TMPFS_NAME): Likewise.
17425         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17426         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17427         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17428         (HAVE_AUX_SECURE): Make definition unconditional.
17429         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17430         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17432 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17434         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17435         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17436         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17437         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17438         __eloop_threshold instead of SYMLOOP_MAX.
17440         * sysdeps/generic/eloop-threshold.h: New file.
17441         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17442         of MAXSYMLINKS.
17443         * elf/chroot_canon.c (chroot_canon): Likewise.
17445 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17447         [BZ #13717]
17448         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17449         Change to 2.6.0 everywhere.
17450         * sysdeps/unix/sysv/linux/configure: Regenerated.
17451         * sysdeps/unix/sysv/linux/kernel-features.h
17452         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17453         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17454         kernel versions.
17455         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17456         (__ASSUME_FUTEX_REQUEUE): Remove.
17457         (__ASSUME_STATFS64): Define unconditionally.
17458         (__ASSUME_AT_SECURE): Likewise.
17459         (__ASSUME_CORRECT_SI_PID): Likewise.
17460         (__ASSUME_TGKILL): Define without depending on kernel version for
17461         i386.
17462         (__ASSUME_UTIMES): Likewise.
17463         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17464         kernel version.
17465         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17466         (__ASSUME_TMPFS_NAME): Likewise.
17467         * README: Update reference to Linux kernel versions.
17469 2012-08-02  Marek Polacek  <polacek@redhat.com>
17471         [BZ# 14150]
17472         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17473         libc_cv_asm_type_prefix with %.
17474         * configure: Regenerated.
17475         * include/libc-symbols.h: Remove comment about
17476         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17477         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17478         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17479         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17480         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17481         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17482         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17483         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17484         * elf/tst-unique2mod1.c: Likewise.
17485         * elf/tst-unique1mod2.c: Likewise.
17486         * elf/tst-unique1mod1.c: Likewise.
17487         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17488         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17489         Replace ASM_TYPE_DIRECTIVE with .type.
17490         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17491         * sysdeps/i386/sysdep.h: Likewise.
17492         * sysdeps/x86_64/sysdep.h: Likewise.
17493         * sysdeps/sh/sysdep.h: Likewise.
17494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17495         Do not define ASM_TYPE_DIRECTIVE.
17496         * sysdeps/powerpc/sysdep.h: Likewise.
17497         * sysdeps/powerpc/powerpc32/sysdep.h:
17498         Replace ASM_TYPE_DIRECTIVE with .type.
17499         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17500         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17501         * sysdeps/i386/fpu/e_powf.S: Likewise.
17502         * sysdeps/i386/fpu/e_expl.S: Likewise.
17503         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17504         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17505         * sysdeps/i386/fpu/e_pow.S: Likewise.
17506         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17507         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17508         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17509         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17510         * sysdeps/i386/fpu/e_log2.S: Likewise.
17511         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17512         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17513         * sysdeps/i386/fpu/e_powl.S: Likewise.
17514         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17515         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17516         * sysdeps/i386/fpu/e_logl.S: Likewise.
17517         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17518         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17519         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17520         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17521         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17522         * sysdeps/i386/fpu/e_log.S: Likewise.
17523         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17524         * sysdeps/i386/fpu/e_logf.S: Likewise.
17525         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17526         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17527         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17528         * sysdeps/i386/fpu/e_log10.S: Likewise.
17529         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17530         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17531         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17532         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17533         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17534         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17535         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17536         * sysdeps/i386/i686/strtok.S: Likewise.
17537         * sysdeps/i386/i386-mcount.S: Likewise.
17538         * sysdeps/i386/strtok.S: Likewise.
17539         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17540         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17541         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17542         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17543         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17544         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17545         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17546         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17547         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17548         * sysdeps/x86_64/_mcount.S: Likewise.
17549         * sysdeps/x86_64/strtok.S: Likewise.
17550         * sysdeps/sh/_mcount.S: Likewise.
17552 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17554         * libio/iofopen.c: Include <fcntl.h>.
17555         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17556         (_IO_fopen64, fopen64): Define as aliases.
17557         * libio/iofopen64.c: Include <fcntl.h>.
17558         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17559         Conditionalize body on this.
17560         * sysdeps/wordsize-64/iofopen.c: File removed.
17561         * sysdeps/wordsize-64/iofopen64.c: File removed.
17563 2012-08-01  Marek Polacek  <polacek@redhat.com>
17565         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17566         Use dlfcn directly instead of a variable.
17567         (binfmt-subdir): Do not define.
17568         (dlfcn): Likewise.
17570 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17572         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17573         Remove all definitions.
17574         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17575         <kernel-features.h>.
17576         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17577         (miss_F_GETOWN_EX): Remove all definitions.
17578         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17579         macro definition.
17580         [!__ASSUME_FCNTL64]: Remove conditional code.
17581         [__ASSUME_FCNTL64]: Make code unconditional.
17582         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17583         <kernel-features.h>.
17584         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17585         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17586         (lockf64) [__NR_fcntl64]: Make code unconditional.
17587         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17589         * sysdeps/unix/sysv/linux/kernel-features.h
17590         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17591         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17592         Make code unconditional.
17593         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17594         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17596         [__NR_vfork]: Make code unconditional.
17597         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17598         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17600         [__NR_vfork]: Make code unconditional.
17601         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17602         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17604 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17606         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17607         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17609         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17610         Define mkstemp64 as an alias.
17611         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17612         Define mkstemps64 as an alias.
17613         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17614         Define mkostemp64 as an alias.
17615         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17616         Define mkostemps64 as an alias.
17617         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17618         Conditionalize body on this.
17619         * misc/mkostemp64.c: Likewise.
17620         * misc/mkostemps64.c: Likewise.
17621         * misc/mkstemps64.c: Likewise.
17622         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17623         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17624         * sysdeps/wordsize-64/mkostemp.c: File removed.
17625         * sysdeps/wordsize-64/mkstemp.c: File removed.
17626         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17627         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17628         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17629         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17631         [BZ #14138]
17632         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17633         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17634         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17635         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17637         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17638         compat_symbol macros from <shlib-compat.h> rather than the underlying
17639         default_symbol_version and symbol_version macros, so that DEFAULT
17640         lines in shlib-versions are respected.
17641         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17643 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17645         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17646         Declare with warn_unused_result.
17647         (setgid, setregid, setegid, setresgid): Likewise.
17648         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17649         Likewise.
17650         * WUR-REPORT: Remove set*id functions.
17652 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17654         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17656 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17658         [BZ #10191]
17659         * include/sys/socket.h (__libc_accept, __libc_accept4):
17660         Add attribute_hidden.
17661         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17663         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17664         use of PTR_MANGLE.
17665         * inet/getnetgrent_r.c (setup): Likewise.
17667         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17669 2012-07-31  David S. Miller  <davem@davemloft.net>
17671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17673 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17675         [BZ #13629]
17676         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17677         value between 1.0 and 2.0 and smaller part has absolute value less
17678         than 1.0.
17679         * math/s_clog10.c (__clog10): Likewise.
17680         * math/s_clog10f.c (__clog10f): Likewise.
17681         * math/s_clog10l.c (__clog10l): Likewise.
17682         * math/s_clogf.c (__clogf): Likewise.
17683         * math/s_clogl.c (__clogl): Likewise.
17684         * math/libm-test.inc (clog_test): Add more tests.
17685         (clog10_test): Likewise.
17686         * sysdeps/i386/fpu/libm-test-ulps: Update.
17687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17689 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17691         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17692         Exit with zero in case no suitable GID is found, and write a
17693         message to standard error.
17695 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17697         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17698         rather than to 1.
17699         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17700         (MAXPATHLEN): Removed.
17701         (NOGROUP, NODEV): New macros.
17702         (setbit, clrbit, isset, isclr): New macros.
17703         (howmany, roundup, powerof2): New macros.
17704         (DEV_BSIZE): New macro.
17706         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17707         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17709         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17710         definition on [!__NO_LONG_DOUBLE_MATH].
17712         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17713         PTR_MANGLE and PTR_DEMANGLE.
17715         * socket/accept4.c (accept4): Rename to __libc_accept4.
17716         Define accept4 as a weak alias.
17718         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17719         on [_DIRENT_HAVE_D_TYPE].
17720         * io/ftw.c (ftw_dir): Likewise.
17722         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17724         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17726         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17727         Use the BSD numbers rather than the arbitrary ones we had.
17728         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17729         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17730         (SIGXCPU, SIGXFSZ): New macros.
17731         (_NSIG): Now 32.
17733         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17734         initializer on [_LIBC_REENTRANT].
17736         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17737         definitions inside [_POSIX_MAPPED_FILES].
17739         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17741         * dirent/opendir.c: Include <fcntl.h>.
17743         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17744         (__libc_getspecific): Likewise.
17745         (__libc_key_create): Likewise.
17747         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17748         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17749         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17750         (tmpfile64): Define as alias.
17751         * sysdeps/wordsize-64/tmpfile.c: File removed.
17752         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17753         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17754         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17756         * stdio-common/vfscanf.c: Include <stdbool.h>.
17757         * nss/makedb.c: Likewise.
17758         * stdio-common/_i18n_number.h: Likewise.
17759         * argp/argp-help.c: Likewise.
17760         * posix/wordexp.c: Likewise.
17761         * sysdeps/posix/spawni.c: Likewise.
17762         * nss/nss_files/files-initgroups.c: Likewise.
17763         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17764         * nss/nss_files/files-initgroups.c: Likewise.
17765         * nss/nss_db/db-netgrp.c: Likewise.
17766         * nss/nss_db/db-initgroups.c: Likewise.
17767         * io/fchmodat.c: Include <sys/stat.h>.
17769         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17770         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17772         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17773         [HAVE_MMAP].
17775         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17776         Add multiple inclusion protection.
17778 2012-07-27  David S. Miller  <davem@davemloft.net>
17780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17782 2012-07-27  Gary Benson  <gbenson@redhat.com>
17784         [BZ #14298]
17785         * elf/rtld.c: Include <stap-probe.h>.
17786         (dl_main): Added static probes "init_start" and "init_complete".
17787         * elf/dl-load.c: Include <stap-probe.h>.
17788         (lose): Take new parameter "nsid".
17789         Added static probe "map_failed".
17790         (_dl_map_object_from_fd): Pass namespace id to lose.
17791         Added static probe "map_start".
17792         (open_verify): Pass namespace id to lose.
17793         * elf/dl-open.c: Include <stap-probe.h>.
17794         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17795         and "reloc_complete".
17796         * elf/dl-close.c: Include <stap-probe.h>.
17797         (_dl_close_worker): Added static probes "unmap_start" and
17798         "unmap_complete".
17799         * elf/rtld-debugger-interface.txt: New file documenting the above.
17801 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17803         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17804         rather than a string variable.
17805         * sunrpc/rpc_main.c (h_output): Likewise.
17806         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17808 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17810         * inet/check_native.c: New file.
17812 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17814         [BZ #13629]
17815         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17816         if larger part has absolute value 1.0.
17817         * math/s_clog10.c (__clog10): Likewise.
17818         * math/s_clog10f.c (__clog10f): Likewise.
17819         * math/s_clog10l.c (__clog10l): Likewise.
17820         * math/s_clogf.c (__clogf): Likewise.
17821         * math/s_clogl.c (__clogl): Likewise.
17822         * math/libm-test.inc (clog_test): Add more tests.
17823         (clog10_test): Likewise.
17824         * sysdeps/i386/fpu/libm-test-ulps: Update.
17825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17827         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17828         (pltexit): Likewise.
17829         (La_regs): Likewise.
17830         (La_retval): Likewise.
17831         (int_retval): Likewise.
17832         Update #error for removed macros to refer only to definitions in
17833         tst-audit.h.
17834         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17835         macro.
17836         (pltexit): Likewise.
17837         (La_regs): Likewise.
17838         (La_retval): Likewise.
17839         (int_retval): Likewise.
17840         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17841         macro.
17842         (pltexit): Likewise.
17843         (La_regs): Likewise.
17844         (La_retval): Likewise.
17845         (int_retval): Likewise.
17846         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17847         macro.
17848         (pltexit): Likewise.
17849         (La_regs): Likewise.
17850         (La_retval): Likewise.
17851         (int_retval): Likewise.
17852         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17853         macro.
17854         (pltexit): Likewise.
17855         (La_regs): Likewise.
17856         (La_retval): Likewise.
17857         (int_retval): Likewise.
17858         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17859         macro.
17860         (pltexit): Likewise.
17861         (La_regs): Likewise.
17862         (La_retval): Likewise.
17863         (int_retval): Likewise.
17864         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17865         macro.
17866         (pltexit): Likewise.
17867         (La_regs): Likewise.
17868         (La_retval): Likewise.
17869         (int_retval): Likewise.
17870         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17871         macro definitions in tst-audit.h.
17872         * sysdeps/i386/tst-audit.h: New file.
17873         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17874         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17875         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17876         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17877         * sysdeps/sh/tst-audit.h: Likewise.
17878         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17879         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17880         * sysdeps/x86_64/tst-audit.h: Likewise.
17882 2012-07-26  Andreas Jaeger  <aj@suse.de>
17884         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17885         ptrace.
17887         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17888         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17889         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17890         PTRACE_O_MASK.
17891         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17892         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17893         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17895         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17896         value.
17898         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17899         _sigsys.
17900         (si_call_addr, si_syscall, si_arch): Define new macro.
17901         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17902         _sigsys.
17903         (si_call_addr, si_syscall, si_arch): Define new marcro.
17904         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17905         _sigsys.
17906         (si_call_addr, si_syscall, si_arch): Define new macro.
17907         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17908         _sigsys.
17909         (si_call_addr, si_syscall, si_arch): Define new macro.
17911 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17913         [BZ #13717]
17914         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17915         Change to 2.4.21 where previously 2.4.1.
17916         * sysdeps/unix/sysv/linux/configure: Regenerated.
17917         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17918         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17919         Linux kernel version.
17920         (__ASSUME_STD_AUXV): Remove.
17921         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17922         kernel version.
17923         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17924         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17925         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17926         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17927         (__ASSUME_NETLINK_SUPPORT): Likewise.
17928         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17929         (__no_netlink_support): Remove conditional definition.
17930         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17931         Remove.
17932         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17933         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17934         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17935         (if_nameindex_ioctl): Remove.
17936         (if_nameindex_netlink): Do not handle __no_netlink_support.
17937         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17938         code.
17939         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17940         Remove conditional code.
17941         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17942         code.
17943         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17944         unconditional.
17945         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17946         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17947         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17948         Remove.
17949         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17950         [!__ASSUME_STD_AUXV]: Remove conditional code.
17951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17952         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17953         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17955         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17956         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17957         code.
17958         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17960         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17961         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17962         conditional code.
17963         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17965         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17966         code.
17967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17968         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17969         conditional code.
17970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17971         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17972         code unconditional.
17973         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17974         conditional code.
17975         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17976         unconditional.
17977         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17978         conditional code.
17979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17980         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17981         unconditional.
17982         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17983         conditional code.
17984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17985         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17986         code unconditional.
17987         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17988         conditional code.
17989         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17990         unconditional.
17991         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17992         conditional code.
17993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17994         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17995         code unconditional.
17996         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17997         conditional code.
17998         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17999         unconditional.
18000         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18001         conditional code.
18003 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
18005         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18006         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18007         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18008         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18009         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18010         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18011         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18012         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18013         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18014         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18015         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18016         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18017         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18018         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18019         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18020         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18021         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18022         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18023         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18025         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18026         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18027         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18029 2012-07-25  Florian Weimer  <fweimer@redhat.com>
18031         * Versions.def: Add GLIBC_2.17.
18032         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18033         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18034         Introduce __libc_secure_getenv.
18035         * stdlib/Versions (2.17): Add secure_getenv
18036         (GLIBC_PRIVATE): Add __libc_secure_getenv.
18037         * stdlib/secure-getenv.c: Rename __secure_getenv to
18038         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
18039         symbol __secure_getenv for GLIBC_2.0.
18040         * stdlib/tst-secure-getenv.c: New.
18041         * stdlib/Makefile (tests): Add testcase.
18042         * manual/startup.texi (Environment Access): Document
18043         secure_getenv.
18044         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18045         __libc_secure_getenv.
18046         * inet/ruserpass.c (ruserpass): Likewise.
18047         * malloc/mtrace.c (mtrace): Likewise.
18048         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18049         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18050         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18051         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18052         HAVE_SECURE_GETENV.
18053         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18054         __secure_getenv to __libc_secure_getenv.
18055         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18057         Likewise.
18058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18059         Likewise.
18060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18062         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18068 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18070         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18071         (struct La_i86_retval): Likewise.
18072         (struct La_x86_64_regs): Likewise.
18073         (struct La_x86_64_retval): Likewise.
18074         (struct La_x32_regs): Likewise.
18075         (struct La_x32_retval): Likewise.
18076         (struct La_ppc32_regs): Likewise.
18077         (struct La_ppc32_retval): Likewise.
18078         (struct La_ppc64_regs): Likewise.
18079         (struct La_ppc64_retval): Likewise.
18080         (struct La_sh_regs): Likewise.
18081         (struct La_sh_retval): Likewise.
18082         (struct La_s390_32_regs): Likewise.
18083         (struct La_s390_32_retval): Likewise.
18084         (struct La_s390_64_regs): Likewise.
18085         (struct La_s390_64_retval): Likewise.
18086         (struct La_sparc32_regs): Likewise.
18087         (struct La_sparc32_retval): Likewise.
18088         (struct La_sparc64_regs): Likewise.
18089         (struct La_sparc64_retval): Likewise.
18090         (struct audit_ifaces): Remove architecture-specific pltenter and
18091         pltexit members.
18092         * sysdeps/i386/ldsodefs.h: New file.
18093         * sysdeps/powerpc/ldsodefs.h: Likewise.
18094         * sysdeps/s390/ldsodefs.h: Likewise.
18095         * sysdeps/sh/ldsodefs.h: Likewise.
18096         * sysdeps/sparc/ldsodefs.h: Likewise.
18097         * sysdeps/x86_64/ldsodefs.h: Likewise.
18099 2012-07-25  Marek Polacek  <polacek@redhat.com>
18101         [BZ #6808]
18102         * math/libm-test.inc (yn_test): Add another test.
18103         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18104         to ERANGE when the result is +-Inf.
18105         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18106         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18107         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18108         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18110 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18112         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18113         equal to 0.
18114         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18115         clock_t.
18116         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18118 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18120         * configure.in <sysdeps resolving>: Correct printing
18121         Implies_before.
18122         * configure: Regenerate.
18124 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18126         * math/w_ilogb.c: Include <limits.h>.
18127         * math/w_ilogbl.c: Likewise.
18129 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18131         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18132         va_copy.  Document allowing for unavailable va_copy only as
18133         pre-C99 compatibility.
18134         * manual/string.texi (Copying and Concatenation): Use va_copy
18135         instead of __va_copy in concat example.
18137 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18139         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18140         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18141         it if not null.
18143         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18144         with O_NOLINK passed to __file_name_lookup.
18146         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18147         with O_NOLINK passed to __file_name_lookup.
18149         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18150         negative N or less than NGIDS.
18152         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18153         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18154         enough.  Use memcpy instead of strncpy.
18156 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18158         * elf/Makefile (check-data): Remove.
18159         (localplt.data): New vpath directive.
18160         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18161         instead of $(check-data).
18162         * scripts/data/localplt-generic.data: Move to ...
18163         * sysdeps/generic/localplt.data: ... here.
18164         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18165         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18166         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18168         ... here.
18169         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18171         ... here.
18172         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18174         ... here.
18175         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18177         ... here.
18178         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18180         ... here.
18181         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18183         ... here.
18185 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18187         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18188         PPC32 and PPC64 files.
18189         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18190         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18192 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18194         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18195         __makecontext_ret to ...
18196         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18197         ... here and call exit if uc_link is NULL.  New file.
18198         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18199         __makecontext_ret.S.
18200         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18201         __makecontext_ret to ...
18202         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18203         ... here and call exit if uc_link is NULL.  New file.
18204         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18205         __makecontext_ret.S.
18207 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18209         * elf/elf.h (R_390_IRELATIVE): New definition.
18210         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18211         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18212         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18213         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18214         (elf_machine_lazy_rel): Likewise.
18215         * sysdeps/s390/dl-irel.h: New file.
18216         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18217         * sysdeps/s390/s390-64/memset.S: New asm code.
18218         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18219         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18220         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18221         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18222         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18223         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18224         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18225         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18226         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18227         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18228         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18229         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18230         * sysdeps/s390/s390-32/memset.S: New asm code.
18231         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18233 2012-07-17  Marek Polacek  <polacek@redhat.com>
18235         [BZ #14349]
18236         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18237         * sysdeps/s390/s390-64/configure.in: Likewise.
18238         * sysdeps/sparc/configure.in: Likewise.
18239         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18240         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18241         * sysdeps/i386/configure.in: Likewise.
18242         * sysdeps/x86_64/configure.in: Likewise.
18243         * sysdeps/sh/configure.in: Likewise.
18244         * sysdeps/s390/s390-32/configure: Regenerated.
18245         * sysdeps/s390/s390-64/configure: Likewise.
18246         * sysdeps/x86_64/configure: Likewise.
18247         * sysdeps/sh/configure: Likewise.
18248         * sysdeps/powerpc/powerpc64/configure: Likewise.
18249         * sysdeps/powerpc/powerpc32/configure: Likewise.
18250         * sysdeps/sparc/configure: Likwise.
18251         * sysdeps/i386/configure: Likewise.
18253         * elf/dl-open.c: Comment fixes.
18255 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18257         * Makefile [CXX] (check-data): Remove.
18258         [CXX] (c++-types.data): New vpath directive.
18259         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18260         vpath.  Do not allow for C++ type data being missing.
18261         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18262         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18263         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18264         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18265         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18266         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18267         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18269         ... here.
18270         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18272         ... here.
18273         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18275         ... here.
18276         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18278         ... here.
18279         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18281         ... here.
18282         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18284         ... here.
18285         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18287         ... here.
18288         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18291         * elf/tls-macros.h (TLS_LE): Move architecture-specific
18292         definitions to architecture-specific files.
18293         (TLS_IE): Likewise.
18294         (TLS_LD): Likewise.
18295         (TLS_GD): Likewise.
18296         * sysdeps/i386/tls-macros.h: New file.
18297         * sysdeps/powerpc/tls-macros.h: Likewise.
18298         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18299         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18300         * sysdeps/sh/tls-macros.h: Likewise.
18301         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18302         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18303         * sysdeps/x86_64/tls-macros.h: Likewise.
18305 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18307         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18308         zero value for regular exit case.
18310         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18311         (__start_context): Preserve zero value for regular exit case.
18313 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18314             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18316         * manual/setjmp.texi (setcontext): Clarify normal process
18317         termination when uc_link is the null pointer.
18318         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18319         exit call.
18321 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
18323         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18324         preprocessor.  Test for each exception mask separately.
18326 2012-07-16  Andreas Jaeger  <aj@suse.de>
18328         * po/ru.po: Update from translation team.
18330 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
18332         * conform/data/string.h-data (NULL): Use macro-constant.  Require
18333         equal to 0.
18334         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18335         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18336         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18337         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18338         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18340 2012-07-13  Andreas Jaeger  <aj@suse.de>
18342         * po/fr.po: Update from translation team.
18344 2012-07-12  Marek Polacek  <polacek@redhat.com>
18346         [BZ #14173]
18347         * math/libm-test.inc (yn_test): Add test for BZ #14173.
18348         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18349         loop condition.
18351 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
18353         [BZ #13717]
18354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18355         Change to 2.4.1 where previously 2.4.0.
18356         * sysdeps/unix/sysv/linux/configure: Regenerated.
18357         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18358         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18359         version.
18360         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18361         (__ASSUME_AT_CLKTCK): Remove.
18362         (__ASSUME_AT_PAGESIZE): Likewise.
18363         (__ASSUME_AT_XID): Likewise.
18364         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18365         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18366         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18367         unconditionally.
18368         (HAVE_AUX_PAGESIZE): Likewise.
18369         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18370         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18371         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18373 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18375         [BZ #14307]
18376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18377         the temporary buffer used to invoke __gethostbyname2_r,
18378         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18379         host_data / struct gaih_addrtuple.
18380         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18381         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18382         header file nss/nsswitch.h.
18383         * nss/nsswitch.h (global scope): Add definition of implementation
18384         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18385         resolv/nss_dns/dns-host.c).
18387 2012-07-11  Andreas Jaeger  <aj@suse.de>
18389         * po/fr.po: Update from translation team.
18391         * po/sv.po: Update from translation team
18392         * po/fr.po: Another update from translation team.
18394 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18396         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18397         for subnormals or multiply small sinh result by itself.
18398         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18401 2012-07-11  David S. Miller  <davem@davemloft.net>
18403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18405 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18407         [BZ #14347]
18408         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18409         (INTERNAL_MARK): Shift it here.
18411 2012-07-10  Marek Polacek  <polacek@redhat.com>
18413         [BZ #14151]
18414         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18415         libc_cv_asm_global_directive with .globl.
18416         * configure: Regenerated.
18417         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18418         with .globl.
18419         * sysdeps/i386/configure: Regenerated.
18420         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18421         with .globl.
18422         * sysdeps/x86_64/configure: Regenerated.
18423         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18424         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18425         * elf/tst-unique2mod2.c: Likewise.
18426         * elf/tst-unique2mod1.c: Likewise.
18427         * elf/tst-unique1mod2.c: Likewise.
18428         * elf/tst-unique1mod1.c: Likewise.
18429         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18430         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18431         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18432         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18433         * sysdeps/mach/sysdep.h: Likewise.
18434         * sysdeps/i386/sysdep.h: Likewise.
18435         * sysdeps/i386/i386-mcount.S: Likewise.
18436         * sysdeps/x86_64/_mcount.S: Likewise.
18437         * sysdeps/x86_64/sysdep.h: Likewise.
18438         * sysdeps/sh/_mcount.S: Likewise.
18439         * sysdeps/sh/sysdep.h: Likewise.
18440         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18441         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18442         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18443         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18444         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18445         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18446         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18447         * locale/localeinfo.h: Likewise.
18448         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18449         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18451 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18453         [BZ #14336]
18454         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18455         system".
18456         * manual/message.texi (The Uniforum approach): Likewise.
18457         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18458         (glibc iconv Implementation): Likewise.
18460 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18462         [BZ #14337]
18463         * math/s_clog.c (__clog): Avoid scaling a value down where that
18464         could result in underflow.
18465         * math/s_clog10.c (__clog10): Likewise.
18466         * math/s_clog10f.c (__clog10f): Likewise.
18467         * math/s_clog10l.c (__clog10l): Likewise.
18468         * math/s_clogf.c (__clogf): Likewise.
18469         * math/s_clogl.c (__clogl): Likewise.
18470         * math/libm-test.inc (clog_test): Add more tests.
18471         (clog10_test): Likewise.
18472         * sysdeps/i386/fpu/libm-test-ulps: Update.
18473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18475 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18477         [BZ #14283]
18478         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18479         by 7 not 8 to examine high bit of fractional part.
18481         [BZ #14042]
18482         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18483         for call to __mcount_internal.
18484         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18485         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18486         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18488 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18490         [BZ #14154]
18491         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18492         approximation for values within 0x1p-13f of an odd multiple of
18493         pi/4.
18494         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18495         exception.  Add more tests.
18496         * sysdeps/i386/fpu/libm-test-ulps: Update.
18498         [BZ #6778]
18499         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18500         inputs and return -1 for them.  Do not check for +Inf in case not
18501         reachable for +Inf.
18502         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18503         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18504         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18505         and return -1 for them.  Do not check for +Inf in case not
18506         reachable for +Inf.
18507         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18508         define.
18509         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18510         and return -1 for them.  Do not check for +Inf in case not
18511         reachable for +Inf.
18512         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18513         spurious underflow.
18514         * sysdeps/i386/fpu/libm-test-ulps: Update.
18515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18517 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18519         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18521 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18523         [BZ #14157]
18524         [BZ #14331]
18525         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18526         could result in spurious underflow.  Scale down values above
18527         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18528         * math/s_csqrtf.c (__csqrtf): Likewise.
18529         * math/s_csqrtl.c (__csqrtl): Likewise.
18530         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18531         spurious underflow.
18532         * sysdeps/i386/fpu/libm-test-ulps: Update.
18533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18535 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18537         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18538         xopen-msg.sed.
18539         * catgets/xopen-msg.awk: New file.
18540         * catgets/xopen-msg.sed: Removed.
18542         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18543         po2text.sed.
18544         * intl/po2test.awk: New file.
18545         * intl/po2test.sed: Removed.
18547 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18549         [BZ #14328]
18550         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18551         or multiply small sinh result by itself.
18552         * math/s_ctanf.c (__ctanf): Likewise.
18553         * math/s_ctanh.c (__ctanh): Likewise.
18554         * math/s_ctanhf.c (__ctanhf): Likewise.
18555         * math/s_ctanhl.c (__ctanhl): Likewise.
18556         * math/s_ctanl.c (__ctanl): Likewise.
18557         * math/libm-test.inc (ctan_test_tonearest): New function.
18558         (ctan_test_towardzero): Likewise.
18559         (ctan_test_downward): Likewise.
18560         (ctan_test_upward): Likewise.
18561         (ctanh_test_tonearest): Likewise.
18562         (ctanh_test_towardzero): Likewise.
18563         (ctanh_test_downward): Likewise.
18564         (ctanh_test_upward): Likewise.
18565         (main): Call these new functions.
18566         * sysdeps/i386/fpu/libm-test-ulps: Update.
18567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18569 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18571         * .gitignore: Delete /ports entry.
18573 2012-07-03  Andreas Jaeger  <aj@suse.de>
18575         * po/bg.po: Update from translation team.
18576         * po/cs.po: Likewise.
18577         * po/de.po: Likewise.
18578         * po/hr.po: Likewise.
18579         * po/nl.pl: Likewise.
18580         * po/pl.po: Likewise.
18581         * po/vi.po: Likewise.
18583 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18585         * Makeconfig [!+link] (+link-before-libc): New variable.
18586         [!+link] (+link-after-libc): Likewise.
18587         [!+link] (+link-tests): Likewise.
18588         [!+link] (+link): Define in terms of $(+link-before-libc) and
18589         $(+link-after-libc).
18590         [!+link-static] (+link-static-before-libc): New variable.
18591         [!+link-static] (+link-static-after-libc): Likewise.
18592         [!+link-static] (+link-static-tests): Likewise.
18593         [!+link-static] (+link-static): Define in terms of
18594         $(+link-static-before-libc) and $(+link-static-after-libc).
18595         [build-shared] (link-libc-before-gnulib): New variable.
18596         [build-shared] (link-libc-tests): Likewise.
18597         [build-shared] (link-libc): Define in terms of
18598         $(link-libc-before-gnulib).
18599         [!build-shared] (link-libc-tests): New variable.
18600         (link-libc-static-tests): New variable.
18601         [!gnulib] (gnulib-arch): New variable.
18602         [!gnulib] (gnulib-tests): Likewise.
18603         [!gnulib] (static-gnulib-arch): Likewise.
18604         [!gnulib] (static-gnulib-tests): Likewise.
18605         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18606         Define with "=" instead of ":=".
18607         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18608         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18609         * Rules (binaries-all-notests): New variable.
18610         (binaries-all-tests): Likewise.
18611         (binaries-static-notests): Likewise.
18612         (binaries-static-tests): Likewise.
18613         (binaries-all): Define using $(binaries-all-notests) and
18614         $(binaries-all-tests).
18615         (binaries-static): Define using $(binaries-static-notests) and
18616         $(binaries-static-tests).
18617         (binaries-shared-tests): New variable.
18618         (binaries-shared-notests): Likewise.
18619         (binaries-shared): Remove variable.
18620         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18621         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18622         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18623         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18624         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18625         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18626         * elf/Makefile (sln-modules): New variable.
18627         (extra-objs): Add $(sln-modules:=.o).
18628         (ldconfig-modules): Add static-stubs.
18629         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18630         * elf/static-stubs.c: New file.
18632         [BZ #14283]
18633         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18634         by 7 not 8 to examine high bit of fractional part.  Use volatile
18635         variables when splitting into final array of floats if
18636         __FLT_EVAL_METHOD__ != 0.
18637         * math/libm-test.inc (cos_test): Add another test.
18638         (sin_test): Likewise.
18639         * sysdeps/i386/fpu/libm-test-ulps: Update.
18641         [BZ #14273]
18642         * math/libm-test.inc (cosh_test): Add more tests.
18644         * version.h (RELEASE): Set to "development".
18645         (VERSION): Set to "2.16.90".
18647 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18649         * NEWS: Update copyright. Remove last-updated date.
18650         Mention math library bug fixes and timezone data changes.
18651         * README: Mention GNU/Hurd, x32, and HPPA support status.
18653 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18655         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18657 2012-06-27  Andreas Jaeger  <aj@suse.de>
18659         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18661 2012-06-25  Andreas Jaeger  <aj@suse.de>
18663         * sysdeps/s390/fpu/libm-test-ulps: Update.
18665 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18666             Thomas Schwinge  <thomas@codesourcery.com>
18668         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18669         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18671         fanotify_mark.
18673 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18675         * sysdeps/mach/start.c: Remove file.
18676         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18677         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18678         * sysdeps/sh/init-first.c: Likewise.
18680         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18681         registers for frame unwinding purposes, add CFI directives.
18682         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18683         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18684         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18685         Likewise.
18687         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18688         __fortify_fail returning.
18689         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18691         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18692         sysdeps/sh/____longjmp_chk.S.
18693         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18694         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18695         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18696         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18698         * sysdeps/sh/abort-instr.h: New file.
18699         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18700         process in case exit returns.
18702         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18703         initialize the GOT register before use.
18705         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18706         calculation of ARGC > 4.
18708         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18709         meaningful names to some local labels.
18711 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18712             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18714         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18715         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18716         (__arch_compare_and_exchange_val_16_acq): Likewise.
18717         (__arch_compare_and_exchange_val_32_acq): Likewise.
18718         (atomic_exchange_and_add): Fix gUSA sequence.
18719         (atomic_add): Likewise.
18720         (atomic_add_negative): Likewise.
18721         (atomic_add_zero): Likewise.
18722         (atomic_bit_test_set): Likewise.
18724 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18726         [BZ #13579]
18727         * include/link.h (struct link_map): Add l_free_initfini.
18728         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18729         l_initfini.
18730         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18731         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18732         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18733         set.
18735 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18737         * configure.in: Use AC_LANG_SOURCE.
18738         * configure: Regenerate.
18740 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18742         * configure.in (libc_cv_localstatedir): New substituted variable.
18743         * configure: Regenerated.
18744         * config.make.in (localstatedir): New variable, substituted from
18745         libc_cv_localstatedir.
18746         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18747         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18748         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18749         * sysdeps/gnu/configure: Regenerated.
18751 2012-06-21  Jeff Law  <law@redhat.com>
18753         [BZ #14277]
18754         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18755         free.  Simplify list management for _LIBC case.
18757 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18759         [BZ #14273]
18760         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18761         Clear sign bit of 64-bit integer value before comparing against
18762         overflow value.
18764         * sysdeps/mach/configure: Regenerated.
18766 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18768         [BZ #14278]
18769         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18771 2012-06-21  Jeff Law  <law@redhat.com>
18773         [BZ #13882]
18774         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18775         uint16_t for elements in the "seen" array to avoid char overflows.
18776         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18777         * elf/dl-open.c (dl_open_worker): Likewise.
18779 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18781         * scripts/list-sources.sh: Scan PORTS for translations.
18782         * po/libc.pot: Regenerated.
18784 2012-06-21  Andreas Jaeger  <aj@suse.de>
18786         [BZ #12194]
18787         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18788         warning.
18789         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18790         * bits/byteswap-16.h (__bswap_16): Likewise.
18791         * bits/byteswap.h (__bswap_constant_16): Likewise.
18793 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18795         [BZ #14117]
18796         * sysdeps/i386/fpu_control.h: Removed.
18797         * sysdeps/x86_64/fpu_control.h: Moved to ...
18798         * sysdeps/x86/fpu_control.h: Here.
18800         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18801         (_FPU_SETCW): Likewise.
18803 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18805         [BZ #14117]
18806         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18807         * sysdeps/x86/fpu/bits/mathinline.h: This.
18808         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18810         [BZ #14050]
18811         [BZ #14117]
18812         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18813         functions if __x86_64__ is defined.
18815 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18817         * string/endian.h: Add !__ASSEMBLER__ condition for including
18818         conversion interfaces.
18820 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18822         [BZ #14241]
18823         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18824         of ABS(x) in calculating zero to negative powers other than odd
18825         integers.
18826         * math/libm-test.inc (pow_test): Add more tests.
18828 2012-06-15  Andreas Jaeger  <aj@suse.de>
18830         * manual/contrib.texi (Contributors): Update entry of Liubov
18831         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18832         Machado Filho.
18834 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18836         * string/string.h: Add __wur to GNU version of strerror_r.
18838 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18840         [BZ #14229]
18841         * string/Makefile (tests): Add tst-strtok_r.
18842         * string/tst-strtok_r.c: New file.
18843         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18844         RAX_LP/RDX_LP on SAVE_PTR.
18846 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18848         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18850 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18852         * libm_test.inc (csqrt_test): Allow more spurious underflow
18853         exceptions.
18854         (j0_test): Likewise.
18855         (j1_test): Likewise.
18856         (y0_test): Likewise.
18857         (y1_test): Likewise.
18859 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18861         * po/Makefile (libc.pot): Use UTF-8 charset.
18863 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18865         [BZ #14210]
18866         Suppress sign-conversion warning from FD_SET.
18867         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18868         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18869         not unsigned long int.
18870         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18872 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18874         [BZ #14050]
18875         [BZ #14117]
18876         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18877         __extern_always_inline instead of __extern_inline.
18878         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18879         (__signbit): Likewise.
18880         (__signbitl): Support C++ namespace.
18881         (lrintf): New inline function.
18882         (lrint): Likewise.
18883         (llrintf): Likewise.
18884         (llrint): Likewise.
18885         (fmaxf): Likewise.
18886         (fmax): Likewise.
18887         (fminf): Likewise.
18888         (fmin): Likewise.
18889         (rint): Likewise.
18890         (rintf): Likewise.
18891         (ceil): Likewise.
18892         (ceilf): Likewise.
18893         (floor): Likewise.
18894         (floorf): Likewise.
18895         (nearbyint): Likewise.
18896         (nearbyintf): Likewise.
18898 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18900         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18901         non-default versions.
18903 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18905         [BZ #14218]
18906         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18908 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18910         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18911         (FE_UPWARD, FE_DOWNWARD): Don't define.
18912         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18913         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18915         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18916         reading it.
18917         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18918         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18920 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18922         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18923         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18924         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18925         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18927 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18929         [BZ #14117]
18930         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18931         * sysdeps/i386/fpu/Implies: New file.
18932         * sysdeps/x86_64/fpu/Implies: Likewise.
18933         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18934         * sysdeps/x86/fpu/bits/fenv.h: This.
18936         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18937         __SSE_MATH__.
18939 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18941         [BZ #14134]
18942         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18943         character 0xffff that matches the last element of the
18944         conversion table.
18946 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18948         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18949         fmodl commit.
18951 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18954         values higher than 25.6283.
18956 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18958         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18959         subnormal exponent extraction and add some __builtin_expect.
18960         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18961         Fix for subnormal mantissa calculation.
18963 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18965         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18966         cpu2 is -1 and errno is not ENOSYS.
18968 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18970         [BZ #14117]
18971         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18972         * sysdeps/x86/bits/string.h: This.
18973         * sysdeps/x86_64/bits/string.h: Removed.
18975         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18976         if not compiling for x86-64, but compiling for >= i486.
18978         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18979         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18981         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18982         New macro from Linux kernel 3.4.0.
18983         (FP_XSTATE_MAGIC2): Likewise.
18984         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18985         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18986         (struct _fpx_sw_bytes): New struct.
18987         (struct _xsave_hdr): Likewise.
18988         (struct _ymmh_state): Likewise.
18989         (struct _xstate): Likewise.
18991         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18992         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18993         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18994         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18995         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18996         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18998         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18999         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19000         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19001         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19002         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19003         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19005 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19007         [BZ #13743]
19008         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19009         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19010         (sysdep_headers): Include sys/platform/ppc.h.
19011         * sysdeps/powerpc/test-gettimebase.c: Test for
19012         __ppc_get_timebase() to catch future ISA opcode/insn changes.
19013         * manual/Makefile (appendices): Include platform.texi.
19014         * manual/contrib.texi (Contributors): Update @node pointers.
19015         * manual/maint.texi (Maintenance): Likewise.
19016         (Platform): New node.
19017         * manual/platform.texi: New file.  Document the new features.
19019 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19020             Jakub Jelinek  <jakub@redhat.com>
19022         [BZ #14188]
19023         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19024         where __builtin_expect is unavailable.
19026 2012-06-03  David S. Miller  <davem@davemloft.net>
19028         * stdlib/longlong.h: Updated from GCC.
19030 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
19032         [BZ #14042]
19033         * sysdeps/powerpc/powerpc32/mcount.c: New file.
19034         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19035         __mcount_internal.
19036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19037         (GLIBC_2.16): Likewise.
19039 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19041         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19043 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19046         (default-abi): New variable.
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19048         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19049         variable.
19050         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19051         Likewise.
19052         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19053         Likewise.
19054         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19055         Likewise.
19057         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19058         definition.  Document in comment.
19060 2012-06-01  David S. Miller  <davem@davemloft.net>
19062         * stdlib/longlong.h: Updated from GCC.
19064 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19066         [BZ #14117]
19067         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19068         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19069         sys/debugreg.h sys/io.h here.
19070         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19071         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19072         sys/io.h.
19073         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19074         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19075         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19076         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19077         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19078         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19080         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19081         Define only if __x86_64__ is defined.
19083 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19085         [BZ #14048]
19086         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19087         Use int64_t for variable i.
19088         * math/libm-test.inc (fmod_test): Add more tests.
19090         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19091         z computation is not scheduled after fetestexcept.
19092         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19093         Use math_force_eval instead of asm to ensure calculation scheduled
19094         before exception test.
19095         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19096         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19098 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19101         computation is not scheduled after fetestexcept.
19103 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19105         [BZ #14117]
19106         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19107         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19109 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19111         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19112         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19114 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19116         [BZ #14117]
19117         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19118         <bits/wordsize.h>.
19119         (__WCHAR_MIN): Support __WORDSIZE == 64.
19120         (__WCHAR_MAX): Likewise.
19122         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19123         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19125         [BZ #14183]
19126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19127         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19129         [BZ #14117]
19130         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19131         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19133         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19134         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19136         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19137         Defined to 1 if __x86_64__ isn't defined.
19138         (_STAT_VER_LINUX_OLD): New.
19139         (st_atime): Remove duplicate.
19140         (st_mtime): Likewise.
19141         (st_ctime): Likewise.
19143 2012-05-31  David S. Miller  <davem@davemloft.net>
19145         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19146         entries.
19148 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19150         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19151         gen-libm-test.pl.
19153         [BZ #14132]
19154         * elf/dl-reloc.c: Include <_itoa.h>.
19155         (_dl_reloc_bad_type): Remove use of INTUSE.
19156         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19157         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19158         * stdio-common/psiginfo.c (psiginfo): Likewise.
19159         * stdio-common/psignal.c (psignal): Likewise.
19160         * string/strsignal.c (strsignal): Likewise.
19161         * include/signal.h (_sys_siglist): Declare hidden proto.
19162         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19163         INTVARDEF with libc_hidden_data_def.
19164         * stdio-common/itoa-udigits.c: Likewise.
19165         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19166         (_itoa_lower_digits_internal): Remove declaration.
19167         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19168         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19169         (_sys_sigabbrev_internal): Remove aliases.
19170         (_sys_siglist): Define hidden alias.
19172 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19175         bits/sysctl.h.
19177 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19179         [BZ #14117]
19180         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19181         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19183         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19184         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19185         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19186         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19187         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19188         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19190         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19191         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19192         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19194         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19195         with __addr.
19196         (insw): Likewise.
19197         (insl): Likewise.
19198         (outsb): Likewise.
19199         (outsw): Likewise.
19200         (outsl): Likewise.
19202         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19203         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19204         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19206         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19207         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19208         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19209         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19210         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19211         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19213         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19214         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19216         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19217         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19219         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19220         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19221         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19223         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19224         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19225         to ...
19226         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19228         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19229         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19230         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19232         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19233         for x86-64.
19234         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19236 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19238         * math/math.h (M_El): Use two more decimal places.
19239         (M_LOG2El): Likewise.
19240         (M_LOG10El): Likewise.
19241         (M_LN2l): Likewise.
19242         (M_LN10l): Likewise.
19243         (M_PIl): Likewise.
19244         (M_PI_2l): Likewise.
19245         (M_PI_4l): Likewise.
19246         (M_1_PIl): Likewise.
19247         (M_2_PIl): Likewise.
19248         (M_2_SQRTPIl): Likewise.
19249         (M_SQRT2l): Likewise.
19250         (M_SQRT1_2l): Likewise.
19252 2012-05-31  David S. Miller  <davem@davemloft.net>
19254         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19255         values between float registers.
19256         * sysdeps/sparc/sparc64/memset.S: Likewise.
19257         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19259 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19261         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19262         -D_FORTIFY_SOURCE=1.
19263         (CPPFLAGS-tst-longjmp_chk.c): Define.
19264         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19265         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19266         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19267         CFLAGS-tst-wchar-h.c.
19269 2012-05-31  Marek Polacek  <polacek@redhat.com>
19271         [BZ #14132]
19272         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19273         __endmntent_internal): Remove declaration.
19274         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19275         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19276         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19278 2012-05-30  David S. Miller  <davem@davemloft.net>
19280         * sysdeps/sparc/sparc32/soft-fp/q_util.c
19281         (___Q_simulate_exceptions): Use real FP ops rather than writing
19282         into the %fsr.
19283         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19284         Likewise.
19286 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19288         [BZ #14117]
19289         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19290         * sysdeps/x86/bits/xtitypes.h: This.
19292         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19293         * sysdeps/x86/bits/wordsize.h: This.
19295         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19296         * sysdeps/x86/bits/huge_vall.h: This.
19298         * sysdeps/i386/bits/select.h: Removed.
19299         * sysdeps/x86_64/bits/select.h: Renamed to ...
19300         * sysdeps/x86/bits/select.h: This.
19302         * sysdeps/i386/bits/setjmp.h: Removed.
19303         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19304         * sysdeps/x86/bits/setjmp.h: This.
19306         * sysdeps/i386/bits/mathdef.h: Removed.
19307         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19308         * sysdeps/x86/bits/mathdef.h: This.
19310 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
19312         [BZ #14132]
19313         * include/sys/socket.h (__connect_internal)
19314         (__libc_sa_len_internal): Remove declaration.
19315         (__connect, __libc_sa_len): Declare hidden_proto.
19316         (SA_LEN): Remove use of INTUSE.
19317         * socket/connect.c: Add libc_hidden_def.
19318         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19319         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19320         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19321         alias.
19322         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19323         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19324         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19325         of adding _internal alias.
19327 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19329         [BZ #14117]
19330         * sysdeps/i386/bits/link.h: Removed.
19331         * sysdeps/i386/bits/linkmap.h: Likewise.
19332         * sysdeps/x86_64/bits/link.h: Renamed to ...
19333         * sysdeps/x86/bits/link.h: This.
19334         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19335         * sysdeps/x86/bits/linkmap.h: This.
19337         * sysdeps/i386/bits/endian.h: Removed.
19338         * sysdeps/x86_64/bits/endian.h: Renamed to ...
19339         * sysdeps/x86/bits/endian.h: This.
19341         * sysdeps/i386/bits/byteswap.h: Removed.
19342         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19343         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19344         * sysdeps/x86/bits/byteswap.h: This.
19345         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19346         * sysdeps/x86/bits/byteswap-16.h: This.
19347         * sysdeps/i386/Implies: Add x86.
19348         * sysdeps/x86_64/Implies: Likewise.
19350 2012-05-30  David S. Miller  <davem@davemloft.net>
19352         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19353         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19354         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19355         (FP_TRAPPING_EXCEPTIONS): Define.
19356         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19357         (FP_TRAPPING_EXCEPTIONS): Define.
19358         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19359         subnormals only when inexact has been signalled or underflow
19360         exceptions are enabled.
19361         (_FP_PACK_CANONICAL): Likewise.
19363 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19365         [BZ #14183]
19366         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19367         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19369 2012-05-30  Richard Henderson  <rth@twiddle.net>
19371         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19372         with #ifndef NOT_IN_libc.
19374         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19375         marked to avoid plt entry.
19377 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19379         [BZ #14112]
19380         * Makeconfig (default-abi): New macro.
19381         (abi-includes): Likewise.
19382         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19383         $(abi-$(default-abi)-lib-soname) for soname if defined.
19384         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19385         abi-variants.
19386         * Makefile (installed-stubs): Likewise.
19387         * include/stubs-biarch.h: Removed.
19388         * scripts/lib-names.awk: Only handle one library at a time.
19389         * scripts/soversions.awk: Remove WORDSIZE support.
19390         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19391         entries.
19392         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19393         Removed.
19394         (syscall-list-default-condition): Likewise.
19395         (syscall-list-default-condition): Likewise.
19396         (syscall-list-includes): Likewise.
19397         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19398         syscall-list-* with abi-*.  Handle undefined abi-variants.
19399         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19400         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19401         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19402         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19403         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19404         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19405         Removed.
19406         (syscall-list-32-options): Likewise.
19407         (syscall-list-32-condition): Likewise.
19408         (syscall-list-64-options): Likewise.
19409         (syscall-list-64-condition): Likewise.
19410         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19411         macro.
19412         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19413         Renamed to ...
19414         (abi-*): This.
19415         (abi-64-ld-soname): New macro.
19416         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19417         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19418         Renamed to ...
19419         (abi-*): This.
19420         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19421         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19423 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19425         * sysdeps/unix/sysv/linux/kernel-features.h
19426         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19427         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19428         include <kernel-features.h>.
19429         [!__NR_ftruncate64]: Remove conditional code.
19430         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19431         [__NR_ftruncate64]: Make code unconditional.
19432         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19433         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19434         include <kernel-features.h>.
19435         [!__NR_ftruncate64]: Remove conditional code.
19436         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19437         [__NR_ftruncate64]: Make code unconditional.
19438         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19440         include <kernel-features.h>.
19441         [!__NR_ftruncate64]: Remove conditional code.
19442         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19443         [__NR_ftruncate64]: Make code unconditional.
19444         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19446         include <kernel-features.h>.
19447         [!__NR_ftruncate64]: Remove conditional code.
19448         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19449         [__NR_ftruncate64]: Make code unconditional.
19450         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19452         * configure.in (libc_cv_fpie): Weaken to a compile test using
19453         LIBC_TRY_CC_OPTION.
19454         * configure: Regenerated.
19456 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19462         Refreshed.
19463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19469         Refreshed.
19471 2012-05-27  David S. Miller  <davem@davemloft.net>
19473         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19474         (___Q_zero): New.
19475         (__Q_simulate_exceptions): Return void.  Change to simulate
19476         exceptions by writing into the %fsr.
19477         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19478         (__Qp_handle_exceptions): Likewise.
19479         (numbers): Delete.
19480         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19481         __Qp_handle_exceptions.
19482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19483         __Qp_handle_exceptions.
19484         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19485         as unused and give dummy FP_RND_NEAREST initializer.
19486         (FP_INHIBIT_RESULTS): Define.
19487         (___Q_simulate_exceptions): Update declaration.
19488         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19489         formatting.
19490         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19491         as unused and give dummy FP_RND_NEAREST initializer.
19492         (__Qp_handle_exceptions): Update declaration.
19493         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19494         formatting.
19496 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19498         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19499         the temporary FPU control word.
19500         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19501         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19502         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19503         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19504         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19505         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19506         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19507         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19508         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19509         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19510         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19512 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19514         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19515         fields.
19517 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19519         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19520         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19521         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19522         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19523         Likewise.
19524         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19525         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19526         Likewise.
19528 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19530         * po/h.po: Update from translation team.
19532 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19534         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19536         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19537         handling of denormals.
19538         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19539         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19540         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19541         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19542         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19543         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19544         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19545         Likewise.
19547 2012-05-26  Marek Polacek  <polacek@redhat.com>
19549         [BZ #14152]
19550         * math/libm-test.inc (fma_test): Don't always expect underflow
19551         exception.
19553 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19555         [BZ #12416]
19556         * elf/tst-execstack.c: Include stackinfo.h.
19557         (do_test): Adjust test case to ensure that pthread_getattr_np
19558         behaviour remains the same after marking stack executable.
19560 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19562         * sysdeps/unix/sysv/linux/kernel-features.h
19563         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19564         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19565         kernel-features.h.
19566         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19567         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19568         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19569         kernel-features.h.
19570         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19571         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19573 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19575         * configure.in: Define the default includes to being none.
19576         * configure: Regenerated.
19578 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19580         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19581         * sysdeps/x86_64/setjmp.S: Likewise.
19582         * sysdeps/i386/bsd-setjmp.S: Likewise.
19583         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19584         * sysdeps/i386/setjmp.S: Likewise.
19585         * sysdeps/i386/__longjmp.S: Likewise.
19586         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19587         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19589         * include/stap-probe.h: New file.
19590         * configure.in: Handle --enable-systemtap.
19591         * configure: Regenerated.
19592         * config.h.in (USE_STAP_PROBE): New #undef.
19593         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19594         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19595         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19597 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19599         [BZ #13717]
19600         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19601         to 2.4.0 where earlier.
19602         * sysdeps/unix/sysv/linux/configure: Regenerated.
19603         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19604         <kernel-features.h>.
19605         [__ASSUME_32BITUIDS]: Make code unconditional.
19606         [!__ASSUME_32BITUIDS]: Remove conditional code.
19607         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19608         <kernel-features.h>.
19609         [__ASSUME_32BITUIDS]: Make code unconditional.
19610         [!__ASSUME_32BITUIDS]: Remove conditional code.
19611         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19612         [__ASSUME_32BITUIDS]: Make code unconditional.
19613         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19614         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19615         <kernel-features.h>.
19616         [__ASSUME_32BITUIDS]: Make code unconditional.
19617         [!__ASSUME_32BITUIDS]: Remove conditional code.
19618         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19619         <kernel-features.h>.
19620         [__ASSUME_32BITUIDS]: Make code unconditional.
19621         [!__ASSUME_32BITUIDS]: Remove conditional code.
19622         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19623         <kernel-features.h>.
19624         [__ASSUME_32BITUIDS]: Make code unconditional.
19625         [!__ASSUME_32BITUIDS]: Remove conditional code.
19626         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19627         <kernel-features.h>.
19628         [__ASSUME_32BITUIDS]: Make code unconditional.
19629         [!__ASSUME_32BITUIDS]: Remove conditional code.
19630         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19631         <kernel-features.h>.
19632         [__ASSUME_32BITUIDS]: Make code unconditional.
19633         [!__ASSUME_32BITUIDS]: Remove conditional code.
19634         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19635         <kernel-features.h>.
19636         [__ASSUME_32BITUIDS]: Make code unconditional.
19637         [!__ASSUME_32BITUIDS]: Remove conditional code.
19638         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19639         <kernel-features.h>.
19640         [__ASSUME_32BITUIDS]: Make code unconditional.
19641         [!__ASSUME_32BITUIDS]: Remove conditional code.
19642         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19643         <kernel-features.h>.
19644         [__ASSUME_32BITUIDS]: Make code unconditional.
19645         [!__ASSUME_32BITUIDS]: Remove conditional code.
19646         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19647         <kernel-features.h>.
19648         [__ASSUME_32BITUIDS]: Make code unconditional.
19649         [!__ASSUME_32BITUIDS]: Remove conditional code.
19650         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19651         <kernel-features.h>.
19652         [__ASSUME_32BITUIDS]: Make code unconditional.
19653         [!__ASSUME_32BITUIDS]: Remove conditional code.
19654         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19655         <kernel-features.h>.
19656         [__NR_setresgid] (__setresgid): Do not declare.
19657         [__ASSUME_32BITUIDS]: Make code unconditional.
19658         [!__ASSUME_32BITUIDS]: Remove conditional code.
19659         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19660         <kernel-features.h>.
19661         [__NR_setresuid] (__setresuid): Do not declare.
19662         [__ASSUME_32BITUIDS]: Make code unconditional.
19663         [!__ASSUME_32BITUIDS]: Remove conditional code.
19664         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19665         <kernel-features.h>.
19666         [__ASSUME_32BITUIDS]: Make code unconditional.
19667         [!__ASSUME_32BITUIDS]: Remove conditional code.
19668         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19669         <kernel-features.h>.
19670         [__ASSUME_32BITUIDS]: Make code unconditional.
19671         [!__ASSUME_32BITUIDS]: Remove conditional code.
19672         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19673         <kernel-features.h>.
19674         [__ASSUME_32BITUIDS]: Make code unconditional.
19675         [!__ASSUME_32BITUIDS]: Remove conditional code.
19676         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19677         <kernel-features.h>.
19678         [__ASSUME_32BITUIDS]: Make code unconditional.
19679         [!__ASSUME_32BITUIDS]: Remove conditional code.
19680         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19681         <kernel-features.h>.
19682         [__ASSUME_32BITUIDS]: Make code unconditional.
19683         [!__ASSUME_32BITUIDS]: Remove conditional code.
19684         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19685         <kernel-features.h>.
19686         [__ASSUME_32BITUIDS]: Make code unconditional.
19687         [!__ASSUME_32BITUIDS]: Remove conditional code.
19688         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19689         <kernel-features.h>.
19690         [__ASSUME_32BITUIDS]: Make code unconditional.
19691         [!__ASSUME_32BITUIDS]: Remove conditional code.
19692         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19693         <kernel-features.h>.
19694         [__ASSUME_32BITUIDS]: Make code unconditional.
19695         [!__ASSUME_32BITUIDS]: Remove conditional code.
19696         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19697         <kernel-features.h>.
19698         [__ASSUME_32BITUIDS]: Make code unconditional.
19699         [!__ASSUME_32BITUIDS]: Remove conditional code.
19700         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19701         <kernel-features.h>.
19702         [__ASSUME_32BITUIDS]: Make code unconditional.
19703         [!__ASSUME_32BITUIDS]: Remove conditional code.
19704         * sysdeps/unix/sysv/linux/kernel-features.h
19705         (__ASSUME_SETRESUID_SYSCALL): Remove.
19706         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19707         (__ASSUME_32BITUIDS): Likewise.
19708         (__ASSUME_LDT_WORKS): Likewise.
19709         (__ASSUME_O_DIRECTORY): Likewise.
19710         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19711         architecture but not kernel version.
19712         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19713         (__ASSUME_MMAP2_SYSCALL): Likewise.
19714         (__ASSUME_STAT64_SYSCALL): Likewise.
19715         (__ASSUME_IPC64): Likewise.
19716         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19717         <kernel-features.h>.
19718         [__ASSUME_32BITUIDS]: Make code unconditional.
19719         [!__ASSUME_32BITUIDS]: Remove conditional code.
19720         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19721         <kernel-features.h>.
19722         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19723         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19724         132096]: Remove conditional code.
19725         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19726         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19727         <kernel-features.h>.
19728         [__ASSUME_32BITUIDS]: Make code unconditional.
19729         [!__ASSUME_32BITUIDS]: Remove conditional code.
19730         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19731         <kernel-features.h>.
19732         [__ASSUME_32BITUIDS]: Make code unconditional.
19733         [!__ASSUME_32BITUIDS]: Remove conditional code.
19734         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19735         <kernel-features.h>.
19736         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19737         unconditional.
19738         (__setresgid): Do not declare.
19739         [__ASSUME_32BITUIDS]: Make code unconditional.
19740         [!__ASSUME_32BITUIDS]: Remove conditional code.
19741         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19742         <kernel-features.h>.
19743         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19744         unconditional.
19745         (__setresuid): Do not declare.
19746         [__ASSUME_32BITUIDS]: Make code unconditional.
19747         [!__ASSUME_32BITUIDS]: Remove conditional code.
19748         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19749         <kernel-features.h>.
19750         [__ASSUME_32BITUIDS]: Make code unconditional.
19751         [!__ASSUME_32BITUIDS]: Remove conditional code.
19752         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19753         <kernel-features.h>.
19754         [__ASSUME_32BITUIDS]: Make code unconditional.
19755         [!__ASSUME_32BITUIDS]: Remove conditional code.
19757 2012-05-25  Richard Henderson  <rth@twiddle.net>
19759         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19760         dl_hwcap to ifunc resolver.
19761         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19762         elf_ifunc_invoke.
19763         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19764         dl_hwcap to ifunc resolver.
19765         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19767 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19769         [BZ #14153]
19770         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19771         for |x| <= 2**-26, not 2**-57.
19772         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19773         exception.
19775 2012-05-24  Jeff Law  <law@redhat.com>
19777         * stdio-common/Makefile (tests): Add bug25.
19778         * stdio-common/bug25.c: New test.
19780 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19782         [BZ #13576]
19783         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19784         multiple of MALLOC_ALIGNMENT in size.
19785         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19787 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19789         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19790         Require >= 256.
19791         (FILENAME_MAX): Use macro-int-constant.
19792         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19793         (_IOFBF): Use macro-int-constant.
19794         (_IOLBF): Likewise.
19795         (_IONBF): Likewise.
19796         (SEEK_CUR): Likewise.
19797         (SEEK_END): Likewise.
19798         (SEEK_SET): Likewise.
19799         (TMP_MAX): Likewise.
19800         (EOF): Use macro-int-constant.  Require < 0.
19801         (NULL): Use macro-constant.  Require == 0.
19802         (stdin): Require type to be FILE *.
19803         (stdout): Likewise.
19804         (stderr): Likewise.
19805         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19806         macro-int-constant.
19807         (EXIT_SUCCESS): Likewise.
19808         (NULL): Use macro-constant.  Require == 0.
19809         (RAND_MAX): Use macro-int-constant.
19810         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19811         [C99-based standards] (strtof): Require function.
19812         [C99-based standards] (strtold): Likewise.
19813         [C99-based standards] (strtoll): Likewise.
19814         [C99-based standards] (strtoull): Likewise.
19815         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19816         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19817         [ISO || ISO99 || ISO11] (math.h): Likewise.
19818         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19819         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19820         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19822 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19824         [BZ #14132]
19825         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19826         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19827         * intl/dgettext.c (DCGETTEXT): Likewise.
19828         * intl/gettext.c (DCGETTEXT): Likewise.
19829         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19830         * posix/regex_internal.h (gettext): Likewise.
19831         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19832         Remove declaration.
19833         * include/argz.h (__argz_count_internal)
19834         (__argz_stringify_internal): Remove declaration.
19835         (__argz_count, __argz_stringify): Declare hidden proto.
19836         * intl/dcgettext.c: Remove use of INTDEF.
19837         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19838         * string/argz-stringify.c: Likewise.
19839         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19840         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19841         Declare hidden proto.
19842         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19843         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19844         Declare hidden proto.
19845         * include/stdio.h (__asprintf_internal): Don't declare.
19846         (__asprintf): Don't define as macro.  Declare hidden proto.
19847         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19848         (__fsetlocking): Declare hidden proto.
19849         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19850         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19851         hidden proto.
19852         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19853         (_IO_setlinebuf): Remove use of INTUSE.
19854         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19855         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19856         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19857         Remove declaration.
19858         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19859         (_IO_do_flush): Remove use of INTUSE.
19860         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19861         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19862         (_IO_adjust_column, _IO_least_wmarker)
19863         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19864         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19865         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19866         (_IO_default_doallocate, _IO_wdefault_doallocate)
19867         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19868         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19869         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19870         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19871         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19872         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19873         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19874         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19875         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19876         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19877         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19878         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19879         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19880         proto.
19881         (_IO_flush_all_internal, _IO_adjust_column_internal)
19882         (_IO_default_uflow_internal, _IO_default_finish_internal)
19883         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19884         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19885         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19886         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19887         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19888         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19889         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19890         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19891         (_IO_file_close_internal, _IO_file_close_it_internal)
19892         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19893         (_IO_file_init_internal, _IO_file_attach_internal)
19894         (_IO_file_fopen_internal, _IO_file_read_internal)
19895         (_IO_file_sync_internal, _IO_file_seek_internal)
19896         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19897         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19898         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19899         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19900         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19901         (_IO_list_all_internal, _IO_link_in_internal)
19902         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19903         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19904         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19905         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19906         (_IO_do_write_internal, _IO_padn_internal)
19907         (_IO_getline_info_internal, _IO_getline_internal)
19908         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19909         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19910         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19911         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19912         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19913         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19914         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19915         with libc_hidden_ver, remove use of INTUSE.
19916         * libio/genops.c: Likewise.
19917         * libio/freopen.c: Likewise.
19918         * libio/freopen64.c: Likewise.
19919         * libio/iofclose.c: Likewise.
19920         * libio/iofdopen.c: Likewise.
19921         * libio/iofflush.c: Likewise.
19922         * libio/iofflush_u.c: Likewise.
19923         * libio/iofgets.c: Likewise.
19924         * libio/iofgets_u.c: Likewise.
19925         * libio/iofopen.c: Likewise.
19926         * libio/iofopncook.c: Likewise.
19927         * libio/iofread.c: Likewise.
19928         * libio/iofread_u.c: Likewise.
19929         * libio/ioftell.c: Likewise.
19930         * libio/iofwrite.c: Likewise.
19931         * libio/iogetline.c: Likewise.
19932         * libio/iogets.c: Likewise.
19933         * libio/iogetwline.c: Likewise.
19934         * libio/iopadn.c: Likewise.
19935         * libio/iopopen.c: Likewise.
19936         * libio/ioseekoff.c: Likewise.
19937         * libio/ioseekpos.c: Likewise.
19938         * libio/iosetbuffer.c: Likewise.
19939         * libio/iosetvbuf.c: Likewise.
19940         * libio/ioungetc.c: Likewise.
19941         * libio/ioungetwc.c: Likewise.
19942         * libio/iovdprintf.c: Likewise.
19943         * libio/iovsprintf.c: Likewise.
19944         * libio/iovsscanf.c: Likewise.
19945         * libio/memstream.c: Likewise.
19946         * libio/obprintf.c: Likewise.
19947         * libio/oldfileops.c: Likewise.
19948         * libio/oldiofclose.c: Likewise.
19949         * libio/oldiofdopen.c: Likewise.
19950         * libio/oldiofopen.c: Likewise.
19951         * libio/oldiopopen.c: Likewise.
19952         * libio/oldstdfiles.c: Likewise.
19953         * libio/putc.c: Likewise.
19954         * libio/setbuf.c: Likewise.
19955         * libio/setlinebuf.c: Likewise.
19956         * libio/stdfiles.c: Likewise.
19957         * libio/strops.c: Likewise.
19958         * libio/vasprintf.c: Likewise.
19959         * libio/vscanf.c: Likewise.
19960         * libio/vsnprintf.c: Likewise.
19961         * libio/vswprintf.c: Likewise.
19962         * libio/wfiledoalloc.c: Likewise.
19963         * libio/wfileops.c: Likewise.
19964         * libio/wgenops.c: Likewise.
19965         * libio/wmemstream.c: Likewise.
19966         * libio/wstrops.c: Likewise.
19967         * libio/__fpurge.c: Likewise.
19968         * libio/__fsetlocking.c: Likewise.
19969         * assert/assert.c: Likewise.
19970         * debug/fgets_chk.c: Likewise.
19971         * debug/fgets_u_chk.c: Likewise.
19972         * debug/fread_chk.c: Likewise.
19973         * debug/fread_u_chk.c: Likewise.
19974         * debug/gets_chk.c: Likewise.
19975         * debug/obprintf_chk.c: Likewise.
19976         * debug/vasprintf_chk.c: Likewise.
19977         * debug/vdprintf_chk.c: Likewise.
19978         * debug/vsnprintf_chk.c: Likewise.
19979         * debug/vsprintf_chk.c: Likewise.
19980         * malloc/mtrace.c: Likewise.
19981         * misc/error.c: Likewise.
19982         * misc/syslog.c: Likewise.
19983         * stdio-common/asprintf.c: Likewise.
19984         * stdio-common/fxprintf.c: Likewise.
19985         * stdio-common/getw.c: Likewise.
19986         * stdio-common/isoc99_fscanf.c: Likewise.
19987         * stdio-common/isoc99_scanf.c: Likewise.
19988         * stdio-common/isoc99_vfscanf.c: Likewise.
19989         * stdio-common/isoc99_vscanf.c: Likewise.
19990         * stdio-common/isoc99_vsscanf.c: Likewise.
19991         * stdio-common/printf-prs.c: Likewise.
19992         * stdio-common/printf_fp.c: Likewise.
19993         * stdio-common/printf_fphex.c: Likewise.
19994         * stdio-common/printf_size.c: Likewise.
19995         * stdio-common/putw.c: Likewise.
19996         * stdio-common/scanf.c: Likewise.
19997         * stdio-common/sprintf.c: Likewise.
19998         * stdio-common/tmpfile.c: Likewise.
19999         * stdio-common/vfprintf.c: Likewise.
20000         * stdio-common/vfscanf.c: Likewise.
20001         * stdlib/strfmon_l.c: Likewise.
20002         * sunrpc/openchild.c: Likewise.
20003         * sunrpc/xdr_stdio.c: Likewise.
20004         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20005         * sysdeps/mach/hurd/tmpfile.c: Likewise.
20007 2012-05-24  Roland McGrath  <roland@hack.frob.com>
20009         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20011         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20012         in the third column, to generate for the shared library an IFUNC
20013         that uses _dl_vdso_vsym.
20014         * Makerules (COMPILE.c, compile-stdin.c): New variables.
20015         * Makeconfig (object-suffixes-noshared): New variable.
20017         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20018         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20019         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20020         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20022         [BZ #14132]
20023         * include/sys/time.h (__gettimeofday): Remove macro.
20024         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20025         * time/gettimeofday.c (__gettimeofday): Remove #undef.
20026         Remove INTDEF.
20027         (__gettimeofday): Add libc_hidden_def.
20028         (gettimeofday): Add libc_hidden_weak.
20029         * sysdeps/mach/gettimeofday.c: Likewise.
20030         * sysdeps/posix/gettimeofday.c: Likewise.
20031         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20032         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20033         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20034         (__gettimeofday_internal): Remove strong_alias.
20035         (__gettimeofday): Add libc_hidden_def.
20036         (gettimeofday): Add libc_hidden_weak.
20037         * sysdeps/unix/syscalls.list (gettimeofday):
20038         Remove __gettimeofday_internal alias.
20040 2012-05-24  Daniel Jacobowitz  <drow@false.org>
20041             H.J. Lu  <hongjiu.lu@intel.com>
20043         [BZ #12495]
20044         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20045         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20046         (largebin_index_32_big): New.
20047         (largebin_index): Use it for 16-byte alignment.
20048         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20049         correction with front_misalign.
20051 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20055         Likewise.
20056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20057         Likewise.
20058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20059         Likewise.
20060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20061         Likewise.
20062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20063         Likewise.
20064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20065         Likewise.
20066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20067         Likewise.
20068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20069         Likewise.
20070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20071         Likewise.
20072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20073         Likewise.
20074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20075         Likewise.
20076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20077         Likewise.
20079         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20080         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20082 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20084         [BZ #10846]
20085         [BZ #14036]
20086         * math/libm-test.inc (exp_test): Add test from bug 14036.
20087         (pow_test): Add test from bug 10846.
20089         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20090         and other flags.
20091         (special_function): Do not include flags in test name.
20092         (parse_args): Likewise.
20093         * sysdeps/i386/fpu/libm-test-ulps: Update.
20094         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20095         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20096         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20099         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20100         exceptions.
20101         * math/libm-test.inc ("Philosophy"): Update comment about
20102         exception testing.
20103         (UNDERFLOW_EXCEPTION): New macro.
20104         (UNDERFLOW_EXCEPTION_OK): Likewise.
20105         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20106         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20107         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20108         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20109         (INVALID_EXCEPTION_OK): Update value.
20110         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20111         (OVERFLOW_EXCEPTION_OK): Likewise.
20112         (IGNORE_ZERO_INF_SIGN): Likewise.
20113         (test_exceptions): Handle underflow exceptions.
20114         (acos_test): Update for underflow exception expectations.
20115         (cexp_test): Likewise.
20116         (clog_test): Likewise.
20117         (clog10_test): Likewise.
20118         (csqrt_test): Likewise.
20119         (ctan_test): Likewise.
20120         (ctanh_test): Likewise.
20121         (exp_test): Likewise.
20122         (exp10_test): Likewise.
20123         (exp2_test): Likewise.
20124         (expm1_test): Likewise.
20125         (fma_test): Likewise.
20126         (j0_test): Likewise.
20127         (jn_test): Likewise.
20128         (nexttoward_test): Likewise.
20129         (pow_test): Likewise.
20130         (scalbn_test): Likewise.
20131         (scalbln_test): Likewise.
20132         (tan_test): Likewise.
20133         (y1_test): Likewise.
20134         * sysdeps/i386/fpu/libm-test-ulps: Update.
20135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20137 2012-05-23  David S. Miller  <davem@davemloft.net>
20139         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20140         (__libc_sigaction): Remove unused local variables.
20142 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20144         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20146 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20148         mktime: avoid signed integer overflow
20149         * time/mktime.c (__mktime_internal): Do not mishandle the case
20150         where diff == INT_MIN.
20152         mktime: simplify computation of average
20153         * time/mktime.c (ranged_convert): Use new time_t_avg function
20154         instead of rolling our own (probably-slower) code.
20156         mktime: do not assume signed right shift propagates sign bit
20157         * time/mktime.c (isdst_differ): New static function.
20158         (__mktime_internal): No need to normalize tm_isdst now.
20159         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20160         tm_isdst values.
20162         mktime: merge another wrapv change from gnulib
20163         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20164         from some compilers.
20166         mktime: remove incorrect attempt at unusual arithmetics
20167         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20168         The code didn't really work on such machines anyway.
20169         (TYPE_MINIMUM): Assume two's complement.
20170         (twos_complement_arithmetic): Verify that long_int and time_t
20171         are two's complement (or unsigned, in the latter case).
20173         mktime: check signed shifts on long_int and time_t, too
20174         * time/mktime.c (SHR): Check that shifts work as desired
20175         on the types long_int and time_t too, as SHR is used on
20176         such types.
20178         mktime: do not assume 'long' is wide enough
20179         * time/mktime.c (verify): Move decl up.
20180         (long_int): New type.
20181         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20182         to remove assumption in the code that 'long' is wide enough to
20183         store year values.  This assumption is not true on x32 and on
20184         some non-glibc platforms.
20186         mktime: merge wrapv change from gnulib
20187         * time/mktime.c (WRAPV): New macro.
20188         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20189         (guess_time_tm, __mktime_internal): Do not assume that signed
20190         integer overflow wraps around; modern compilers generate code
20191         where this assumption is no longer valid.
20193 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20195         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20196         Replace "jmp L(pseudo_end)" with "ret".
20197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20198         Likewise.
20200 2012-05-23  Andreas Jaeger  <aj@suse.de>
20202         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20203         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20205 2012-05-23  Andreas Jaeger  <aj@suse.de>
20206             Maximilian Attems  <max@stro.at>
20208         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20209         New macros.
20211 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20213         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20214         code so that pseudo_end is just ret and the stack pointer is
20215         correct also for static library in error case.
20217 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20219         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20220         move to syscalls.list.
20221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20226         * manual/install.texi (Running make install): Do not mention Linux
20227         kernel version for which pt_chown is not needed.
20228         (Linux): Do not mention problems with nscd with 2.0 kernels.
20229         * INSTALL: Regenerated.
20231 2012-05-23  Andreas Jaeger  <aj@suse.de>
20233         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20234         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20235         macro.
20236         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20237         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20238         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20239         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20240         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20241         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20242         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20243         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20244         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20245         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20246         * sysdeps/unix/sysv/linux/bits/in.h
20247         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20249 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20251         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20252         (PREPARE_VERSION): Just use assert instead, it will be elided
20253         under [NDEBUG] anyway.
20255 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20257         * sysdeps/unix/sysv/linux/Makefile: Include
20258         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20259         (sysdep_routines): Remove sysctl.
20260         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20261         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20262         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20263         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20264         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20266 2012-05-22  Andreas Jaeger  <aj@suse.de>
20268         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20269         that pseudo_end is just ret and the stack pointer is correct also
20270         for static library in error case.
20272 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20274         [BZ #14122]
20275         * nss/nsswitch.c (defconfig_entries): New variable.
20276         (__nss_database_lookup): Don't leak defconfig entries.
20277         (nss_parse_service_list): Don't leak on error paths.
20278         (free_database_entries): New function.
20279         (free_defconfig): New function.
20280         (free_mem): Move common code to free_database_entries.
20282 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20284         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20285         Add arch_prctl.
20286         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20288         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20289         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20290         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20291         New macro.
20292         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20293         (INTERNAL_SYSCALL_TYPES): Likewise.
20294         (LOAD_ARGS_TYPES_[1-6]): Likewise.
20295         (LOAD_REGS_TYPES_[1-6]): Likewise.
20296         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20297         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20299 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20301         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20302         copysignl for GLIBC_2_0.
20303         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20304         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20305         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20306         logbl for GLIBC_2_0.
20307         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20308         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20310 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20312         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20313         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20315         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20316         Use "neg %eax".
20318         * time/mktime.c: Update copyright years.
20320 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20322         mktime: merge comment-quoting-style change from gnulib
20323         * time/mktime.c: Quote 'like this' in comments.
20324         The GNU coding standards suggest that we no longer quote `like this',
20325         as "`" and "'" are typically rendered asymmetrically nowadays.
20326         The typical gnulib style is to quote 'like this' when quoting
20327         code, and "like this" when quoting English.
20329         * time/mktime.c (compile-command): Add "-I.".
20331         mktime: merge mktime-internal.h change from gnulib
20332         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20334         mktime: merge time_r change from gnulib
20335         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20337         mktime: merge DEBUG change from gnulib
20338         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20339         case system <time.h> has a #define.
20341         mktime: merge <sys/types.h> change from gnulib
20342         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20343         since <time.t> is now guaranteed to define time_t.
20345         mktime: merge HAVE_CONFIG_H change from gnulib
20346         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20348 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20350         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20351         Use "neg %eax".
20353         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20354         __rlim_t cast.
20355         (struct rusage): Use anonymous union to pad each field to
20356         __syscall_slong_t.
20358 2012-05-21  David S. Miller  <davem@davemloft.net>
20360         * Makefules (o-iterator): Remove .s cases.
20361         (compile-command.s): Delete.
20362         (COMPILE.s): Delete.
20363         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20365 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20367         * configure.in (libc_cv_predef_stack_protector): Only consider
20368         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20369         * configure: Regenerated.
20371 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20374         New macro.  Use R*LP on int and pointer.
20375         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20376         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20377         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20378         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20380         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20381         [__WORDSIZE_TIME64_COMPAT32] instead of
20382         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20383         (struct utmp): Likewise.
20384         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20385         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20386         Renamed to ...
20387         (__WORDSIZE_TIME64_COMPAT32): This.
20388         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20389         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20390         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20391         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20392         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20393         (__WORDSIZE_TIME64_COMPAT32): New macro.
20395 2012-05-21  Andreas Jaeger  <aj@suse.de>
20397         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20398         only if [SHARED]. Add prototype for __wcschr_ia32.
20400 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20402         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20403         of %rbp unmolested in the jmp_buf while mangling the low bits.
20404         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20405         unmolested high bits of %rbp while demangling the low bits.
20406         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20408 2012-05-21  Andreas Jaeger  <aj@suse.de>
20410         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20411         * sunrpc/svc_simple.c: Use it for registerrpc.
20412         * sunrpc/xcrypt.c: Use it for passwd2des.
20414         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20416 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20418         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20419         Don't define if [__SYSCALL_WORDSIZE != 32].
20420         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20421         New macro.
20423 2012-05-21  Bruno Haible  <bruno@clisp.org>
20424             Andreas Jaeger  <aj@suse.de>
20426         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20427         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20428         inptr and inend for must_buffer_ch.
20429         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20430         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20431         * stdio-common/Makefile (tests): Remove bug15.
20432         (bug15-ENV): Remove macro.
20433         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20434         anymore.
20436 2012-05-19  Andreas Jaeger  <aj@suse.de>
20437             Roland McGrath  <roland@hack.frob.com>
20439         * manual/contrib.texi: Completely rewritten. It contains now an
20440         alphabetical list of contributors and their contributions.
20442 2012-05-21  Richard Henderson  <rth@twiddle.net>
20444         * misc/getauxval.c (__getauxval): Use unsigned long int.
20445         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20446         (getauxval): Use unsigned long int.
20448 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20450         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20452 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20454         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20455         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20456         __alignof__ (long double).
20458 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20462 2012-05-20  Richard Henderson  <rth@twiddle.net>
20464         * misc/getauxval.c: New file.
20465         * misc/sys/auxv.h: New file.
20466         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20467         (routines): Add getauxval.
20468         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20469         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20470         * elf/dl-sysdep.c (_dl_auxv): Remove.
20471         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20472         * elf/dl-support.c (_dl_auxv): New variable.
20473         (_dl_aux_init): Initialize it.
20474         * manual/startup.texi (Auxiliary Vector): New node.
20475         * sysdeps/generic/bits/hwcap.h: New file.
20476         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20477         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20478         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20479         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20480         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20481         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20483         Update.
20484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20487         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20493 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20497 2012-05-19  David S. Miller  <davem@davemloft.net>
20499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20501 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20503         [BZ #14123]
20504         * math/s_ccosh.c: Include <float.h>
20505         (__ccosh): Avoid internal overflow calculating sinh and cosh
20506         values before multiplying by sin and cos values.
20507         * math/s_ccoshf.c: Likewise.
20508         * math/s_ccoshl.c: Likewise.
20509         * math/s_csin.c: Likewise.
20510         * math/s_csinf.c: Likewise.
20511         * math/s_csinl.c: Likewise.
20512         * math/s_csinh.c: Likewise.
20513         * math/s_csinhf.c: Likewise.
20514         * math/s_csinhl.c: Likewise.
20515         * math/libm-test.inc (ccos_test): Add more tests.
20516         (ccosh_test): Likewise.
20517         (csin_test): Likewise.
20518         (csinh_test): Likewise.
20519         * sysdeps/i386/fpu/libm-test-ulps: Update.
20520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20522 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20524         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20525         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20527         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20529 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20531         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20532         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20533         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20534         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20535         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20536         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20537         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20538         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20539         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20540         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20541         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20542         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20543         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20544         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20545         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20546         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20547         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20548         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20549         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20550         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20551         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20552         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20553         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20554         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20555         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20556         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20557         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20558         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20559         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20560         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20561         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20563 2012-05-18  Andreas Jaeger  <aj@suse.de>
20565         * csu/.gitignore: Delete.
20567 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20569         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20570         (timex): Use __syscall_slong_t.
20572 2012-05-18  Andreas Jaeger  <aj@suse.de>
20573             Carlos O'Donell  <carlos_odonell@mentor.com>
20575         * manual/install.texi (Configuring and compiling): Update
20576         description about files modified in the source directory.
20577         * INSTALL: Regenerated.
20579 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20581         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20582         value.  Use "or" to set return value to -1.
20583         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20584         negate return value.
20586 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20588         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20589         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20590         failure if the compiler has Graphite support disabled.
20591         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20592         Likewise.
20593         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20594         CFLAGS-memmove.c): Likewise.
20595         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20596         Likewise.
20598 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20600         * sysdeps/x86_64/x32/_itoa.h: New file.
20602         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20603         getdents system call only if kernel and user dirents have the
20604         same d_ino and d_off.
20606         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20607         LLONG_MAX != LONG_MAX.
20608         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20609         (_fitoa_word): Likewise.
20611         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20612         years.
20613         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20614         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20615         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20617         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20618         include <bits/wordsize.h>.  Check __x86_64__ instead of
20619         __WORDSIZE.
20620         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20621         if __x86_64__ is defined.  Use anonymous union on fpstate.
20623         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20624         anonymous union.
20626 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20628         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20629         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20630         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20631         Refer to _rtld_local_ro instead of _rtld_global_ro.
20632         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20633         Likewise.
20634         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20635         Likewise.
20636         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20637         Likewise.
20638         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20639         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20640         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20642         * sysdeps/powerpc/powerpc32/dl-machine.c
20643         (__elf_machine_runtime_setup) [PROF]: Don't reference
20644         _dl_prof_resolve.
20646 2012-05-18  Andreas Jaeger  <aj@suse.de>
20648         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20649         function only available for GCCs before 3.4 since GCC 3.4
20650         introduced a builtin.
20651         (lrint): Likewise.
20652         (llrintf): Likewise.
20653         (llrint): Likewise.
20654         (fmaxf): Likewise.
20655         (fmax): Likewise.
20656         (fminf): Likewise.
20657         (fmin): Likewise.
20658         (rint): Likewise.
20659         (rintf): Likewise.
20660         (nearbyint): Likewise.
20661         (nearbyintf): Likewise.
20662         (ceil): Likewise.
20663         (ceilf): Likewise.
20664         (floor): Likewise.
20665         (floorf): Likewise.
20667 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20669         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20670         on both fields and cast pointer to __syscall_ulong_t.
20672         * bits/types.h (__fsword_t): New type.
20673         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20674         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20675         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20676         (__FSWORD_T_TYPE): Likewise.
20677         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20678         (__FSWORD_T_TYPE): Likewise.
20679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20680         (__FSWORD_T_TYPE): Likewise.
20681         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20682         (__FSWORD_T_TYPE): Likewise.
20683         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20684         __SWORD_TYPE with __fsword_t.
20685         (statfs64): Likewise.
20687 2012-05-17  David S. Miller  <davem@davemloft.net>
20689         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20691 2012-05-17  Andreas Jaeger  <aj@suse.de>
20693         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20694         warning.
20696 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20698         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20700 2012-05-17  Andreas Jaeger  <aj@suse.de>
20702         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20703         when it is used.
20705 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20707         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20709 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20711         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20712         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20714 2012-05-17  Andreas Jaeger  <aj@suse.de>
20715             Carlos O'Donell  <carlos_odonell@mentor.com>
20717         [BZ #14059]
20718         * sysdeps/x86_64/multiarch/init-arch.h
20719         (bit_YMM_Usable): Rename to...
20720         (bit_AVX_Usable): ... this.
20721         (bit_FMA4_Usable): New macro.
20722         (bit_XMM_state): New macro.
20723         (bit_YMM_state): New macro.
20724         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20725         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20726         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20727         (CPUID_OSXSAVE): New macro.
20728         (CPUID_AVX): New macro.
20729         (CPUID_FMA4): New macro.
20730         (index_YMM_Usable): Rename to...
20731         (index_AVX_Usable): ... this.
20732         (HAS_AVX): Use HAS_ARCH_FEATURE.
20733         (HAS_FMA4): Likewise.
20734         (HAS_YMM_USABLE): Remove.
20735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20736         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20737         are present.
20738         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20739         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20740         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20741         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20742         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20744 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20746         * math/libm-test.c: Support platforms without multiple rounding modes.
20747         * math/bug-nextafter.c: Support platforms without FP exceptions.
20748         * math/bug-nexttoward.c: Likewise.
20749         * math/test-fenv.c: Likewise.
20750         * math/test-misc.c: Likewise.
20751         * stdlib/bug-getcontext.c: Likewise.
20753 2012-05-17  Andreas Jaeger  <aj@suse.de>
20755         * manual/examples/search.c (critter_cmp): Change signature to
20756         avoid warnings.
20757         * manual/string.texi (Collation Functions): Likewise.
20759 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20761         * bits/types.h: Fold copyright years.
20762         * bits/typesizes.h: Likewise.
20763         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20764         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20765         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20767         * time/time.h: Likewise.
20769 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20771         [BZ #208]
20772         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20773         in instead of returning them.  Return void.
20774         (__libc_mallinfo): Accumulate over all arenas.
20775         (__malloc_stats): Adjust for change in int_mallinfo interface.
20777 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20779         [BZ #10375]
20780         * configure.in (NM): Add AC_CHECK_TOOL for it.
20781         (libc_extra_cflags): New substituted variable.
20782         Check for -fstack-protector being used implicitly.
20783         * configure: Regenerated.
20784         * config.make.in (config-extra-cflags): New variable,
20785         gets @libc_extra_cflags@.
20786         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20788         [BZ #10375]
20789         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20790         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20791         * configure: Regenerated.
20792         * config.make.in (CPPUNDEFS): New substituted variable.
20793         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20794         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20795         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20797 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20799         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20800         (mq_attr): Use __syscall_slong_t.
20802 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20804         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20805         Check __x86_64__ instead of __WORDSIZE.
20806         (_STAT_VER_LINUX): Likewise.
20807         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20808         __syscall_ulong_t and __syscall_slong_t.
20809         (stat64): Likewise.
20811 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20813         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20815 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20817         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20819 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20821         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20822         __syscall_ulong_t.
20824         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20825         include <bits/wordsize.h>.  Check __x86_64__ instead of
20826         __WORDSIZE.
20827         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20828         defined.
20829         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20831         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20832         include <bits/wordsize.h>.  Check __x86_64__ instead of
20833         __WORDSIZE.
20834         (user_regs_struct): Use "__extension__ unsigned long long"
20835         instead of "unsigned long" if __x86_64__ is defined.
20836         (user): Likewise.  Pad after pointer field if __ILP32__ is
20837         defined.
20839 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20841         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20842         versions 5 to 9.
20843         * configure: Regenerated.
20844         * manual/install.texi (texinfo): Increase version requirement to
20845         4.5 or later.
20846         * INSTALL: Regenerated.
20848         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20850 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20852         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20854         * sysdeps/x86_64/x32/ffs.c: New file.
20856         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20857         __syscall_ulong_t.
20858         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20859         defined.  Use __syscall_ulong_t.
20860         (shminfo): Use __syscall_ulong_t.
20861         (shm_info): Likewise.
20863         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20864         __syscall_ulong_t.
20866         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20867         <bits/wordsize.h>.
20868         (msgqnum_t): Use __syscall_ulong_t.
20869         (msglen_t): Likewise.
20870         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20871         __syscall_ulong_t.
20873         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20874         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20876         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20878         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20879         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20881         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20882         __syscall_slong_t.
20884         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20885         include <bits/wordsize.h>.  Check __x86_64__ instead of
20886         __WORDSIZE.
20888         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20889         "unsigned long long int" if __x86_64__ is defined.
20890         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20892         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20893         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20894         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20896         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20897         <stdint.h>.
20898         (GET_PC): Cast to uintptr_t first.
20899         (GET_FRAME): Likewise.
20900         (GET_STACK): Likewise.
20902         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20903         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20904         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20905         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20906         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20907         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20908         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20909         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20910         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20911         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20912         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20913         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20914         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20915         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20916         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20917         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20918         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20919         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20920         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20921         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20922         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20923         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20924         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20925         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20926         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20927         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20928         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20929         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20930         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20932 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20934         * Makerules (+depfiles): Also collect depfiles from .oS in
20935         $(extra-objs).
20936         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20937         .oS, $(libnldbl-routines)).
20939         * Makerules (native-compile-mkdep-flags): Define.
20940         * sunrpc/Makefile (extra-objs): Add $(addprefix
20941         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20942         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20943         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20944         calling $(make-target-directory).
20946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20948         * bits/types.h (__snseconds_t): Removed.
20949         * time/time.h (struct timespec): Replace __snseconds_t with
20950         __syscall_slong_t.
20951         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20952         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20953         Likewise.
20954         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20955         (__SNSECONDS_T_TYPE): Likewise.
20956         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20957         (__SNSECONDS_T_TYPE): Likewise.
20958         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20959         (__SNSECONDS_T_TYPE): Likewise.
20961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20963         * sysdeps/mach/hurd/bits/typesizes.h
20964         (__SYSCALL_SLONG_TYPE): New macro.
20965         (__SYSCALL_ULONG_TYPE): Likewise.
20967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20969         * bits/types.h (__syscall_slong_t): New type.
20970         (__syscall_ulong_t): Likewise.
20972         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20973         (__SYSCALL_ULONG_TYPE): Likewise.
20974         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20975         (__SYSCALL_SLONG_TYPE): Likewise.
20976         (__SYSCALL_ULONG_TYPE): Likewise.
20977         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20978         (__SYSCALL_SLONG_TYPE): Likewise.
20979         (__SYSCALL_ULONG_TYPE): Likewise.
20980         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20981         (__SYSCALL_SLONG_TYPE): Likewise.
20982         (__SYSCALL_ULONG_TYPE): Likewise.
20984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20986         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20987         Add sigaltstack-offsets.sym.
20988         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20989         <sigaltstack-offsets.h>.
20990         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20991         longjmp_msg pointer.
20992         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20993         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20994         signal stack.
20995         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20997 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20999         * elf/stackguard-macros.h: Remove file.
21000         * sysdeps/generic/stackguard-macros.h: New file.
21001         * sysdeps/i386/stackguard-macros.h: Likewise.
21002         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21003         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21004         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21005         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21006         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21007         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21008         * sysdeps/x86_64/stackguard-macros.h: Likewise.
21009         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21010         <elf/stackguard-macros.h>.
21012         [BZ #14109]
21013         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21014         __aligned__ in attribute.
21015         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21016         (gregset_t): Likewise.
21018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21020         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21021         * sysdeps/x86_64/64/Implies-after: Here.  New file.
21022         * sysdeps/x86_64/x32/Implies-after: New file.
21024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21026         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21027         and access return value for _dl_profile_fixup.  Use R10_LP to
21028         load frame size.
21030 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21032         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21036         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21037         * sysdeps/x86_64/x32/sysdep.h: New file.
21039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21041         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21042         * sysdeps/x86_64/setjmp.S: Likewise.
21044 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21046         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21047         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21048         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21049         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21050         remove unused global constant.
21052 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21054         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21055         include of <not-cancel.h>.
21057 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21059         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21061 2012-05-15  Jeff Law  <law@redhat.com>
21062             Andreas Jaeger  <aj@suse.de>
21064         [BZ #13594]
21065         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21066         out from...
21067         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21068         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21069         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21070         code changing __hst_map_handle.map.
21072 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21074         * configure.in (sysnames): Look for Implies-before and Implies-after
21075         files.
21076         * configure: Regenerated.
21078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21080         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21081         8-byte data alignment with LP_SIZE alignment.
21083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21085         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21086         into R10_LP.
21088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21090         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21094         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21095         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21096         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21097         Likewise.
21098         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21102         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21103         (stackinfo_sub_sp): Likewise.
21105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21107         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21108         RAX_LP.
21110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21112         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21113         into R*_LP.
21115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21117         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21118         sizes into R*_LP.
21120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21122         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21126         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21127         into R11_LP and load __x86_64_shared_cache_size_half into
21128         R8_LP.
21130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21132         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21133         R8_LP.
21135 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21137         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21138         logb for POWER7.
21139         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21140         logbf for POWER7.
21141         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21142         logbl for POWER7.
21143         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21144         powerpc32/power7/fpu/s_logb.c via #include.
21145         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21146         powerpc32/power7/fpu/s_logbf.c via #include.
21147         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21148         powerpc32/power7/fpu/s_logbl.c via #include.
21150 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21152         * README.libm: Remove file.
21154 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21156         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21157         count for x32.  Use R*_LP and omit operand-size suffix.
21159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21161         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21162         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21163         * sysdeps/x86_64/x32/shlib-versions: New file.
21165 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21167         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21168         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21169         Use _dl_fatal_printf instead.
21171 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21173         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21174         set if not set by the user.  Do not allow for being unset.
21175         * sysdeps/unix/sysv/linux/configure: Regenerated.
21177 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21179         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21180         the `q' suffix from lea and replace .quad with ASM_ADDR.
21182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21184         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21185         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21186         instead of $17.
21187         (PTR_DEMANGLE): Likewise.
21189 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21191         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21192         (LP_OP): Likewise.
21193         (ASM_ADDR): Likewise.
21194         (RAX_LP): Likewise.
21195         (RBP_LP): Likewise.
21196         (RBX_LP): Likewise.
21197         (RCX_LP): Likewise.
21198         (RDI_LP): Likewise.
21199         (RSI_LP): Likewise.
21200         (RSP_LP): Likewise.
21201         (R8_LP): Likewise.
21202         (R9_LP): Likewise.
21203         (R10_LP): Likewise.
21204         (R10_LP): Likewise.
21205         (R11_LP): Likewise.
21206         (R12_LP): Likewise.
21207         (R13_LP): Likewise.
21208         (R14_LP): Likewise.
21209         (R15_LP): Likewise.
21211 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21213         * sysdeps/x86_64/x32/dl-machine.h: New file.
21215 2012-05-14  Andreas Jaeger  <aj@suse.de>
21217         * manual/Makefile (subdir): Remove export of subdir.
21218         (all): Remove target.
21219         (.PHONY): Remove all from list.
21220         (mkinstalldirs): Remove.
21221         (.PHONY): Remove installdirs from list.
21222         ($(inst_infodir)/libc.info): Use make-target-directory.
21223         (installdirs): Remove.
21224         (subdir_%): Remove.
21225         (glibc-targets): Remove.
21226         (lib): Remove.
21227         (stubs): Remove.
21228         ($(objpfx)stubs ../po/manual.pot): Remove.
21229         ($(objpfx)stamp%): Remove.
21230         (make-target-directory): Remove.
21231         (subdir_install): Remove.
21232         (routines): Remove.
21233         (aux): Remove.
21234         (sources): Remove.
21235         (objects): Remove.
21236         (headers): Remove.
21238         [BZ #13750]
21239         * manual/.gitignore: Remove, it's not needed anymore.
21240         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21241         all files in it.
21242         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21243         directory.
21244         (texis): Renamed to $(objpfx)texis.
21245         (texis-path): New, contains path to generated files.
21246         (chapters.%): Use texis-path for complete path, add extra argument
21247         libc-texinfo.sh.
21248         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21249         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21250         (summary,texi, stamp-summary): Use complete path of
21251         files. Generate files in build dir.
21252         (dir-add.texi): Build in build dir.
21253         (libm-err.texi,stamp-libm-err): Likewise.
21254         (version.texi, stamp-version): Likewise.
21255         (.%c.texi): Likewise.
21256         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21257         (mostlyclean): Remove target.
21258         (realclean): Remove target.
21259         (generated): Add new variable with contents from mostlyclean and
21260         realclean, remove entries duplicated in common-mostlyclean, add
21261         stamp-libm-err and stamp-version.
21262         (generated-dirs): Add libc directory.
21263         ($(inst_infodir)/libc.info): Install files from build dir.
21265         * manual/install.texi (Configuring and compiling): Adjust since
21266         the info files are not part of the tar ball anymore.
21268 2012-05-14  Andreas Jaeger  <aj@suse.de>
21270         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21271         variable.
21273 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21275         [BZ #13717]
21276         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21277         to 2.2.0 where earlier.
21278         * sysdeps/unix/sysv/linux/configure: Regenerated.
21279         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21280         Remove conditional code.
21281         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21282         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21283         Remove conditional code.
21284         [!__NR_lchown]: Likewise.
21285         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21286         [__NR_lchown]: Likewise.
21287         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21288         comment referencing __ASSUME_LCHOWN_SYSCALL.
21289         * sysdeps/unix/sysv/linux/i386/sigaction.c
21290         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21291         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21292         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21293         Remove conditional code.
21294         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21295         (__protocol_available): Remove #if 0 code.
21296         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21297         conditional code.
21298         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21299         * sysdeps/unix/sysv/linux/kernel-features.h
21300         (__ASSUME_GETCWD_SYSCALL): Don't define.
21301         (__ASSUME_REALTIME_SIGNALS): Likewise.
21302         (__ASSUME_PREAD_SYSCALL): Likewise.
21303         (__ASSUME_PWRITE_SYSCALL): Likewise.
21304         (__ASSUME_POLL_SYSCALL): Likewise.
21305         (__ASSUME_LCHOWN_SYSCALL): Likewise.
21306         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21307         non-SPARC.
21308         (__ASSUME_SIOCGIFNAME): Don't define.
21309         (__ASSUME_MSG_NOSIGNAL): Likewise.
21310         (__ASSUME_SENDFILE): Define unconditionally.
21311         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21312         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21313         conditional code.
21314         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21315         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21316         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21317         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21318         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21319         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21320         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21322         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21323         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21325         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21326         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21328         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21329         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21331         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21332         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21334         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21335         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21337         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21338         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21340         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21341         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21343         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21344         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21345         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21346         Remove conditional code.
21347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21348         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21349         Remove conditional code.
21350         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21351         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21352         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21353         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21354         Remove conditional code.
21355         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21356         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21357         Remove conditional code.
21358         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21359         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21360         Remove conditional code.
21361         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21362         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21363         Remove conditional code.
21364         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21365         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21366         Remove conditional code.
21367         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21368         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21369         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21370         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21371         * sysdeps/unix/sysv/linux/sigaction.c
21372         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21373         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21374         * sysdeps/unix/sysv/linux/sigpending.c
21375         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21376         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21377         * sysdeps/unix/sysv/linux/sigprocmask.c
21378         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21379         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21380         * sysdeps/unix/sysv/linux/sigsuspend.c
21381         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21382         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21383         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21384         (__libc_missing_rt_sigs): Remove.
21385         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21386         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21387         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21388         Remove conditional code.
21389         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21390         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21391         return 1.
21392         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21393         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21394         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21395         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21397 2012-05-14  Andreas Jaeger  <aj@suse.de>
21399         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21400         it's not used in glibc.
21401         (__coshm1): Likewise.
21402         (__acosh1p): Likewise.
21403         (__sgn): Likewise.
21405         * manual/string.texi (Copying and Concatenation): Add missing
21406         variable in concat example.
21407         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21409 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21411         [BZ #14103]
21412         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21413         __builtin_clzl with __builtin_clzll.
21415 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21417         [BZ #14104]
21418         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21419         libc_freeres_ptr.
21421 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21423         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21424         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21425         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21426         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21428 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21430         * NEWS: Update ia64 info.
21432 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21434         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21435         used as bcopy.
21437 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21439         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21440         * sysdeps/unix/syscalls.list (dup3): Likewise.
21441         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21442         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21444 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21446         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21447         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21449 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21451         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21452         thread pointer.
21453         (TLS_IE): Use mov/add instead of movq/addq to load thread
21454         pointer.
21455         (TLS_GD_PREFIX): New.
21456         (TLS_GD): Use it.
21458 2012-05-11  David S. Miller  <davem@davemloft.net>
21460         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21461         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21462         (_FPU_SETCW): Likewise.
21464 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21466         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21467         is 32-byte aligned.
21469 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21471         [BZ #11837]
21472         * iconvdata/gb18030.c: Update tables.
21473         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21474         characters specially.
21475         (BODY for TO_LOOP): Add encoding of missing ranges.
21477 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21479         [BZ #13673]
21480         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21481         * sysdeps/mach/hurd/dup3.c: Likewise.
21482         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21483         * sysdeps/powerpc/memmove.c:: Likewise.
21485 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21487         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21488         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21490 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21492         * elf/elf.h (R_X86_64_RELATIVE64): New.
21493         (R_X86_64_NUM): Updated.
21494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21495         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21496         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21497         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21498         tst-quad1pie tst-quad2pie
21499         (modules-names): Add tst-quadmod1 tst-quadmod2.
21500         ($(objpfx)tst-quad1): New dependency.
21501         ($(objpfx)tst-quad2): Likewise.
21502         ($(objpfx)tst-quad1pie): Likewise.
21503         ($(objpfx)tst-quad2pie): Likewise.
21504         * sysdeps/x86_64/tst-quad1.c: New file.
21505         * sysdeps/x86_64/tst-quad1pie.c: New file.
21506         * sysdeps/x86_64/tst-quad2.c: Likewise.
21507         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21508         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21509         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21510         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21511         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21515         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21516         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21517         * streams/stropts.h (t_scalar_t): Define type.
21519         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21520         (_PATH_PRESERVE): Set to "/var/lib".
21521         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21523         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21524         instead of int.
21526         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21527         if __dir_mkfile succeeded.
21529         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21530         checking for _hurd_dtablesize.  Unlock it right after having
21531         finished _hurd_dtable allocation.
21533 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21535         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21536         * sysdeps/mach/hurd/configure: Regenerated.
21537         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21538         special-casing to...
21539         * sysdeps/gnu/configure.in: ... this new file.
21540         * sysdeps/unix/sysv/linux/configure: Regenerated.
21541         * sysdeps/gnu/configure: New generated file.
21543         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21544         for Linux: use nsec instead of usec, as well as:
21545         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21546         members of type struct timespec.
21547         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21548         New macros.
21549         (struct stat64): Likewise.
21550         (_STATBUF_ST_NSEC): New macro.
21551         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21553         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21554         __strtoul_internal rather than strtoul.
21556 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21558         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21559         and reject them.
21561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21563         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21564         which preserves existing values.
21565         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21567 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21569         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21570         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21571         greater than FD_SETSIZE.
21573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21575         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21576         allocated, call __vm_protect to finish enabling the existing space, and
21577         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21578         allocate the remainder.
21580 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21582         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21583         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21587         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21588         sysdeps/mach/hurd/readlink.c.
21590         * posix/tst-sysconf.c (posix_options): Only use
21591         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21592         _POSIX_SYNCHRONIZED_IO when they are defined
21593         * sysdeps/mach/hurd/bits/posix_opt.h:
21594         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21595         (_XOPEN_REALTIME): Undefine macro.
21596         (_XOPEN_REALTIME_THREADS): Undefine macro.
21597         (_XOPEN_SHM): Undefine macro.
21598         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21599         macro to -1.
21600         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21601         macro to -1.
21602         (_POSIX_ASYNC_IO): Undefine macro.
21603         (_POSIX_PRIORITIZED_IO): Undefine macro.
21604         (_POSIX_SPIN_LOCKS): Define macro to -1.
21606         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21607         SA_NODEFER, SA_RESETHAND.
21608         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21609         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21610         F_DUPFD_CLOEXEC.
21612 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21614         * elf/Makefile (pldd-modules): Define unconditionally.
21616 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21618         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21622         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21623         Return ENOENT when name is empty.
21624         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21628         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21630         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21632 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21634         Fix mlock in all cases except non-readable pages.
21635         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21636         instead of VM_PROT_ALL as parameter to __vm_wire function.
21638         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21639         (__mkdir): When path is `/', just fail with EEXIST.
21640         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21642 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21644         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21645         <sys/uio.h> (for writev).
21646         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21647         and <sys/param.h> (for MIN).
21649 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21651         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21652         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21653         if interrupted.
21655 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21657         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21658         Depend on against $(link-rpcuserlibs).
21660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21662         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21663         (__libc_stack_end): Do not use attribute_relro.
21664         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21665         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21666         to libthread-provided value.
21667         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21668         attribute_relro.
21670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21672         [BZ #3748]
21673         * bits/libc-lock.h (__libc_once_get): New macro.
21674         * sysdeps/mach/bits/libc-lock.h: Likewise.
21675         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21676         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21677         instead of using implementation details.
21679         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21680         * libio/freopen.c: Likewise.
21681         * libio/freopen64.c: Likewise.
21682         * misc/syslog.c: Likewise.
21683         * nscd/connections.c: Likewise.
21684         * nscd/netgroupcache.c: Likewise.
21685         * sysdeps/posix/getcwd.c: Likewise.
21687 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21689         * math/w_ilogbf.c: Add #include <limits.h>.
21691 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21693         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21694         path instead of returning without unlocking.
21696         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21697         immediate-write ioctls.
21698         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21700 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21702         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21703         __builtin_frame_address instead of making assumptions about the
21704         location of the return address relative to DATA.  Force early load of
21705         the return address.
21706         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21707         __builtin_frame_address.
21709         dup3 for GNU Hurd.
21710         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21711         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21712         implement dup3 and do some further code clean-ups.
21713         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21714         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21716 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21718         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21720         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21721         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21722         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21723         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21724         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21725         d->port.lock.
21727         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21728         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21729         when handler == SIG_ERR, not when handler != SIG_ERR.
21731 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21733         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21734         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21735         definitions.
21737         accept4 for GNU Hurd.
21738         * include/sys/socket.h (__libc_accept4): New prototype.
21739         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21740         to implement __libc_accept4.
21741         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21742         __libc_accept4.
21743         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21745         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21746         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21747         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21748         signal-defines.sym.
21750 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21752         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21754 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21756         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21757         assertion on O_CLOEXEC flag.
21758         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21759         * hurd/intern-fd.c: Likewise.
21760         * hurd/port2fd.c: Likewise.
21762 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21764         [BZ #3906]
21765         * bits/in.h (IPV6_PKTINFO): Define new macro.
21766         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21768 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21770         [BZ #13954]
21771         [BZ #13955]
21772         [BZ #13956]
21773         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21774         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21775         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21776         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21777         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21778         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21779         * math/libm-test.inc (logb_test) : Additional logb tests.
21781 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21782             Andreas Jaeger  <aj@suse.de>
21784         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21785         * configure: Regenerated.
21786         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21787         * config.make.in (link-obsolete-rpc): New substituted variable.
21788         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21789         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21790         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21791         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21792         so that libc.a contains the symbols.
21793         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21794         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21795         * sunrpc/auth_none.c: Likewise.
21796         * sunrpc/auth_unix.c: Likewise.
21797         * sunrpc/authdes_prot.c: Likewise.
21798         * sunrpc/authuxprot.c: Likewise.
21799         * sunrpc/clnt_gen.c: Likewise.
21800         * sunrpc/clnt_perr.c: Likewise.
21801         * sunrpc/clnt_raw.c: Likewise.
21802         * sunrpc/clnt_simp.c: Likewise.
21803         * sunrpc/clnt_tcp.c: Likewise.
21804         * sunrpc/clnt_udp.c: Likewise.
21805         * sunrpc/clnt_unix.c: Likewise.
21806         * sunrpc/des_crypt.c: Likewise.
21807         * sunrpc/des_soft.c: Likewise.
21808         * sunrpc/get_myaddr.c: Likewise.
21809         * sunrpc/key_call.c: Likewise.
21810         * sunrpc/key_prot.c: Likewise.
21811         * sunrpc/netname.c: Likewise.
21812         * sunrpc/pm_getmaps.c: Likewise.
21813         * sunrpc/pm_getport.c: Likewise.
21814         * sunrpc/pmap_clnt.c: Likewise.
21815         * sunrpc/pmap_prot.c: Likewise.
21816         * sunrpc/pmap_prot2.c: Likewise.
21817         * sunrpc/pmap_rmt.c: Likewise.
21818         * sunrpc/publickey.c: Likewise.
21819         * sunrpc/rpc_cmsg.c: Likewise.
21820         * sunrpc/rpc_common.c: Likewise.
21821         * sunrpc/rpc_dtable.c: Likewise.
21822         * sunrpc/rpc_prot.c: Likewise.
21823         * sunrpc/rpc_thread.c: Likewise.
21824         * sunrpc/rtime.c: Likewise.
21825         * sunrpc/svc.c: Likewise.
21826         * sunrpc/svc_auth.c: Likewise.
21827         * sunrpc/svc_raw.c: Likewise.
21828         * sunrpc/svc_run.c: Likewise.
21829         * sunrpc/svc_tcp.c: Likewise.
21830         * sunrpc/svc_udp.c: Likewise.
21831         * sunrpc/svc_unix.c: Likewise.
21832         * sunrpc/svcauth_des.c: Likewise.
21833         * sunrpc/xcrypt.c: Likewise.
21834         * sunrpc/xdr.c: Likewise.
21835         * sunrpc/xdr_array.c: Likewise.
21836         * sunrpc/xdr_float.c: Likewise.
21837         * sunrpc/xdr_intXX_t.c: Likewise.
21838         * sunrpc/xdr_mem.c: Likewise.
21839         * sunrpc/xdr_rec.c: Likewise.
21840         * sunrpc/xdr_ref.c: Likewise.
21841         * sunrpc/xdr_sizeof.c: Likewise.
21842         * sunrpc/xdr_stdio.c: Likewise.
21844 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21846         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21847         change.  Update copyright years.
21849 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21851         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21853 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21854             Joseph Myers  <joseph@codesourcery.com>
21855             Paul Pluzhnikov  <ppluzhnikov@google.com>
21857         [BZ #14012]
21858         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21859         requiring rpcgen.
21860         [cross-compiling] (extra-libs): Likewise.
21861         [cross-compiling] (extra-libs-others): Likewise.
21862         [cross-compiling] (librpcsvc-routines): Likewise.
21863         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21864         [cross-compiling] (omit-deps): Likewise.
21865         (sunrpc-CPPFLAGS): New variable.
21866         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21867         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21868         (cross-rpcgen-objs): New variable.
21869         (extra-objs): Append $(cross-rpcgen-objs).
21870         ($(cross-rpcgen-objs)): New rule.
21871         ($(objpfx)cross-rpcgen): Likewise.
21872         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21873         comment.
21874         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21875         ($(objpfx)x%.stmp): Likewise.
21876         * sunrpc/proto.h [IS_IN_build] (_): Define.
21877         [IS_IN_build] (_libc_intl_domainname): Likewise.
21879 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21881         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21882         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21883         and R_X86_64_TPOFF64.
21885 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21887         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21888         sysdeps/unix/sysv/syscalls.list.
21889         (stime): Likewise.
21890         (utime): Likewise.
21891         * sysdeps/unix/sysv/syscalls.list: Remove file.
21893 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21895         [BZ #3440]
21896         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21897         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21898         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21899         (__LC_IDENTIFICATION): Make these macros useful in #if
21900         expressions, as required by C99.
21902 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21904         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21905         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21906         after this.
21908 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21910         * stdlib/longlong.h: Updated from GCC.
21912 2012-05-09  Andreas Jaeger  <aj@suse.de>
21914         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21915         default is first entry.
21916         (run_mode): Set type.
21917         (main): Remove informal message about syslog.
21918         (options): Fix typo.
21920         [BZ #14053]
21921         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21922         to asm.
21923         (lrint): Likewise.
21924         (llrintf): Likewise.
21925         (llrint): Likewise.
21926         (rint): Likewise.
21927         (rintf): Likewise.
21928         (nearbyint): Likewise.
21929         (nearbyintf): Likewise.
21931 2012-05-09  Andreas Jaeger  <aj@suse.de>
21932             Pedro Alves  <palves@redhat.com>
21934         * nscd/nscd.c (run_mode): Use enum.
21935         (main): Cleanup coding style issue.
21937 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21938             Andreas Jaeger  <aj@suse.de>
21940         * nscd/nscd.c (go_background): Replaced with...
21941         (run_mode): ... this.
21942         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21943         (options): Add -F --foreground.
21944         (main): Implement it.
21945         (parse_opt): Parse it.
21947 2012-05-09  Andreas Jaeger  <aj@suse.de>
21949         [BZ #14083]
21950         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21951         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21952         -Wconversion warning.
21953         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21954         Likewise.
21956 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21958         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21959         == 0.
21960         (LC_ALL): Use macro-int-constant.
21961         (LC_COLLATE): Likewise.
21962         (LC_CTYPE): Likewise.
21963         (LC_MESSAGES): Likewise.
21964         (LC_MONETARY): Likewise.
21965         (LC_NUMERIC): Likewise.
21966         (LC_TIME): Likewise.
21967         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21968         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21969         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21970         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21971         Specify type.
21972         [C99-based standards] (float_t): Expect type.
21973         [C99-based standards] (double_t): Expect type.
21974         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21975         type.
21976         [C99-based standards] (HUGE_VALL): Likewise.
21977         [C99-based standards] (INFINITY): Likewise.
21978         [C99-based standards] (NAN): Likewise.
21979         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21980         [C99-based standards] (FP_NAN): Likewise.
21981         [C99-based standards] (FP_NORMAL): Likewise.
21982         [C99-based standards] (FP_SUBNORMAL): Likewise.
21983         [C99-based standards] (FP_ZERO): Likewise.
21984         [C99-based standards] (FP_FAST_FMA): Use
21985         optional-macro-int-constant.  Specify type.  Require == 1.
21986         [C99-based standards] (FP_FAST_FMAF): Likewise.
21987         [C99-based standards] (FP_FAST_FMAL): Likewise.
21988         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21989         [C99-based standards] (FP_ILOGBNAN): Likewise.
21990         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21991         Specify type.
21992         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21993         [C99-based standards] (math_errhandling): Specify type.
21994         [ISO99 || ISO11] (signgam): Do not allow.
21995         [non-C99-based standards] (copysignf): Do not allow.
21996         [non-C99-based standards] (exp2f): Likewise.
21997         [non-C99-based standards] (log2f): Likewise.
21998         [non-C99-based standards] (modff): Allow.
21999         [non-C99-based standards] (erff): Do not allow.
22000         [non-C99-based standards] (erfcf): Likewise.
22001         [non-C99-based standards] (gammaf): Likewise.
22002         [non-C99-based standards] (hypotf): Likewise.
22003         [non-C99-based standards] (j0f): Likewise.
22004         [non-C99-based standards] (j1f): Likewise.
22005         [non-C99-based standards] (jnf): Likewise.
22006         [non-C99-based standards] (lgammaf): Likewise.
22007         [non-C99-based standards] (tgammaf): Likewise.
22008         [non-C99-based standards] (y0f): Likewise.
22009         [non-C99-based standards] (y1f): Likewise.
22010         [non-C99-based standards] (ynf): Likewise.
22011         [non-C99-based standards] (isnanf): Likewise.
22012         [non-C99-based standards] (acoshf): Likewise.
22013         [non-C99-based standards] (asinhf): Likewise.
22014         [non-C99-based standards] (atanhf): Likewise.
22015         [non-C99-based standards] (cbrtf): Likewise.
22016         [non-C99-based standards] (expm1f): Likewise.
22017         [non-C99-based standards] (ilogbf): Likewise.
22018         [non-C99-based standards] (log1pf): Likewise.
22019         [non-C99-based standards] (logbf): Likewise.
22020         [non-C99-based standards] (nextafterf): Likewise.
22021         [non-C99-based standards] (remainderf): Likewise.
22022         [non-C99-based standards] (rintf): Likewise.
22023         [non-C99-based standards] (scalbf): Likewise.
22024         [non-C99-based standards] (copysignl): Likewise.
22025         [non-C99-based standards] (exp2l): Likewise.
22026         [non-C99-based standards] (log2l): Likewise.
22027         [non-C99-based standards] (modfl): Allow.
22028         [non-C99-based standards] (erfl): Do not allow.
22029         [non-C99-based standards] (erfcl): Likewise.
22030         [non-C99-based standards] (gammal): Likewise.
22031         [non-C99-based standards] (hypotl): Likewise.
22032         [non-C99-based standards] (j0l): Likewise.
22033         [non-C99-based standards] (j1l): Likewise.
22034         [non-C99-based standards] (jnl): Likewise.
22035         [non-C99-based standards] (lgammal): Likewise.
22036         [non-C99-based standards] (tgammal): Likewise.
22037         [non-C99-based standards] (y0l): Likewise.
22038         [non-C99-based standards] (y1l): Likewise.
22039         [non-C99-based standards] (ynl): Likewise.
22040         [non-C99-based standards] (isnanl): Likewise.
22041         [non-C99-based standards] (acoshl): Likewise.
22042         [non-C99-based standards] (asinhl): Likewise.
22043         [non-C99-based standards] (atanhl): Likewise.
22044         [non-C99-based standards] (cbrtl): Likewise.
22045         [non-C99-based standards] (expm1l): Likewise.
22046         [non-C99-based standards] (ilogbl): Likewise.
22047         [non-C99-based standards] (log1pl): Likewise.
22048         [non-C99-based standards] (logbl): Likewise.
22049         [non-C99-based standards] (nextafterl): Likewise.
22050         [non-C99-based standards] (remainderl): Likewise.
22051         [non-C99-based standards] (rintl): Likewise.
22052         [non-C99-based standards] (scalbl): Likewise.
22053         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22054         [non-C99-based standards] (FP_*): Do not allow.
22055         [C99-based standards] (FP_*): Change to
22056         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22057         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22058         allow.
22059         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22060         (SIG_ERR): Likewise.
22061         [X/Open-based standards] (SIG_HOLD): Likewise.
22062         (SIG_IGN): Likewise.
22063         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22064         positive value.
22065         (SIGFPE): Likewise.
22066         (SIGILL): Likewise.
22067         (SIGINT): Likewise.
22068         (SIGSEGV): Likewise.
22069         (SIGTER): Likewise.
22070         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22071         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22072         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22073         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22074         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22075         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22076         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22077         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22078         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22079         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22080         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22081         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22082         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22083         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22084         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22085         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22086         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22087         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22088         [X/Open-based standards] (SIGTRAP): Likewise.
22089         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22090         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22091         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22092         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22093         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22094         allow.
22096 2012-05-08  Ian Wienand  <ianw@vmware.com>
22098         [BZ #14080]
22099         * time/tzset.c (__tzset_parse_tz): Update default rules for
22100         daylight time changes in the Energy Policy Act of 2005.
22102 2012-05-09  Andreas Jaeger  <aj@suse.de>
22104         [BZ #13983]
22105         * elf/ldconfig.c (parse_conf): Change string to make clear that
22106         ldconfig only issued a warning if ld.so.conf does not exist.
22108 2012-05-08  David S. Miller  <davem@davemloft.net>
22110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22111         movxtod instead of popping the value on the stack.
22113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22115 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22117         * config.h.in: Add HAVE_ARM_PCS_VFP.
22119 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22121         [BZ #13979]
22122         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22123         checking but the checks are disabled for any reason.
22125 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22127         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22128         and ELF64_R_TYPE with ELFW(R_TYPE).
22130 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22132         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22133         (ulimit): Likewise.
22135         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22136         (settimeofday): Likewise.
22138 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22140         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22141         a struct th_u2 inside the union, and move tu_block/tu_code into
22142         a new th_u3 union of tu_block/tu_code inside of that.  Move
22143         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22144         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22145         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22146         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22147         (th_stuff): Change to th_u1.tu_stuff.
22148         (th_data): Define.
22149         (th_msg): Change to th_u1.th_u2.tu_data.
22151 2012-05-07  David S. Miller  <davem@davemloft.net>
22153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22155         [BZ #14074]
22156         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22157         (SETUP_PIC_REG): Use it.
22158         (SETUP_PIC_REG_LEAF): Use it.
22160 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22162         [BZ #13885]
22163         [BZ #13923]
22164         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22165         USE_AS_EXPM1L.
22166         (EXPL_FINITE): Likewise.
22167         (FLDLOG): Likewise.
22168         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22169         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22170         e_expl.S.
22171         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22172         USE_AS_EXPM1L.
22173         (EXPL_FINITE): Likewise.
22174         (FLDLOG): Likewise.
22175         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22176         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22177         e_expl.S.
22178         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22179         test of -max_value argument for long double.
22180         * sysdeps/i386/fpu/libm-test-ulps: Update.
22181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22183 2012-05-06  David S. Miller  <davem@davemloft.net>
22185         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22186         quad soft-float symbols whose references which are compiler
22187         generated.
22188         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22190 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22192         [BZ #13884]
22193         [BZ #13914]
22194         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22195         USE_AS_EXP10L.
22196         (EXPL_FINITE): Likewise.
22197         (FLDLOG): Likewise.
22198         (c0): Likewise.
22199         (c1): Likewise.
22200         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22201         Adjust comments for base varying.
22202         (__expl_finite): Change alias to EXPL_FINITE.
22203         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22204         e_expl.S.
22205         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22206         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22207         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22208         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22209         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22210         USE_AS_EXP10L.
22211         (EXPL_FINITE): Likewise.
22212         (FLDLOG): Likewise.
22213         (c0): Likewise.
22214         (c1): Likewise.
22215         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22216         Adjust comments for base varying.
22217         (__expl_finite): Change alias to EXPL_FINITE.
22218         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22219         tests for bugs.
22220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22222         [BZ #14064]
22223         * math/libm-test.inc (check_float_internal): Correct ulp
22224         calculation for subnormal expected results.
22226 2012-05-06  Andreas Jaeger  <aj@suse.de>
22228         * Makeconfig (+math-flags): New, set to -frounding-math.
22229         (+cflags): Add +math-flags so that all of glibc gets compiled with
22230         it.
22232         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22234 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22236         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22237         Disable one test.
22239         [BZ #13787]
22240         [BZ #13922]
22241         [BZ #14036]
22242         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22243         (__ieee754_expl): Allow for and saturate large arguments.
22244         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22245         (u_threshold): Likewise.
22246         (__exp): Call __ieee754_exp before checking for overflow and
22247         underflow.
22248         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22249         (u_threshold): Likewise.
22250         (__expf): Call __ieee754_expf before checking for overflow and
22251         underflow.
22252         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22253         (u_threshold): Likewise.
22254         (__expl): Call __ieee754_expl before checking for overflow and
22255         underflow.
22256         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22257         (__ieee754_expl): Allow for and saturate large arguments.
22258         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22259         missing overflow exception on overflow.
22260         (expm1_test): Do not allow missing overflow exception on overflow.
22262         * sysdeps/i386/fpu/e_expl.c: Move to ...
22263         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22264         rather than using inline asm.
22265         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22266         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22267         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22269         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22270         (nice): Likewise.
22271         (poll): Likewise.
22272         (signal): Likewise.
22273         (time): Likewise.
22274         (times): Likewise.
22276 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22278         * sysdeps/unix/syscalls.list (adjtime): Add entry from
22279         sysdeps/unix/common/syscalls.list.
22280         (fchmod): Likewise.
22281         (fchown): Likewise.
22282         (ftruncate): Likewise.
22283         (getrusage): Likewise.
22284         (gettimeofday): Likewise.
22285         (setpgid): Likewise.
22286         (setregid): Likewise.
22287         (setreuid): Likewise.
22288         (sigaction): Likewise.
22289         (truncate): Likewise.
22290         (vhangup): Likewise.
22291         * sysdeps/unix/common/syscalls.list: Remove file.
22292         * sysdeps/unix/bsd/Implies: Don't include unix/common.
22293         * sysdeps/unix/sysv/linux/Implies: Likewise.
22295 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
22297         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22299         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22300         Moved to ...
22301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22302         Here.
22303         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22304         to ...
22305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22306         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22307         to ...
22308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22309         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22310         to ...
22311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22312         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22313         to ...
22314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22315         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22316         to ...
22317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22318         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22319         to ...
22320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22321         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22322         to ...
22323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22324         Here.
22325         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22326         to ...
22327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22328         Here.
22329         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22330         to ...
22331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22332         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22333         Moved to ...
22334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22335         Here.
22336         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22337         to ...
22338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22340 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22342         * sysdeps/unix/common/bits/dirent.h: Remove file.
22343         * sysdeps/unix/common/bits/fcntl.h: Likewise.
22345         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22346         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22347         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22348         * sysdeps/unix/bsd/isatty.c: Likewise.
22349         * sysdeps/unix/bsd/tcdrain.c: Likewise.
22350         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22351         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22353 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22355         [BZ #13563]
22356         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22357         long double comparison inaccuracies.
22358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22361 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22363         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22364         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22366 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22368         [BZ #14049]
22369         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22370         nonzero digits before rounding a hex value.
22371         * stdlib/tst-strtod.c (tests): Add another test.
22373 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22375         * sysdeps/s390/fpu/libm-test-ulps: Update.
22377 2012-05-03  Andreas Jaeger  <aj@suse.de>
22379         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22380         does not get optimized out.
22381         (malloc_opt_barrier): New.
22383 2012-05-03  Andreas Jaeger  <aj@suse.de>
22384             Roland McGrath  <roland@hack.frob.com>
22386         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22387         intermediate file deletion.
22388         (generated): Add .symlist files.
22390 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22392         [BZ #13775]
22393         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22394         Redirect under this condition.
22395         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22396         [__USE_GNU] (__dprintf_chk): Not under this condition.
22397         [__USE_GNU] (__vdprintf_chk): Likewise.
22398         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22399         under this condition.
22400         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22401         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22402         [__USE_XOPEN2K8] (vdprintf): Likewise.
22403         [__USE_GNU] (__dprintf_chk): Not under this condition.
22404         [__USE_GNU] (__vdprintf_chk): Likewise.
22405         [__USE_GNU] (dprintf): Likewise.
22406         [__USE_GNU] (vdprintf): Likewise.
22408 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22410         * elf/Makefile (common-generated): Set this instead of generated for
22411         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22412         $(all-built-dso)-derived lists.
22414 2012-05-03  Andreas Jaeger  <aj@suse.de>
22416         * sysdeps/i386/fpu/libm-test-ulps: Update.
22418         * FAQ: Removed.
22419         * FAQ.in: Likewise.
22420         * scripts/gen-FAQ.pl: Likewise.
22421         * manual/install.texi (Installation): Point to online location of
22422         FAQ.
22423         * Makefile (files-for-dist): Remove FAQ.
22424         (FAQ): Remove.
22426 2012-05-02  Allan McRae  <allan@archlinux.org>
22428         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22429         (LDFLAGS-reldepmod5.so): Likewise.
22430         (LDFLAGS-reldep6mod1.so): Likewise.
22431         (LDFLAGS-reldep6mod4.so): Likewise.
22432         (LDFLAGS-reldep8mod3.so): Likewise.
22433         (LDFLAGS-unload4mod1.so): Likewise.
22434         (LDFLAGS-unload4mod2.so): Likewise.
22435         (LDFLAGS-tst-initorder): Likewise.
22436         (LDFLAGS-tst-initordera2.so): Likewise.
22437         (LDFLAGS-tst-initordera3.so): Likewise.
22438         (LDFLAGS-tst-initordera4.so): Likewise.
22439         (LDFLAGS-tst-initorderb2.so): Likewise.
22440         (LDFLAGS-noload): Likewise.
22441         (LDFLAGS-next): Likewise.
22442         (LDFLAGS-order2mod1.so): Likewise.
22443         (LDFLAGS-order2mod2.so): Likewise.
22444         (LDFLAGS-tst-initorder2): Likewise.
22445         (LDFLAGS-tst-initorder2a.so): Likewise.
22446         (LDFLAGS-tst-initorder2b.so): Likewise.
22447         (LDFLAGS-tst-initorder2c.so): Likewise.
22448         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22450 2012-05-02  David S. Miller  <davem@davemloft.net>
22452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22454 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22456         [BZ #14055]
22457         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22459 2012-05-02  Andreas Jaeger  <aj@suse.de>
22461         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22462         since we manipulate rounding mode.
22463         (CPPFLAGS-test-idouble.c): Likewise.
22464         (CPPFLAGS-test-ifloat.c): Likewise.
22465         (CFLAGS-test-ldouble.c): Likewise.
22466         (CFLAGS-test-double.c): Likewise.
22467         (CFLAGS-test-float.c): Likewise.
22468         (CFLAGS-test-misc.c): Likewise.
22469         (CFLAGS-test-test-fenv.c): Likewise.
22471 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22473         [BZ #2550]
22474         [BZ #2570]
22475         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22476         comparisons to determine direction to adjust input.
22478 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22480         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22481         output to the target.
22483         * scripts/localplt.awk: New file.
22484         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22485         (check-localplt-CFLAGS): Variable removed.
22486         ($(all-built-dso:=.jmprel)): New static pattern rule.
22487         (generated): Add those targets.
22488         (localplt-built-dso): New variable.
22489         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22491         * elf/check-localplt.c: File removed.
22493         * scripts/check-execstack.awk: New file.
22494         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22495         (check-execstack-CFLAGS): Variable removed.
22496         ($(objpfx)check-execstack.h): Target removed.
22497         ($(objpfx)execstack-default): New target.
22498         (generated): Add that instead of check-execstack.h.
22499         ($(all-built-dso:=.phdr)): New static pattern rule.
22500         (generated): Add those targets.
22501         * elf/check-execstack.c: File removed.
22503         * scripts/check-textrel.awk: New file.
22504         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22505         (check-textrel-CFLAGS): Variable removed.
22506         (all-built-dso): Use := to define.o
22507         ($(all-built-dso:=.dyn)): New static pattern rule.
22508         (generated): Add those targets.
22509         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22510         * config.make.in (READELF): New substituted variable.
22511         * elf/check-textrel.c: File removed.
22513 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22515         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22516         allow.
22517         * conform/data/ctype.h-data [C99-based standards] (isblank):
22518         Expect function.
22519         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22520         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22521         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22522         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22523         Specify type.  Require positive value.
22524         (EILSEQ): Likewise.
22525         (ERANGE): Likewise.
22526         [ISO || POSIX] (EILSEQ): Do not expect.
22527         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22528         Specify type.  Require positive value.
22529         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22530         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22531         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22532         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22533         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22534         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22535         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22536         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22537         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22538         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22539         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22540         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22541         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22542         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22543         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22544         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22545         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22546         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22547         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22548         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22549         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22550         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22551         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22552         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22553         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22554         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22555         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22556         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22557         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22558         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22559         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22560         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22561         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22562         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22563         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22564         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22565         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22566         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22567         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22568         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22569         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22570         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22571         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22572         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22573         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22574         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22575         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22576         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22577         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22578         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22579         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22580         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22581         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22582         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22583         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22584         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22585         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22586         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22587         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22588         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22589         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22590         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22591         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22592         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22593         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22594         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22595         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22596         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22597         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22598         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22599         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22600         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22601         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22602         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22603         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22604         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22605         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22606         Require >= 2.
22607         (FLT_ROUNDS): Expect as macro, not constant.
22608         (FLT_MANT_DIG): Use macro-int-constant.
22609         (DBL_MANT_DIG): Likewise.
22610         (LDBL_MANT_DIG): Likewise.
22611         (FLT_DIG): Likewise.
22612         (DBL_DIG): Likewise.
22613         (LDBL_DIG): Likewise.
22614         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22615         (DBL_MIN_EXP): Likewise.
22616         (LDBL_MIN_EXP): Likewise.
22617         (FLT_MAX_EXP): Use macro-int-constant.
22618         (DBL_MAX_EXP): Likewise.
22619         (LDBL_MAX_EXP): Likewise.
22620         (FLT_MAX_10_EXP): Likewise.
22621         (DBL_MAX_10_EXP): Likewise.
22622         (LDBL_MAX_10_EXP): Likewise.
22623         (FLT_MAX): Use macro-constant.
22624         (DBL_MAX): Likewise.
22625         (LDBL_MAX): Likewise.
22626         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22627         (DBL_EPSILON): Likewise.
22628         (LDBL_EPSILON): Likewise.
22629         (FLT_MIN): Likewise.
22630         (DBL_MIN): Likewise.
22631         (LDBL_MIN): Likewise.
22632         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22633         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22634         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22635         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22636         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22637         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22638         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22639         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22640         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22641         [ISO11] (FLT_TRUE_MIN): Likewise.
22642         [ISO11] (LDBL_TRUE_MIN): Likewise.
22643         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22644         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22645         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22646         (SCHAR_MAX): Likewise.
22647         (UCHAR_MAX): Likewise.
22648         (CHAR_MIN): Likewise.
22649         (CHAR_MAX): Likewise.
22650         (MB_LEN_MAX): Use macro-int-constant.
22651         (SHRT_MIN): Use macro-int-constant.  Specify type.
22652         (SHRT_MAX): Likewise.
22653         (USHRT_MAX): Likewise.
22654         (INT_MAX): Likewise.
22655         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22656         bound negative.
22657         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22658         bound with "U".
22659         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22660         bound with "L".
22661         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22662         bound negative.  Suffix upper bound with "L".
22663         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22664         bound with "UL".
22665         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22666         Specify type.
22667         [C99-based standards] (LLONG_MAX): Likewise.
22668         [C99-based standards] (ULLONG_MAX): Likewise.
22669         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22670         == 0.
22671         [ISO11] (max_align_t): Require type.
22672         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22674         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22675         from $CFLAGS, without defining away __attribute__ calls.
22676         (checknamespace): Use $CFLAGS_namespace.
22678         * conform/conformtest.pl (@keywords): Only include C99 keywords
22679         for standards based on C99 or C11.
22681         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22682         Disable tests.
22683         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22684         UNIX98]: Likewise.
22686         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22687         usability of symbols in #if.
22689         * conform/conformtest.pl: If macro or constant types start
22690         "promoted:", expect the symbol to be of the following type
22691         promoted by the integer promotions.
22693         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22694         in one place.  Also handle "macro-constant".
22696         * conform/conformtest.pl: Only accept expected macro values with
22697         "==".  Parse all "macro" lines in one place.
22698         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22700         * conform/conformtest.pl: Handle braced types on "constant" lines
22701         instead of handling "typed-constant".
22702         * conform/data/signal.h-data: Use "constant" instead of
22703         "typed-constant".
22705         * conform/conformtest.pl: Handle "optional-" at start of lines in
22706         one place rather than duplicating several cases.  Handle each
22707         format of "macro" line with initial "optional-".
22709         * conform/conformtest.pl: Only accept expected constant or
22710         optional-constant values with "==".  Parse all "constant" lines in
22711         one place.  Parse all "optional-constant" lines in one place.
22712         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22713         * conform/data/fmtmsg.h-data: Likewise.
22714         * conform/data/netinet/in.h-data: Likewise.
22715         * conform/data/tar.h-data: Likewise.
22716         * conform/data/limits.h-data: Use "==" form on "constant" and
22717         "optional-constant" lines.
22719         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22720         Use -std=c99 for XOPEN2K.
22721         (@knownproblems): Remove.
22722         (newtoken): Don't check %isknown.
22724         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22725         Do not expect macro.
22726         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22727         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22728         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22729         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22730         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22731         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22732         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22733         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22734         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22735         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22736         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22737         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22738         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22739         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22740         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22741         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22742         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22743         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22744         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22745         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22746         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22747         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22748         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22749         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22750         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22751         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22752         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22753         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22754         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22755         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22756         [XPG3] (acosh): Likewise.
22757         [XPG3] (asinh): Likewise.
22758         [XPG3] (atanh): Likewise.
22759         [XPG3] (cbrt): Likewise.
22760         [XPG3] (expm1): Likewise.
22761         [XPG3] (ilogb): Likewise.
22762         [XPG3] (log1p): Likewise.
22763         [XPG3] (logb): Likewise.
22764         [XPG3] (nextafter): Likewise.
22765         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22766         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22767         [XPG3] (remainder): Likewise.
22768         [XPG3] (rint): Likewise.
22769         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22770         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22771         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22772         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22773         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22774         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22775         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22776         [UNIX98 || XOPEN2K] (scalb): Expect.
22777         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22778         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22779         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22780         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22781         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22782         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22783         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22784         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22785         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22786         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22787         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22788         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22789         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22790         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22791         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22792         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22793         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22794         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22795         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22796         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22797         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22798         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22799         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22800         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22801         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22802         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22803         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22804         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22805         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22806         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22807         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22808         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22809         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22810         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22811         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22812         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22813         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22814         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22815         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22816         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22817         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22818         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22819         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22820         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22821         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22822         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22823         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22824         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22825         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22826         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22827         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22828         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22829         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22830         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22831         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22832         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22833         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22834         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22835         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22836         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22837         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22838         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22839         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22840         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22841         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22842         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22843         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22844         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22845         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22846         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22847         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22848         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22849         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22850         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22851         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22852         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22853         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22854         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22855         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22856         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22857         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22858         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22859         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22860         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22861         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22862         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22863         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22864         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22865         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22866         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22867         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22868         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22869         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22870         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22871         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22872         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22873         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22874         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22875         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22876         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22877         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22878         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22879         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22880         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22881         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22882         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22883         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22884         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22885         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22886         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22887         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22888         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22889         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22890         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22891         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22892         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22893         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22894         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22895         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22896         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22897         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22898         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22899         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22900         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22901         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22902         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22903         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22904         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22905         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22906         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22907         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22908         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22909         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22910         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22911         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22912         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22913         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22915         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22916         _XOPEN_SOURCE_EXTENDED for XPG4.
22918         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22920         * Makeconfig (localtime): Remove variable.
22921         (inst_localtime-file): Likewise.
22923 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22926         Update.
22927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22928         Update.
22929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22930         Update.
22931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22932         Update.
22933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22934         Update.
22935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22936         Update.
22937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22938         Update.
22939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22940         Update.
22941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22942         Update.
22944 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22946         [BZ #2550]
22947         [BZ #2570]
22948         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22949         comparisons to determine direction to adjust input.
22950         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22951         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22952         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22953         Likewise.
22954         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22955         Likewise.
22956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22957         Likewise.
22958         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22959         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22960         Likewise.
22961         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22962         Likewise.
22963         * math/libm-test.inc (nexttoward_test): Add more tests.
22965 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22967         [BZ #14040]
22968         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22969         in version GLIBC_2.1, not GLIBC_2.0.
22970         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22971         Likewise.
22973 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22975         [BZ #13942]
22976         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22977         (1 - x) * (1 + x).
22978         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22979         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22980         * math/libm-test.inc (acos_test): Add more tests.
22981         (asin_test): Likewise.
22982         * sysdeps/i386/fpu/libm-test-ulps: Update.
22983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22985         [BZ #14034]
22986         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22987         of square root.
22988         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22989         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22990         * math/libm-test.inc (acos_test_tonearest): New function.
22991         (acos_test_towardzero): Likewise.
22992         (acos_test_downward): Likewise.
22993         (acos_test_upward): Likewise.
22994         (asin_test_tonearest): Likewise.
22995         (asin_test_towardzero): Likewise.
22996         (asin_test_downward): Likewise.
22997         (asin_test_upward): Likewise.
22998         (main): Call the new functions.
22999         * sysdeps/i386/fpu/libm-test-ulps: Update.
23000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23002         [BZ #13884]
23003         [BZ #13924]
23004         * math/e_exp10.c: Include <float.h>.
23005         (__ieee754_exp10): Handle underflow here rather than multiplying
23006         large negative argument by M_LN10.
23007         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23008         of __ieee754_expf.
23009         * math/e_exp10l.c: Include <float.h>.
23010         (__ieee754_exp10l): Handle underflow here rather than multiplying
23011         large negative argument by M_LN10l.
23012         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
23013         spurious overflow exception on underflow.
23015 2012-04-29  Marek Polacek  <polacek@redhat.com>
23017         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23018         (__fortify_function): New macro.
23019         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23020         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23021         __extern_always_inline.
23022         * libio/bits/stdio2.h: Likewise.
23023         * libio/bits/stdio.h: Likewise.
23024         * string/string.h: Likewise.
23025         * string/bits/string3.h: Likewise.
23026         * include/stdio.h: Likewise.
23027         * stdlib/bits/stdlib.h: Likewise.
23028         * stdlib/stdlib.h: Likewise.
23029         * rt/bits/mqueue2.h: Likewise.
23030         * rt/mqueue.h: Likewise.
23031         * posix/bits/unistd.h: Likewise.
23032         * posix/unistd.h: Likewise.
23033         * io/bits/poll2.h: Likewise.
23034         * io/bits/fcntl2.h: Likewise.
23035         * io/fcntl.h: Likewise.
23036         * io/sys/poll.h: Likewise.
23037         * misc/bits/syslog.h: Likewise.
23038         * misc/bits/syslog-ldbl.h: Likewise.
23039         * misc/sys/syslog.h: Likewise.
23040         * socket/bits/socket2.h: Likewise.
23041         * socket/sys/socket.h: Likewise.
23042         * debug/tst-chk1.c: Likewise.
23043         * wcsmbs/bits/wchar2.h: Likewise.
23044         * wcsmbs/bits/wchar-ldbl.h: Likewise.
23045         * wcsmbs/wchar.h: Likewise.
23047 2012-04-29  Andreas Jaeger  <aj@suse.de>
23049         * Makerules (tests): Remove enable-check-abi protection.
23050         (check-abi-warn): Remove.
23051         (check-abi-%): Remove check-abi-warn usage.
23053         * configure.in: Remove check-abi configure option.
23054         * configure: Regenerated.
23055         * config.make.in (enable-check-abi): Remove.
23057 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23059         [BZ #14033]
23060         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23061         double functions to double *_finite functions.
23063         [BZ #13941]
23064         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23065         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23066         LDBL_MIN_EXP.
23067         * stdio-common/Makefile (tests): Add tst-sprintf3.
23068         * stdio-common/tst-sprintf3.c: New file.
23070         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23071         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23073 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23075         * conform/conformtest.pl: Remove duplicate typed-constant
23076         handling.
23078 2012-04-28  David S. Miller  <davem@davemloft.net>
23080         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23081         (check-abi-%): Remove AWK script prerequisite and explicit
23082         abilist directory.
23083         (check-abi): Rewrite to just diff the symlist with the abilist.
23084         (config-tls, config-abi-config): Delete, no longer used.
23085         (update-abi-%): Remove AWK script and explicit abilist directory.
23086         (update-abi): Rewrite to simply compare and conditionally copy the
23087         symlist and the sysdep abilist file.  Remove update-abi-config
23088         checks.
23089         * abilist/ld.abilist: Remove.
23090         * abilist/libBrokenLocale.abilist: Remove.
23091         * abilist/libanl.abilist: Remove.
23092         * abilist/libcrypt.abilist: Remove.
23093         * abilist/libdl.abilist: Remove.
23094         * abilist/librt.abilist: Remove.
23095         * abilist/libthread_db.abilist: Remove.
23096         * abilist/libutil.abilist: Remove.
23097         * scripts/extract-abilist.awk: Remove.
23098         * scripts/merge-abilist.awk: Remove.
23099         * sysdeps/generic/libcidn.abilist: New file.
23100         * sysdeps/generic/libnss_compat.abilist: New file.
23101         * sysdeps/generic/libnss_db.abilist: New file.
23102         * sysdeps/generic/libnss_dns.abilist: New file.
23103         * sysdeps/generic/libnss_files.abilist: New file.
23104         * sysdeps/generic/libnss_hesiod.abilist: New file.
23105         * sysdeps/generic/libnss_nis.abilist: New file.
23106         * sysdeps/generic/libnss_nisplus.abilist: New file.
23107         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23108         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23109         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23110         file.
23111         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23112         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23113         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23114         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23115         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23116         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23117         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23118         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23119         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23120         file.
23121         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23122         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23123         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23124         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23125         file.
23126         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23127         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23128         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23129         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23130         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23131         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23132         file.
23133         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23134         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23135         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23136         file.
23137         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23139         New file.
23140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23141         New file.
23142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23143         New file.
23144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23145         New file.
23146         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23147         New file.
23148         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23149         New file.
23150         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23151         New file.
23152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23153         New file.
23154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23155         New file.
23156         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23157         New file.
23158         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23159         New file.
23160         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23161         New file.
23162         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23163         New file.
23164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23165         file.
23166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23167         New file.
23168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23169         New file.
23170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23171         file.
23172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23173         New file.
23174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23175         New file.
23176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23177         file.
23178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23179         New file.
23180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23181         New file.
23182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23183         New file.
23184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23185         New file.
23186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23187         New file.
23188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23189         New file.
23190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23192         file.
23193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23194         New file.
23195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23196         file.
23197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23198         file.
23199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23200         file.
23201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23202         file.
23203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23204         file.
23205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23206         New file.
23207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23208         file.
23209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23210         file.
23211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23212         New file.
23213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23214         file.
23215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23217         file.
23218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23219         New file.
23220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23221         file.
23222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23223         file.
23224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23225         file.
23226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23227         file.
23228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23229         file.
23230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23231         New file.
23232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23233         file.
23234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23235         file.
23236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23237         New file.
23238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23239         file.
23240         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23241         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23242         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23243         file.
23244         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23245         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23246         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23247         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23248         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23249         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23250         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23251         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23252         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23253         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23256         file.
23257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23258         New file.
23259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23260         file.
23261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23262         file.
23263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23264         file.
23265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23266         file.
23267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23268         file.
23269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23270         New file.
23271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23272         New file.
23273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23274         file.
23275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23276         New file.
23277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23278         file.
23279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23281         file.
23282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23283         New file.
23284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23285         file.
23286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23287         file.
23288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23289         file.
23290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23291         file.
23292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23293         file.
23294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23295         New file.
23296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23297         New file.
23298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23299         file.
23300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23301         New file.
23302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23303         file.
23305 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23307         * conform/conformtest.pl: Fix typo in handling typed-constant from
23308         allow-header.
23310 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23312         * README: Cut down references to pre-2.6 Linux kernels and
23313         Linuxthreads.  Update lists of configurations in libc and ports
23314         and sort alphabetically.  Say "or newer" with Linux kernel version
23315         requirements.
23317         * config.h.in [IS_IN_build]: Allow compiling without optimization.
23319 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23321         [BZ #887]
23322         * math/libm-test.inc (logb_test_downward): New test to expose
23323         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23324         rounding mode.
23326 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23328         [BZ #14027]
23329         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23330         to be done.
23331         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23332         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23334 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
23336         * sysdeps/unix/i386/brk.S: Remove file.
23337         * sysdeps/unix/i386/dl-brk.S: Likewise.
23338         * sysdeps/unix/i386/pipe.S: Likewise.
23339         * sysdeps/unix/i386/sigreturn.S: Likewise.
23340         * sysdeps/unix/i386/syscall.S: Likewise.
23341         * sysdeps/unix/i386/vfork.S: Likewise.
23342         * sysdeps/unix/i386/wait.S: Likewise.
23344         * sysdeps/unix/common/tcsendbrk.c: Move to ...
23345         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23347         * configure.in (arm*-none*): Do not allow without
23348         --enable-hacker-mode.
23349         (netbsd*): Remove case setting base_os.
23350         (386bsd*): Likewise.
23351         (freebsd*): Likewise.
23352         (bsdi*): Likewise.
23353         (osf*): Likewise.
23354         (sunos*): Likewise.
23355         (ultrix*): Likewise.
23356         (newsos*): Likewise.
23357         (dynix*): Likewise.
23358         (*bsd*): Likewise.
23359         (sysv*): Likewise.
23360         (isc*): Likewise.
23361         (esix*): Likewise.
23362         (sco*): Likewise.
23363         (minix*): Likewise.
23364         (irix4*): Likewise.
23365         (irix6*): Likewise.
23366         (solaris[2-9]*): Likewise.
23367         (none): Likewise.
23368         * configure: Regenerated.
23370 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23372         [BZ #11521]
23373         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23374         overflow or cancellation in calculating denominator.
23375         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23376         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23377         down expression to avoid unexpected rounding in newer GCCs.
23378         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23380 2012-04-26  David S. Miller  <davem@davemloft.net>
23382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23383         long-double compat symbols.
23384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23398 2012-04-25  David S. Miller  <davem@davemloft.net>
23400         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23401         HWCAP_* values only after the memory barriers have been defined.
23402         (atomic_full_barrier): Define.
23403         (atomic_read_barrier): Define.
23404         (atomic_write_barrier): Define.
23406 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23408         * shlib-versions: Add libgcc_s version information.
23409         * sysdeps/generic/libgcc_s.h: Remove.
23410         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23411         libgcc_s.h.
23412         * sysdeps/gnu/unwind-resume.c: Likewise.
23413         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23415 2012-04-25  David S. Miller  <davem@davemloft.net>
23417         * sysdeps/unix/sparc/brk.S: Delete.
23418         * sysdeps/unix/sparc/dl-brk.S: Delete.
23419         * sysdeps/unix/sparc/pipe.S: Delete.
23420         * sysdeps/unix/sparc/sysdep.S: Delete.
23421         * sysdeps/unix/sparc/sysdep.h: Delete.
23422         * sysdeps/unix/sparc/vfork.S: Delete.
23423         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23424         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23425         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23426         ret_ERRVAL, r0, r1, MOVE): Define.
23427         (JUMPTARGET): Remove.
23428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23429         sysdeps/unix/sparc/sysdep.h
23430         (ENTRY, END): Remove.
23431         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23433 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23435         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23436         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23437         -DIS_IN_build.
23439         * timezone/README: Update upstream location and email address for
23440         tzcode and tzdata.
23441         * timezone/zdump.c: Update from tzcode 2012b.
23442         * timezone/zic.c: Likewise.
23444         * configure.in (libc_cv_as_needed): Remove test.
23445         * configure: Regenerated.
23446         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23447         conditional definition.
23448         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23449         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23450         * config.make.in (have-as-needed): Remove variable.
23452 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23453             Paul Pluzhnikov  <ppluzhnikov@google.com>
23455         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23456         strings correctly.
23458 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23460         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23461         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23462         * sysdeps/sh/strlen.S: Likewise.
23464 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23466         * sysdeps/unix/fork.S: Remove file.
23467         * sysdeps/unix/i386/fork.S: Likewise.
23468         * sysdeps/unix/sparc/fork.S: Likewise.
23470         * sysdeps/unix/system.c: Remove file.
23471         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23473         * sysdeps/unix/getegid.S: Remove file.
23474         * sysdeps/unix/geteuid.S: Likewise.
23476 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23478         * scripts/check-localplt.awk: New file.
23479         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23480         of diff.
23481         * scripts/data/localplt-generic.data: Add a comment.
23483         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23484         NODE when __dir_mkfile failed.
23485         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23486         Reported by Ludovic Courtès <ludo@gnu.org>.
23488 2012-04-24  Andreas Jaeger  <aj@suse.de>
23490         * Makerules (common-clean): Also remove gen-as-const-headers
23491         files.
23493 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23495         * Makerules (native-compile): Do not change working directory for
23496         build.  Use $(OUTPUT_OPTION) in command.
23497         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23499 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23501         [BZ #13886]
23502         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23503         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23504         * math/libm-test.inc (floor_test): Add more tests.
23505         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23507 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23509         * sysdeps/unix/getdents.c: Remove file.
23510         * sysdeps/unix/sysv/getdents.c: Likewise.
23511         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23513         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23514         sysdeps/unix/mman/syscalls.list.
23515         (mmap): Likewise.
23516         (mprotect): Likewise.
23517         (msync): Likewise.
23518         (munmap): Likewise.
23519         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23520         * sysdeps/unix/mman/syscalls.list: Remove.
23521         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23523         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23524         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23525         * configure: Regenerated.
23526         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23527         $(libgcc_s_suffix).
23528         * config.make.in (libgcc_s_suffix): Remove variable.
23530 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23532         * sysdeps/unix/sysv/gethostname.c: Move to ...
23533         * sysdeps/posix/gethostname.c: ... here.
23535         * sysdeps/unix/execve.S: Remove file.
23537         * sysdeps/unix/_exit.S: Remove file.
23539 2012-04-23  Andreas Jaeger  <aj@suse.de>
23541         [BZ #13739]
23542         * manual/Makefile: Remove make dist support, there's no
23543         need for a stand-alone documentation tar ball.
23544         (TEXI2DVI): Define always, it's not in Makeconfig.
23545         (dist): Removed.
23546         (tar-it): Removed.
23547         (edition): Removed.
23548         (glibc-doc-$(edition).tar): Removed
23549         (%.Z): Removed.
23550         (%.gz): Removed.
23551         (%.uu): Removed.
23552         (ETAGS): Remove, it's in Makeconfig.
23553         (move-if-change): Remove, it's in Makeconfig.
23555 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23557         [BZ #13970]
23558         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23559         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23560         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23561         (strtod_l, strtof_l, strtold_l): Remove __wur.
23562         It is not necessarily an error to ignore strtol's return value.
23563         One can reliably look at the stored endptr to decide whether
23564         the number had valid syntax.
23566 2012-04-21  Andreas Jaeger  <aj@suse.de>
23568         [BZ #13739]
23569         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23571 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23573         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23574         * sysdeps/unix/sysv/Versions: Remove file.
23576 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23578         [BZ #13927]
23579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23581 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23583         [BZ #7064]
23584         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23585         version from __vm86.
23587 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23589         * sysdeps/unix/common/lxstat.c: Remove file.
23590         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23592         * sysdeps/unix/sysv/Makefile: Remove file.
23594         * sysdeps/unix/sysv/direct.h: Remove file.
23596         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23597         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23598         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23599         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23600         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23601         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23602         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23604         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23606         * sysdeps/unix/xmknod.c: Remove file.
23607         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23609         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23611         * sysdeps/unix/sysv/i386/time.S: Remove file.
23613         * sysdeps/unix/fxstat.c: Remove file.
23614         * sysdeps/unix/xstat.c: Likewise.
23615         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23617         * sysdeps/unix/sysv/sigaction.c: Remove file.
23619         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23620         (sysdep_headers): Remove variable.
23621         [termio.h not in sysdep_headers] (generated): Likewise.
23622         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23623         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23624         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23625         * sysdeps/unix/sysv/tcflow.c: Likewise.
23626         * sysdeps/unix/sysv/tcflush.c: Likewise.
23627         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23628         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23629         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23630         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23631         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23633         * sysdeps/unix/siglist.c: Remove file.
23635         * sysdeps/unix/getppid.S: Remove file.
23637         * sysdeps/unix/mkdir.c: Remove file.
23638         * sysdeps/unix/rmdir.c: Likewise.
23640 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23642         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23643         ERR_MAX value.
23644         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23645         errlist-compat value.
23647 2012-04-18  David S. Miller  <davem@davemloft.net>
23649         * sysdeps/generic/memcopy.h (reg_char): Delete.
23650         * debug/strcat_chk.c: Use char, not reg_char.
23651         * debug/strcpy_chk.c: Likewise.
23652         * debug/strncat_chk.c: Likewise.
23653         * debug/strncpy_chk.c: Likewise.
23654         * string/memchr.c: Likewise.
23655         * string/memrchr.c: Likewise.
23656         * string/rawmemchr.c: Likewise.
23657         * string/strcat.c: Likewise.
23658         * string/strchr.c: Likewise.
23659         * string/strchrnul.c: Likewise.
23660         * string/strcmp.c: Likewise.
23661         * string/strcpy.c: Likewise.
23662         * string/strncat.c: Likewise.
23663         * string/strncmp.c: Likewise.
23664         * string/strncpy.c: Likewise.
23666 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23668         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23669         __builtin_memcopy is called when src and dest ranges are known to not
23670         overlap.
23672 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23674         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23675         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23676         fwd_align_merge macro call.
23677         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23678         bwd_align_merge macro call.
23679         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23681 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23683         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23684         bwd_align_merge macros.
23685         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23686         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23687         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23689 2012-04-18  David S. Miller  <davem@davemloft.net>
23691         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23693 2012-04-18  Andreas Jaeger  <aj@suse.de>
23695         [BZ# 6794]
23696         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23697         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23698         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23700         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23701         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23702         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23704         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23705         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23706         Adjust for changed ldbl-128 files.
23708         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23709         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23710         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23712 2012-04-17  David S. Miller  <davem@davemloft.net>
23714         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23716 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23718         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23719         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23720         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23721         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23722         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23723         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23725 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23727         [BZ #6794]
23728         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23729         * math/libm-test.inc: Add ilogb errno and exception tests.
23730         * math/w_ilogb.c: New file: ilogb wrapper.
23731         * math/w_ilogbf.c: New file: ilogbf wrapper.
23732         * math/w_ilogbl.c: New file: ilogbl wrapper.
23733         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23734         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23735         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23736         exception being thrown with 0.0 as argument.
23737         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23738         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23739         exception being thrown with 0.0 as argument.
23740         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23741         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23742         exception being thrown with 0.0 as argument.
23743         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23744         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23745         exception being thrown with 0.0 as argument.
23746         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23747         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23748         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23749         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23750         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23751         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23752         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23753         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23754         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23756 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23758         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23759         with altivec.
23761 2012-04-16  Marek Polacek  <polacek@redhat.com>
23763         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23765 2012-04-16  Marek Polacek  <polacek@redhat.com>
23767         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23768         operands of fdivp instruction.
23770 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23772         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23773         * elf/tst-auditmod3b.c: Likewise.
23774         * elf/tst-auditmod4b.c: Likewise.
23775         * elf/tst-auditmod5b.c: Likewise.
23776         * elf/tst-auditmod6b.c: Likewise.
23777         * elf/tst-auditmod6c.c: Likewise.
23778         * elf/tst-auditmod7b.c: Likewise.
23779         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23780         * sysdeps/x86_64/preconfigure.in: Likewise.
23781         * sysdeps/x86_64/preconfigure: Regenerated.
23783 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23785         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23786         __ILP32__.
23788 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23790         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23791         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23793 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23795         [BZ #13973]
23796         * locale/iso-639.def: Fix gl language name. Spotted by
23797         Yaron Shahrabani.
23799 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23801         [BZ #2074]
23802         * libio/libio.h (__io_write_fn): Update comment.
23804 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23806         [BZ #2074]
23807         * stdio.texi (Hook Functions): The user provided writer function
23808         is not allowed to return -1.
23810 2012-04-11  David S. Miller  <davem@davemloft.net>
23812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23814 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23816         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23817         Add a leading slash to rtkaio.
23819 2012-04-11  Jim Meyering  <meyering@redhat.com>
23821         [BZ #11959]
23822         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23823         It is not necessarily an error to ignore fwrite's return
23824         value.  One can reliably use ferror to test for errors after
23825         the fact.
23827 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23829         * bits/types.h (__snseconds_t): New type.
23830         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23832         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23834         (__SNSECONDS_T_TYPE): Likewise.
23835         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23836         (__SNSECONDS_T_TYPE): Likewise.
23837         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23838         (__SNSECONDS_T_TYPE): Likewise.
23840 2012-04-10  Andreas Jaeger  <aj@suse.de>
23842         [BZ #2636]
23843         * manual/time.texi (Processor Time): Return type of times is
23844         elapsed real time since an arbitrary point in the past.
23845         (CPU Time): Move CLK_TCK from here...
23846         (Processor Time): ...to here.  Correct description.
23847         * manual/conf.texi (Constants for Sysconf): Correct description of
23848         _SC_CLK_TCK.
23850 2012-04-10  David S. Miller  <davem@davemloft.net>
23852         [BZ #13967]
23853         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23854         where the is a gap between DT_REL(A) and DT_JMPREL.
23856 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23858         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23859         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23860         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23862 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23864         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23865         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23866         (dl_main): Handle --inhibit-cache.
23867         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23868         _dl_inhibit_cache.
23869         * elf/dl-load.c (_dl_map_object): Use it.
23870         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23872 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23874         [BZ #13872]
23875         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23876         (__ieee754_powl): Saturate large exponents rather than testing for
23877         overflow of y*log2(x).
23878         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23879         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23880         exceptions.
23882         [BZ #11521]
23883         * math/s_ctan.c: Include <float.h>.
23884         (__ctan): Avoid internal overflow or cancellation in calculating
23885         denominator.
23886         * math/s_ctanf.c: Likewise.
23887         * math/s_ctanl.c: Likewise.
23888         * math/s_ctanh.c: Likewise.
23889         * math/s_ctanhf.c: Likewise.
23890         * math/s_ctanhl.c: Likewise.
23891         * math/libm-test.inc (ctan_test): Add more tests.
23892         (ctanh_test): Likewise.
23893         * sysdeps/i386/fpu/libm-test-ulps: Update.
23894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23896 2012-04-09  Andreas Jaeger  <aj@suse.de>
23898         [BZ #6894]
23899         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23900         is an optional BSD extension.
23902         [BZ #10254]
23903         * manual/stdio.texi (Opening Streams): Document additional fopen
23904         parameters.
23906 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23908         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23909         %eax without telling the compiler.
23911 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23913         [BZ # 13963]
23914         * manual/install.texi: Use sourceware.org.
23916 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23918         [BZ #13873]
23919         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23920         (__ieee754_pow): Generate overflow and underflow using huge*huge
23921         and tiny*tiny rather than just returning constant infinity or zero
23922         for large exponents.
23923         * math/libm-test.inc (pow_test): Require overflow exceptions for
23924         applicable cases of large exponents.
23926         [BZ #706]
23927         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23928         (__ieee754_pow): Use iterative multiplication algorithm only for
23929         integer exponents with absolute value below 1024.  Check for odd
23930         integer exponents when using algorithm for real exponents.
23931         * math/libm-test.inc (pow_test): Add more tests.
23932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23934 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23936         [BZ #13705]
23937         * math/libm-test.inc (exp_test): Do not allow overflow exception
23938         on underflow test.
23940 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23942         [BZ #13705]
23943         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23944         instead of __kernel_standard_f.
23946 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23948         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23949         * sysdeps/x86_64/memset_chk.S: Likewise.
23951 2012-04-08  Andreas Jaeger  <aj@suse.de>
23953         [BZ #10153]
23954         * manual/startup.texi (Environment Access): Describe return value
23955         for putenv and setenv.
23957         [BZ #6895]
23958         * manual/filesys.texi (Directory Entries): Add description for
23959         DT_LNK.
23961         [BZ #6890]
23962         * manual/filesys.texi (Directory Entries): Clarify that it's file
23963         system not operating system in the description of DT_UNKNOWN.
23965         [BZ #6578]
23966         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23968 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23970         [BZ #6649]
23971         * manual/llio.texi (Opening and Closing Files): Add cross
23972         reference to explain mode argument.
23974 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23976         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23977         * sysdeps/x86_64/memset_chk.S: Likewise.
23979 2012-04-07  David S. Miller  <davem@davemloft.net>
23981         * elf/elf.h (R_SPARC_WDISP10): Define.
23982         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23983         R_SPARC_SIZE32.
23984         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23985         R_SPARC_SIZE64 and R_SPARC_H34.
23987 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23989         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23990         conditions and remove no longer applicable assertion.
23992 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23994         * bits/byteswap.h: Include <features.h>.
23995         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23996         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23998 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24000         * bits/byteswap.h (__bswap_16): Removed.
24001         Include <bits/byteswap-16.h> to get __bswap_16.
24002         * sysdeps/i386/bits/byteswap.h: Likewise.
24003         * sysdeps/s390/bits/byteswap.h: Likewise.
24004         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24005         * bits/byteswap-16.h: New file.
24006         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24007         * sysdeps/s390/bits/byteswap-16.h: Likewise.
24008         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24009         * string/Makefile (headers): Add bits/byteswap-16.h.
24011 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24013         [BZ #13895]
24014         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24015         extra indirection.
24016         * nss/Makefile (tests-static, tests): Add tst-nss-static.
24017         * nss/tst-nss-static.c: New.
24019 2012-04-06  Robert Millan  <rmh@gnu.org>
24021         [BZ #6486]
24022         * manual/llio.texi (File Position Primitive): lseek
24023         refers to WHENCE when it really means OFFSET.
24025 2012-04-06  Andreas Jaeger  <aj@suse.de>
24027         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24028         strncmp declarations.
24030         * abilist/libc.abilist: Add __poll and __ppoll.
24032 2012-04-05  David S. Miller  <davem@davemloft.net>
24034         * scripts/check-local-headers.sh: Accept a host triplet in the
24035         path matched by the exclude regexp.
24037         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24038         definition.
24039         * sysdeps/powerpc/powerpc32/dl-machine.h
24040         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24041         * sysdeps/s390/s390-32/dl-machine.h
24042         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24043         * sysdeps/sparc/sparc32/dl-machine.h
24044         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24045         * sysdeps/sparc/sparc64/dl-machine.h
24046         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24048         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24049         lazy binding.
24050         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24051         undefined symbol errors.
24053         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24054         DT_NEEDED entries.
24056 2012-04-05  Michael Matz  <matz@suse.de>
24058         [BZ #13592]
24059         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24061 2012-04-05  Andreas Jaeger  <aj@suse.de>
24063         [BZ #13908]
24064         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24065         comment.
24067 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24069         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24070         which ROUND is no valid rounding mode.
24072 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24074         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24075         read again.
24076         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24078 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24080         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24081         an exception using FPU order intentionally.
24083 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24085         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24086         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24087         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24088         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24090 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24092         [BZ #12340]
24093         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24094         EINVAL when BUFLEN is too smal.
24096 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24098         [BZ #13553]
24099         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24100         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24102 2012-04-03  Andreas Jaeger  <aj@suse.de>
24104         [BZ #13938]
24105         * manual/setjmp.texi (System V contexts): Fix sentence.
24107         [BZ #13926]
24108         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24109         New macro for this case.
24110         [!__GNUC__] (__bswap_64): New inline function for this case.
24111         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24112         * bits/byteswap.h: Likewise.
24113         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24114         ull, guard with __GLIBC_HAVE_LONG_LONG.
24116         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24117         __GLIBC_HAVE_LONG_LONG.
24119         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24120         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24122 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24124         [BZ #13691]
24125         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24126         inptr and inend, rather than using last_ch.
24128 2012-04-02  David S. Miller  <davem@davemloft.net>
24130         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24131         * stdio-common/printf-parse.h (read_int): Change return type to
24132         'int', return -1 on INT_MAX overflow.
24133         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24134         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24135         overflows INT_MAX.  Check for overflow of in-format-string precision
24136         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24137         SIZE_MAX not INT_MAX for integer overflow test.
24138         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24139         skip the construct in the format string but do not record anything.
24140         * stdio-common/bug22.c: Adjust to test both width/prevision
24141         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24142         explicitly for proper errno values.
24144 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24146         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24147         CHAR_MAX.
24148         * string/test-strcmp.c [! WIDE]: Likewise.
24149         * time/tst-mktime2.c: Likewise for INT_MAX.
24150         * string/test-string.h: #include <sys/param.h> for MIN.
24152         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24153         * sysdeps/i386/init-first.c (init): Likewise.
24154         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24155         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24156         * sysdeps/sh/init-first.c (init): Likewise.
24158 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24160         * po/ru.po: Update from translation team.
24161         * po/vi.po: Likewise.
24163 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24165         * resolv/nss_dns/dns-host.c: Merge copyright years.
24167 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24169         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24170         Optimize memcpy with prefetch if
24171         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24172         src, dst pointers have unequal 16 byte alignments.
24174 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24176         [BZ #13928]
24177         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24178         from a CNAME entry and return the minimum ttl for the query.
24179         (gaih_getanswer_slice): Likewise.
24181 2012-03-30  Jeff Law  <law@redhat.com>
24183         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24184         due to long keys.
24185         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24186         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24188         * resolv/nss_dns/dns-host.c: Update copyright year.
24190 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24192         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24193         requests to save a system call.  Fix check that all bytes are sent.
24195         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24196         comments for sendmmsg.
24198 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24200         [BZ #13691]
24201         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24202         with only 1 character between 0x0041 and 0x01b0.
24203         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24204         * wcsmbs/tst-mbsnrtowcs.c: New file.
24206 2012-03-29  David S. Miller  <davem@davemloft.net>
24208         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24209         small copies by hand.
24211 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24213         [BZ #13761]
24214         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24215         _nss_compat_initgroups_dyn): Fall back to malloc/free
24216         for large group memberships.
24218 2012-03-28  David S. Miller  <davem@davemloft.net>
24220         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24221         that branches into memcpy.
24222         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24223         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24224         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24225         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24226         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24227         bits.
24228         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24229         implementation too.
24230         * sysdeps/sparc/mempcpy.S: New file.
24232         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24233         the IFUNC routine in the libc case.
24234         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24236         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24237         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24238         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24239         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24240         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24241         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24242         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24243         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24245         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24246         loop to 256 bytes instead of 64 bytes and fix test signedness.
24248         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24249         * sysdeps/sparc/sparc32/Makefile: rather than here...
24250         * sysdeps/sparc/sparc64/Makefile: and here.
24252 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24254         * malloc/mallocbug.c: Avoid warnings about unused variables.
24256 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24258         [BZ #13760]
24259         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24260         in the right place. Discard and retry query if response is
24261         larger than input buffer size.
24263 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24265         [BZ #369]
24266         [BZ #2678]
24267         [BZ #3866]
24268         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24269         x for large integer exponent.
24270         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24271         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
24272         sign of result as needed afterwards.
24273         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24274         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24275         result for underflowing pow the same as for overflow.
24276         (__kernel_standard_l): Handle powl overflow and underflow here
24277         rather than calling __kernel_standard.
24278         * math/libm-test.inc (pow_test): Add more tests.
24280         [BZ #3868]
24281         [BZ #13879]
24282         [BZ #13910]
24283         [BZ #13911]
24284         [BZ #13912]
24285         [BZ #13913]
24286         [BZ #13915]
24287         [BZ #13916]
24288         [BZ #13917]
24289         [BZ #13918]
24290         [BZ #13919]
24291         [BZ #13920]
24292         [BZ #13921]
24293         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24294         * sysdeps/ieee754/k_standard.c: Include <float.h>.
24295         (__kernel_standard_l): New function.
24296         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24297         __kernel_standard.
24298         * math/w_acosl.c (__acosl): Likewise.
24299         * math/w_asinl.c (__asinl): Likewise.
24300         * math/w_atan2l.c (__atan2l): Likewise.
24301         * math/w_atanhl.c (__atanhl): Likewise.
24302         * math/w_coshl.c (__coshl): Likewise.
24303         * math/w_exp10l.c (__exp10l): Likewise.
24304         * math/w_exp2l.c (__exp2l): Likewise.
24305         * math/w_fmodl.c (__fmodl): Likewise.
24306         * math/w_hypotl.c (__hypotl): Likewise.
24307         * math/w_j0l.c (__j0l, __y0l): Likewise.
24308         * math/w_j1l.c (__j1l, __y1l): Likewise.
24309         * math/w_jnl.c (__jnl, __ynl): Likewise.
24310         * math/w_lgammal.c (__lgammal): Likewise.
24311         * math/w_log10l.c (__log10l): Likewise.
24312         * math/w_log2l.c (__log2l): Likewise.
24313         * math/w_logl.c (__logl): Likewise.
24314         * math/w_powl.c (__powl): Likewise.
24315         * math/w_remainderl.c (__remainderl): Likewise.
24316         * math/w_scalbl.c (sysv_scalbl): Likewise.
24317         * math/w_sinhl.c (__sinhl): Likewise.
24318         * math/w_sqrtl.c (__sqrtl): Likewise.
24319         * math/w_tgammal.c (__tgammal): Likewise.
24320         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24321         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24322         * math/libm-test.inc (acos_test): Add more tests.
24323         (acosh_test): Likewise.
24324         (asin_test): Likewise.
24325         (atanh_test): Likewise.
24326         (exp_test): Likewise.
24327         (exp10_test): Likewise.
24328         (exp2_test): Likewise.
24329         (expm1_test): Likewise.
24330         (lgamma_test): Likewise.
24331         (log_test): Likewise.
24332         (log10_test): Likewise.
24333         (log1p_test): Likewise.
24334         (log2_test): Likewise.
24335         (pow_test): Do not allow some spurious overflow exceptions.
24336         (sqrt_test): Add more tests.
24337         (tgamma_test): Likewise.
24338         (y0_test): Likewise.
24339         (y1_test): Likewise.
24340         (yn_test): Likewise.
24342 2012-03-27  Anton Blanchard  <anton@samba.org>
24344         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24345         MAP_HUGETLB.
24346         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24347         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24348         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24350 2012-03-27  David S. Miller  <davem@davemloft.net>
24352         * conform/Makefile: Run run-conformtest.sh using $(BASH).
24354         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24355         have-as-vis3 check.
24357 2012-03-27  Andreas Jaeger  <aj@suse.de>
24359         * sysdeps/x86_64/elf/configure.in: Moved to ...
24360         * sysdeps/x86_64/configure.in: ... here.
24361         * sysdeps/x86_64/elf/start.S: Moved to ...
24362         * sysdeps/x86_64/start.S: ... here.
24363         * sysdeps/x86_64/elf/configure: Delete.
24365         * sysdeps/x86_64/configure.in: Merge contents from
24366         sysdeps/i386/configure.in (without i686 check).
24368         * sysdeps/i386/elf/Versions: Merge into ...
24369         * sysdeps/i386/Versions: ... this.
24370         * sysdeps/i386/elf/Versions: Delete file.
24371         * sysdeps/i386/elf/start.S: Moved to ...
24372         * sysdeps/i386/start.S: ...here.
24373         * sysdeps/i386/elf/configure.in: Merge into...
24374         * sysdeps/i386/configure.in: ...here.
24375         * sysdeps/i386/elf/configure.in: Delete file.
24376         * sysdeps/i386/elf/configure: Delete file.
24378         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24379         * debug/backtracesyms.c: ... here.
24380         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24381         * debug/backtracesymsfd.c: ... here.
24382         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24383         * sysdeps/generic/ifunc-sel.h: ... here.
24385         * sysdeps/unix/i386/start.c: Delete file.
24386         * sysdeps/unix/sparc/start.c: Delete file.
24387         * sysdeps/unix/start.c: Delete file.
24389         * sysdeps/sh/elf/configure.in: Moved to ...
24390         * sysdeps/sh/configure.in: ... here.
24391         * sysdeps/sh/elf/start.S: Moved to ...
24392         * sysdeps/sh/start.S: ... here.
24393         * sysdeps/sh/elf/configure: Delete file.
24395         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24396         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24397         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24398         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24399         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24400         * sysdeps/powerpc/powerpc64/start.S: here.
24401         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24402         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24403         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24404         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24405         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24407         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24408         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24409         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24410         * sysdeps/powerpc/powerpc32/start.S: ... here.
24411         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24412         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24413         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24415         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24416         * sysdeps/powerpc/ifunc-sel.h: ... here.
24417         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24418         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24420         * sysdeps/sparc/elf/configure.in: Moved to ...
24421         * sysdeps/sparc/configure.in: ... here.
24422         * sysdeps/sparc/elf/configure: Delete file.
24423         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24424         * sysdeps/sparc/sparc32/start.S: ... here.
24425         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24426         * sysdeps/sparc/sparc64/start.S: ... here.
24427         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24428         * sysdeps/sparc/sparc32/Makefile: ... this.
24429         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24430         * sysdeps/sparc/sparc64/Makefile: ... this.
24432         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24433         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24434         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24435         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24436         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24437         * sysdeps/s390/s390-32/setjmp.S: ... here.
24438         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24439         * sysdeps/s390/s390-32/configure.in: ... here.
24440         * sysdeps/s390/s390-32/elf/configure: Delete file.
24441         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24442         * sysdeps/s390/s390-32/start.S: ... here.
24444         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24445         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24446         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24447         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24448         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24449         * sysdeps/s390/s390-64/setjmp.S: ... here.
24450         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24451         * sysdeps/s390/s390-64/configure.in: ... here
24452         * sysdeps/s390/s390-64/elf/configure: Delete file.
24453         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24454         * sysdeps/s390/s390-64/start.S: ... here.
24455         * sysdeps/s390/s390-64/elf/configure: Delete.
24457         * configure.in: Remove support for elf directories in sysdeps.
24459         * configure: Regenerated.
24460         * sysdeps/i386/configure: Regenerated.
24461         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24462         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24463         * sysdeps/s390/s390-32/configure: Regenerated.
24464         * sysdeps/s390/s390-64/configure: Regenerated.
24465         * sysdeps/sh/configure: Regenerated.
24466         * sysdeps/sparc/configure: Regenerated.
24467         * sysdeps/x86_64/configure: Regenerated.
24469 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24473         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24474         denormal result into account.
24476 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24478         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24479         Reported by Allan McRae <allan@archlinux.org>.
24481 2012-03-23  Jeff Law  <law@redhat.com>
24483         * nss/getnssent.c (__nss_getent): Fix typo.
24485 2012-03-23  David S. Miller  <davem@davemloft.net>
24487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24489 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24491         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24492         to pad to uint64_t for each field.
24493         (dl_tls_index): Replace unsigned long with uint64_t.
24495 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24496         Paul Pluzhnikov  <ppluzhnikov@google.com>
24498         [BZ #6528]
24499         * grp/Makefile (otherlibs): Don't set it.
24500         * inet/Makefile (otherlibs): Likewise.
24501         * login/Makefile (otherlibs): Likewise.
24502         * nscd/Makefile (otherlibs): Likewise.
24503         * posix/Makefile (otherlibs): Likewise.
24504         * pwd/Makefile (otherlibs): Likewise.
24505         * rt/Makefile (otherlibs): Likewise.
24506         * sunrpc/Makefile (otherlibs): Likewise.
24507         * nss/Makefile (otherlibs): Likewise.
24508         Add libnss_files to routines and static-only-routines.
24509         ($(objpfx)getent): Remove rule.
24510         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24511         static-only-routines.
24513 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24515         [BZ #13892]
24516         * math/s_cexp.c: Include <float.h>.
24517         (__cexp): Handle exp result overflowing not necessarily
24518         overflowing both real and imaginary parts of result.
24519         * math/s_cexpf.c: Likewise.
24520         * math/s_cexpl.c: Likewise.
24521         * math/libm-test.inc (cexp_test): Add more tests.
24522         * sysdeps/i386/fpu/libm-test-ulps: Update.
24523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24525 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24527         * include/link.h (ELFW): New macro.
24528         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24529         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24531 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24533         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24534         with uint64_t.
24536 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24538         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24539         declaration.
24540         (struct La_x32_retval): Likewise.
24542 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24544         * sysdeps/x86_64/preconfigure.in: New file.
24545         * sysdeps/x86_64/preconfigure: New generated file.
24547 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24549         [BZ #13824]
24550         * math/e_exp2l.c: Include <float.h>.
24551         (__ieee754_exp2l): Handle overflow and underflow cases
24552         separately.  Only pass fractional part of argument to
24553         __ieee754_expl.
24554         * math/libm-test.inc (exp2_test): Add more tests.
24556         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24557         negating x to take absolute value.
24558         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24559         Likewise.
24560         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24561         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24562         Likewise.
24563         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24564         computing low part if x was negated.
24565         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24567 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24569         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24570         la_x32_gnu_pltexit.
24571         (pltexit): Cast int_retval to ptrdiff_t.
24572         * elf/tst-auditmod3b.c: Likewise.
24573         * elf/tst-auditmod4b.c: Likewise.
24574         * elf/tst-auditmod5b.c: Likewise.
24575         * elf/tst-auditmod6b.c: Likewise.
24576         * elf/tst-auditmod6c.c: Likewise.
24577         * elf/tst-auditmod7b.c: Likewise.
24579         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24580         and x32_gnu_pltexit.
24582         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24583         __ELF_NATIVE_CLASS.
24584         (La_x32_regs): New macro.
24585         (La_x32_retval): Likewise.
24586         (la_x32_gnu_pltenter): New function prototype.
24587         (la_x32_gnu_pltexit): Likewise.
24589 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24591         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24592         exponent.
24594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24596         * configure.in (libc_cv_cc_nofma): Check for option to disable
24597         generation of FMA instructions.
24598         * configure: Regenerate.
24599         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24600         * sysdeps/ieee754/dbl-64/Makefile: New file.
24601         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24602         Remove brandred-fma4.
24603         (CFLAGS-brandred-fma4.c): Remove.
24604         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24605         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24606         define.
24607         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24608         define.
24610 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24612         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24613         LLONG_MAX != LONG_MAX.
24614         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24615         (_fitoa_word): Likewise.
24616         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24617         LLONG_MAX != LONG_MAX.
24618         * stdio-common/_itowa.h: Include <_itoa.h>.
24619         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24620         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24621         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24622         only if not defined.
24623         (_ITOA_WORD_TYPE): Likewise.
24624         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24625         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24627 2012-03-21  David S. Miller  <davem@davemloft.net>
24629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24631 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24633         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24634         of x86_64 when setting libc_cv_slibdir, libdir and
24635         libc_cv_localedir.
24636         * sysdeps/unix/sysv/linux/configure: Regenerated.
24638 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24640         * manual/lang.texi (Old Varargs): Remove section.
24641         (How Variadic): Update menu.
24642         (va_start): Do not mention varargs.h.
24644 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24645             Joseph Myers  <joseph@codesourcery.com>
24647         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24648         link test.
24649         * configure: Regenerated.
24651 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24653         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24654         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24655         conformtest.pl
24657 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24659         * NOTES: Remove.
24660         * Makefile (files-for-dist): Remove NOTES.
24661         (NOTES): Remove rule.
24662         * README: Don't refer to NOTES.
24663         * manual/creature.texi: Don't include macros.texi.
24664         * manual/intro.texi (creature.texi): Remove comment referring to
24665         NOTES.
24667         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24668         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24669         * configure: Regenerated.
24670         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24671         LIBC_TRY_CC_OPTION.
24672         (libc_cv_as_i686): Likewise.
24673         (libc_cv_cc_avx): Likewise.
24674         (libc_cv_cc_sse2avx): Likewise.
24675         (libc_cv_cc_fma4): Likewise.
24676         (libc_cv_cc_novzeroupper): Likewise.
24677         * sysdeps/i386/configure: Regenerated.
24679         [BZ #13883]
24680         * sysdeps/i386/fpu/s_cexp.S: Remove.
24681         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24682         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24683         * math/libm-test.inc (cexp_test): Add more tests.
24684         * sysdeps/i386/fpu/libm-test-ulps: Update.
24685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24687 2012-03-21  Allan McRae  <allan@archlinux.org>
24689         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24691 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24693         [BZ #13871]
24694         * math/w_exp2.c: Do not include <float.h>.
24695         (o_threshold, u_threshold): Remove.
24696         (__exp2): Calculate result before checking finiteness and calling
24697         __kernel_standard.
24698         * math/w_exp2f.c: Likewise.
24699         * math/w_exp2l.c: Likewise.
24700         * math/libm-test.inc (exp2_test): Require overflow exception for
24701         1e6 input.
24703         [BZ #3866]
24704         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24705         range of signed 64-bit integers before using fistpll.  Remove
24706         checks for whether integers fit in mantissa bits.
24707         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24708         the range of signed 32-bit integers before using fistpl.  Remove
24709         checks for whether integers fit in mantissa bits.
24710         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24711         (__ieee754_powl): Test for y outside the range of signed 64-bit
24712         integers before using fistpll.  Reduce 64-bit values to 63-bit
24713         ones as needed.
24714         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24715         divide-by-zero is raised for zero to large negative powers.
24716         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24717         (__ieee754_powl): Test for y outside the range of signed 64-bit
24718         integers before using fistpll.  Reduce 64-bit values to 63-bit
24719         ones as needed.
24720         * math/libm-test.inc (pow_test): Add more tests.
24722 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24724         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24725         <stdio-common/_itoa.h>.
24726         * debug/segfault.c: Likewise.
24727         * elf/dl-cache.c: Likewise.
24728         * elf/dl-minimal.c: Likewise.
24729         * elf/dl-misc.c: Likewise.
24730         * elf/dl-sysdep.c: Likewise.
24731         * elf/dl-version.c: Likewise.
24732         * elf/rtld.c: Likewise.
24733         * hurd/hurdsock.c: Likewise.
24734         * hurd/lookup-retry.c: Likewise.
24735         * malloc/malloc.c: Likewise.
24736         * malloc/mtrace.c: Likewise.
24737         * nscd/nscd_getgr_r.c: Likewise.
24738         * nscd/nscd_getpw_r.c: Likewise.
24739         * nscd/nscd_getserv_r.c: Likewise.
24740         * posix/getopt_init.c: Likewise.
24741         * posix/wordexp.c: Likewise.
24742         * stdio-common/_itoa.c: Likewise.
24743         * stdio-common/printf_fphex.c: Likewise.
24744         * stdio-common/vfprintf.c: Likewise.
24745         * string/_strerror.c: Likewise.
24746         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24747         * sysdeps/i386/i686/hp-timing.h: Likewise.
24748         * sysdeps/mach/_strerror.c: Likewise.
24749         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24750         * sysdeps/mach/hurd/sethostid.c: Likewise.
24751         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24752         * sysdeps/mach/xpg-strerror.c: Likewise.
24753         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24754         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24755         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24756         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24757         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24758         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24759         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24760         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24761         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24762         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24763         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24764         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24765         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24766         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24767         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24768         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24769         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24770         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24771         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24772         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24773         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24775         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24777         * stdio-common/_itoa.h: Moved to ...
24778         * sysdeps/generic/_itoa.h: Here.
24780         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24782         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24783         instead of "_itoa.h" and "_itowa.h".
24784         * stdio-common/vfprintf.: Likewise.
24786 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24788         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24789         <bits/wordsize.h>.
24790         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24791         (__signbit): Likwise.
24792         (llrintf): Likwise.
24793         (llrint): Likwise.
24795 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24797         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24798         __WORDSIZE != 64.
24800 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24802         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24803         OVERFLOW_EXCEPTION_OK.
24804         * math/libm-test.inc ("Philosophy"): Update comment about
24805         exception testing.
24806         (OVERFLOW_EXCEPTION): Define.
24807         (OVERFLOW_EXCEPTION_OK): Likewise.
24808         (INVALID_EXCEPTION_OK): Renumber.
24809         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24810         (IGNORE_ZERO_INF_SIGN): Likewise.
24811         (test_exceptions): Handle FE_OVERFLOW.
24812         (exp10_test): Expect overflow exceptions.
24813         (exp2_test): Likewise.
24814         (expm1_test): Likewise.
24815         (nextafter_test): Likewise.
24816         (pow_test): Likewise.
24817         (scalbn_test): Likewise.
24818         (scalbln_test): Likewise.
24820 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24822         * sysdeps/x86_64/bits/atomic.h
24823         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24824         64bit integer.
24825         (atomic_exchange_acq): Likewise.
24826         (__arch_exchange_and_add_body): Likewise.
24827         (__arch_add_body): Likewise.
24828         (atomic_add_negative): Likewise.
24829         (atomic_add_zero): Likewise.
24831 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24833         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24834         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24836 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24838         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24839         Check __x86_64__ instead of __WORDSIZE.
24841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24843         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24845 2012-03-19  David S. Miller  <davem@davemloft.net>
24847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24849         * sysdeps/sparc/fpu/fenv_private.h: New file.
24850         * sysdeps/sparc/fpu/math_private.h: Use it.
24851         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24852         Remove.
24853         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24854         (libc_feholdexcept_setroundl): Remove.
24855         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24856         Remove.
24857         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24858         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24860 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24862         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24863         int64_t instead of long int.
24864         (INSERT_WORDS64): Likwise.
24866 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24868         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24869         _Unwind_GetCFA return to _Unwind_Ptr first.
24871 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24873         [BZ #13629]
24874         * math/s_clog.c: Include <float.h>.
24875         (__clog): Scale large or subnormal inputs.
24876         * math/s_clogf.c: Likewise.
24877         * math/s_clogl.c: Likewise.
24878         * math/s_clog10.c: Include <float.h>.
24879         (M_LOG10_2): Define.
24880         (__clog10): Scale large or subnormal inputs.
24881         * math/s_clog10f.c: Likewise.
24882         * math/s_clog10l.c: Likewise.
24883         * math/libm-test.inc (clog_test): Add more tests.
24884         (clog10_test): Likewise.
24885         * sysdeps/i386/fpu/libm-test-ulps: Update.
24886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24888         [BZ #11451]
24889         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24890         x and y.
24891         * math/libm-test.inc (atan2_test): Add another test.
24893         * Makerules (common-objdir-compile): Remove.
24894         * sysdeps/unix/Makefile (config-generated): Do not add
24895         $(unix-generated) to variable.
24896         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24897         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24898         Remove rule.
24899         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24900         Likewise.
24901         [generic bits/local_lim.h] (before-compile): Do not append to
24902         variable.
24903         [generic bits/local_lim.h] (common-generated): Likewise.
24904         [generic sys/param.h] (before-compile): Do not append to variable.
24905         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24906         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24907         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24908         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24909         include.
24910         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24911         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24912         [generic sys/param.h] ($(addprefix
24913         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24914         [generic sys/param.h] (common-generated): Do not append to
24915         variable.
24916         [generic sys/param.h] (sysdep_headers): Likewise.
24917         [generic bits/errno.h] (before-compile): Do not append to
24918         variable.
24919         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24920         rule.
24921         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24922         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24923         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24924         [generic bits/errno.h] (common-generated): Do not append to
24925         variable.
24926         [generic bits/ioctls.h] (before-compile): Do not append to
24927         variable.
24928         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24929         rule.
24930         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24931         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24932         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24933         rule.
24934         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24935         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24936         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24937         [generic bits/ioctls.h] (common-generated): Do not append to
24938         variable.
24939         [generic sys/syscall.h] (syscall.h): Remove variable.
24940         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24941         rule.
24942         [generic sys/syscall.h] (before-compile): Do not append to
24943         variable.
24944         [generic sys/syscall.h] (common-generated): Likewise.
24945         * sysdeps/unix/errnos-tmpl.c: Remove file.
24946         * sysdeps/unix/errnos.awk: Likewise.
24947         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24948         * sysdeps/unix/ioctls.awk: Likewise.
24949         * sysdeps/unix/mk-local_lim.c: Likewise.
24950         * sysdeps/unix/snarf-ioctls: Likewise.
24952 2012-03-19  Richard Henderson  <rth@twiddle.net>
24954         * sysdeps/i386/fpu/fenv_private.h: New file.
24955         * sysdeps/i386/fpu/math_private.h: Use it.
24956         (math_opt_barrier, math_force_eval): Remove.
24957         (libc_feholdexcept_setround_53bit): Remove.
24958         (libc_feupdateenv_53bit): Remove.
24959         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24960         (math_opt_barrier, math_force_eval): Remove.
24961         (libc_feholdexcept): Remove.
24962         (libc_feholdexcept_setround): Remove.
24963         (libc_fetestexcept, libc_fesetenv): Remove.
24964         (libc_feupdateenv_test): Remove.
24965         (libc_feupdateenv, libc_feholdsetround): Remove.
24966         (libc_feresetround): Remove.
24968         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24969         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24971         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24972         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24973         (libc_feupdateenv_testl): New.
24974         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24975         (libc_feupdateenv_testf): New.
24976         (libc_feupdateenv): Use libc_feupdateenv_test.
24977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24978         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24980         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24981         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24982         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24983         (libc_feresetround_noex): New.
24984         (libc_feresetround_noexf): New.
24985         (libc_feresetround_noexl): New.
24986         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24987         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24988         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24989         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24990         SET_RESTORE_ROUND.
24991         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24992         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24993         (__cos): Likewise.
24994         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24995         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24996         SET_RESTORE_ROUND_NOEX.
24997         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24998         SET_RESTORE_ROUND_NOEXF.
24999         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25000         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25001         (libc_feholdsetroundf): New.
25002         (libc_feresetround, libc_feresetroundf): New.
25004         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25005         (libc_feholdexcept_setround_53bit): Convert from macro to function.
25006         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
25008         * sysdeps/generic/math_private.h: Include <fenv.h>.
25009         (default_libc_feholdexcept): New.
25010         (default_libc_feholdexcept_setround): New.
25011         (default_libc_fesetenv, default_libc_feupdateenv): New.
25012         (libc_feholdexcept): Only define if undefined.
25013         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25014         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25015         (libc_feholdexcept_setroundl): Likewise.
25016         (libc_feholdexcept_setround_53bit): Likewise.
25017         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25018         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25019         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25020         (libc_feupdateenv_53bit): Likewise.
25021         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25022         (libc_feholdexcept): Convert from macro to inline function.
25023         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25024         (libc_fesetenv, libc_feupdateenv): Likewise.
25026         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25027         not previously defined.
25028         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25029         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25030         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25031         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25032         * sysdeps/ieee754/flt-32/math_private.h: New file.
25033         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25034         math_private.h below SET_FLOAT_WORD.
25035         (__isnan, __isinf_ns, __finite): Remove.
25036         (__isnanf, __isinf_nsf, __finitef): Remove.
25038 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
25040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25042 2012-03-17  David S. Miller  <davem@davemloft.net>
25044         [BZ #6471]
25045         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25046         for 2.16.
25048 2012-03-16  David S. Miller  <davem@davemloft.net>
25050         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25051         warnings.
25053         [BZ #6471]
25054         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25055         properly.
25056         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25057         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25058         sysdep_routines when subdir is sysvipc.
25059         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25060         __getshmlba helper.
25062         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25064 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25066         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25067         [__LP64__].
25069 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25071         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25072         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25073         (__lround): Renamed to ...
25074         (__llround): This.  Replace long int with long long int.
25075         Define lround functions as aliases of llround functions.
25076         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25078 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25080         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25081         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25082         adresses to uintptr_t.  Replace "long int" and "unsigned long
25083         int" with "greg_t" on va_arg.
25085 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25087         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25088         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25090         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25091         Move e_machine check before EI_CLASS check.  Handle x32
25092         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25093         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25094         SKIP_EM_IA_64 and include
25095         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25097         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25098         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25099         (add_system_dir): New macro.
25101         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25102         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25104 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25106         [BZ #2551]
25107         [BZ #2552]
25108         [BZ #2553]
25109         [BZ #2554]
25110         [BZ #2562]
25111         [BZ #2563]
25112         [BZ #2565]
25113         [BZ #2566]
25114         [BZ #2576]
25115         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25116         (y0): Likewise.
25117         * math/w_j0f.c (j0f): Likewise.
25118         (y0f): Likewise.
25119         * math/w_j0l.c (__j0l): Likewise.
25120         (__y0l): Likewise.
25121         * math/w_j1.c (j1): Likewise.
25122         (y1): Likewise.
25123         * math/w_j1f.c (j1f): Likewise.
25124         (y1f): Likewise.
25125         * math/w_j1l.c (__j1l): Likewise.
25126         (__y1l): Likewise.
25127         * math/w_jn.c (jn): Likewise.
25128         (yn): Likewise.
25129         * math/w_jnf.c (jnf): Likewise.
25130         (ynf): Likewise.
25131         * math/w_jnl.c (__jnl): Likewise.
25132         (__ynl): Likewise.
25133         * math/libm-test.inc (j0_test): Add more tests.
25134         (j1_test): Likewise.
25135         (jn_test): Likewise.  Add trailing semicolon to existing test.
25136         (y0_test): Likewise.
25137         (y1_test): Likewise.
25138         * sysdeps/i386/fpu/libm-test-ulps: Update.
25139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25141         [BZ #13851]
25142         [BZ #13854]
25143         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25144         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25145         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25146         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25147         (__tanl): Set errno for infinite argument.
25148         * sysdeps/i386/fpu/mptan.c: Remove.
25149         * sysdeps/i386/fpu/s_tan.S: Likewise.
25150         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25151         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25152         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25153         * math/libm-test.inc (tan_test): Add more tests and enable more
25154         tests for double and long double.
25155         * sysdeps/i386/fpu/libm-test-ulps: Update.
25156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25158 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25160         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25161         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25163 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25165         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25166         * configure.in: Use it for both main tree and add-ons.
25167         * configure: Regenerated.
25169 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25171         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25173 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25175         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25176         in comment.
25178         [BZ #13851]
25179         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25180         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25181         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25182         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25183         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25184         infinite argument.
25185         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25186         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25187         != 0 for prec == 2.
25188         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25189         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25190         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25191         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25192         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25193         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25194         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25195         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25196         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25197         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25198         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25199         * math/libm-test.inc (cos_test): Add more tests and enable more
25200         tests for long double.
25201         (sin_test): Likewise.
25202         (sincos_test): Likewise.
25203         * sysdeps/i386/fpu/libm-test-ulps: Update.
25204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25206 2012-03-16  David S. Miller  <davem@davemloft.net>
25208         * sysdeps/sparc/fpu/math_private.h: New file.
25210 2012-03-15  David S. Miller  <davem@davemloft.net>
25212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25213         file.
25214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25216         file.
25217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25218         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25222         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25223         sysdep routines.
25224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25226         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25227         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25229         * sysdeps/sparc/sparc-ifunc.h: New file.
25230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25231         sparc-ifunc.h
25232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25234         Likewise.
25235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25236         Likewise.
25237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25241         Likewise.
25242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25247         Likewise.
25248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25249         Likewise.
25250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25256         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25257         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25264         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25268         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25269         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25270         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25271         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25272         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25273         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25275 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25277         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25278         scaling.
25279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25281 2012-03-15  Andreas Jaeger  <aj@suse.de>
25283         [BZ #13852]
25284         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25285         ieee754/flt-32 implementation for sin, cos and sincos.
25286         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25287         * sysdeps/i386/fpu/s_cosf.S: Likewise.
25288         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25289         * sysdeps/i386/fpu/s_sinf.S: Likewise.
25290         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25291         ieee754/flt-32 implementation for tan.
25293         * math/libm-test.inc (cos_test): Enable some large input tests for
25294         float as well
25295         (sin_test): Likewise.
25296         (sincos_test): Likewise.
25297         (tan_test): Add tests for large input.
25299         * sysdeps/i386/fpu/libm-test-ulps: Update.
25301 2012-03-15  Andreas Jaeger  <aj@suse.de>
25303         [BZ #13658]
25304         * math/libm-test.inc (cos_test): Add more test cases.
25305         (sin_test): Likewise.
25306         (sincos_test): Likewise.
25308 2012-03-15  Andreas Jaeger  <aj@suse.de>
25310         [BZ #13837]
25311         * math/libm-test.inc (cos_test): Add a test case for large input
25312         value.
25313         (sin_test): Likewise.
25314         (sincos_test): Likewise.
25316 2012-03-15  Andreas Jaeger  <aj@suse.de>,
25317         Joseph Myers  <joseph@codesourcery.com>
25319         [BZ #13658]
25320         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25321         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25322         * sysdeps/i386/fpu/branred.c: Likewise.
25323         * sysdeps/i386/fpu/dosincos.c: Likewise.
25324         * sysdeps/i386/fpu/mpa.c: Likewise.
25325         * sysdeps/i386/fpu/s_cos.S: Likewise.
25326         * sysdeps/i386/fpu/s_sin.S: Likewise.
25327         * sysdeps/i386/fpu/s_sincos.S: Likewise.
25328         * sysdeps/i386/fpu/sincos32.c: Likewise.
25330         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25331         Define.
25332         (libc_feupdateenv_53bit): Define.
25333         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25334         Define.
25335         (libc_feupdateenv_53bit): Define.
25337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25338         53 bit (without extend i386 double precision).
25340         * math/libm-test.inc (sincos_test): Add tests for large input.
25341         (sin): Likewise.
25342         (cos): Likewise.
25344         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25346 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25350 2012-03-15  David S. Miller  <davem@davemloft.net>
25352         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25353         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25354         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25355         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25362         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25363         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25368         file.
25369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25371         file.
25372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25374         file.
25375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25377         file.
25378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25379         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25380         fmin/fmax sysdep routines.
25381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25383 2012-03-14  David S. Miller  <davem@davemloft.net>
25385         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25386         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25387         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25388         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25389         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25390         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25391         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25392         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25394         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25397         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25398         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25399         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25400         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25401         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25402         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25403         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25404         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25405         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25406         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25407         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25408         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25409         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25410         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25411         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25412         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25413         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25414         routines.
25415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25416         file.
25417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25419         file.
25420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25422         file.
25423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25425         file.
25426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25428         file.
25429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25431         file.
25432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25433         file.
25434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25435         file.
25436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25437         file.
25438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25439         New file.
25440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25441         file.
25442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25443         file.
25444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25446         file.
25447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25449         file.
25450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25452         file.
25453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25455         VIS3 routines.
25457         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25458         New file.
25460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25462         * sysdeps/sparc/configure.in: New file.
25463         * sysdeps/sparc/configure: Generate.
25464         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25465         * configure: Regenerate.
25466         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25467         * config.make.in (have-as-vis3): New.
25468         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25469         available use -Av9d instead of -Av9a.
25470         * sysdeps/sparc/sparc64/Makefile: Likewise.
25471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25473         New file.
25474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25475         file.
25476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25477         New file.
25478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25479         file.
25480         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25481         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25482         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25483         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25484         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25486         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25487         fzeros/fnegs to load 0x80000000 into a float register instead of
25488         using the stack.
25489         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25491 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25494         bits/syscall.h.
25495         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25496         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25497         ($(inst_includedir)/bits/syscall.h): Remove rule.
25498         ($(objpfx)bits/syscall.d): Include instead of
25499         $(objpfx)syscall-list.d.
25500         (generated): Change syscall-list.h and syscall-list.d to
25501         bits/syscall.h and bits/syscall.d.
25503 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25505         [BZ #13846]
25506         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25508 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25510         [BZ #13841]
25511         * math/s_csqrt.c: Include <float.h>.
25512         (__csqrt): Scale large or subnormal inputs.
25513         * math/s_csqrtf.c: Likewise.
25514         * math/s_csqrtl.c: Likewise.
25515         * math/libm-test.inc (csqrt_test): Add more tests.
25516         * sysdeps/i386/fpu/libm-test-ulps: Update.
25517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25519         [BZ #13840]
25520         * math/libm-test.inc (hypot_test): Add more tests.
25522 2012-03-13  David S. Miller  <davem@davemloft.net>
25524         [BZ #13840]
25525         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25526         double-precision for the calculation instead of scaling.
25528 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25530         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25531         manipulate bits before adding and subtracting TWO52[sx].
25532         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25533         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25534         Likewise.
25535         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25537 2012-03-13  David S. Miller  <davem@davemloft.net>
25539         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25540         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25541         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25542         rtld-global-offsets.h
25543         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25545         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25546         large parameters.
25548         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25550         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25551         'err' in the ifdef scope in which it is actually used.
25553         * nss/nss_db/db-init.c: Include string.h
25555 2012-03-12  David S. Miller  <davem@davemloft.net>
25557         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25558         masking out of the most significant byte of random value used.
25559         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25560         Fix coding style in previous change.
25562         * sysdeps/unix/sysv/linux/kernel-features.h
25563         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25564         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25565         expression.
25566         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25567         later.
25569 2012-03-11  David S. Miller  <davem@davemloft.net>
25571         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25572         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25573         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25574         for 'resultvar' otherwise things get truncated on 64-bit.
25576         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25577         Fix masking out of the most significant byte of random value used.
25579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25581 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25585 2012-03-09  David S. Miller  <davem@davemloft.net>
25587         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25588         variables with appropriate CPP guards.
25589         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25590         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25591         on resulting framesize and the management of the outregs buffer for pltexit.
25592         Preserve floating point return values across _dl_call_pltexit call.
25593         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25594         framesize and the management of the outregs buffer for pltexit.
25595         Preserve floating point return values across _dl_call_pltexit
25596         call.
25597         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25598         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25599         (print_exit): Fix format string for return register value.
25601 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25603         * sunrpc/Makefile (others): Add rpcgen.
25604         ($(objpfx)rpcgen): Remove special build rule and dependency on
25605         libc.
25606         * sunrpc/rpcgen.c: New file.
25608 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25610         [BZ #13673]
25611         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25612         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25613         * sysdeps/i386/crti.S: Likewise.
25614         * sysdeps/i386/crtn.S: Likewise.
25615         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25616         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25617         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25618         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25619         * sysdeps/sh/crti.S: Likewise.
25620         * sysdeps/sh/crtn.S: Likewise.
25621         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25623         [BZ #13673]
25624         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25625         with URL.
25626         * locale/programs/locfile-kw.gperf: Likewise.
25627         * locale/programs/charmap-kw.h: Regenerated.
25628         * locale/programs/locfile-kw.h: Likewise.
25630         [BZ #13673]
25631         * intl/plural.y: Replace FSF snail mail address with URL.
25632         * intl/plural.c: Regenerated.
25634 2012-03-09  Richard Henderson  <rth@twiddle.net>
25636         * include/math_private.h: Remove file.
25637         * math/math_private.h: Move file ...
25638         * sysdeps/generic/math_private.h: ... here.
25640         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25641         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25642         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25644         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25645         and <math_private.h>.
25646         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25647         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25648         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25649         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25650         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25651         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25652         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25653         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25654         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25655         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25656         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25657         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25658         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25659         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25660         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25661         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25662         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25663         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25664         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25665         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25666         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25667         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25668         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25669         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25670         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25671         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25672         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25673         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25674         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25675         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25676         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25677         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25678         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25679         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25680         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25681         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25682         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25683         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25684         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25685         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25686         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25687         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25688         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25689         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25690         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25691         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25692         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25693         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25694         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25695         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25696         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25697         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25698         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25699         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25700         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25701         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25702         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25703         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25704         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25705         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25706         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25707         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25708         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25709         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25710         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25711         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25712         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25713         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25714         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25715         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25716         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25717         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25718         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25719         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25720         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25721         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25722         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25723         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25724         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25725         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25726         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25727         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25728         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25729         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25730         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25731         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25732         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25733         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25734         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25735         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25736         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25737         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25738         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25739         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25740         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25741         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25742         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25743         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25744         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25745         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25746         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25747         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25748         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25749         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25750         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25751         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25752         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25753         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25754         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25755         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25756         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25757         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25758         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25759         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25760         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25761         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25762         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25763         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25764         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25765         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25766         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25767         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25768         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25769         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25770         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25771         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25772         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25773         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25774         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25775         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25776         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25777         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25778         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25779         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25780         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25781         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25782         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25783         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25784         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25785         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25786         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25787         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25788         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25789         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25790         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25791         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25792         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25793         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25794         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25795         * sysdeps/ieee754/k_standard.c: Likewise.
25796         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25797         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25798         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25799         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25800         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25801         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25802         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25803         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25804         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25805         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25806         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25807         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25808         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25809         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25810         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25811         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25812         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25813         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25814         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25815         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25816         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25817         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25818         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25819         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25820         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25821         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25822         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25823         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25824         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25825         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25826         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25827         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25828         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25829         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25830         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25831         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25832         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25833         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25834         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25835         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25836         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25837         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25838         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25839         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25840         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25841         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25842         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25843         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25844         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25845         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25846         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25847         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25848         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25849         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25850         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25851         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25852         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25853         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25854         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25855         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25856         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25857         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25858         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25859         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25860         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25861         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25862         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25863         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25864         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25865         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25866         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25867         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25868         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25869         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25870         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25871         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25872         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25873         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25874         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25875         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25876         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25877         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25878         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25879         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25880         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25881         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25882         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25883         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25884         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25886         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25887         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25888         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25889         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25890         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25891         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25892         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25893         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25894         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25895         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25896         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25897         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25898         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25899         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25900         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25901         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25902         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25903         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25904         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25905         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25906         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25907         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25908         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25909         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25910         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25911         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25912         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25913         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25914         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25915         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25916         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25917         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25918         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25919         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25920         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25921         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25922         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25923         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25924         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25925         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25926         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25927         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25928         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25929         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25930         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25931         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25932         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25933         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25934         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25935         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25936         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25937         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25938         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25939         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25940         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25941         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25942         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25943         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25944         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25945         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25946         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25947         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25948         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25949         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25950         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25951         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25952         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25953         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25954         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25955         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25956         * sysdeps/ieee754/s_lib_version.c: Likewise.
25957         * sysdeps/ieee754/s_matherr.c: Likewise.
25958         * sysdeps/ieee754/s_signgam.c: Likewise.
25959         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25960         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25961         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25962         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25963         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25964         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25965         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25966         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25967         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25968         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25969         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25970         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25971         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25972         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25973         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25974         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25975         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25976         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25977         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25978         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25979         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25981 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25983         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25984         * sunrpc/rpc_main.c: Likewise.
25985         * sunrpc/rpc_svcout.c: Likewise.
25987 2012-03-09  David S. Miller  <davem@davemloft.net>
25989         * include/math_private.h: New file.
25991 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25993         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25994         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25995         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25996         from <bits/socket_type.h>.
25997         (enum __socket_type): Don't define here.
25998         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26000         bits/socket_type.h.
26002         [BZ #13566]
26003         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26004         checking __USE_GNU.
26006         * Makerules ($(inst_includedir)/%.h): New rule.
26007         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26008         (install-others): Remove variable setting.
26009         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26011 2012-03-08  Richard Henderson  <rth@twiddle.net>
26013         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26014         from macro to inline function; merge with the
26015         !__LIBC_INTERNAL_MATH_INLINES version.
26016         (__ieee754_sqrtf): Likewise.
26018         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26019         to inline function.
26020         (__rintf, __floor, __floorf): Likewise.
26022         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26023         macro to inline function.
26024         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26026         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26027         not <math/math_private.h>.
26029 2012-03-08  David S. Miller  <davem@davemloft.net>
26031         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26032         copyright year.
26033         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26035 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
26037         * resolv/gai_misc.c (handle_requests): Fix struct timespec
26038         normalization.
26039         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26040         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26042 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
26044         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
26045         be defined individually, they must be defined as a block.  Define
26046         S for printing a string instead of hidint the different by using a
26047         macro for adding the 'l'.
26048         * stdio-common/tst-fphex-wide.c: Adjust.
26050 2012-03-07  Marek Polacek  <polacek@redhat.com>
26052         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26054 2012-03-08  Marek Polacek  <polacek@redhat.com>
26056         [BZ #13806]
26057         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26058         * stdio-common/tst-fphex.c: Define a few macros to make the
26059         test reusable.  Use them.
26060         * stdio-common/tst-fphex-wide.c: New file.
26062 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26064         [BZ #6911]
26065         * manual/macros.texi (gnusystems): New macro.
26066         (nongnusystems): Likewise.
26067         (gnulinuxhurdsystems): Likewise.
26068         (gnuhurdsystems): Likewise..
26069         (gnulinuxsystems): Likewise.
26070         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26071         variants of the GNU system, not "GNU system".
26072         * manual/conf.texi: Likewise.
26073         * manual/errno.texi: Likewise.  Update example of errno macro
26074         expansion.
26075         * manual/filesys.texi: Likewise.
26076         (getumask): Document as specific to GNU/Hurd.
26077         * manual/install.texi: Likewise.  Reword some references to
26078         GNU/Linux.
26079         * manual/intro.texi: Likewise.
26080         * manual/io.texi: Likewise.
26081         (File Name Portability): Detail which constraints are inapplicable
26082         to all GNU systems and which are only inapplicable to GNU/Hurd.
26083         * manual/job.texi: Likewise.
26084         * manual/llio.texi: Likewise.
26085         (O_NOCTTY): Document as present on GNU/Linux.
26086         * manual/maint.texi: Likewise.
26087         * manual/memory.texi: Likewise.
26088         * manual/pattern.texi: Likewise.
26089         * manual/pipe.texi: Likewise.
26090         * manual/process.texi: Likewise.
26091         * manual/resource.texi: Likewise.
26092         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26093         child on GNU/Hurd.
26094         * manual/setjmp.texi: Likewise.
26095         * manual/signal.texi: Likewise.
26096         * manual/startup.texi: Likewise.
26097         * manual/stdio.texi: Likewise.
26098         * manual/terminal.texi: Likewise.
26099         (ONLCR): Document as POSIX.
26100         (OXTABS): Document availability on GNU/Linux as XTABS.
26101         (ONOEOT): Document availability separately from other bits.
26102         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26103         * manual/time.texi: Likewise.
26104         * manual/users.texi: Likewise.
26105         * INSTALL: Regenerated.
26106         * sysdeps/gnu/errlist.c: Regenerated.
26108         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26109         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26110         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26111         puts.
26112         * configure: Regenerated.
26114 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26116         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26117         default includes instead of AC_HEADER_CHECK.
26118         * sysdeps/i386/configure: Regenerated.
26120         [BZ #10716]
26121         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26122         * math/s_cacoshf.c (__cacoshf): Likewise.
26123         * math/s_cacoshl.c (__cacoshl): Likewise.
26124         * math/s_casinh.c (__casinh): Set signs of result from argument.
26125         * math/s_casinhf.c (__casinhf): Likewise.
26126         * math/s_casinhl.c (__casinhl): Likewise.
26127         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26128         (casinh_test): Add more tests.
26129         * sysdeps/i386/fpu/libm-test-ulps: Update.
26130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26132 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26134         * po/zh_TW.po: Update from translation team.
26136         * login/Makefile (distribute): Remove variable.
26137         * catgets/Makefile: Likewise.
26138         * mach/Makefile: Likewise.
26139         * malloc/Makefile: Likewise.
26140         * misc/Makefile: Likewise.
26141         * iconv/Makefile: Likewise.
26142         * nscd/Makefile: Likewise.
26143         * hurd/Makefile: Likewise.
26144         * manual/Makefile: Likewise.
26145         * locale/Makefile: Likewise.
26146         * intl/Makefile: Likewise.
26147         * conform/Makefile: Likewise.
26148         * nss/Makefile: Likewise.
26149         * time/Makefile: Likewise.
26150         * soft-fp/Makefile: Likewise.
26151         * dirent/Makefile: Likewise.
26152         * gmon/Makefile: Likewise.
26153         * po/Makefile: Likewise.
26154         * rt/Makefile: Likewise.
26155         * socket/Makefile: Likewise.
26156         * math/Makefile: Likewise.
26157         * signal/Makefile: Likewise.
26158         * debug/Makefile: Likewise.
26159         * elf/Makefile: Likewise.
26160         * timezone/Makefile: Likewise.
26161         * stdlib/Makefile: Likewise.
26162         * iconvdata/Makefile: Likewise.
26163         * sunrpc/Makefile: Likewise.
26164         * io/Makefile: Likewise.
26165         * argp/Makefile: Likewise.
26166         * inet/Makefile: Likewise.
26167         * hesiod/Makefile: Likewise.
26168         * grp/Makefile: Likewise.
26169         * csu/Makefile: Likewise.
26170         * wctype/Makefile: Likewise.
26171         * crypt/Makefile: Likewise.
26172         * libio/Makefile: Likewise.
26173         * string/Makefile: Likewise.
26174         * nis/Makefile: Likewise.
26175         * resolv/Makefile: Likewise.
26176         * stdio-common/Makefile: Likewise.
26177         * wcsmbs/Makefile: Likewise.
26178         * dlfcn/Makefile: Likewise.
26179         * posix/Makefile: Likewise.
26181         [BZ #6959]
26182         * timezone/Makefile: Don't install timezone files, just the programs
26183         and scripts.
26185 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26187         * nss/databases.def: Add missing gshadow entry.
26189         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26191 2012-03-06  Marek Polacek  <polacek@redhat.com>
26193         [BZ #13726]
26194         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26195         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26196         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26197         * stdio-common/tst-long-dbl-fphex.c: New file.
26199 2012-03-06  David S. Miller  <davem@davemloft.net>
26201         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26202         (set_obp_int): New function.
26203         (get_obp_int): New function.
26204         (__get_clockfreq_via_dev_openprom): Likewise.
26205         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26206         Avoid unused variable warnings on 'val' and use builtin_expect.
26207         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26208         __builtin_expect.
26209         (INLINE_CLONE_SYSCALL): Likewise.
26211 2012-03-05  David S. Miller  <davem@davemloft.net>
26213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26215 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26219         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26220         only for |x| >= 40.
26221         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26223 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26225         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26226         Replace gettimeofday with __vdso_gettimeofday.
26228         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26229         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26230         __vdso_clock_gettime and __vdso_getcpu.
26232         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26233         time with __vdso_time.
26235 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26237         * manual/lang.texi (size_t): Note types to which size_t may be
26238         equivalent with the GNU C Library, but do not describe when
26239         differences between them are significant.
26241 2012-03-05  Andreas Jaeger  <aj@suse.de>
26243         * sysdeps/i386/fpu/libm-test-ulps: Update.
26245 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26247         [BZ #3976]
26248         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26249         (__ieee754_pow): Save and restore rounding mode and use
26250         round-to-nearest for main computations.
26251         * math/libm-test.inc (pow_test_tonearest): New function.
26252         (pow_test_towardzero): Likewise.
26253         (pow_test_downward): Likewise.
26254         (pow_test_upward): Likewise.
26255         (main): Call the new functions.
26256         * sysdeps/i386/fpu/libm-test-ulps: Update.
26257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26259         [BZ #3976]
26260         * math/libm-test.inc (cosh_test_tonearest): New function.
26261         (cosh_test_towardzero): Likewise.
26262         (cosh_test_downward): Likewise.
26263         (cosh_test_upward): Likewise.
26264         (sinh_test_tonearest): Likewise.
26265         (sinh_test_towardzero): Likewise.
26266         (sinh_test_downward): Likewise.
26267         (sinh_test_upward): Likewise.
26268         (main): Call the new functions.
26269         * sysdeps/i386/fpu/libm-test-ulps: Update.
26270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26272 2012-03-05  Tom de Vries  <tom@codesourcery.com>
26274         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26275         default stack guard is set in last bytes.
26276         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26278 2012-03-05  Kees Cook  <keescook@chromium.org>
26280         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26282         [BZ #13656]
26283         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26284         possibly allocate from heap instead of stack.
26285         * stdio-common/bug-vfprintf-nargs.c: New file.
26286         * stdio-common/Makefile (tests): Add nargs overflow test.
26288 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
26290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26292 2012-03-03  Marek Polacek  <polacek@redhat.com>
26294         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26295         * math/math_private.h: Likewise.
26296         * stdlib/tst-strtod.c: Likewise.
26297         * sysdeps/i386/i486/bits/atomic.h: Likewise.
26298         * sysdeps/x86_64/bits/atomic.h: Likewise.
26300 2012-03-02  David S. Miller  <davem@davemloft.net>
26302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26306         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26307         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26308         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26309         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26311 2012-03-02  Roland McGrath  <roland@hack.frob.com>
26313         [BZ #13792]
26314         * manual/examples/README: New file, says the example source files
26315         can be used under GPL>=2.
26316         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26317         line containing just "*/".
26318         * manual/examples/add.c: Add copyright header (GPL>=2).
26319         * manual/examples/argp-ex1.c: Likewise.
26320         * manual/examples/argp-ex2.c: Likewise.
26321         * manual/examples/argp-ex3.c: Likewise.
26322         * manual/examples/argp-ex4.c: Likewise.
26323         * manual/examples/atexit.c: Likewise.
26324         * manual/examples/db.c: Likewise.
26325         * manual/examples/dir.c: Likewise.
26326         * manual/examples/dir2.c: Likewise.
26327         * manual/examples/execinfo.c: Likewise.
26328         * manual/examples/filecli.c: Likewise.
26329         * manual/examples/filesrv.c: Likewise.
26330         * manual/examples/fmtmsgexpl.c: Likewise.
26331         * manual/examples/genpass.c: Likewise.
26332         * manual/examples/inetcli.c: Likewise.
26333         * manual/examples/inetsrv.c: Likewise.
26334         * manual/examples/isockad.c: Likewise.
26335         * manual/examples/longopt.c: Likewise.
26336         * manual/examples/memopen.c: Likewise.
26337         * manual/examples/memstrm.c: Likewise.
26338         * manual/examples/mkfsock.c: Likewise.
26339         * manual/examples/mkisock.c: Likewise.
26340         * manual/examples/mygetpass.c: Likewise.
26341         * manual/examples/pipe.c: Likewise.
26342         * manual/examples/popen.c: Likewise.
26343         * manual/examples/rprintf.c: Likewise.
26344         * manual/examples/search.c: Likewise.
26345         * manual/examples/select.c: Likewise.
26346         * manual/examples/setjmp.c: Likewise.
26347         * manual/examples/sigh1.c: Likewise.
26348         * manual/examples/sigusr.c: Likewise.
26349         * manual/examples/stpcpy.c: Likewise.
26350         * manual/examples/strdupa.c: Likewise.
26351         * manual/examples/strftim.c: Likewise.
26352         * manual/examples/strncat.c: Likewise.
26353         * manual/examples/subopt.c: Likewise.
26354         * manual/examples/swapcontext.c: Likewise.
26355         * manual/examples/termios.c: Likewise.
26356         * manual/examples/testopt.c: Likewise.
26357         * manual/examples/testpass.c: Likewise.
26358         * manual/examples/timeval_subtract.c: Likewise.
26360         [BZ #13792]
26361         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26362         function to ...
26363         * manual/timeval_subtract.c.texi: ... here, new file.
26365 2012-03-02  David S. Miller  <davem@davemloft.net>
26367         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26369 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26371         [BZ #3976]
26372         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26373         (__sin): Save and restore rounding mode and use round-to-nearest
26374         for all computations.
26375         (__cos): Save and restore rounding mode and use round-to-nearest
26376         for all computations.
26377         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26378         <fenv.h>.
26379         (tan): Save and restore rounding mode and use round-to-nearest for
26380         all computations.
26381         * math/libm-test.inc (cos_test_tonearest): New function.
26382         (cos_test_towardzero): Likewise.
26383         (cos_test_downward): Likewise.
26384         (cos_test_upward): Likewise.
26385         (sin_test_tonearest): Likewise.
26386         (sin_test_towardzero): Likewise.
26387         (sin_test_downward): Likewise.
26388         (sin_test_upward): Likewise.
26389         (tan_test_tonearest): Likewise.
26390         (tan_test_towardzero): Likewise.
26391         (tan_test_downward): Likewise.
26392         (tan_test_upward): Likewise.
26393         (main): Call the new functions.
26394         * sysdeps/i386/fpu/libm-test-ulps: Update.
26395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26397         [BZ #10135]
26398         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26399         small n, then large n, before computing and testing k+n.
26400         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26401         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26402         Likewise.
26403         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26404         Likewise.
26405         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26406         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26407         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26408         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26409         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26410         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26411         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26412         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26413         * math/libm-test.inc (scalbn_test): Add more tests.
26414         (scalbln_test): Likewise.
26416         * manual/filesys.texi (mode_t): Describe constraints on size and
26417         signedness, not exact equivalence to a particular type.
26418         (ino_t): Likewise.
26419         (ino64_t): Likewise.
26420         (dev_t): Likewise.
26421         (nlink_t): Likewise.
26422         (blkcnt_t): Likewise.
26423         (blkcnt64_t): Likewise.
26424         * manual/llio.texi (off_t): Likewise.
26426         [BZ #3976]
26427         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26428         (__ieee754_exp): Save and restore rounding mode and use
26429         round-to-nearest for all computations.
26430         * math/libm-test.inc (exp_test_tonearest): New function.
26431         (exp_test_towardzero): Likewise.
26432         (exp_test_downward): Likewise.
26433         (exp_test_upward): Likewise.
26434         (main): Call the new functions.
26435         * sysdeps/i386/fpu/libm-test-ulps: Update.
26436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26438 2012-03-01  Chris Demetriou  <cgd@google.com>
26440         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26441         have predictable order.
26443 2012-03-01  David S. Miller  <davem@davemloft.net>
26445         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26447         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26448         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26449         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26450         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26452         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26453         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26454         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26456         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26457         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26458         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26459         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26460         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26464         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26465         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26466         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26468         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26469         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26470         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26471         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26472         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26473         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26474         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26475         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26476         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26477         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26478         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26479         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26480         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26481         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26482         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26483         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26484         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26485         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26486         * sysdeps/sparc/elf/configure: Regenerated.
26488 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26490         * configure.in (AS, LD): Require binutils 2.20 or later.
26491         * configure: Regenerated.
26492         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26493         as required minimum version.
26494         * INSTALL: Regenerated.
26496         [BZ #2541]
26497         [BZ #4108]
26498         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26499         before squaring exponent.
26500         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26501         bottom long double and 27 bits of top long double before squaring
26502         exponent.
26503         * math/libm-test.inc (erfc_test): Add more tests.
26504         * sysdeps/i386/fpu/libm-test-ulps: Update.
26505         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26508 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26510         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26511         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26512         containing bit-fields.
26513         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26514         * soft-fp/single.h (_FP_UNION_S): Likewise.
26515         * soft-fp/double.h (_FP_UNION_D): Likewise.
26517 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26519         [BZ #13786]
26520         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26521         not include ../strcmp.S.
26522         [USE_AS_STRNCASECMP_L]: Likewise.
26523         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26524         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26525         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26526         (__strncasecmp_l_ia32): Define as alias to
26527         __strncasecmp_l_nonascii.
26529         [BZ #5794]
26530         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26531         * sysdeps/i386/fpu/libm-test-ulps: Update.
26532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26534         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26537 2012-02-29  Jeff Law  <law@redhat.com>
26539         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26540         out of bounds read.
26542 2012-02-29  Marek Polacek  <polacek@redhat.com>
26544         [BZ #13706]
26545         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26546         * elf/Makefile: Add rules to run tst-unused-dep.out.
26548 2012-02-28  David S. Miller  <davem@davemloft.net>
26550         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26551         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26552         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26553         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26554         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26555         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26557 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26559         * math/libm-test.inc (llround_test): Move one test from
26560         lround_test.  Use TEST_f_L in moved test.
26561         (lround_test): Move misplaced test to llround_test.  Add testcase
26562         from bug 2561.
26564 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26566         * sysdeps/x86_64/fpu/e_expf.S: New file.
26567         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26569 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26571         [BZ #13637]
26572         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26573         of remain_len that may cause incomplete multi-byte character and
26574         false match.
26575         * posix/bug-regex33.c: New file.
26576         * posix/Makefile (tests): Add bug-regex33.
26578 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26580         * manual/macros.texi: New file.
26581         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26582         * manual/libc.texinfo: Include macros.texi.
26583         * manual/creatute.texi: Likewise.
26584         * manual/install.texi: Likewise.
26585         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26586         @glibcadj{} in references to the GNU C Library.
26587         * manual/charset.texi: Likewise.
26588         * manual/conf.texi: Likewise.
26589         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26590         when not using those macros.
26591         * manual/creature.texi: Likewise.
26592         * manual/crypt.texi: Likewise.
26593         * manual/errno.texi: Likewise.
26594         * manual/filesys.texi: Likewise.
26595         * manual/header.texi: Likewise.
26596         * manual/install.texi: Likewise.
26597         * manual/intro.texi: Likewise.
26598         * manual/io.texi: Likewise.
26599         * manual/job.texi: Likewise.
26600         * manual/lang.texi: Likewise.
26601         * manual/libc.texiinfo: Likewise.
26602         * manual/llio.texi: Likewise.
26603         * manual/locale.texi: Likewise.
26604         * manual/maint.texi: Likewise.
26605         * manual/math.texi: Likewise.
26606         * manual/memory.texi: Likewise.
26607         * manual/message.texi: Likewise.
26608         * manual/nss.texi: Likewise.
26609         * manual/pattern.texi: Likewise.
26610         * manual/process.texi: Likewise.
26611         * manual/resource.texi: Likewise.
26612         * manual/search.texi: Likewise.
26613         * manual/setjmp.texi: Likewise.
26614         * manual/signal.texi: Likewise.
26615         * manual/socket.texi: Likewise.
26616         * manual/startup.texi: Likewise.
26617         * manual/stdio.texi: Likewise.
26618         * manual/string.texi: Likewise.
26619         * manual/sysinfo.texi: Likewise.
26620         * manual/syslog.texi: Likewise.
26621         * manual/terminal.texi: Likewise.
26622         * manual/time.texi: Likewise.
26623         * manual/users.texi: Likewise.
26624         * INSTALL: Regenerated.
26625         * NOTES: Regenerated.
26626         * sysdeps/gnu/errlist.c: Regenerated.
26628 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26630         * include/dirent.h: Include <dirstream.h> before
26631         <dirent/dirent.h>.
26633 2012-02-28  David S. Miller  <davem@davemloft.net>
26635         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26636         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26637         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26638         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26640 2012-02-27  David S. Miller  <davem@davemloft.net>
26642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26644         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26645         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26648         frame pointer instead of stack pointer relative arg slot.
26649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26650         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26651         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26653 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26655         [BZ #3992]
26656         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26658 2012-02-27  David S. Miller  <davem@davemloft.net>
26660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26664         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26665         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26666         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26667         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26669 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26671         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26672         later.  Allow versions 5-9.
26673         * configure: Regenerated.
26674         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26675         required minimum version and 4.6 as recommended version.  Do not
26676         mention bugs in GCC 2.7 and 2.8.
26677         * INSTALL: Regenerated.
26679 2012-02-27  David S. Miller  <davem@davemloft.net>
26681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26685         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26686         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26687         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26688         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26690         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26691         manipulate bits before adding and subtracting TWO112[sx].
26692         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26694 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26696         [BZ #13775]
26697         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26698         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26699         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26700         being in POSIX, because they are in 1003.1-2008.
26702         * rt/tst-aio.c: Include <fcntl.h>.
26703         * rt/tst-aio7.c: Likewise.
26704         * rt/tst-aio64.c: Likewise.
26706         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26708 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26710         * manual/install.texi (--with-headers): Describe headers as
26711         interface headers, not private headers.
26712         (Specific advice for GNU/Linux systems): Describe use of headers
26713         from "make headers_install", not private headers from older
26714         kernels.
26715         * INSTALL: Regenerated.
26716         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26717         Change to 2.6.19.
26718         * sysdeps/unix/sysv/linux/configure: Regenerated.
26720         * manual/llio.texi (fclean): Remove documentation.
26722         * manual/Makefile (libc-texi-generated): New variable.  Include
26723         version.texi.
26724         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26725         $(libc-texi-generated), not duplicated list of files.
26726         (version.texi, stamp-version): New rules.
26727         (realclean): Remove $(libc-texi-generated), not individual files
26728         from that list.  Do not remove dir-add.texinfo.
26729         * manual/libc.texinfo: Comment out uses of edition numbers and
26730         references to printed manual.  Remove last-updated dates.
26731         (EDITION): Comment out.
26732         (ISBN): Likewise.
26733         (VERSION, UPDATED): Remove.
26734         (version.texi): Include.
26736 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26738         * sysdeps/posix/spawni.c: Include <signal.h>.
26739         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26740         * sysdeps/pthread/aio_fsync.c: Likewise.
26742 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26744         * conform/Makefile (tests): Run only when not cross-compiling and
26745         when fast-check is not defined.
26747         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26748         * conform/data/limits.h-data: Fixes for POSIX2008.
26749         * conform/run-conformtest.sh: Run all tests.
26750         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26751         headers.
26752         * include/bits/dlfcn.h: Likewise.
26753         * include/langinfo.h: Likewise.
26754         * include/monetary.h: Likewise.
26755         * include/sys/poll.h: Likewise.
26757         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26758         for __USE_GNU.
26759         * posix/spawn.h: Define __need_sigset_t.
26760         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26761         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26762         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26763         to get sigevent_t only.
26764         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26765         only for __USE_GNU.
26766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26767         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26768         process_vm_writev only for __USE_GNU.
26769         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26771         * conform/Makefile: For now ignore errors from run-conformtest.
26772         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26773         POSIX to avoid namespace pollution.  Don't prepend headers.
26774         * conform/data/aio.h-data: Fixes for POSIX testing.
26775         * conform/data/fcntl.h-data: Likewise.
26776         * conform/data/glob.h-data: Likewise.
26777         * conform/data/grp.h-data: Likewise.
26778         * conform/data/pthread.h-data: Likewise.
26779         * conform/data/pwd.h-data: Likewise.
26780         * conform/data/signal.h-data: Likewise.
26781         * conform/data/spawn.h-data: Likewise.
26782         * conform/data/stdio.h-data: Likewise.
26783         * conform/data/stdlib.h-data: Likewise.
26784         * conform/data/stropts.h-data: Likewise.
26785         * conform/data/sys/mman.h-data: Likewise.
26786         * conform/data/sys/stat.h-data: Likewise.
26787         * conform/data/sys/types.h-data: Likewise.
26788         * conform/data/sys/wait.h-data: Likewise.
26789         * conform/data/time.h-data: Likewise.
26790         * conform/data/unistd.h-data: Likewise.
26791         * conform/data/utime.h-data: Likewise.
26793         * io/sys/stat.h: fchmod was always in POSIX.
26794         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26795         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26796         * rt/aio.h: Define __need_timespec before including <time.h>.
26797         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26798         struct.  Add forward declaration of pthread_attr_t and use it in
26799         sigevent.
26800         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26801         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26802         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26803         always remove CLK_TCK definition.
26805 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26807         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26809 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26811         * conform/run-conformtest.sh: New file.
26812         * conform/Makefile: Run run-conformtest for tests.
26813         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26814         support.
26816         * conform/data/uchar.h-data: New file.
26817         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26818         * conform/data/arpa/inet.h-data: Likewise.
26819         * conform/data/assert.h-data: Likewise.
26820         * conform/data/complex.h-data: Likewise.
26821         * conform/data/cpio.h-data: Likewise.
26822         * conform/data/ctype.h-data: Likewise.
26823         * conform/data/dirent.h-data: Likewise.
26824         * conform/data/dlfcn.h-data: Likewise.
26825         * conform/data/errno.h-data: Likewise.
26826         * conform/data/fcntl.h-data: Likewise.
26827         * conform/data/float.h-data: Likewise.
26828         * conform/data/fmtmsg.h-data: Likewise.
26829         * conform/data/fnmatch.h-data: Likewise.
26830         * conform/data/ftw.h-data: Likewise.
26831         * conform/data/glob.h-data: Likewise.
26832         * conform/data/grp.h-data: Likewise.
26833         * conform/data/iconv.h-data: Likewise.
26834         * conform/data/inttypes.h-data: Likewise.
26835         * conform/data/langinfo.h-data: Likewise.
26836         * conform/data/libgen.h-data: Likewise.
26837         * conform/data/limits.h-data: Likewise.
26838         * conform/data/locale.h-data: Likewise.
26839         * conform/data/math.h-data: Likewise.
26840         * conform/data/monetary.h-data: Likewise.
26841         * conform/data/mqueue.h-data: Likewise.
26842         * conform/data/ndbm.h-data: Likewise.
26843         * conform/data/net/if.h-data: Likewise.
26844         * conform/data/netdb.h-data: Likewise.
26845         * conform/data/netinet/in.h-data: Likewise.
26846         * conform/data/nl_types.h-data: Likewise.
26847         * conform/data/poll.h-data: Likewise.
26848         * conform/data/pthread.h-data: Likewise.
26849         * conform/data/pwd.h-data: Likewise.
26850         * conform/data/regex.h-data: Likewise.
26851         * conform/data/sched.h-data: Likewise.
26852         * conform/data/search.h-data: Likewise.
26853         * conform/data/semaphore.h-data: Likewise.
26854         * conform/data/setjmp.h-data: Likewise.
26855         * conform/data/signal.h-data: Likewise.
26856         * conform/data/spawn.h-data: Likewise.
26857         * conform/data/stdarg.h-data: Likewise.
26858         * conform/data/stdio.h-data: Likewise.
26859         * conform/data/stdlib.h-data: Likewise.
26860         * conform/data/string.h-data: Likewise.
26861         * conform/data/strings.h-data: Likewise.
26862         * conform/data/stropts.h-data: Likewise.
26863         * conform/data/sys/ipc.h-data: Likewise.
26864         * conform/data/sys/mman.h-data: Likewise.
26865         * conform/data/sys/msg.h-data: Likewise.
26866         * conform/data/sys/resource.h-data: Likewise.
26867         * conform/data/sys/select.h-data: Likewise.
26868         * conform/data/sys/sem.h-data: Likewise.
26869         * conform/data/sys/shm.h-data: Likewise.
26870         * conform/data/sys/socket.h-data: Likewise.
26871         * conform/data/sys/stat.h-data: Likewise.
26872         * conform/data/sys/statvfs.h-data: Likewise.
26873         * conform/data/sys/time.h-data: Likewise.
26874         * conform/data/sys/timeb.h-data: Likewise.
26875         * conform/data/sys/times.h-data: Likewise.
26876         * conform/data/sys/types.h-data: Likewise.
26877         * conform/data/sys/uio.h-data: Likewise.
26878         * conform/data/sys/un.h-data: Likewise.
26879         * conform/data/sys/utsname.h-data: Likewise.
26880         * conform/data/sys/wait.h-data: Likewise.
26881         * conform/data/syslog.h-data: Likewise.
26882         * conform/data/tar.h-data: Likewise.
26883         * conform/data/termios.h-data: Likewise.
26884         * conform/data/utime.h-data: Likewise.
26885         * conform/data/utmpx.h-data: Likewise.
26886         * conform/data/varargs.h-data: Likewise.
26887         * conform/data/wchar.h-data: Likewise.
26888         * conform/data/wctype.h-data: Likewise.
26889         * conform/data/wordexp.h-data: Likewise.
26891         * include/stropts.h: New file.
26892         * include/uchar.h: New file.
26893         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26894         * include/assert.h: Likewise.
26895         * include/ctype.h: Likewise.
26896         * include/dirent.h: Likewise.
26897         * include/dlfcn.h: Likewise.
26898         * include/fcntl.h: Likewise.
26899         * include/fnmatch.h: Likewise.
26900         * include/glob.h: Likewise.
26901         * include/grp.h: Likewise.
26902         * include/libio.h: Likewise.
26903         * include/locale.h: Likewise.
26904         * include/math.h: Likewise.
26905         * include/net/if.h: Likewise.
26906         * include/netdb.h: Likewise.
26907         * include/netinet/in.h: Likewise.
26908         * include/pthread.h: Likewise.
26909         * include/pwd.h: Likewise.
26910         * include/regex.h: Likewise.
26911         * include/sched.h: Likewise.
26912         * include/search.h: Likewise.
26913         * include/setjmp.h: Likewise.
26914         * include/signal.h: Likewise.
26915         * include/stdio.h: Likewise.
26916         * include/stdlib.h: Likewise.
26917         * include/string.h: Likewise.
26918         * include/sys/cdefs.h: Likewise.
26919         * include/sys/mman.h: Likewise.
26920         * include/sys/msg.h: Likewise.
26921         * include/sys/resource.h: Likewise.
26922         * include/sys/select.h: Likewise.
26923         * include/sys/socket.h: Likewise.
26924         * include/sys/stat.h: Likewise.
26925         * include/sys/statvfs.h: Likewise.
26926         * include/sys/time.h: Likewise.
26927         * include/sys/times.h: Likewise.
26928         * include/sys/uio.h: Likewise.
26929         * include/sys/utsname.h: Likewise.
26930         * include/sys/wait.h: Likewise.
26931         * include/termios.h: Likewise.
26932         * include/time.h: Likewise.
26933         * include/ulimit.h: Likewise.
26934         * include/unistd.h: Likewise.
26935         * include/utime.h: Likewise.
26936         * include/wchar.h: Likewise.
26937         * include/wctype.h: Likewise.
26938         * include/wordexp.h: Likewise.
26940         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26942         * time/time.h: TIME_UTC must be a macro.
26943         Make timespec_get available for ISO C11 only as well.
26945 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26947         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26948         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26950 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26952         * configure.in: Use -o not -a in test for unsupported multi-arch.
26954 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26956         * manual/texinfo.tex: Update to version 2012-01-19.16.
26958 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26960         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26962 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26964         [BZ #13738]
26965         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26966         * manual/fdl-1.3.texi: New file.
26967         * manual/fdl-1.1.texi: File removed.
26969         [BZ #13738]
26970         * manual/libc.texinfo (FDL_VERSION): New @set.
26971         Use it for mention of FDL in cover text.
26972         (Documentation License): Use it in @include file name.
26974 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26975             Roland McGrath  <roland@hack.frob.com>
26977         [BZ #5461]
26978         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26979         not LONG_LONG_MAX and LONG_LONG_MIN.
26980         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26981         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26982         name.
26983         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26985 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26987         [BZ #2547]
26988         [BZ #11365]
26989         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26990         manipulate bits before adding and subtracting TWO23[sx].
26991         * math/libm-test.inc (nearbyint_test): Add more tests.
26993 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26995         [BZ #2548]
26996         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26997         bits before adding and subtracting TWO23[sx].
26998         * math/libm-test.inc (rint_test): Add more tests.
26999         (rint_test_tonearest): Likewise.
27000         (rint_test_towardzero): Likewise.
27001         (rint_test_downward): Likewise.
27002         (rint_test_upward: Likewise.
27004 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27006         [BZ #10110]
27007         * include/stdc-predef.h: New file.  Extracted from features.h.
27008         * include/features.h: Include stdc-predef.h.
27009         * Makefile (headers): Add stdc-predef.h.
27010         * CONFORMANCE (Compiler limitations): Update.
27012 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27014         * manual/libc.texinfo (VERSION, UPDATED): Revert.
27016 2012-02-21  David S. Miller  <davem@davemloft.net>
27018         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27019         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27021 2012-02-20  David S. Miller  <davem@davemloft.net>
27023         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27024         using a normal save/restore sequence, rather than allocating a
27025         dummy stack frame just to store a frame pointer and restore.
27026         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27028 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27030         * manual/install.texi: Fix stray word in line-wrapped comment.
27032 2012-02-20  David S. Miller  <davem@davemloft.net>
27034         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27035         both binutils and gcc support GOTDATA.
27037         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27038         "rd %pc" in the PIC register setup sequences.
27040         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27041         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27042         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27043         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27044         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27045         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27046         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27047         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27048         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27049         (SYSCALL_ERROR_HANDLER): Likewise.
27050         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27051         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27052         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27053         (SYSCALL_ERROR_HANDLER): Likewise.
27055         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27056         (HAVE_GCC_GOTDATA): New.
27057         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27058         relocation support in both binutils and gcc.
27059         * sysdeps/sparc/elf/configure: Regenerate.
27061         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27062         * sysdeps/sparc/sparc32/elf/configure: Delete.
27063         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27064         * sysdeps/sparc/sparc64/elf/configure: Delete.
27065         * sysdeps/sparc/elf/configure.in: New file.
27066         * sysdeps/sparc/elf/configure: Generate.
27068         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27069         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27070         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27071         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27072         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27074 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27076         * manual/install.texi: Do not mention specific glibc version
27077         numbers.
27078         * manual/libc.texinfo (VERSION, UPDATED): Update.
27079         (@copying): Use @copyright{} and range of years.
27081 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27083         [BZ #13695]
27084         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27085         [crti.S not in sysdirs] (generated): Do not append.
27086         [crti.S not in sysdirs] (omit-deps): Likewise.
27087         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27088         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27089         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27090         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27091         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27092         Likewise.
27093         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27094         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27095         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27096         * csu/defs.awk: Remove file.
27097         * sysdeps/generic/initfini.c: Likewise.
27098         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27099         variable.
27100         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27101         Likewise.
27103 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27105         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27106         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27107         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27108         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27109         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27110         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27111         <bits/epoll.h>.
27112         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27113         (__EPOLL_PACKED): Define to empty if not defined by
27114         <bits/epoll.h>.
27115         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27117         bits/epoll.h.
27119 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27121         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27122         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27123         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27124         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27125         <bits/timerfd.h>.
27126         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27128         bits/timerfd.h.
27130 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27132         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27133         in C locale.
27134         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27135         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27136         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27139 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27141         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27142         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27144 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27146         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27147         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27148         defined.
27149         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27150         Likewise.
27151         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27152         entry for 2.16.
27154 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27156         * math/w_acos.c: Use non-signaling floating-point comparisons.
27157         * math/w_acosf.c: Likewise.
27158         * math/w_acosh.c: Likewise.
27159         * math/w_acoshf.c: Likewise.
27160         * math/w_acoshl.c: Likewise.
27161         * math/w_acosl.c: Likewise.
27162         * math/w_asin.c: Likewise.
27163         * math/w_asinf.c: Likewise.
27164         * math/w_asinl.c: Likewise.
27165         * math/w_atanh.c: Likewise.
27166         * math/w_atanhf.c: Likewise.
27167         * math/w_atanhl.c: Likewise.
27168         * math/w_exp2.c: Likewise.
27169         * math/w_exp2f.c: Likewise.
27170         * math/w_exp2l.c: Likewise.
27171         * math/w_j0.c: Likewise.
27172         * math/w_j0f.c: Likewise.
27173         * math/w_j0l.c: Likewise.
27174         * math/w_j1.c: Likewise.
27175         * math/w_j1f.c: Likewise.
27176         * math/w_j1l.c: Likewise.
27177         * math/w_jn.c: Likewise.
27178         * math/w_jnf.c: Likewise.
27179         * math/w_log.c: Likewise.
27180         * math/w_log10.c: Likewise.
27181         * math/w_log10f.c: Likewise.
27182         * math/w_log10l.c: Likewise.
27183         * math/w_log2.c: Likewise.
27184         * math/w_log2f.c: Likewise.
27185         * math/w_log2l.c: Likewise.
27186         * math/w_logf.c: Likewise.
27187         * math/w_logl.c: Likewise.
27188         * math/w_sqrt.c: Likewise.
27189         * math/w_sqrtf.c: Likewise.
27190         * math/w_sqrtl.c: Likewise.
27191         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27192         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27193         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27194         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27195         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27197 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27199         [BZ #9739]
27200         * manual/string.texi (strnlen): Use correct parameter name in
27201         equivalent expression.
27203 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27205         [BZ #11174]
27206         * manual/users.texi (seteuid): Consistently use neweuid for
27207         argument name.
27209 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27211         [BZ #13704]
27212         * manual/nss.texi (Services in the NSS configuration): Correct
27213         list of services in example configuration file.
27215 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27217         [BZ #11322]
27218         * manual/arith.texi: Remove statements about negative zero
27219         behaving identically to zero.
27221 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27223         [BZ #5993]
27224         * manual/install.texi: Do not document upgrading from libc5.
27226 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27228         [BZ #4596]
27229         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27231 2012-02-18  David S. Miller  <davem@davemloft.net>
27233         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27234         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27235         %o7 across the call.
27236         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27237         instead.
27238         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27239         SETUP_PIC_REG_LEAF.
27240         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27241         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27242         * sysdeps/sparc/crtn.S: Likewise.
27244 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27246         * aout/Makefile: Remove.
27248 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27250         [BZ #13058]
27251         * manual/examples/argp-ex1.c (main): Format definition in GNU
27252         style.
27253         * manual/examples/argp-ex2.c (main): Likewise.
27254         * manual/examples/argp-ex3.c (main): Likewise.
27255         * manual/examples/argp-ex4.c (main): Likewise.
27256         * manual/examples/longopt.c (main): Use new-style prototype
27257         definition.
27258         * manual/examples/strncat.c (main): Specify return type and use
27259         (void) for arguments.
27260         * manual/examples/subopt.c (main): Use char **argv argument.
27262 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27264         [BZ #5077]
27265         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27266         rounding modes.
27268 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
27270         [BZ #6907]
27271         * manual/string.texi (strchr): Change when strchrnul is
27272         recommended.
27274 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
27276         [BZ #174]
27277         * manual/locale.texi (setlocale): Document LOCPATH.
27279 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27281         [BZ #10210]
27282         * manual/process.texi (execle): Move @dots{} before last argument.
27284 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
27286         [BZ #12047]
27287         * manual/charset.texi (Generic Charset Conversion): Fix typo
27288         (LC_TYPE -> LC_CTYPE).
27290 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
27292         [BZ #5805]
27293         * manual/arith.texi (scalbn): Use @var{} on parameter names.
27294         (scalbnf): Likewise.
27295         (scalbnl): Likewise.
27296         (scalbln): Likewise.
27297         (scalblnf): Likewise.
27298         (scalblnl): Likewise.
27299         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27300         (vwarnx): Likewise.
27301         (verr): Likewise.
27302         (verrx): Likewise.
27303         * manual/filesys.texi (telldir): Use braces around return type.
27304         * manual/llio.texi (mmap): Add space after comma.
27305         (mmap64): Likewise.
27306         * manual/math.texi (jn): Use @var{} on parameter names.
27307         (jnf): Likewise.
27308         (jnl): Likewise.
27309         (yn): Likewise.
27310         (ynf): Likewise.
27311         (ynl): Likewise.
27312         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27313         line.
27314         * manual/resource.texi (ulimit): Use @dots{} instead of literal
27315         "...".
27316         (sched_get_priority_min): Remove semicolon on @deftypefun line.
27317         (sched_get_priority_max): Likewise.
27318         * manual/signal.texi (sigvec): Add space after comma.
27319         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27320         names.
27321         (if_indextoname): Likewise.
27322         (if_freenameindex): Likewise.
27323         (sendto): Use ',' instead of '.' in prototype.
27324         * manual/startup.texi (syscall): Use @dots{} instead of literal
27325         "...".
27326         * manual/stdio.texi (__fpending): Separate initial words of
27327         paragraph from @deftypefun line.
27328         * manual/syslog.texi (syslog): Use @dots{} instead of literal
27329         "...".
27330         (vsyslog): Use @var{} on parameter names.
27331         * manual/terminal.texi (stty): Use @var{} on parameter names.
27332         * manual/users.texi (getutmp): Use @var{} on parameter names.
27333         (getutmpx): Likewise.
27335 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27337         [BZ #6884]
27338         * manual/stdio.texi (fopen): Fix typos in description of
27339         ",ccs=STRING".
27341 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
27343         [BZ #4026]
27344         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27345         get clock_id definition.
27347 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
27349         [BZ #4822]
27350         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27351         (madvise): Cast every argument to void on its own.
27353 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27355         [BZ #9902]
27356         * manual/startup.texi (Exit Status): Fix typo.
27358 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27360         [BZ #10140]
27361         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27362         * manual/examples/argp-ex2.c: Likewise.
27363         * manual/examples/argp-ex3.c: Likewise.
27365 2012-02-16  Richard Henderson  <rth@redhat.com>
27367         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27368         * sysdeps/s390/s390-32/initfini.c: Remove.
27369         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27370         * sysdeps/s390/s390-64/initfini.c: Remove.
27372 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27374         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27375         compiler output for sysdeps/generic/initfini.c.
27376         * sysdeps/sh/elf/initfini.c: Remove file.
27378 2012-02-16  David S. Miller  <davem@davemloft.net>
27380         [BZ #11494]
27381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27383         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27384         * sysdeps/sparc/crti.S: New file.
27385         * sysdeps/sparc/crtn.S: New file.
27386         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27387         * sysdeps/sparc/sparc64/Makefile: Likewise.
27389 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27391         [BZ #3335]
27392         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27394 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27396         [BZ #4822]
27397         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27399         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27400         (write, read, close): Likewise.
27401         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27403 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27405         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27406         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27407         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27408         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27409         <bits/signalfd.h>.
27410         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27412         bits/signalfd.h.
27414 2012-02-14  Marek Polacek  <polacek@redhat.com>
27416         * sysdeps/x86_64/crti.S: New file.
27417         * sysdeps/x86_64/crtn.S: New file.
27418         * sysdeps/x86_64/elf/initfini.c: Remove file.
27420 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27422         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27423         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27424         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27425         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27426         <bits/inotify.h>.
27427         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27428         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27429         bits/inotify.h.
27431 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27433         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27434         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27435         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27436         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27437         <bits/eventfd.h>.
27438         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27440         bits/eventfd.h.
27442 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27444         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27445         __feraiseexcept instead of feraiseexcept.
27447         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27448         nanosleep invocations.
27449         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27450         strings, and add error checking for a nanosleep invocations.
27452 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27454         Replace FSF snail mail address with URLs, as per GNU coding standards.
27455         Most of the snail mail addresses were wrong anyway, and omitting
27456         them makes the source code easier to maintain.  Almost all of the
27457         changes are to license notices and to locale LC_IDENTIFICATION
27458         addresses, except for this one:
27459         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27460         not its snail mail address.
27462 2012-02-09  Richard Henderson  <rth@twiddle.net>
27464         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27465         of kernel-features.h.
27467         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27469 2012-02-08  Marek Polacek  <polacek@redhat.com>
27471         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27472         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27473         * sysdeps/gnu/_G_config.h: Likewise.
27474         * sysdeps/generic/_G_config.h: Likewise.
27476 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27478         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27479         tests.
27480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27482         * sysdeps/powerpc/powerpc32/crti.S: New file.
27483         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27484         * sysdeps/powerpc/powerpc64/crti.S: New file.
27485         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27487         * Makeconfig (have-initfini): Don't set.
27488         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27489         * configure.in (nopic_initfini): Don't substitute.
27490         * config.h.in (HAVE_INITFINI): Don't #undef.
27491         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27492         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27494 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27496         Support crti.S and crtn.S provided directly by architectures.
27497         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27498         [crti.S in sysdirs] (omit-deps): Likewise.
27499         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27500         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27501         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27502         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27503         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27504         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27505         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27506         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27507         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27508         compiler output for sysdeps/generic/initfini.c.
27509         * sysdeps/i386/elf/Makefile: Remove file.
27510         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27512 2012-02-07  Marek Polacek  <polacek@redhat.com>
27514         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27515         * sysdeps/gnu/_G_config.h: Likewise.
27516         * sysdeps/mach/hurd/_G_config.h: Likewise.
27518 2012-02-07  Marek Polacek  <polacek@redhat.com>
27520         * math/Makefile (tests): Add tst-CMPLX2.
27521         * math/tst-CMPLX2.c: New file.
27523 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27525         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27527         * math/libm-test.inc (jn_test): Add missing L suffix.
27529 2012-02-06  Marek Polacek  <polacek@redhat.com>
27531         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27532         * sysdeps/i386/fpu/e_powf.S: Likewise.
27533         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27534         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27535         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27536         * sysdeps/i386/fpu/e_pow.S: Likewise.
27537         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27538         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27539         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27540         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27541         * sysdeps/i386/fpu/e_log2.S: Likewise.
27542         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27543         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27544         * sysdeps/i386/fpu/e_powl.S: Likewise.
27545         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27546         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27547         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27548         * sysdeps/i386/fpu/e_logl.S: Likewise.
27549         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27550         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27551         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27552         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27553         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27554         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27555         * sysdeps/i386/fpu/e_log.S: Likewise.
27556         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27557         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27558         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27559         * sysdeps/i386/fpu/e_logf.S: Likewise.
27560         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27561         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27562         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27563         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27564         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27565         * sysdeps/i386/fpu/e_log10.S: Likewise.
27566         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27567         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27568         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27569         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27570         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27571         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27572         * sysdeps/i386/asm-syntax.h: Likewise.
27573         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27574         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27575         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27576         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27577         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27578         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27579         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27580         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27581         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27582         * sysdeps/powerpc/sysdep.h: Likewise.
27583         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27584         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27586 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27588         [BZ #411]
27589         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27591 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27593         * sysdeps/i386/sysdep.h: Include <features.h>.
27594         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27595         version.
27597 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27599         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27600         Define.
27601         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27602         LOAD_PIC_REG_STR.
27604 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27606         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27607         (SETUP_PIC_REG): Use GET_PC_THUNK.
27608         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27609         macro.
27611 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27613         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27614         for non-PIC compilation.
27615         (SETUP_PIC_REG): Add .p2align directive.
27616         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27617         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27618         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27619         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27620         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27621         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27622         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27623         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27624         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27625         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27626         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27627         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27628         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27629         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27630         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27631         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27632         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27633         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27634         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27635         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27636         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27637         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27638         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27639         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27640         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27641         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27642         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27643         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27644         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27645         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27646         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27647         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27648         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27649         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27650         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27651         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27652         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27653         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27654         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27655         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27656         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27658 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27660         * math/tst-CMPLX.c: Include <stdio.h>.
27662 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27664         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27665         float.
27666         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27667         * sysdeps/sparc/bits/mathdef.h: Likewise.
27669 2012-01-31  Marek Polacek  <polacek@redhat.com>
27671         * libio/libio.h: Don't define _PARAMS.
27672         * locale/programs/config.h: Don't define PARAMS.
27673         * stdlib/strtol_l.c: Likewise.
27674         (__strtol_l): Remove PARAMS from the prototype.
27676 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27678         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27679         names.  Just use the correct names.  Remove unnecessary wrapper
27680         functions.
27681         * malloc/arena.c: Likewise.
27682         * malloc/hooks.c: Likewise.
27684         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27685         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27686         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27688 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27690         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27691         into tail calls.
27692         (update_get_addr): New function.
27693         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27694         GET_ADDR_MODULE parameter.
27696 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27698         * crypt/cert.c: Remove __STDC__ conditionals.
27699         * crypt/crypt-entry.c: Likewise.
27700         * crypt/crypt_util.c: Likewise.
27701         * libio/filedoalloc.c: Likewise.
27702         * libio/fileops.c: Likewise.
27703         * libio/genops.c: Likewise.
27704         * libio/iofclose.c: Likewise.
27705         * libio/iofdopen.c: Likewise.
27706         * libio/iofopen.c: Likewise.
27707         * libio/iofopen64.c: Likewise.
27708         * libio/iogetdelim.c: Likewise.
27709         * libio/iopopen.c: Likewise.
27710         * libio/obprintf.c: Likewise.
27711         * libio/oldfileops.c: Likewise.
27712         * libio/oldiofclose.c: Likewise.
27713         * libio/oldiofdopen.c: Likewise.
27714         * libio/oldiofopen.c: Likewise.
27715         * libio/oldiopopen.c: Likewise.
27716         * libio/wfiledoalloc.c: Likewise.
27717         * libio/wgenops.c: Likewise.
27718         * locale/programs/xmalloc.c: Likewise.
27719         * misc/syslog.c: Likewise.
27720         * stdio-common/xbug.c: Likewise.
27721         * string/memchr.c: Likewise.
27722         * string/memcmp.c: Likewise.
27723         * string/memrchr.c: Likewise.
27724         * string/rawmemchr.c: Likewise.
27725         * sysdeps/posix/getcwd.c: Likewise.
27726         * time/strftime_l.c: Likewise.
27728 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27730         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27731         * config.make.in (config-cflags-sse2avx): Define.
27732         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27733         Fix typo.
27735 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27737         * scripts/config.guess: Update from upstream config git repository.
27738         * scripts/config.sub: Likewise.
27740 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27742         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27743         (EM_NUM): Update.
27744         (R_TILEPRO_*, R_TILEGX_*): New macros.
27746         * scripts/firstversions.awk: Fix bug in version range handling.
27748         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27750         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27752         * include/sys/epoll.h: New file.
27753         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27754         libc_hidden_def.
27756 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27758         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27759         Avoid unnecessary __WORDSIZE == 64 test.
27760         (fmaxf): Use VEX format if possible.
27761         (fmax): Likewise.
27762         (fminf): Likewise.
27763         (fmin): Likewise.
27765         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27766         * math/math_private.h: Remove libc_fegetround* and
27767         libc_fesetround*.
27768         * sysdeps/i386/configure.in: Check for -msse2avx.
27769         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27770         also if SSE2AVX is defined.
27771         Remove libc_fegetround* and libc_fesetround*.
27772         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27773         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27774         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27775         of HAS_YMM_USABLE.
27776         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27777         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27778         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27779         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27780         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27782         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27784 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27786         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27787         size is not set.
27788         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27790 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27792         [BZ #13618]
27793         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27794         relocation.
27795         * Makeconfig (libm): Define.
27796         * elf/Makefile: Add rules to build and run tst-relsort1.
27797         * elf/tst-relsort1.c: New file.
27798         * elf/tst-relsort1mod1.c: New file.
27799         * elf/tst-relsort1mod2.c: New file.
27801 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27803         * math/s_ldexp.c: Remove __STDC__ conditionals.
27804         * math/s_ldexpf.c: Likewise.
27805         * math/s_ldexpl.c: Likewise.
27806         * math/s_nextafter.c: Likewise.
27807         * math/s_nexttowardf.c: Likewise.
27808         * math/s_significand.c: Likewise.
27809         * math/s_significandf.c: Likewise.
27810         * math/s_significandl.c: Likewise.
27811         * math/w_jnl.c: Likewise.
27812         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27813         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27814         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27815         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27816         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27817         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27818         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27819         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27820         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27821         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27822         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27823         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27824         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27825         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27826         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27827         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27828         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27829         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27830         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27831         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27832         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27833         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27834         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27835         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27836         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27837         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27838         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27839         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27840         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27841         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27842         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27843         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27844         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27845         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27846         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27847         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27848         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27849         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27850         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27851         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27852         * sysdeps/ieee754/k_standard.c: Likewise.
27853         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27854         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27855         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27856         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27857         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27858         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27859         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27860         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27861         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27862         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27863         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27864         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27865         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27866         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27867         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27868         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27869         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27870         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27871         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27872         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27873         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27874         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27875         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27876         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27877         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27878         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27879         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27880         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27882         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27883         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27884         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27885         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27886         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27888         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27889         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27890         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27891         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27892         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27893         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27894         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27895         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27896         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27897         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27898         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27899         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27900         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27901         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27902         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27903         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27904         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27905         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27906         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27907         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27908         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27909         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27910         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27911         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27912         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27913         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27914         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27915         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27916         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27917         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27918         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27919         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27920         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27921         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27922         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27923         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27924         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27925         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27926         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27927         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27928         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27929         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27930         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27931         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27932         * sysdeps/ieee754/s_matherr.c: Likewise.
27933         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27934         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27935         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27936         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27938 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27940         * crypt/md5.h: Remove __STDC__ conditionals.
27941         * libio/libioP.h: Likewise.
27942         * locale/programs/config.h: Likewise.
27943         * sysdeps/generic/sysdep.h: Likewise.
27944         * sysdeps/i386/asm-syntax.h: Likewise.
27945         * sysdeps/s390/asm-syntax.h: Likewise.
27946         * sysdeps/unix/sysdep.h: Likewise.
27947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27950 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27952         * libio/libio.h: Remove __STDC__ conditionals.
27953         * malloc/obstack.h: Likewise.
27954         * math/complex.h: Likewise.
27955         * math/math.h: Likewise.
27956         * sysdeps/generic/_G_config.h: Likewise.
27957         * sysdeps/gnu/_G_config.h: Likewise.
27958         * sysdeps/mach/hurd/_G_config.h: Likewise.
27959         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27960         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27961         * sysdeps/sparc/bits/mathdef.h: Likewise.
27963 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27965         [BZ #13583]
27966         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27967         Clean up HAS_* macros.
27968         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27969         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27970         possible.
27971         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27972         HAS_AVX.
27973         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27974         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27975         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27976         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27977         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27979 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27981         * elf/tst-unique3.cc (gets): Remove declaration.
27982         * elf/tst-unique3lib.cc (gets): Likewise.
27983         * elf/tst-unique3lib2.cc (gets): Likewise.
27984         * elf/tst-unique4.cc (gets): Likewise.
27986 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27988         * include/stdio.h: Add C++ protection.  Add gets declarations and
27989         definitions.
27990         * debug/tst-chk1.c: Don't declare gets here.
27991         * stdio-common/tst-gets.c: Likewise.
27993 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27995         * posix/glob: Remove directory.
27997 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27999         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28001 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
28003         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28004         of the non-standard EPFNOSUPPORT.
28006 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28008         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28009         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28010         ANYWHERE set to 1 only on KERN_NO_SPACE error.
28012 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
28014         * wcsmbs/uchar.h: Test __STDC_VERSION__.
28016 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
28018         * nscd/aicache.c (addhstaiX): Do not cache negative results of
28019         transient errors.
28020         * nscd/grpcache.c (cache_addgr): Likewise.
28021         * nscd/hstcache.c (cache_addhst): Likewise.
28022         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28023         * nscd/pwdcache.c (cache_addpw): Likewise.
28024         * nscd/servicescache.c (cache_addserv): Likewise.
28026 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
28028         * malloc/malloc.c: Various cleanups.
28029         * malloc/hooks.c: Likewise.
28031         * stdlib/Makefile (tests): Add bug-fmtmsg1.
28032         * stdlib/bug-fmtmsg1.c: New file.
28034         * stdlib/fmtmsg.c (init): Add missing unlock.
28035         Patch by Peng Haitao <penght@cn.fujitsu.com>.
28037 2012-01-12  Marek Polacek  <polacek@redhat.com>
28039         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28040         and _GNU_SOURCE.
28042 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28044         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28045         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28046         macro to ensure uniqueness of label name.
28047         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28048         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28050 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28052         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28054         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28055         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28056         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28057         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28059 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28061         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28063         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28064         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28065         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28067         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28069         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28070         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28071         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28072         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28074         * math/bits/math-finite.h: Add ldexp support.
28076 2012-01-10  Marek Polacek  <polacek@redhat.com>
28078         * locale/programs/localedef.h (show_archive_content): Add noreturn
28079         attribute.
28081 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28083         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28085 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28087         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28089         * io/Makefile (headers): Add bits/poll2.h.
28091 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28094         typo #include statement.
28096 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28098         * include/sys/cdefs.h: Define __attribute_alloc_size.
28099         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28100         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28101         * elf/pldd.c: Likewise.
28102         * iconv/iconv_charmap.c: Likewise.
28103         * iconv/iconvconfig.c: Likewise.
28104         * iconv/strtab.c: Likewise.
28105         * locale/programs/locale.c: Likewise.
28106         * locale/programs/localedef.h: Likewise.
28107         * locale/programs/simple-hash.c: Likewise.
28108         * nscd/nscd.h: Likewise.
28109         * nss/makedb.c: Likewise.
28110         * sysdeps/generic/ldconfig.h: Likewise.
28111         * locale/programs/localedef.c: Remove xmalloc prototype.
28112         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28114 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28116         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28117         appropriate.
28119 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28121         * math/Makefile (tests): Add tst-CMPLX.
28122         * math/tst-CMPLX.c: New file.
28124         * math/complex.h (CMPLXL): Fix typo.
28126         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28127         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28128         GLIBC_2.16.
28129         * debug/tst-chk1.c: Add poll and ppoll tests.
28130         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28131         * include/sys/poll.h: Add hidden proto for ppoll.
28132         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28133         * sysdeps/mach/hurd/ppoll.c: Likewise.
28134         * io/ppoll.c: Likewise.
28135         * debug/poll_chk.c: New file.
28136         * debug/ppoll_chk.c: New file.
28137         * include/bits/poll2.h: New file.
28138         * io/bits/poll2.h: New file.
28140         [BZ #1350]
28141         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28143         * configure.in: static is always set to yes.  Remove.
28144         * config.make.in: Don't set build-static.
28145         * Makeconfig: Remove use of build-static.
28146         * dlfcn/Makefile: Likewise.
28147         * elf/Makefile: Likewise.
28148         * math/Makefile: Likewise.
28149         * misc/Makefile: Likewise.
28150         * nptl/Makefile: Likewise.
28151         * sysdeps/mach/hurd/Makefile: Likewise.
28153         * configure.in: PWD_P is not used anymore.
28154         * config.make.in: Remove PWD_P entry.
28156         * configure.in: Remove last remnants of RANLIB.
28157         No need to check for signed size_t anymore.
28158         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28159         and IA-64.
28160         Remove __builtin_expect test because we require at least gcc 3.4.
28161         * aclocal.m4: Likewise.
28163         * wcsmbs/mbrtoc16.c: Implement using towc function.
28164         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28165         * wcsmbs/wcsmbsload.c: Likewise.
28166         * iconv/gconv_simple.c: Likewise.
28167         * iconv/gconv_int.h: Likewise.
28168         * iconv/gconv_builtin.h: Likewise.
28169         * iconv/iconv_prog.c: Remove CHAR16 handling.
28171         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28173         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28175         * configure.in: Remove --with-elf and --enable-bounded options.
28176         Dont set base_machine for ia64.  More non-ELF conditions removed.
28177         Remove testing and setting of leading underscore information.
28178         * config.make.in (build-bounded): Set to no.
28179         * config.h.in: Remove NO_UNDERSCORES entry.
28180         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28181         them.
28182         * csu/start.c: Remove !NO_UNDERSCORE code.
28183         * locale/localeinfo.h: Likewise.
28184         * sysdeps/generic/machine-gmon.h: Likewise.
28185         * sysdeps/generic/sysdep.h: Likewise.
28186         * sysdeps/i386/sysdep.h: Likewise.
28187         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28188         * sysdeps/mach/sysdep.h: Likewise.
28189         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28190         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28191         * sysdeps/sh/sysdep.h: Likewise.
28192         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28193         * sysdeps/unix/i386/sysdep.S: Likewise.
28194         * sysdeps/unix/sparc/start.c: Likewise.
28195         * sysdeps/unix/sparc/sysdep.S: Likewise.
28196         * sysdeps/unix/sparc/sysdep.h: Likewise.
28197         * sysdeps/unix/start.c: Likewise.
28198         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28199         * sysdeps/x86_64/sysdep.h: Likewise.
28201 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28203         [BZ #13553]
28204         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28205         for non-gcc.
28206         * argp/argp-fmtstream.h: Use const instead __const.
28207         * argp/argp.h: Likewise.
28208         * assert/assert.h: Likewise.
28209         * bits/fenv.h: Likewise.
28210         * bits/sched.h: Likewise.
28211         * bits/sigset.h: Likewise.
28212         * bits/sigthread.h: Likewise.
28213         * catgets/nl_types.h: Likewise.
28214         * conform/data/pthread.h-data: Likewise.
28215         * crypt/crypt-private.h: Likewise.
28216         * crypt/crypt.h: Likewise.
28217         * crypt/crypt_util.c: Likewise.
28218         * ctype/ctype.h: Likewise.
28219         * debug/execinfo.h: Likewise.
28220         * debug/mbsnrtowcs_chk.c: Likewise.
28221         * debug/mbsrtowcs_chk.c: Likewise.
28222         * debug/wcsnrtombs_chk.c: Likewise.
28223         * debug/wcsrtombs_chk.c: Likewise.
28224         * debug/wcstombs_chk.c: Likewise.
28225         * dirent/dirent.h: Likewise.
28226         * dlfcn/dlfcn.h: Likewise.
28227         * elf/neededtest4.c: Likewise.
28228         * grp/grp.h: Likewise.
28229         * gshadow/gshadow.h: Likewise.
28230         * iconv/gconv.h: Likewise.
28231         * iconv/gconv_int.h: Likewise.
28232         * iconv/gconv_simple.c: Likewise.
28233         * iconv/iconv.h: Likewise.
28234         * iconv/loop.c: Likewise.
28235         * iconv/skeleton.c: Likewise.
28236         * include/aio.h: Likewise.
28237         * include/aliases.h: Likewise.
28238         * include/argz.h: Likewise.
28239         * include/arpa/inet.h: Likewise.
28240         * include/assert.h: Likewise.
28241         * include/dirent.h: Likewise.
28242         * include/dlfcn.h: Likewise.
28243         * include/execinfo.h: Likewise.
28244         * include/fcntl.h: Likewise.
28245         * include/fenv.h: Likewise.
28246         * include/glob.h: Likewise.
28247         * include/grp.h: Likewise.
28248         * include/libintl.h: Likewise.
28249         * include/mntent.h: Likewise.
28250         * include/netdb.h: Likewise.
28251         * include/pwd.h: Likewise.
28252         * include/rpc/netdb.h: Likewise.
28253         * include/sched.h: Likewise.
28254         * include/search.h: Likewise.
28255         * include/shadow.h: Likewise.
28256         * include/signal.h: Likewise.
28257         * include/stdio.h: Likewise.
28258         * include/stdlib.h: Likewise.
28259         * include/string.h: Likewise.
28260         * include/sys/socket.h: Likewise.
28261         * include/sys/stat.h: Likewise.
28262         * include/sys/statfs.h: Likewise.
28263         * include/sys/statvfs.h: Likewise.
28264         * include/sys/syslog.h: Likewise.
28265         * include/sys/time.h: Likewise.
28266         * include/sys/uio.h: Likewise.
28267         * include/time.h: Likewise.
28268         * include/unistd.h: Likewise.
28269         * include/utmp.h: Likewise.
28270         * include/wchar.h: Likewise.
28271         * include/wctype.h: Likewise.
28272         * inet/aliases.h: Likewise.
28273         * inet/arpa/inet.h: Likewise.
28274         * inet/netinet/ether.h: Likewise.
28275         * inet/netinet/in.h: Likewise.
28276         * intl/libintl.h: Likewise.
28277         * io/bits/fcntl2.h: Likewise.
28278         * io/fcntl.h: Likewise.
28279         * io/ftw.h: Likewise.
28280         * io/sys/poll.h: Likewise.
28281         * io/sys/stat.h: Likewise.
28282         * io/sys/statfs.h: Likewise.
28283         * io/sys/statvfs.h: Likewise.
28284         * io/utime.h: Likewise.
28285         * libio/bits/stdio.h: Likewise.
28286         * libio/bits/stdio2.h: Likewise.
28287         * libio/libio.h: Likewise.
28288         * libio/libioP.h: Likewise.
28289         * libio/stdio.h: Likewise.
28290         * locale/lc-ctype.c: Likewise.
28291         * locale/locale.h: Likewise.
28292         * login/utmp.h: Likewise.
28293         * malloc/arena.c: Likewise.
28294         * malloc/malloc.c: Likewise.
28295         * malloc/malloc.h: Likewise.
28296         * malloc/mcheck.c: Likewise.
28297         * malloc/mtrace.c: Likewise.
28298         * math/bits/mathcalls.h: Likewise.
28299         * math/fenv.h: Likewise.
28300         * math/math_private.h: Likewise.
28301         * misc/bits/error.h: Likewise.
28302         * misc/bits/syslog.h: Likewise.
28303         * misc/err.h: Likewise.
28304         * misc/error.h: Likewise.
28305         * misc/fstab.h: Likewise.
28306         * misc/mntent.h: Likewise.
28307         * misc/regexp.h: Likewise.
28308         * misc/search.h: Likewise.
28309         * misc/sgtty.h: Likewise.
28310         * misc/sys/mman.h: Likewise.
28311         * misc/sys/syslog.h: Likewise.
28312         * misc/sys/uio.h: Likewise.
28313         * misc/sys/xattr.h: Likewise.
28314         * misc/ttyent.h: Likewise.
28315         * nis/rpcsvc/ypclnt.h: Likewise.
28316         * nss/nss.h: Likewise.
28317         * posix/bits/unistd.h: Likewise.
28318         * posix/fnmatch.h: Likewise.
28319         * posix/glob.h: Likewise.
28320         * posix/sched.h: Likewise.
28321         * posix/spawn.h: Likewise.
28322         * posix/sys/wait.h: Likewise.
28323         * posix/unistd.h: Likewise.
28324         * posix/wordexp.h: Likewise.
28325         * pwd/pwd.h: Likewise.
28326         * resolv/netdb.h: Likewise.
28327         * resource/sys/resource.h: Likewise.
28328         * rt/aio.h: Likewise.
28329         * rt/bits/mqueue2.h: Likewise.
28330         * rt/mqueue.h: Likewise.
28331         * shadow/shadow.h: Likewise.
28332         * signal/signal.h: Likewise.
28333         * socket/send.c: Likewise.
28334         * socket/sendto.c: Likewise.
28335         * socket/sys/socket.h: Likewise.
28336         * stdio-common/printf.h: Likewise.
28337         * stdlib/bits/stdlib.h: Likewise.
28338         * stdlib/fmtmsg.h: Likewise.
28339         * stdlib/monetary.h: Likewise.
28340         * stdlib/stdlib.h: Likewise.
28341         * stdlib/ucontext.h: Likewise.
28342         * streams/stropts.h: Likewise.
28343         * string/argz.h: Likewise.
28344         * string/bits/string2.h: Likewise.
28345         * string/string.h: Likewise.
28346         * string/strings.h: Likewise.
28347         * sunrpc/rpc/auth.h: Likewise.
28348         * sunrpc/rpc/auth_des.h: Likewise.
28349         * sunrpc/rpc/clnt.h: Likewise.
28350         * sunrpc/rpc/netdb.h: Likewise.
28351         * sunrpc/rpc/pmap_clnt.h: Likewise.
28352         * sunrpc/rpc/xdr.h: Likewise.
28353         * sysdeps/generic/inttypes.h: Likewise.
28354         * sysdeps/generic/net/if.h: Likewise.
28355         * sysdeps/generic/sys/swap.h: Likewise.
28356         * sysdeps/gnu/net/if.h: Likewise.
28357         * sysdeps/gnu/utmpx.h: Likewise.
28358         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28359         * sysdeps/i386/i486/bits/string.h: Likewise.
28360         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28361         * sysdeps/s390/bits/string.h: Likewise.
28362         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28363         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28364         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28365         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28366         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28367         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28368         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28369         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28370         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28371         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28372         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28373         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28374         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28375         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28376         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28377         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28378         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28380         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28381         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28382         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28383         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28384         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28385         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28386         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28387         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28388         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28389         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28390         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28391         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28392         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28393         * sysvipc/sys/ipc.h: Likewise.
28394         * sysvipc/sys/msg.h: Likewise.
28395         * sysvipc/sys/sem.h: Likewise.
28396         * sysvipc/sys/shm.h: Likewise.
28397         * termios/termios.h: Likewise.
28398         * time/sys/time.h: Likewise.
28399         * time/time.h: Likewise.
28400         * wcsmbs/bits/wchar2.h: Likewise.
28401         * wcsmbs/uchar.h: Likewise.
28402         * wcsmbs/wchar.h: Likewise.
28403         * wctype/wctype.h: Likewise.
28405         [BZ #13551]
28406         * Makeconfig: Remove all but ELF support including AIX support.
28407         * Makerules: Likewise.
28408         * config.h.in: Likewise.
28409         * config.make.in: Likewise.
28410         * configure: Likewise.
28411         * configure.in: Likewise.
28412         * csu/Makefile: Likewise.
28413         * csu/version.c: Likewise.
28414         * debug/Makefile: Likewise.
28415         * dlfcn/Makefile: Likewise.
28416         * elf/Makefile: Likewise.
28417         * extra-lib.mk: Likewise.
28418         * iconv/Makefile: Likewise.
28419         * include/libc-symbols.h: Likewise.
28420         * include/shlib-compat.h: Likewise.
28421         * resolv/Makefile: Likewise.
28422         * resolv/res_libc.c: Likewise.
28423         * rt/Makefile: Likewise.
28424         * sysdeps/i386/asm-syntax.h: Likewise.
28425         * sysdeps/i386/sysdep.h: Likewise.
28426         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28427         * sysdeps/mach/sysdep.h: Likewise.
28428         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28429         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28430         * sysdeps/s390/asm-syntax.h: Likewise.
28431         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28432         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28433         * sysdeps/sh/sysdep.h: Likewise.
28434         * sysdeps/unix/sparc/sysdep.h: Likewise.
28435         * sysdeps/wordsize-32/divdi3.c: Likewise.
28436         * sysdeps/x86_64/sysdep.h: Likewise.
28438         * argp/Versions: Remove _argp_unlock_xxx.
28440         [BZ #13559]
28441         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28442         * abilist/libBrokenLocale.abilist: Likewise.
28443         * abilist/libanl.abilist: Likewise.
28444         * abilist/libc.abilist: Likewise.
28445         * abilist/libcrypt.abilist: Likewise.
28446         * abilist/libdl.abilist: Likewise.
28447         * abilist/libm.abilist: Likewise.
28448         * abilist/libnsl.abilist: Likewise.
28449         * abilist/libpthread.abilist: Likewise.
28450         * abilist/libresolv.abilist: Likewise.
28451         * abilist/librt.abilist: Likewise.
28452         * abilist/libthread_db.abilist: Likewise.
28453         * abilist/libutil.abilist: Likewise.
28454         * abilist/libnss_db.abilist: New file.
28456         * scripts/abilist.awk: Add support for indirect functions.
28458         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28460         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28462         * shlib-versions: Remove entries for ports architectures.
28464         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28465         files in ports.
28466         * elf/stackguard-macros.h: Remove support for IA-64.
28467         * elf/tst-auditmod1.c: Likewise.
28468         * sysdeps/generic/ldsodefs.h: Likewise.
28470         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28471         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28472         configure files.
28474         [BZ #13552]
28475         * configure.in: Remove --enable-omitfp support.
28476         * FAQ.in: Adjust.
28477         * config.make.in: Likewise.
28478         * Makeconfig: Likewise.
28479         * manual/install.texi: Likewise.
28481         In case anyone cares, the IA-64 architecture could move to ports.
28482         * sysdeps/ia64/*: Removed.
28483         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28484         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28486         [BZ #13555]
28487         * configure.in: Remove entries for unsupported architectures.
28489         [BZ #13533]
28490         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28491         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28492         routines.
28493         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28494         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28495         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28496         fall back to using wcrtomb.
28497         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28498         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28499         renaming.
28500         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28501         * wcsmbs/tst-c16c32-1.c: New file.
28503         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28504         local variable.
28506         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28508         * elf/tst-unique3.cc: Add explicit declaration of gets.
28509         * elf/tst-unique3lib.cc: Likewise.
28510         * elf/tst-unique3lib2.cc: Likewise.
28511         * elf/tst-unique4.cc: Likewise.
28513         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28515 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28517         [BZ #13566]
28518         * assert/assert.h (static_assert): Don't define for C++.
28519         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28520         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28522 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28524         * iconv/loop.c (single loop): Fix assertion in storing of
28525         remaining bytes.
28527         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28529 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28531         * posix/getconf.c: Update copyright year.
28532         * nss/getent.c: Likewise.
28533         * nss/makedb.c: Likewise.
28534         * iconv/iconvconfig.c: Likewise.
28535         * iconv/iconv_prog.c: Likewise.
28536         * elf/ldconfig.c: Likewise.
28537         * elf/pldd.c: Likewise.
28538         * elf/sotruss.ksh: Likewise.
28539         * catgets/gencat.c: Likewise.
28540         * csu/version.c: Likewise.
28541         * elf/ldd.bash.in: Likewise.
28542         * elf/sprof.c (print_version): Likewise.
28543         * locale/programs/locale.c: Likewise.
28544         * locale/programs/localedef.c: Likewise.
28545         * login/programs/pt_chown.c: Likewise.
28546         * nscd/nscd.c (print_version): Likewise.
28547         * debug/xtrace.sh: Likewise.
28548         * malloc/memusage.sh: Likewise.
28549         * malloc/mtrace.pl: Likewise.
28550         * debug/catchsegv.sh: Likewise.
28552 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28554         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28555         pure attribute.
28557 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28559         [BZ #13533]
28560         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28561         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28562         transformations.
28563         * iconv/gconv_int.h: Likewise.
28564         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28565         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28566         from libc for GLIBC_2.16.
28567         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28568         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28569         * wcsmbs/uchar.h: Really define mbstate_t.
28570         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28571         * wcsmbs/c16rtomb.c: New file.
28572         * wcsmbs/mbrtoc16.c: New file.
28573         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28574         for C/POSIX locale.
28575         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28576         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28578         * wcsmbs/wchar.h: Add missing __restrict.
28580 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28582         [BZ #13532]
28583         * time/Makefile (routines): Add timespec_get.
28584         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28585         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28586         timespec for ISO C11.
28587         * time/timespec_get.c: New file.
28588         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28589         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28591         [BZ #13531]
28592         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28593         * stdlib/stdlib.h: Declare aligned_alloc.
28594         * Versions.def: Add GLIBC_2.16 for libc.
28595         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28597         [BZ 13527]
28598         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28599         ISO C11.
28601         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28602         code.
28604         [BZ #13528]
28605         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28607         [BZ #13529]
28608         * assert/assert.h (static_assert): Define.
28610         * version.h: Update for 2.16 development version.
28612         [BZ #13526]
28613         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28614         _ISOC11_SOURCE.
28616         * version.h (RELEASE): Bump for 2.15 release.
28617         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28619         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28620         Patch by Marek Polacek <mpolacek@redhat.com>.
28622         * bits/byteswap.h: Protect long long constants with __extension__.
28623         * sysdeps/i386/bits/byteswap.h: Likewise.
28624         * sysdeps/ia64/bits/byteswap.h: Likewise.
28625         * sysdeps/s390/bits/byteswap.h: Likewise.
28626         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28628 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28630         [BZ #13540]
28631         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28632         destination buffer.
28633         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28635 2011-12-23  Marek Polacek  <polacek@redhat.com>
28637         * elf/dl-addr.c (determine_info): Add inline keyword.
28638         * elf/tst-auditmod4b.c (check_avx): Likewise.
28639         * elf/tst-auditmod6b.c (check_avx): Likewise.
28640         * elf/tst-auditmod6c.c (check_avx): Likewise.
28641         * elf/tst-auditmod7b.c (check_avx): Likewise.
28643 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28645         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28646         !__SSE_MATH__.
28648 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28650         [BZ #13540]
28651         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28652         processing for last bytes.
28654 2011-08-06  Bruno Haible  <bruno@clisp.org>
28656         [BZ #13061]
28657         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28658         U+0385, not to U+1FEE.
28660         [BZ #13062]
28661         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28662         entry for U+00A5 U+0301.
28664 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28666         [BZ #13166]
28667         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28668         buffer for the output is too small.
28670         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28671         optimization.
28673         [BZ #13185]
28674         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28675         SSE flags if possible.
28677 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28679         [BZ #13540]
28680         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28681         processing for last bytes.
28683 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28685         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28686         (syscall-list-default-options, syscall-list-default-condition)
28687         (syscall-list-includes): Define.
28688         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28689         list of ABIs and options and #if conditions for each ABI.  Do not
28690         handle common syscalls between ABIs specially.
28691         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28692         Remove.
28693         (syscall-list-variants, syscall-list-32bit-options)
28694         (syscall-list-32bit-condition, syscall-list-64bit-options)
28695         (syscall-list-64bit-condition): Define.
28696         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28697         (syscall-list-variants, syscall-list-32bit-options)
28698         (syscall-list-32bit-condition, syscall-list-64bit-options)
28699         (syscall-list-64bit-condition): Define.
28700         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28701         Remove.
28702         (syscall-list-variants, syscall-list-32bit-options)
28703         (syscall-list-32bit-condition, syscall-list-64bit-options)
28704         (syscall-list-64bit-condition): Define.
28705         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28706         Remove.
28707         (syscall-list-variants, syscall-list-32bit-options)
28708         (syscall-list-32bit-condition, syscall-list-64bit-options)
28709         (syscall-list-64bit-condition): Define.
28711 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28713         * locale/iso-639.def: Add brx entry.
28715         [BZ #13328]
28716         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28717         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28719         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28720         __feraiseexcept_renamed.
28722 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28724         [BZ #13538]
28725         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28726         EPOLLET with unsigned values.
28727         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28728         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28730         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28731         to large cancellation.
28732         * math/s_cacoshf.c: Likewise.
28733         * math/s_cacoshl.c: Likewise.
28735 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28737         [BZ #13305]
28738         [BZ #12786]
28739         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28740         * math/s_cacoshf.c: Likewise.
28741         * math/s_cacoshl.c: Likewise.
28743 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28745         [BZ #13439]
28746         * iconv/gconv.h: Define __GCONV_SWAP.
28747         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28748         * iconvdata/utf-16.c: Likewise.
28749         * iconvdata/utf-32.c: Likewise.
28751 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28753         [BZ #13524]
28754         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28755         numerator after shifting it by one limb.
28757 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28759         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28760         under [__USE_EXTERN_INLINES].
28762 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28764         [BZ #13446]
28765         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28767 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28769         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28770         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28771         optimized code.
28772         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28773         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28774         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28775         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28776         for strncasecmp/strncasecmp_l compilation.
28777         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28778         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28780 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28782         [BZ #13484]
28783         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28784         of __asm__.
28786 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28788         [BZ #13506]
28789         * time/tzfile.c (__tzfile_read): Check values from file header.
28791 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28793         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28794         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28795         * powerpc/powerpc32/dl-start.S: Likewise.
28796         * powerpc/powerpc32/elf/start.S: Likewise.
28797         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28798         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28799         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28800         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28801         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28802         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28803         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28804         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28805         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28806         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28807         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28808         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28809         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28810         * powerpc/powerpc32/memset.S: Likewise.
28811         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28812         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28813         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28814         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28815         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28816         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28817         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28818         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28819         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28820         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28821         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28822         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28823         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28825 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28827         * math/libm-test.inc: Added more nearbyint tests.
28828         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28829         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28830         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28831         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28833 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28835         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28836         FD_CLOEXEC.
28838 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28840         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28841         Add wcscpy-ssse3 wcscpy-c.
28842         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28843         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28844         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28845         * sysdeps/x86_64/wcschr.S: New file.
28846         * sysdeps/x86_64/wcsrchr.S: New file.
28847         * string/test-strcmp.c: Remove checking of wcscmp function for
28848         wrong alignments.
28849         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28850         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28851         wcsrchr-sse2 wcsrchr-c.
28852         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28853         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28854         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28855         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28856         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28857         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28858         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28859         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28860         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28861         * wcsmbc/wcschr.c (WCSCHR): New macro.
28863 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28865         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28866         * wcsmbs/test-wcsrchr.c: New file.
28867         * string/test-strrchr.c: Add wcsrchr support.
28868         (WIDE): New macro.
28869         * wcsmbs/test-wcscpy.c: New file.
28870         * string/test-strcpy.c: Add wcscpy support.
28871         (WIDE): New macro.
28873 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28875         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28876         the inner loop.
28878 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28880         [BZ #13472]
28881         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28883 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28885         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28886         Minor optimizations.
28888         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28889         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28890         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28892 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28894         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28895         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28896         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28897         for gcc to avoid warnings.
28898         * inet/Makefile (tests): Add tst-checks.
28899         * inet/tst-checks.c: New file.
28901         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28902         warning.
28904         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28905         __wmemcmp_sse2.
28907         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28908         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28910         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28912 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28914         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28915         problem.
28917         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28919 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28921         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28922         conditional on GCC version.
28923         (__arch_compare_and_exchange_val_8_acq)
28924         (__arch_compare_and_exchange_val_16_acq)
28925         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28926         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28927         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28929 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28931         * sysdeps/sh/backtrace.c: New file.
28933 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28935         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28936         parenthesis.
28938 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28940         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28941         falling back to utime.
28943 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28945         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28946         expectations for float.
28948 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28950         * locale/weight.h (findidx): Add parameter len.
28951         * locale/weightwc.h (findidx): Likewise.
28952         * posix/fnmatch_loop.c (FCT): Adjust caller.
28953         * posix/regcomp.c (build_equiv_class): Likewise.
28954         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28955         * posix/regexec.c (check_node_accept_bytes): Likewise.
28956         * string/strcoll_l.c (STRCOLL): Likewise.
28957         * string/strxfrm_l.c (STRXFRM): Likewise.
28959 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28961         * Makefile.in: Remove CVSOPT handling.
28962         * configure.in: Remove use of AC_REVISION.
28963         * iconvdata/Makefile (distribute): No need to filter out CVS.
28964         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28965         handling.
28967 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28969         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28970         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28971         [USE_AS_STRNCASECMP_L]: Likewise.
28972         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28973         NO_TLS_DIRECT_SEG_REFS.
28974         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28975         Fix argument offsets for non-PIC.
28976         [USE_AS_STRNCASECMP_L]: Likewise.
28977         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28978         NO_TLS_DIRECT_SEG_REFS.
28980 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28982         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28983         O_CLOEXEC.
28984         * locale/loadlocale.c (_nl_load_locale): Likewise.
28986 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28988         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28989         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28990         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28991         (SYSCALL_GETTIME): Set errno on error.
28993         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28994         count references to noai6ai_cached.
28996 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28998         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29000         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29001         FD_CLOEXEC for /proc/self/maps.
29003         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29004         FD_CLOEXEC for /proc/meminfo.
29006         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29007         gai.conf.
29009         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
29010         FD_CLOEXEC for given file.
29012         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29014         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29015         FD_CLOEXEC for /etc/hosts.
29016         (_gethtent): Likewise.
29018         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29020         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29021         cancellation and set FD_CLOEXEC for /etc/netgroup.
29023         * nss/nss_files/files-key.c (search): Don't allow cancellation when
29024         reading /etc/publickey.
29026         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29027         allow cancellation when reading /etc/group.
29029         * nss/nss_files/files-alias.c (internal_setent): Don't allow
29030         cancellation.
29031         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
29033         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29034         when using data file.
29036         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29038         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29039         (write_nis_obj): Use "c" and "e" in fopen.
29041         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29043         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29045         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29047         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29049         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29050         locale.alias.
29052         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29054         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29056         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29058         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29059         file parsing and set FD_CLOEXEC.
29061 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29063         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29065 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29067         * malloc/arena.c (arena_get2): Don't call reused_arena when
29068         _int_new_arena failed.
29070 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29072         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29073         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29074         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29075         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29076         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29077         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29078         to compile strcasecmp and strncasecmp.
29079         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29080         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29082         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29084 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29086         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29087         locale-defines.sym to gen-as-const-headers.
29088         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29089         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29090         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29091         to compile strcasecmp and strncasecmp.
29092         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29093         strcasecmp_l and strncasecmp_l.
29094         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29095         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29096         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29097         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29098         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29099         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29100         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29101         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29102         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29103         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29104         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29106 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29108         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29109         result of SYSDEP_GETTIME_CPU to retval.
29110         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29111         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29113         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29114         variable.
29116         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29117         mantissa words.
29118         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29120         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29121         from unused variable.
29123         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29124         DWARF definitions.
29125         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29126         for assembling.
29128         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29129         over namespaces.
29131         * sunrpc/rpc_prot.c (rejected): Fix case value.
29133         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29134         unsigned long long int to avoid warnings in shift.
29136         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29137         of use of trans.
29138         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29139         variable tmp.
29141         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29142         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29143         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29145         * nis/nis_table.c (nis_list): Use variable of correct type for
29146         result of __follow_path call.
29148 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29150         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29151         of math functions ceil, trunc, floor, round, and sqrt, when
29152         avaliable on the platform.
29153         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29154         name clash.
29155         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29156         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29157         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29159 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29161         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29162         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29164 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29166         * include/unistd.h: Fix __readlink return type.
29167         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29169 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29171         * stdlib/ucontext.h: Undo last change for makecontext.
29173 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29175         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29177         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29178         * setjmp/setjmp.h: Mark functions as non-leaf.
29179         * setjmp/bits/setjmp2.h: Likewise.
29180         * stdlib/ucontext.h: Likewise.
29182 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29184         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29185         (reused_arena): Don't check arena limit.
29186         (arena_get2): Atomically check arena limit.
29188 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29190         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29191         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29193         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29194         instructions.
29196 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29198         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29199         handler when locking.
29201         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29202         Fix size of allocated buffer.
29204 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29206         [BZ #10103]
29207         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29208         declarations for long double functions.
29209         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29211         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29213 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29215         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29216         installed.
29218         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29219         is disabled.
29221 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29223         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29225 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29227         * include/alloca.h (stackinfo_alloca_round): Define.
29228         (extend_alloca): Use it.
29229         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29230         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29231         here.
29233         * scripts/check-local-headers.sh: Ignore libaudit.h.
29235         * nscd/Makefile (extra-objs): Make recursively expanded.
29237 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29239         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29240         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29242         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29243         * posix/tst-rfc3484-2.c: Likewise.
29244         * posix/tst-rfc3484-3.c: Likewise.
29246         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29247         process_vm_writev.
29248         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29249         process_vm_writev.
29250         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29251         process_vm_writev from libc using GLIBC_2.15 version.
29253         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29255 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29257         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29258         stack usage.
29260 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29262         [BZ #13367]
29263         * nss/getent.c (initgroups_keys): Show error message in case no group
29264         names are given.
29266         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29267         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29268         __bump_nl_timestamp.
29269         * nscd/connections (nscd_init): When host database is served open
29270         netlink socket and request notification about configuration changes.
29271         (main_loop_poll): Track netlink file descriptor and bump timestamp
29272         in case data becomes available.
29273         (main_loop_epoll): Likewise.
29274         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29275         (database_pers_head): Add extra_data fileds.
29276         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29277         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29278         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29279         Adjust caller.
29280         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29281         in6ai data, call __free_in6ai.
29282         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29283         Add -DHAVE_NETLINK.
29284         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
29285         interface information.  Reuse previous data if netlink timestamp
29286         is not changed.
29287         (__bump_nl_timestamp): New function.
29288         (__free_in6ai): New function.
29290 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
29292         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29293         close_not_cancel_no_status here.
29294         (__check_pf): Reorganize code a bit to not call close twice if OOM.
29296 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29298         [BZ #13276]
29299         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29300         return value.
29302         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29303         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29304         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29306 2011-07-03  Andreas Jaeger  <aj@suse.de>
29308         [BZ #10709]
29309         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29310         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29311         * math/libm-test.inc (sin_test): Add test case.
29313 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29315         [BZ #13337]
29316         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29317         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29319         * elf/chroot_canon.c (chroot_canon): Cleanups.
29321         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29323         [BZ #13335]
29324         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29325         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29327         * string/test-strchr.c: Make usable for strchrnul testing.
29328         * string/test-strchrnul.c: New file.
29329         * string/Makefile (strop-tests): Add strchrnul.
29331         * po/it.po: Update from translation team.
29332         * po/es.po: Likewise.
29334 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
29336         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29337         the three constants needed as parameters.  Drop the others.
29338         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29339         __m128i_strloadu_tolower.
29340         Create and initialize variable zero and use it in all the places
29341         where _mm_setzero_si128 was used.
29343         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29344         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29345         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29346         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29347         anymore.
29348         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29349         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29350         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29351         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29352         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29353         __mpranred, __mptan.
29354         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29355         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29356         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29357         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29358         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29359         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29360         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29361         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29362         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29364 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29366         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29367         redefine if SHARED.
29368         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29370         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29371         wide char related routines to wcsmbs subdir.
29373 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29375         [BZ #13344]
29376         * misc/sys/cdefs.h (__THROWNL): Define.
29377         * posix/unistd.h: Use __THREADNL instead of __THREAD
29378         for memory synchronization functions.
29380 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29382         [BZ #13349]
29383         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29384         doesn't exist.
29385         * manual/stdio.texi (Obstack Streams): Node removed.
29387 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29389         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29390         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29391         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29393         * math/math_private.h (math_force_eval): Allow non-addressable
29394         arguments.
29395         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29397 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29399         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29400         file is not needed.
29402         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29403         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29404         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29405         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29406         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29407         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29408         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29409         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29410         Add AVX variants.
29411         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29412         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29413         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29414         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29415         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29416         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29417         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29418         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29419         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29420         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29421         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29422         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29423         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29424         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29425         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29426         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29427         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29428         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29429         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29431         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29432         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29434         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29435         place.  Use VEX encoding when compiling for AVX.
29437 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29439         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29440         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29442         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29444 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29446         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29447         useless if() expression.
29448         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29449         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29450         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29451         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29452         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29453         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29454         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29455         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29456         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29457         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29458         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29459         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29460         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29461         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29462         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29463         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29464         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29465         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29466         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29468         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29470 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29472         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29473         condition.
29474         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29476 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29478         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29479         .text section.  Avoid duplicate constants.
29480         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29481         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29482         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29483         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29484         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29485         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29487         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29488         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29489         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29490         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29491         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29492         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29493         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29494         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29495         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29496         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29497         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29498         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29499         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29500         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29501         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29502         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29503         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29504         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29505         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29506         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29507         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29508         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29509         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29510         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29511         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29512         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29513         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29514         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29515         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29516         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29517         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29518         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29519         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29520         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29521         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29522         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29523         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29524         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29526 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29528         * sysdeps/x86_64/dla.h: Move to ...
29529         * sysdeps/x86_64/fpu/dla.h: ...here.
29530         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29531         situations.  Use __builtin_fma only for gcc 4.6 and up.
29533         * config.make.in: Add have-mfma4 entry.
29534         * configure.in: Substitute libc_cv_cc_fma4.
29535         * math/Makefile (dbl-only-routines): Add sincostab.
29536         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29537         Use __sincostab not sincos.
29538         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29539         name is a macro.
29540         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29541         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29542         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29543         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29544         using __copysign.
29545         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29546         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29547         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29548         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29549         and __inv.
29550         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29551         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29552         __copysign.
29553         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29554         define aliases when function name is a macro.
29555         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29556         sysdeps/ieee754/dbl-64/sincos.tbl.
29557         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29558         fma4-enabled routines.
29559         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29560         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29561         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29562         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29563         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29564         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29565         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29566         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29567         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29568         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29569         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29570         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29571         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29572         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29573         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29574         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29575         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29576         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29577         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29578         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29579         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29580         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29581         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29582         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29583         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29584         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29585         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29586         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29587         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29588         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29590         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29591         rename.
29592         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29593         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29594         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29596         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29597         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29598         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29599         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29601 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29603         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29605 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29607         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29609         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29610         prediction.
29611         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29613         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29614         Remove unused variable magic_bits.
29615         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29617         * string/strnlen.c: Define and use STRNLEN macro.
29618         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29619         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29620         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29621         * wcsmbs/wcslen.c: Define and use WCSLEN.
29622         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29623         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29624         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29625         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29626         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29627         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29628         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29630 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29633         strnlen-sse2-no-bsf.
29634         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29635         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29636         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29637         Add strnlen support.
29638         (USE_AS_STRNLEN): New macro.
29639         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29640         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29641         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29642         * sysdeps/x86_64/wcslen.S: New file.
29644 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29646         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29647         XMM-moves are used for copying on small sizes.
29649 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29651         * wcsmbs/Makefile (strop-tests): Add wcschr.
29652         * wcsmbs/test-wcschr.c: New file.
29653         * string/test-strchr.c: Update.
29654         Add wcschr support.
29655         (WIDE): New macro.
29657 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29659         * wcsmbs/Makefile (strop-tests): Add wcslen.
29660         * wcsmbs/test-wcslen.c: New file.
29661         * string/test-strlen.c: Update.
29662         Add wcslen support.
29663         (WIDE): New macro.
29665 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29667         * po/it.po: Update from translation team.
29669 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29671         * sysdeps/x86_64/wcscmp.S: Update.
29672         Fix wrong comparison semantics.
29673         wcscmp shall use signed comparison not unsigned.
29674         Don't use substraction to avoid overflow bug.
29675         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29676         * wcsmbc/wcscmp.c: Likewise.
29677         * string/test-strcmp.c: Likewise.
29678         Add new tests to check cases with negative values.
29680 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29682         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29683         * sysdeps/x86_64/dla.h: ...here.  New file.
29684         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29685         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29686         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29687         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29688         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29689         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29690         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29691         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29692         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29694 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29696         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29697         __ynl_finite aliases.
29699 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29703         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29704         define DLA_FMA.
29705         [DLA_FMA] (EMULV): Use DLA_FMA.
29706         [DLA_FMA] (MUL12): Use EMULV.
29707         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29708         that are not needed.
29709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29710         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29711         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29712         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29713         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29714         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29717 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29719         * math/s_nan.c: Undef __nan.
29720         * math/s_nanf.c: Undef __nanf.
29721         * math/s_nanl.c: Undef __nanl.
29722         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29723         "math_private.h".
29725 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29727         * math/s_catan.c: Add branch predictions.
29728         * math/s_catanf.c: Likewise.
29729         * math/s_catanh.c: Likewise.
29730         * math/s_catanhf.c: Likewise.
29731         * math/s_catanhl.c: Likewise.
29732         * math/s_catanl.c: Likewise.
29733         * math/s_cexp.c: Likewise.
29734         * math/s_cexpf.c: Likewise.
29735         * math/s_cexpl.c: Likewise.
29736         * math/s_clog.c: Likewise.
29737         * math/s_clog10.c: Likewise.
29738         * math/s_clog10f.c: Likewise.
29739         * math/s_clog10l.c: Likewise.
29740         * math/s_clogf.c: Likewise.
29741         * math/s_clogl.c: Likewise.
29742         * math/s_csqrt.c: Likewise.
29743         * math/s_csqrtf.c: Likewise.
29744         * math/s_csqrtl.c: Likewise.
29745         * math/s_ctanf.c: Likewise.
29746         * math/s_ctanh.c: Likewise.
29747         * math/s_ctanhf.c: Likewise.
29748         * math/s_ctanhl.c: Likewise.
29749         * math/s_ctanl.c: Likewise.
29751         * math/math_private.h: Define __nan, __nanf, __nanl.
29752         * math/s_cacosh.c: Include <math_private.h>.
29753         * math/s_cacoshl.c: Likewise.
29754         * math/s_casinh.c: Likewise.
29755         * math/s_casinhf.c: Likewise.
29756         * math/s_casinhl.c: Likewise.
29757         * math/s_ccos.c: Rely entire on ccosh.
29758         * math/s_ccosf.c: Rely entire on ccoshf.
29759         * math/s_ccosl.c: Rely entirely on ccoshl.
29760         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29761         Remove tests for FE_INVALID.
29762         * math/s_ccoshf.c: Likewise.
29763         * math/s_ccoshl.c: Likewise.
29764         * math/s_csin.c: Likewise.
29765         * math/s_csinf.c: Likewise.
29766         * math/s_csinh.c Likewise.
29767         * math/s_csinhf.c: Likewise.
29768         * math/s_csinhl.c: Likewise.
29769         * math/s_csinl.c: Likewise.
29770         * math/s_ctan.c: Likewise.
29771         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29772         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29773         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29775 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29777         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29778         compilation problems.
29780         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29781         __builtin_expect.
29783 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29785         * sysdeps/i386/configure.in: Test for -mfma4 option.
29786         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29787         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29788         COMMON_CPUID_INDEX_80000001.
29789         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29790         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29791         use it if FMA3 is not supported.
29792         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29794         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29795         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29797 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29799         [BZ #12892]
29800         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29801         it would create a cycle with a link time dependency.
29803 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29805         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29806         instruction.
29807         * string/Makefile (strop-tests): Add rawmemchr.
29808         * string/test-rawmemchr.c: New file.
29810         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29811         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29812         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29813         when compiling str{,n}casecmp and when AVX is available.  Hook up
29814         new optimized code in initializers.
29816 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29818         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29819         __feraiseexcept instead of feraiseexcept.
29821 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29823         * math/math_private.h: Define defaults for libc_fetestexcept and
29824         libc_feupdateenv.
29825         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29826         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29827         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29828         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29829         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29830         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29831         libc_fetestexcept and libc_feupdateenv.
29833         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29834         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29835         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29836         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29837         libc_feholdexcept_setround.
29839         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29840         Add s_nearbyint-c and s_nearbyintf-c.
29841         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29842         nearbyintf inlines.
29843         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29844         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29845         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29846         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29848         * math/math_private.h: Define defaults for libc_fegetround,
29849         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29850         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29851         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29852         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29853         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29854         standard functions.
29855         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29856         Remove comments and hacks for old compiler versions.
29857         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29858         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29859         libc_feholdexceptl.
29861 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29863         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29864         (__feraiseexcept_renamed): Add __NTH.
29865         (feraiseexcept): Add __NTH.  Rename local variables to fix
29866         namespace violations.
29868 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29870         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29872         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29874         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29875         recently added interfaces.
29876         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29878         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29879         about macro parameter expansion.
29881         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29882         __NO_MATH_INLINES is defined.  Cleanups.
29884         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29885         and __floorf is target has SSE4.1.
29886         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29887         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29888         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29889         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29891         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29892         name.
29893         (floorf): Likewise.
29895         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29897 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29899         * misc/sys/cdefs.h: Fix last change.
29901         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29902         database lookup.
29904 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29906         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29908         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29909         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29910         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29911         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29912         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29913         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29914         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29915         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29916         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29917         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29918         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29919         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29920         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29921         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29922         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29923         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29924         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29925         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29926         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29927         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29928         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29929         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29931         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29932         ceil, ceilf, floor, floorf.
29934         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29935         Perform IRELATIVE relocations last.
29937         * elf/do-rel.h: Add another parameter nrelative, replacing the
29938         local variable with the same name.  Change name of the function
29939         to end in Rel or Rela (uppercase).
29940         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29941         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29942         elf_dynamic_do_##reloc function.
29944 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29946         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29947         is sufficient, at least on modern CPUs.
29949         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29951         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29952         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29954         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29955         __expl_finite.
29956         * math/bits/math-finite.h: Add entries for exp.
29957         * math/e_expl.c: Add __*_finite alias.
29958         * sysdeps/i386/fpu/e_exp.S: Likewise.
29959         * sysdeps/i386/fpu/e_expf.S: Likewise.
29960         * sysdeps/i386/fpu/e_expl.c: Likewise.
29961         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29962         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29963         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29964         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29965         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29966         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29967         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29969         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29970         is sufficient, at least on modern CPUs.
29972         * ctype/ctype-info.c (__ctype_init): Define.
29973         * include/ctype.h (__ctype_init): Declare.
29974         (__ctype_b_loc): The variable is always initialized.
29975         (__ctype_toupper_loc): Likewise.
29976         (__ctype_tolower_loc): Likewise.
29977         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29978         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29980 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29982         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29984         * configure.in: Also look in $cxxmachine/include for C++ system
29985         headers.
29987 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29989         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29990         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29991         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29992         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29993         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29994         (USE_AS_WMEMCMP): New macro.
29995         Fixing indents.
29996         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29997         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29998         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29999         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30001         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30002         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30003         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30004         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30005         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30006         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30007         (USE_AS_WMEMCMP): New macro.
30008         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30009         * sysdeps/string/test-memcmp.c: Update.
30010         Fix simple_wmemcmp.
30011         Add new tests.
30012         * wcsmbs/wmemcmp.c: Update.
30013         (WMEMCMP): New macro.
30014         Fix overflow bug.
30016 2011-10-12  Andreas Jaeger  <aj@suse.de>
30018         [BZ #13268]
30019         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30021 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30023         * libio/iofwide.c (do_length): Avoid warning.
30025         * ctype/ctype.h (__isctype_f): Add missing __THROW.
30027 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
30029         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30031         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30032         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30033         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30034         * sysdeps/i386/i686/fpu/e_log.S: New file.
30035         * sysdeps/i386/i686/fpu/e_logf.S: New file.
30036         * sysdeps/i386/i686/fpu/e_logl.S: New file.
30038         * ctype/ctype.h: Add support for inlined isXXX functions when
30039         compiling C++ code.
30041 2011-10-14  Andreas Schwab  <schwab@redhat.com>
30043         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30045         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30047 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30049         [BZ #13291]
30050         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30052 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30054         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30055         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30056         feraiseexcept.
30058         * sysdeps/x86_64/memrchr.S: Check for zero size.
30060         * string/stratcliff.c: Add memrchr tests.
30062 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30064         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30065         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30066         rawmemchr-sse2 rawmemchr-sse2-bsf.
30067         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30068         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30069         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30070         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30071         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30072         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30073         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30074         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30075         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30076         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30077         * string/memrchr.c (MEMRCHR): New macro.
30079 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30081         Add integration with gcc's -ffinite-math-only and optimize wrapper
30082         functions in libm.
30083         * Versions.def: Define GLIBC_2.15 version for libm.
30084         * math/Makefile (headers): Add bits/math-finite.h.
30085         * math/bits/math-finite.h: New file.
30086         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30087         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30088         * math/e_acoshl.c: Add __*_finite alias.
30089         * math/e_acosl.c: Likewise.
30090         * math/e_asinl.c: Likewise.
30091         * math/e_atan2l.c: Likewise.
30092         * math/e_atanhl.c: Likewise.
30093         * math/e_coshl.c: Likewise.
30094         * math/e_exp10.c: Likewise.
30095         * math/e_exp10f.c: Likewise.
30096         * math/e_exp10l.c: Likewise.
30097         * math/e_exp2l.c: Likewise.
30098         * math/e_fmodl.c: Likewise.
30099         * math/e_gammal_r.c: Likewise.
30100         * math/e_hypotl.c: Likewise.
30101         * math/e_j0l.c: Likewise.
30102         * math/e_j1l.c: Likewise.
30103         * math/e_jnl.c: Likewise.
30104         * math/e_lgammal_r.c: Likewise.
30105         * math/e_log10l.c: Likewise.
30106         * math/e_log2l.c: Likewise.
30107         * math/e_logl.c: Likewise.
30108         * math/e_powl.c: Likewise.
30109         * math/e_sinhl.c: Likewise.
30110         * math/e_sqrtl.c: Likewise.
30111         * math/e_scalb.c: Completely rewritten and optimized.
30112         * math/e_scalbf.c: Likewise.
30113         * math/e_scalbl.c: Likewise.
30114         * math/w_acos.c: Likewise.
30115         * math/w_acosf.c: Likewise.
30116         * math/w_acosl.c: Likewise.
30117         * math/w_acosh.c: Likewise.
30118         * math/w_acoshf.c: Likewise.
30119         * math/w_acoshl.c: Likewise.
30120         * math/w_asin.c: Likewise.
30121         * math/w_asinf.c: Likewise.
30122         * math/w_asinl.c: Likewise.
30123         * math/w_atan2.c: Likewise.
30124         * math/w_atan2f.c: Likewise.
30125         * math/w_atan2l.c: Likewise.
30126         * math/w_atanh.c: Likewise.
30127         * math/w_atanhf.c: Likewise.
30128         * math/w_atanhl.c: Likewise.
30129         * math/w_exp10.c: Likewise.
30130         * math/w_exp10f.c: Likewise.
30131         * math/w_exp10l.c: Likewise.
30132         * math/w_fmod.c: Likewise.
30133         * math/w_fmodf.c: Likewise.
30134         * math/w_fmodl.c: Likewise.
30135         * math/w_j0.c: Likewise.
30136         * math/w_j0f.c: Likewise.
30137         * math/w_j0l.c: Likewise.
30138         * math/w_j1.c: Likewise.
30139         * math/w_j1f.c: Likewise.
30140         * math/w_j1l.c: Likewise.
30141         * math/w_jn.c: Likewise.
30142         * math/w_jnf.c: Likewise.
30143         * math/w_log.c: Likewise.
30144         * math/w_logf.c: Likewise.
30145         * math/w_logl.c: Likewise.
30146         * math/w_log10.c: Likewise.
30147         * math/w_log10f.c: Likewise.
30148         * math/w_log10l.c: Likewise.
30149         * math/w_log2.c: Likewise.
30150         * math/w_log2f.c: Likewise.
30151         * math/w_log2l.c: Likewise.
30152         * math/w_pow.c: Likewise.
30153         * math/w_powf.c: Likewise.
30154         * math/w_powl.c: Likewise.
30155         * math/w_remainder.c: Likewise.
30156         * math/w_remainderf.c: Likewise.
30157         * math/w_remainderl.c: Likewise.
30158         * math/w_scalb.c: Likewise.
30159         * math/w_scalbf.c: Likewise.
30160         * math/w_scalbl.c: Likewise.
30161         * math/w_sqrt.c: Likewise.
30162         * math/w_sqrtf.c: Likewise.
30163         * math/w_sqrtl.c: Likewise.
30164         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30165         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30166         used.
30167         * math/math_private.h: Declare __kernel_standard_f.
30168         * math/w_cosh.c: Remove cruft and optimize a bit.
30169         * math/w_coshf.c: Likewise.
30170         * math/w_coshl.c: Likewise.
30171         * math/w_exp2.c: Likewise.
30172         * math/w_exp2f.c: Likewise.
30173         * math/w_exp2l.c: Likewise.
30174         * math/w_hypot.c: Likewise.
30175         * math/w_hypotf.c: Likewise.
30176         * math/w_hypotl.c: Likewise.
30177         * math/w_lgamma.c: Likewise.
30178         * math/w_lgamma_r.c: Likewise.
30179         * math/w_lgammaf.c: Likewise.
30180         * math/w_lgammaf_r.c: Likewise.
30181         * math/w_lgammal.c: Likewise.
30182         * math/w_lgammal_r.c: Likewise.
30183         * math/w_sinh.c: Likewise.
30184         * math/w_sinhf.c: Likewise.
30185         * math/w_sinhl.c: Likewise.
30186         * math/w_tgamma.c: Likewise.
30187         * math/w_tgammaf.c: Likewise.
30188         * math/w_tgammal.c: Likewise.
30189         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30190         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30191         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30192         Minor optimizations.  Pretty printing.  Remove cruft.
30193         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30194         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30195         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30196         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30197         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30198         * sysdeps/i386/fpu/e_asin.S: Likewise.
30199         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30200         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30201         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30202         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30203         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30204         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30205         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30206         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30207         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30208         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30209         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30210         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30211         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30212         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30213         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30214         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30215         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30216         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30217         * sysdeps/i386/fpu/e_log.S: Likewise.
30218         * sysdeps/i386/fpu/e_log10.S: Likewise.
30219         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30220         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30221         * sysdeps/i386/fpu/e_log2.S: Likewise.
30222         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30223         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30224         * sysdeps/i386/fpu/e_logf.S: Likewise.
30225         * sysdeps/i386/fpu/e_logl.S: Likewise.
30226         * sysdeps/i386/fpu/e_pow.S: Likewise.
30227         * sysdeps/i386/fpu/e_powf.S: Likewise.
30228         * sysdeps/i386/fpu/e_powl.S: Likewise.
30229         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30230         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30231         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30232         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30233         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30234         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30235         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30236         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30237         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30238         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30239         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30240         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30241         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30242         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30243         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30244         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30245         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30246         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30247         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30248         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30249         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30250         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30251         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30252         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30253         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30254         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30255         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30256         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30257         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30258         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30259         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30260         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30261         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30262         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30263         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30264         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30265         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30266         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30267         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30268         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30269         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30270         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30271         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30272         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30273         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30274         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30275         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30276         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30277         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30278         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30279         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30280         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30281         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30282         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30283         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30284         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30285         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30286         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30287         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30288         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30289         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30290         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30291         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30292         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30293         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30294         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30295         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30296         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30297         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30298         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30299         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30300         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30301         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30302         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30303         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30304         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30305         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30306         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30307         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30308         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30309         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30310         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30311         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30312         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30313         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30314         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30315         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30316         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30317         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30318         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30319         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30320         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30321         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30322         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30323         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30324         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30325         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30326         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30327         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30328         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30329         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30330         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30331         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30332         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30333         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30334         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30335         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30336         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30337         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30338         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30339         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30340         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30341         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30342         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30343         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30344         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30345         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30346         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30347         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30348         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
30349         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30350         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30351         (__isnanf): Likewise.
30352         (__isinf_ns): Likewise.
30353         (__isinf_nsf): Likewise.
30354         (__finite): Likewise.
30355         (__finitef): Likewise.
30356         (__ieee754_sqrt): Define as macro.
30357         (__ieee754_sqrtf): Define as macro.
30358         (__ieee754_sqrtl): Define as macro.
30359         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30360         inlined copy.
30361         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30362         __FINITE_MATH_ONLY__ consistent.
30363         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30365 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30367         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30368         of rawmemchr.
30370         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30372 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30374         * po/ja.po: Update from translation team.
30376 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30378         * locale/programs/locarchive.c (prepare_address_space): New function.
30379         (create_archive, enlarge_archive, open_archive): Use it.
30381         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30382         inside [SHARED], where it is used.
30384         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30386         * nss/getent.c (netgroup_keys): Remove unused variable.
30387         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30389 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30391         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30392         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30393         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30394         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30395         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30396         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30397         * math/Makefile (libm-calls): Add s_isinf_ns.
30398         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30399         * math/multc3.c: Likewise.
30400         * math/s_casin.c: Likewise.
30401         * math/s_casinf.c: Likewise.
30402         * math/s_casinl.c: Likewise.
30403         * math/s_ccos.c: Likewise.
30404         * math/s_ccosf.c: Likewise.
30405         * math/s_ccosl.c: Likewise.
30406         * math/s_ctan.c: Likewise.
30407         * math/s_ctanf.c: Likewise.
30408         * math/s_ctanh.c: Likewise.
30409         * math/s_ctanhf.c: Likewise.
30410         * math/s_ctanhl.c: Likewise.
30411         * math/s_ctanl.c: Likewise.
30412         * math/w_fmod.c: Likewise.
30413         * math/w_fmodf.c: Likewise.
30414         * math/w_fmodl.c: Likewise.
30415         * math/w_remainder.c: Likewise.
30416         * math/w_remainderf.c: Likewise.
30417         * math/w_remainderl.c: Likewise.
30418         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30419         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30420         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30422         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30423         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30424         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30425         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30427         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30428         of the number.
30429         * stdio-common/printf_fphex.c: Likewise.
30430         * stdio-common/printf_size.c: Likewise.
30432         * math/e_exp10.c: Include math_private.h using <...> not "...".
30433         * math/e_exp10f.c: Likewise.
30434         * math/e_exp10l.c: Likewise.
30435         * math/e_exp2l.c: Likewise.
30436         * math/e_j0l.c: Likewise.
30437         * math/e_j1l.c: Likewise.
30438         * math/e_jnl.c: Likewise.
30439         * math/e_lgammal_r.c: Likewise.
30440         * math/e_rem_pio2l.c: Likewise.
30441         * math/e_scalb.c: Likewise.
30442         * math/e_scalbf.c: Likewise.
30443         * math/e_scalbl.c: Likewise.
30444         * math/k_cosl.c: Likewise.
30445         * math/k_sinl.c: Likewise.
30446         * math/k_tanl.c: Likewise.
30447         * math/s_cacoshf.c: Likewise.
30448         * math/s_catan.c: Likewise.
30449         * math/s_catanf.c: Likewise.
30450         * math/s_catanh.c: Likewise.
30451         * math/s_catanhf.c: Likewise.
30452         * math/s_catanhl.c: Likewise.
30453         * math/s_catanl.c: Likewise.
30454         * math/s_ccosh.c: Likewise.
30455         * math/s_ccoshf.c: Likewise.
30456         * math/s_ccoshl.c: Likewise.
30457         * math/s_cexp.c: Likewise.
30458         * math/s_cexpf.c: Likewise.
30459         * math/s_cexpl.c: Likewise.
30460         * math/s_clog.c: Likewise.
30461         * math/s_clog10.c: Likewise.
30462         * math/s_clog10f.c: Likewise.
30463         * math/s_clog10l.c: Likewise.
30464         * math/s_clogf.c: Likewise.
30465         * math/s_clogl.c: Likewise.
30466         * math/s_csin.c: Likewise.
30467         * math/s_csinf.c: Likewise.
30468         * math/s_csinh.c: Likewise.
30469         * math/s_csinhf.c: Likewise.
30470         * math/s_csinhl.c: Likewise.
30471         * math/s_csinl.c: Likewise.
30472         * math/s_csqrt.c: Likewise.
30473         * math/s_csqrtf.c: Likewise.
30474         * math/s_csqrtl.c: Likewise.
30475         * math/s_ctan.c: Likewise.
30476         * math/s_ctanf.c: Likewise.
30477         * math/s_ctanh.c: Likewise.
30478         * math/s_ctanhf.c: Likewise.
30479         * math/s_ctanhl.c: Likewise.
30480         * math/s_ctanl.c: Likewise.
30481         * math/s_ldexp.c: Likewise.
30482         * math/s_ldexpf.c: Likewise.
30483         * math/s_ldexpl.c: Likewise.
30484         * math/s_significand.c: Likewise.
30485         * math/s_significandf.c: Likewise.
30486         * math/s_significandl.c: Likewise.
30487         * math/w_acos.c: Likewise.
30488         * math/w_acosf.c: Likewise.
30489         * math/w_acosh.c: Likewise.
30490         * math/w_acoshf.c: Likewise.
30491         * math/w_acoshl.c: Likewise.
30492         * math/w_acosl.c: Likewise.
30493         * math/w_asin.c: Likewise.
30494         * math/w_asinf.c: Likewise.
30495         * math/w_asinl.c: Likewise.
30496         * math/w_atan2.c: Likewise.
30497         * math/w_atan2f.c: Likewise.
30498         * math/w_atan2l.c: Likewise.
30499         * math/w_atanh.c: Likewise.
30500         * math/w_atanhf.c: Likewise.
30501         * math/w_atanhl.c: Likewise.
30502         * math/w_cosh.c: Likewise.
30503         * math/w_coshf.c: Likewise.
30504         * math/w_coshl.c: Likewise.
30505         * math/w_dremf.c: Likewise.
30506         * math/w_exp10.c: Likewise.
30507         * math/w_exp10f.c: Likewise.
30508         * math/w_exp10l.c: Likewise.
30509         * math/w_exp2.c: Likewise.
30510         * math/w_exp2f.c: Likewise.
30511         * math/w_fmod.c: Likewise.
30512         * math/w_fmodf.c: Likewise.
30513         * math/w_fmodl.c: Likewise.
30514         * math/w_hypot.c: Likewise.
30515         * math/w_hypotf.c: Likewise.
30516         * math/w_hypotl.c: Likewise.
30517         * math/w_j0.c: Likewise.
30518         * math/w_j0f.c: Likewise.
30519         * math/w_j0l.c: Likewise.
30520         * math/w_j1.c: Likewise.
30521         * math/w_j1f.c: Likewise.
30522         * math/w_j1l.c: Likewise.
30523         * math/w_jn.c: Likewise.
30524         * math/w_jnf.c: Likewise.
30525         * math/w_jnl.c: Likewise.
30526         * math/w_lgamma.c: Likewise.
30527         * math/w_lgamma_r.c: Likewise.
30528         * math/w_lgammaf.c: Likewise.
30529         * math/w_lgammaf_r.c: Likewise.
30530         * math/w_lgammal.c: Likewise.
30531         * math/w_lgammal_r.c: Likewise.
30532         * math/w_log.c: Likewise.
30533         * math/w_log10.c: Likewise.
30534         * math/w_log10f.c: Likewise.
30535         * math/w_log10l.c: Likewise.
30536         * math/w_log2.c: Likewise.
30537         * math/w_log2f.c: Likewise.
30538         * math/w_log2l.c: Likewise.
30539         * math/w_logf.c: Likewise.
30540         * math/w_logl.c: Likewise.
30541         * math/w_pow.c: Likewise.
30542         * math/w_powf.c: Likewise.
30543         * math/w_powl.c: Likewise.
30544         * math/w_remainder.c: Likewise.
30545         * math/w_remainderf.c: Likewise.
30546         * math/w_remainderl.c: Likewise.
30547         * math/w_scalb.c: Likewise.
30548         * math/w_scalbf.c: Likewise.
30549         * math/w_scalbl.c: Likewise.
30550         * math/w_sinh.c: Likewise.
30551         * math/w_sinhf.c: Likewise.
30552         * math/w_sinhl.c: Likewise.
30553         * math/w_sqrt.c: Likewise.
30554         * math/w_sqrtf.c: Likewise.
30555         * math/w_sqrtl.c: Likewise.
30556         * math/w_tgamma.c: Likewise.
30557         * math/w_tgammaf.c: Likewise.
30558         * math/w_tgammal.c: Likewise.
30560         * po/ja.po: Update from translation team.
30562 2011-09-29  Andreas Jaeger  <aj@suse.de>
30564         [BZ #13179]
30565         * sunrpc/netname.c (netname2host): Fix logic.
30567         [BZ #6779]
30568         [BZ #6783]
30569         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30570         correctly.
30571         * math/w_remainder.c (__remainder): Likewise.
30572         * math/w_remainderf.c (__remainderf): Likewise.
30573         * math/libm-test.inc (remainder_test): Add test cases.
30575 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30577         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30578         sdiv_qrnnd.
30580 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30582         * string/test-memcmp.c: Avoid unncessary #defines.
30583         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30585 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30587         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30588         Use new sse2 version for core i3 - i7 as it's faster
30589         than sse42 version.
30590         (bit_Prefer_PMINUB_for_stringop): New.
30591         * sysdeps/x86_64/rawmemchr.S: Update.
30592         Replace with faster SSE2 version.
30593         * sysdeps/x86_64/memrchr.S: New file.
30594         * sysdeps/x86_64/memchr.S: Update.
30595         Replace with faster SSE2 version.
30597 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30599         * elf/dl-load.c (lose): Add cast to avoid warning.
30601 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30603         * po/ca.po: Update from translation team.
30605         * inet/getnetgrent_r.c: Hook up nscd.
30606         * nscd/Makefile (routines): Add nscd_netgroup.
30607         (nscd-modules): Add netgroupcache.
30608         (CFLAGS-netgroupcache.c): Define.
30609         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30610         (cache_search): Add const to second parameter.
30611         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30612         INNETGR.
30613         (dbs): Add netgrdb entry.
30614         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30615         (verify_persistent_db): Handle netgrdb.
30616         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30617         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30618         GETFDNETGR.
30619         (netgroup_response_header): Define.
30620         (innetgroup_response_header): Define.
30621         (datahead): Add netgroup_response_header and innetgroup_response_header
30622         elements.
30623         * nscd/nscd.conf: Add entries for netgroup cache.
30624         * nscd/nscd.h (dbtype): Add netgrdb.
30625         (_PATH_NSCD_NETGROUP_DB): Define.
30626         (netgroup_iov_disabled): Declare.
30627         (xmalloc, xcalloc, xrealloc): Move declarations here.
30628         (cache_search): Adjust prototype.
30629         Add netgroup-related prototypes.
30630         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30631         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30632         (__nscd_innetgr): Declare.
30633         * nscd/selinux.c (perms): Use access_vector_t as element type and
30634         add netgroup-related initializers.
30635         * nscd/netgroupcache.c: New file.
30636         * nscd/nscd_netgroup.c: New file.
30637         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30638         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30639         For four parameters use innetgr.
30640         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30641         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30642         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30643         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30645         * nscd/connections.c (register_traced_file): Don't register file
30646         for disabled databases.
30648 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30650         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30652         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30653         from tree and freeing node.
30655 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30657         * nss/nsswitch.c (__nss_database_lookup): Handle
30658         nss_parse_service_list out of memory case.
30660 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30662         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30663         out of memory case.
30665 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30667         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30668         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30669         pass it down.
30670         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30671         elf_machine_rela, elf_machine_lazy_rel.
30672         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30673         (ELF_DYNAMIC_DO_REL): Likewise.
30674         (ELF_DYNAMIC_DO_RELA): Likewise.
30675         (ELF_DYNAMIC_RELOCATE): Likewise.
30676         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30677         to ELF_DYNAMIC_DO_REL.
30678         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30679         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30680         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30681         elf_machine_rela.
30682         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30683         skip_ifunc, don't call ifunc function if non-zero.
30684         (elf_machine_rela): Likewise.
30685         (elf_machine_lazy_rel): Likewise.
30686         (elf_machine_lazy_rela): Likewise.
30687         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30688         (elf_machine_lazy_rel): Likewise.
30689         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30690         Likewise.
30691         (elf_machine_lazy_rel): Likewise.
30692         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30693         Likewise.
30694         (elf_machine_lazy_rel): Likewise.
30695         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30696         (elf_machine_lazy_rel): Likewise.
30697         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30698         (elf_machine_lazy_rel): Likewise.
30699         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30700         (elf_machine_lazy_rel): Likewise.
30701         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30702         (elf_machine_lazy_rel): Likewise.
30703         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30704         (elf_machine_lazy_rel): Likewise.
30705         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30706         (elf_machine_lazy_rel): Likewise.
30708 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30710         * nss/nss_files/files-init.c (_nss_files_init): Use static
30711         initialization for all the *_traced_file variables.
30713 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30715         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30717 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30719         [BZ #13226]
30720         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30722 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30724         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30725         Reread the line before reparsing it.
30727 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30729         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30731 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30732             Maxim Kuvyrkov  <maxim@codesourcery.com>
30733             Joseph Myers  <joseph@codesourcery.com>
30735         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30736         if needed for __stack_chk_guard.
30738 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30740         * sysdeps/posix/spawni.c (script_execute): Always define it.
30741         It will be optimized away if unused.
30742         (maybe_script_execute): New function.
30743         (__spawni): Call it.
30745         * Makerules: Don't include tls.make.
30746         (config-tls): Always set to thread.
30747         * tls.make.c: File removed.
30749 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30751         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30752         * config.make.in (CPPFLAGS-config): New substituted variable.
30754 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30756         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30758         [BZ #13192]
30759         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30760         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30762 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30764         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30765         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30766         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30767         (CALL_FAIL): Likewise.
30768         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30769         (CALL_FAIL): Macro removed.
30770         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30772 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30774         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30775         for __FINITE_MATH_ONLY__ == 1.
30777 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30779         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30780         __ieee754_sqrt instead of sqrt.
30781         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30782         __ieee754_sqrtf instead of sqrtf.
30783         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30784         __floorf instead of floorf.
30785         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30786         __floorf, __truncf instead of floorf, truncf.
30788 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30790         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30792         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30793         __extern_always_inline.
30794         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30795         32-bit.
30797 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30799         * elf/rtld.c (dl_main): Also relocate in dependency order when
30800         doing symbol dependency testing.
30802 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30804         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30805         Always define `refsym'.
30807 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30809         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30810         (__FD_ELT): Renamed from __FDELT.
30811         * misc/bits/select2.h (__FD_ELT): Likewise.
30812         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30813         __FD_MASK instead of __FDELT, __FDMASK.
30814         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30815         Likewise.
30816         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30817         Likewise.
30819         * elf/Makefile (gen-ldd): Fix pattern.
30821         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30822         (init_tls): Likewise.
30824 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30826         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30828 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30830         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30831         `struct cmsghdr *' instead of `void *'.
30832         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30833         Likewise.
30835 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30837         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30838         if non-absolute.
30839         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30840         ldd_rewrite_script.
30842 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30844         * configure.in: Remove --with-tls option.
30845         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30846         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30847         out in case it is missing.
30848         * sysdeps/ia64/elf/configure.in: Likewise.
30849         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30850         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30851         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30852         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30853         * sysdeps/sh/elf/configure.in: Likewise.
30854         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30855         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30856         * sysdeps/x86_64/elf/configure.in: Likewise.
30857         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30858         * sysdeps/mach/hurd/tls.h: Likewise.
30860         [BZ #13067]
30861         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30863         [BZ #13090]
30864         * configure.in: Fix use of AC_INIT.
30866         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30868 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30870         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30871         __set_errno.
30872         * malloc/hooks.c: Likewise.
30874         [BZ #11929]
30875         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30876         variables statically.
30877         (narenas): Initialize.
30878         (list_lock): Initialize.
30879         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30880         initializtion of main_arena and list_lock.  Small cleanups.
30881         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30882         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30883         Add initializers to main_arena and mp_.
30884         (malloc_state): Remove pagesize member.  Change all users to use
30885         GLRO(dl_pagesize).
30887         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30888         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30889         is always initialized.
30891         * malloc/malloc.c: Removed unused configurations and dead code.
30892         * malloc/arena.c: Likewise.
30893         * malloc/hooks.c: Likewise.
30894         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30896         * include/tls.h: Removed.  USE___THREAD must always be defined.
30897         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30898         * elf/dl-libc.c: Likewise.
30899         * elf/dl-tsd.c: Likewise.
30900         * include/errno.h: Likewise.
30901         * include/netdb.h: Likewise.
30902         * include/resolv.h: Likewise.
30903         * inet/herrno-loc.c: Likewise.
30904         * inet/herrno.c: Likewise.
30905         * malloc/arena.c: Likewise.
30906         * malloc/hooks.c: Likewise.
30907         * malloc/malloc.c: Likewise.
30908         * resolv/res-state.c: Likewise.
30909         * resolv/res_libc.c: Likewise.
30910         * sysdeps/i386/dl-machine.h: Likewise.
30911         * sysdeps/ia64/dl-machine.h: Likewise.
30912         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30913         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30914         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30915         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30916         * sysdeps/sh/dl-machine.h: Likewise.
30917         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30918         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30919         * sysdeps/unix/i386/sysdep.S: Likewise.
30920         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30921         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30922         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30923         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30924         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30925         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30926         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30927         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30928         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30930         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30931         * sysdeps/x86_64/dl-machine.h: Likewise.
30932         * tls.make.c: Likewise.
30934         * configure.in: Remove --with-__thread option.  Make tests for
30935         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30936         tls_model attribute fail if no support is available.  Remove
30937         USE_IN_LIBIO.
30938         * Makeconfig: Adjust for dropped configure option.  All features are
30939         now mandatory.
30940         * Makerules: Likewise.
30941         * Versions.def: Likewise.
30942         * argp/argp-fmtstream.c: Likewise.
30943         * argp/argp-fmtstream.h: Likewise.
30944         * argp/argp-help.c: Likewise.
30945         * assert/assert.c: Likewise.
30946         * config.h.in: Likewise.
30947         * config.make.in: Likewise.
30948         * configure: Likewise.
30949         * configure.in: Likewise.
30950         * csu/Versions: Likewise.
30951         * csu/init.c: Likewise.
30952         * elf/tst-audit2.c: Likewise.
30953         * elf/tst-tls10.c: Likewise.
30954         * elf/tst-tls10.h: Likewise.
30955         * elf/tst-tls11.c: Likewise.
30956         * elf/tst-tls12.c: Likewise.
30957         * elf/tst-tls14.c: Likewise.
30958         * elf/tst-tlsmod11.c: Likewise.
30959         * elf/tst-tlsmod12.c: Likewise.
30960         * elf/tst-tlsmod13.c: Likewise.
30961         * elf/tst-tlsmod13a.c: Likewise.
30962         * elf/tst-tlsmod14a.c: Likewise.
30963         * elf/tst-tlsmod15b.c: Likewise.
30964         * elf/tst-tlsmod16a.c: Likewise.
30965         * elf/tst-tlsmod16b.c: Likewise.
30966         * elf/tst-tlsmod7.c: Likewise.
30967         * elf/tst-tlsmod8.c: Likewise.
30968         * elf/tst-tlsmod9.c: Likewise.
30969         * gmon/gmon.c: Likewise.
30970         * grp/fgetgrent_r.c: Likewise.
30971         * grp/putgrent.c: Likewise.
30972         * hurd/fopenport.c: Likewise.
30973         * include/libc-symbols.h: Likewise.
30974         * include/tls.h: Likewise.
30975         * intl/gettextP.h: Likewise.
30976         * intl/loadinfo.h: Likewise.
30977         * locale/global-locale.c: Likewise.
30978         * locale/localeinfo.h: Likewise.
30979         * mach/devstream.c: Likewise.
30980         * malloc/arena.c: Likewise.
30981         * malloc/set-freeres.c: Likewise.
30982         * misc/err.c: Likewise.
30983         * misc/getttyent.c: Likewise.
30984         * misc/mntent_r.c: Likewise.
30985         * posix/getopt.c: Likewise.
30986         * posix/wordexp.c: Likewise.
30987         * pwd/fgetpwent_r.c: Likewise.
30988         * resolv/Versions: Likewise.
30989         * resolv/res_hconf.c: Likewise.
30990         * shadow/fgetspent_r.c: Likewise.
30991         * shadow/putspent.c: Likewise.
30992         * stdio-common/printf_fphex.c: Likewise.
30993         * stdio-common/tmpfile.c: Likewise.
30994         * stdlib/abort.c: Likewise.
30995         * stdlib/fmtmsg.c: Likewise.
30996         * sunrpc/auth_unix.c: Likewise.
30997         * sunrpc/clnt_perr.c: Likewise.
30998         * sunrpc/clnt_tcp.c: Likewise.
30999         * sunrpc/clnt_udp.c: Likewise.
31000         * sunrpc/clnt_unix.c: Likewise.
31001         * sunrpc/openchild.c: Likewise.
31002         * sunrpc/svc_simple.c: Likewise.
31003         * sunrpc/svc_tcp.c: Likewise.
31004         * sunrpc/svc_udp.c: Likewise.
31005         * sunrpc/svc_unix.c: Likewise.
31006         * sunrpc/xdr.c: Likewise.
31007         * sunrpc/xdr_array.c: Likewise.
31008         * sunrpc/xdr_rec.c: Likewise.
31009         * sunrpc/xdr_ref.c: Likewise.
31010         * sunrpc/xdr_stdio.c: Likewise.
31012 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31014         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31016 2011-07-03  Andreas Jaeger  <aj@suse.de>
31018         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31019         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31020         regenerate with gen-libm-tests.pl.
31022 2010-05-12  Petr Baudis  <pasky@suse.cz>
31024         [BZ #11589]
31025         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31026         around j0() zero points by switching to j1().
31027         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31028         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31029         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31030         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31032 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31034         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31035         instead of 0.
31036         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31037         instead of 0.
31038         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31039         Patch in part by Pavel Roskin <proski@gnu.org>.
31041         [BZ #13138]
31042         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31043         realloc.
31044         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
31045         Free memory block if necessary.
31047         [BZ #12847]
31048         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31049         be NULL.  Don't lock in this case.
31051 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31053         * elf/elf.h (ELFOSABI_GNU): New macro.
31054         (ELFOSABI_LINUX): Define to that.
31056 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31058         * string/strncat.c (strncat): Undef the symbol in case it has been
31059         defined in bits/string.h.
31061 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31063         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31065         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31066         link map.
31068 2011-08-17  Andreas Jaeger  <aj@suse.de>
31070         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31072 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31073             Ian Lance Taylor  <iant@google.com>
31075         * math/libm-test.inc (lround_test): New testcase.
31076         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31078 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31080         * Makefile: Remove support for automatic cvs check-ins.
31081         * Makerules: Likewise.
31082         * config.make.in: Likewise.
31083         * configure.in: Likewise.
31084         * intl/Makefile: Likewise.
31085         * locale/Makefile: Likewise.
31086         * po/Makefile: Likewise.
31087         * posix/Makefile: Likewise.
31088         * sysdeps/gnu/Makefile: Likewise.
31089         * sysdeps/mach/hurd/Makefile: Likewise.
31090         * sysdeps/sparc/sparc32/Makefile: Likewise.
31092         [BZ #13118]
31093         * posix/Makefile (bug-regex32-ENV): Define.
31094         Patch by John Stanley <jpsinthemix@verizon.net>.
31096         * misc/Makefile (headers): Add bits/select2.h.
31097         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31098         * misc/bits/select2.h: New file.
31099         * include/bits/select2.h: New file.
31100         * debug/Makefile (routines): Add fdelt_chk.
31101         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31102         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31103         FD_ISSET.
31104         * debug/fdelt_chk.c: New file.
31106         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31107         * wcsmbs/test-wmemcmp.c: Likewise.
31108         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31109         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31111 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31113         * string/Makefile (strop-tests): Add memcmp.
31114         * string/test-wmemcmp.c: New file.
31115         * string/test-memcmp.c: Add wmemcmp support.
31117 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31119         [BZ #13153]
31120         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31121         2011-07-19 change.
31123         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31124         garbage value in a __mach_port_mod_refs call in the cases of the
31125         task-self and thread-self ports.
31127 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31129         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31131 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31133         * elf/dl-load.c (lose): Check for non-null L.
31135 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31137         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31139         * elf/dl-libc.c (dlerror_run): Pass back error code from
31140         dl_catch_error.
31142         [BZ #13123]
31143         * elf/dl-load.c (lose): Free l_origin if it is valid.
31145         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31146         names.
31147         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31148         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31149         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31150         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31151         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31152         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31154 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31156         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31157         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31158         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31159         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31160         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31161         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31162         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31163         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31164         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31165         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31167 2011-08-15  Alan Modra  <amodra@gmail.com>
31169         [BZ #13092]
31170         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31171         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31172         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31173         ppc_mcount to static-only-routines.
31174         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31175         __mcount_internal.
31176         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31177         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31179 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31181         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31182         for finite and infinity parameters.
31184 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31186         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31187         and add nop instructions for throughput optimization.
31188         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31190 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31192         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31193         aligned copy for power7 with vector-scalar instructions.
31194         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31196 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31198         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31199         AVX check.
31201 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31203         [BZ #13144]
31204         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31205         last change.
31207 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31209         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31210         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31211         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31212         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31213         clock_gettime.
31215 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31217         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31218         Forgot to demangle the pointer.
31220         * sysdeps/i386/sysdep.h: Define atom_text_section.
31221         * sysdeps/x86_64/sysdep.h: Likewise.
31222         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31223         section with atom_text_section.
31224         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31225         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31226         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31227         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31228         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31230         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31231         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31232         already be defined.  Change to take two parameters and don't assign
31233         result to variable.  Adjust all users.
31234         Define INTERNAL_GETTIME if not already defined.
31235         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31236         call.
31237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31238         HAVE_CLOCK_GETTIME_VSYSCALL.
31239         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31241         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31242         gettimeofday vsyscall, just use time.
31244 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31246         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31247         <errno.h>.
31249 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31251         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31252         syscall on x86-64.
31253         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31254         syscall.
31255         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31256         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31257         syscall if possible.
31259 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31261         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31262         e_ident.  Don't pass to find_mapsXX.
31263         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31265 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31268         strchr-sse2-no-bsf strrchr-sse2-no-bsf
31269         * sysdeps/x86_64/multiarch/strchr.S: Update.
31270         Check bit_slow_BSF bit.
31271         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31272         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31273         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31275 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31277         [BZ #13134]
31278         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31279         before glibc 2.15.
31280         (tryshell): Define.
31281         (__spawni): Change last parameter to be flag.  Test
31282         SPAWN_XFLAGS_USE_PATH flag to use path or not.
31283         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31284         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31285         * posix/spawni.c: Likewise.
31286         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31287         * posix/spawnp.c: Likewise.  Change normal version to use
31288         SPAWN_XFLAGS_USE_PATH.
31289         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31290         SPAWN_XFLAGS_TRY_SHELL.
31292         [BZ #13150]
31293         * posix/glob.h: Remove gcc 1.x support.
31295         [BZ #13068]
31296         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31298 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31300         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31301         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31302         strrchr-sse2-bsf
31303         * sysdeps/i386/i686/multiarch/strchr.S: New file.
31304         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31305         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31306         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31307         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31308         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31310 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31312         * sysdeps/x86_64/wcscmp.S: New file.
31314         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31315         wcscmp-c wcscmp-sse2
31316         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31317         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31318         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31319         * wcsmbs/wcscmp.c: Allow renaming.
31321 2011-09-05  David S. Miller  <davem@davemloft.net>
31323         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31324         stack slot, rather than the struct return pointer slot.
31325         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31326         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31328         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31330 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31332         * po/ja.po: Update from translation team.
31334         [BZ #13144]
31335         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31336         kernel in 64-bit binaries.
31338 2011-09-01  David S. Miller  <davem@davemloft.net>
31340         * elf/elf.h (HWCAP_SPARC_*): Move to..
31341         * sysdeps/sparc/sysdep.h: this new file and add new values.
31342         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31343         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31344         _DL_HWCAP_COUNT to 24.
31345         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31346         entries.
31347         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31348         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31349         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31350         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31351         instead of magic constants.
31352         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31354 2011-08-31  David S. Miller  <davem@davemloft.net>
31356         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31358         Reimplement to do errno handling inline.
31359         (SYSCALL_ERROR_HANDLER): New macro.
31360         (__SYSCALL_STRING): Do not do errno handling in asm.
31361         (__CLONE_SYSCALL_STRING): Delete.
31362         (__INTERNAL_SYSCALL_STRING): Delete.
31363         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31364         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31365         (PSEUDO): Reimplement to do errno handling inline.
31366         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31367         (SYSCALL_ERROR_HANDLER): New macro.
31368         (__SYSCALL_STRING): Do not do errno handling in asm.
31369         (__CLONE_SYSCALL_STRING): Delete.
31370         (__INTERNAL_SYSCALL_STRING): Delete.
31371         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31372         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31373         i386.
31374         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31375         (inline_syscall*): Add 'err' argument.
31376         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31377         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31378         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31379         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31381         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31382         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31384 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31386         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31388 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31390         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31391         directive.
31393 2011-08-24  David S. Miller  <davem@davemloft.net>
31395         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31397 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31399         * elf/Makefile: Add rules to build and run unload8 test.
31400         * elf/unload8.c: New file.
31401         * elf/unload8mod1.c: New file.
31402         * elf/unload8mod1x.c: New file.
31403         * elf/unload8mod2.c: New file.
31404         * elf/unload8mod3.c: New file.
31406         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31407         it wasn't used.
31409 2011-08-23  David S. Miller  <davem@davemloft.net>
31411         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31412         subtract stack bias.
31413         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31414         %sp not %fp in calculations.
31415         (_JMPBUF_UNWINDS_ADJ): Likewise.
31417         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31418         (aio_suspend): Call it to force an exception region around the
31419         AIO_MISC_WAIT() invocation.
31421 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31423         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31424         backslash.
31426 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31428         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31429         protection macro.
31430         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31431         and <dl-machine.h>.
31432         (Elf64_FuncDesc): Remove.
31434 2011-08-22  David S. Miller  <davem@davemloft.net>
31436         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31437         sigaltstack check, add missing cfi directives.
31438         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31439         missing cfi directives, and sigaltstack handling.
31441 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31443         [BZ #11724]
31444         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31445         object is seen twice.
31446         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31448         * elf/Makefile (distribute): Add tst-initorder2.c.
31449         (tests): Add tst-initorder2.
31450         (modules-names): Add tst-initorder2a tst-initorder2b
31451         tst-initorder2c tst-initorder2d.  Add rules to build them.
31452         ($(objpfx)tst-initorder2.out): New rule.
31453         * elf/tst-initorder2.c: New file.
31454         * elf/tst-initorder2.exp: New file.
31456 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31458         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31460         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31461         dependencies back to end of function.
31463         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31464         $(elfobjdir)/ld.so.
31466 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31468         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31469         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31470         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31471         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31472         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31473         of __vdso_gettimeofday.
31474         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31475         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31476         attribute_hidden.
31477         (_libc_vdso_platform_setup): Remove initialization of
31478         __vdso_gettimeofday and __vdso_time.
31480 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31482         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31483         and fgetc_unlocked.
31484         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31485         getc_unlocked.
31487         * elf/dl-open.c (add_to_global): Report additions to the global scope
31488         for LD_DEBUG=scopes.
31489         (dl_open_worker): Also print scope of newly loaded dependencies.
31490         (_dl_show_scope): Indicate if there is no scope.
31492         [BZ #13114]
31493         * stdio-common/Makefile (tests): Add bug24.
31494         * stdio-common/bug24.c: New file.
31496 2011-08-19  Andreas Jaeger  <aj@suse.de>
31498         [BZ #13114]
31499         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31500         non-existant file when using close-on-exec mode.
31502 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31504         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31505         the very first instruction.
31507         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31508         the CFI state in the end.
31509         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31510         inclusion of dl-trampoline.h.
31511         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31513 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31515         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31516         expectations for long double.
31518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31519         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31521 2011-08-14  David S. Miller  <davem@davemloft.net>
31523         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31524         artificual limit depends upon the system page size.
31526 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31528         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31529         * resolv/Makefile: Define CFLAGS-libresolv.
31531 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31533         * nss/makedb.c (compute_tables): Make variables used in nested
31534         function static.
31536 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31538         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31539         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31540         if buffer was too small.
31542         * elf/pldd.c (main): Attach to all threads in the process.
31543         Rewrite /proc handling to use *at functions.
31545 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31547         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31548         specifies first scope to show.
31549         (dl_open_worker): Update callers.  Move printing scope of new
31550         object to before the relocation.
31551         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31552         * sysdeps/generic/ldsodefs.h: Update declaration.
31554         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31555         string for the scope number.
31557 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31559         * nscd/servicescache.c (cache_addserv): Make sure written is always
31560         initialized.
31562 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31564         * sysdeps/i386/i486/bits/atomic.h
31565         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31566         statement expression, so as to suppress "set but not used" warning.
31567         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31569         * string/strncat.c (STRNCAT): Use prototype definition.
31571         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31572         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31573         -Iprograms here.
31574         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31575         (localedef-modules): Add localedef.
31576         (locale-modules): Add locale.
31578         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31579         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31580         to avoid a warning.
31582 2011-08-14  David S. Miller  <davem@davemloft.net>
31584         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31585         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31587 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31589         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31590         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31591         * elf/rtld.c (dl_main): Set l_name of vDSO.
31592         Call _dl_show_scope when DL_DEBUG_SCOPES.
31593         (process_dl_debug): Recognize scopes flag and also set it for all.
31594         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31595         Declare _dl_show_scope.
31597         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31598         (do_dlopen): Pass caller_dlopen to dl_open.
31599         (__libc_dlopen_mode): Initialize caller_dlopen.
31601         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31602         of libc.  Make tolower call locale-independent.  Optimize a bit by
31603         using isdigit instead of isalnum.
31604         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31606 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31608         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31609         was a dependency or dynamically loaded.
31611 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31613         * intl/l10nflist.c: Allow architecture-specific pop function.
31614         * sysdeps/x86_64/l10nflist.c: New file.
31616         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31617         classification.
31619 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31621         * include/dirent.h: Add libc_hidden_proto for scandirat and
31622         scandirat64.  Don't declare __scandirat64.
31623         * dirent/scandirat.c: Add libc_hidden_def.
31624         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31625         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31627 2011-08-10  David S. Miller  <davem@davemloft.net>
31629         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31630         enum.
31631         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31632         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31633         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31635 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31637         * Versions.def [libc]: Add GLIBC_2.15.
31638         * dirent/Makefile (routines): Add scandirat and scandirat64.
31639         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31640         GLIBC_2.15.
31641         * dirent/dirent.h: Declare scandirat and scandirat64.
31642         * dirent/scandirat.c: New file.
31643         * dirent/scandirat64.c: New file.
31644         * sysdeps/wordsize-64/scandirat.c: New file.
31645         * sysdeps/wordsize-64/scandirat64.c: New file.
31646         * dirent/opendir.c: Define opendirat.
31647         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31648         using scandirat.
31649         * dirent/scandir64.c: Adjust for scandir.c change.
31650         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31651         __scandirat64, and __scandir_cancel_handler.
31652         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31653         additional parameter and use openat instead of open (outside of ld.so).
31654         Add new __opendir as wrapper around __opendirat.
31655         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31656         here without requiring old scandirat implementation.
31658 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31660         * dirent/scandir.c (cancel_handler): Renamed to
31661         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31662         defined.  Adjust users.
31663         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31664         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31666 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31668         * string/test-string.h (IMPL): Use __STRING to expand name and then
31669         stringify it.
31671         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31672         of cleanups.
31674 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31676         * string/Makefile: Update.
31677         (strop-tests): Append strncat.
31678         * string/test-wcscmp.c: New file.
31679         New comprehensive test for wcscmp.
31680         * string/test-strcmp.c: Update.
31681         (WIDE): New define.
31683 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31685         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31686         line.
31688 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31691         encoding to ACE if AI_IDN.
31693 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31695         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31696         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31698 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31700         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31701         Fix overflow bug in strncat.
31702         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31704         * string/test-strncat.c: Update.
31705         Add new tests for checking overflow bugs.
31707 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31709         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31710         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31711         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31712         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31713         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31714         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31715         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31716         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31717         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31719         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31720         (USE_AS_STRCAT): Define.
31721         Add strcat and strncat support.
31722         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31724 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31726         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31727         __n bigger than INT_MAX+1.
31728         (__strncmp_g): Likewise.
31730 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31732         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31733         * libio/stido.h: Likewise.
31735         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31736         (AF_NFC): Define.
31737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31738         (AF_NFC): Define.
31740         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31741         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31742         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31743         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31744         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31746         [BZ #13021]
31747         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31748         installed.
31750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31751         typo.
31752         (_dl_x86_64_save_sse): Likewise.
31754 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31756         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31757         OSXSAVE.
31758         (_dl_x86_64_save_sse): Likewise.
31760         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31762         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31764 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31766         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31767         change.
31768         (_dl_x86_64_save_sse): Use correct AVX check.
31770 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31772         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31773         bug in strncpy/strncat.
31774         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31776 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31778         * string/tester.c (test_strcat): Add tests for different alignments
31779         of source and destination.
31780         (test_strncat): Likewise.
31782 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31784         [BZ #12852]
31785         * posix/glob.c (glob): Check passed in values before using them in
31786         expressions to avoid some overflows.
31787         (glob_in_dir): Likewise.
31789         [BZ #13007]
31790         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31791         check for AVX enablement so that we don't crash with old kernels and
31792         new hardware.
31793         * elf/tst-audit4.c: Add same checks here.
31794         * elf/tst-audit6.c: Likewise.
31796         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31798 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31800         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31802 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31804         * po/cs.po: Update from translation team.
31805         * po/bg.po: Likewise.
31807 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31809         * misc/sys/cdefs.h: Add support for const attribute.
31810         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31811         to gnu_dev_{major,minor,makedev} functions.
31813 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31815         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31817 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31819         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31820         strlen results.
31822 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31824         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31825         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31826         register in order to avoid conflicts with the soft frame pointer
31827         being held in r11 when necessary.
31828         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31829         (INTERNAL_VSYSCALL_NCS): Likewise.
31831 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31833         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31834         * elf/dl-fini.c (_dl_fini): Adjust caller.
31835         * elf/dl-close.c (_dl_close_worker): Likewise.
31836         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31838 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31840         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31841         "aux_cache->nlibs < 0".
31843         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31844         in the reload-count case.
31846 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31849         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31850         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31851         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31852         * sysdeps/x86_64/multiarch/strcat.S: New file.
31853         * sysdeps/x86_64/multiarch/strncat.S: New file.
31854         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31855         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31856         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31857         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31858         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31859         (USE_AS_STRCAT): Define.
31860         Add strcat and strncat support.
31861         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31862         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31863         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31864         * string/strncat.c: Update.
31865         (USE_AS_STRNCAT): Define.
31866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31867         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31868         and i7.
31869         * sysdeps/x86_64/multiarch/init-arch.h
31870         (bit_Prefer_PMINUB_for_stringop): New.
31871         (index_Prefer_PMINUB_for_stringop): Likewise.
31872         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31873         bit_Prefer_PMINUB_for_stringop.
31875 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31877         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31878         buffer64.
31879         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31880         of casting of buffer.
31881         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31882         buffer32 and buffer64.
31883         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31884         writes instead of casting of buffer.
31885         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31886         buffer32.
31887         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31888         casting of buffer.
31890 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31892         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31894 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31896         * nscd/nscd.c (termination_handler): Don't do anything for a database
31897         if it has not yet been initialized.
31899 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31901         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31903 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31905         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31907 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31909         * po/nl.po: Update from translation team.
31910         * po/sv.po: Likewise.
31912 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31914         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31915         now disallowed by GCC.
31917         * configure.in (use-default-link): Default to yes if a test -shared
31918         link meets our qualifications.
31919         * configure: Regenerated.
31921         * config.make.in (output-format): New variable.
31922         * configure.in: Check for ld --print-output-format support.
31923         * configure: Regenerated.
31924         * Makerules ($(common-objpfx)format.lds)
31925         [$(output-format) != unknown]: Just use $(output-format),
31926         instead of the linker-script munging.
31928 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31930         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31931         of $(common-objpfx)shlib.lds.
31932         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31934         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31935         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31937         * configure.in (-z relro check): Adjust test code to add a large
31938         writable data section after it.
31939         * configure: Regenerated.
31941 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31943         * configure.in (-z relro check): Fix test code to make the variable
31944         truly const.
31945         * configure: Regenerated.
31947 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31949         * nscd/nscd.h (struct traced_file): Define.
31950         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31951         elements.  Add traced_files.
31952         (inotify_fd): Declare.
31953         (register_traced_file): Declare.
31954         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31955         (inotify_fd): Export.
31956         (resolv_conf_descr): Remove.
31957         (nscd_init): Move inotify descriptor creation to main.
31958         Don't register files for notification here.
31959         (register_traced_file): New function.
31960         (invalidate_cache): Don't use reset_res to determine whether to call
31961         res_init, go through the list of registered files.
31962         (main_loop_poll): The inotify descriptors are now stored in the
31963         structures for the traced files.
31964         (main_loop_epoll): Likewise
31965         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31966         to __nss_disable_nscd.
31967         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31968         for a database anymore.  Check the records for all the registered
31969         files instead.
31970         * nss/Makefile (libnss_files-routines): Add files-init.
31971         (libnss_db-routines): Add db-init.
31972         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31973         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31974         * nss/nss_db/db-init.c: New file.
31975         * nss/nss_files/files-init.c: New file.
31976         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31977         __nss_lookup_function.
31978         (__nss_lookup_function): Call nss_load_library.
31979         (nss_load_all_libraries): New function.
31980         (__nss_disable_nscd): Take parameter with callback function for files
31981         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31982         used for the cached services.
31983         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31984         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31985         options for features to all the files in nscd.
31987         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31989 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31991         * csu/elf-init.c (__libc_csu_init): Comment typo.
31993 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31995         * po/pl.po: Update from translation team.
31996         * po/ja.po: Likewise.
31997         * po/ru.po: Likewise.
31998         * po/ko.po: Likewise.
31999         * po/fr.po: Likewise.
32001 2011-07-09  Roland McGrath  <roland@hack.frob.com>
32003         * configure.in (.ctors/.dtors header and trailer check):
32004         Use an empirical test on a built program.
32005         * configure: Regenerated.
32007         * configure.in (-z relro check): Use an empirical test on a built DSO.
32008         Detect, but do not require, on ia64.
32009         * configure: Regenerated.
32011         * configure.in (READELF): Find it with AC_CHECK_TOOL.
32012         Update tests that use readelf to use $READELF instead.
32013         * configure: Regenerated.
32015 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
32017         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32018         if the result is not used.
32020 2011-07-05  Andreas Jaeger  <aj@suse.de>
32022         [BZ#9696]
32023         * stdlib/tst-strtod.c: Add testcase.
32025 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
32027         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32028         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32029         The latter has a higher limit.  Take additional parameter to pass to
32030         the new function.
32031         (__pathconf): Pass file to __statfs_link_max.
32032         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32033         __statfs_link_max.
32034         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32035         __statfs_link_max.
32037         [BZ #12868]
32038         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32039         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32040         Handle Lustre.
32041         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32042         (__statfs_filesize_max): Likewise.
32043         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32045 2011-07-05  Andreas Jaeger  <aj@suse.de>
32047         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32049 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32051         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32052         `status' variable.
32053         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32054         Likewise.
32056 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32058         * Makefile (strop-tests): Add strncat.
32059         * string/test-strncat.c: New file.
32061 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32063         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32065 2011-06-21  Andreas Jaeger  <aj@suse.de>
32067         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32068         Copy rule from iconvdata/Makefile.
32070 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32072         [BZ #12922]
32073         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32074         but no long options are defined, just return 'W'.
32076 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32078         [BZ #9696]
32079         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32081 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32083         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32084         netgroups to read.
32085         (innetgr): Likewise.
32087 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32089         * config.make.in (install_root): Default to $(DESTDIR).
32091 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32093         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32095 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32097         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32099         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32100         containing directory rather than embedding absolute directory names.
32102         * scripts/check-local-headers.sh: Rewritten using awk.
32103         Match by word, not by line.  Print error messages for matches.
32104         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32106         * Makerules [shlib-lds-flags empty]:
32107         ($(common-objpfx)libc_pic.opts): New target.
32108         ($(common-objpfx)libc_pic.os.clean): New target.
32109         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32111         * config.make.in (OBJCOPY): New variable.
32112         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32113         * configure: Regenerated.
32115         * config.make.in (use-default-link): New variable.
32116         * configure.in (use_default_link): Grok --with-default-link to set it.
32117         * configure: Regenerated.
32118         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32119         (shlib-lds, shlib-lds-flags): Define to empty.
32121         * Makerules (shlib-lds): New variable.
32122         (shlib-lds-flags): New variable.
32123         (build-shlib, build-moduile, build-module-asneeded): Use it.
32124         ($(common-objpfx)libc.so): Use $(shlib-lds).
32125         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32126         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32128         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32129         DT_FLAGS/DT_FLAGS_1 with zero flags.
32131         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32132         linker script munging.
32134 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32136         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32137         as 128-bit value.
32138         * crypt/sha512.c (sha512_process_block): Perform total addition using
32139         128-bit if possible.
32140         (__sha512_finish_ctx): Likewise.
32141         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32142         as 64-bit value.
32143         * crypt/sha256.c (SWAP64): Define.
32144         (sha256_process_block): Perform total addition using 64-bit if
32145         possible.
32146         (__sha256_finish_ctx): Likewise.
32148 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32150         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32151         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32152         * nscd/hstcache.c (cache_addhst): Likewise.
32153         * nscd/grpcache.c (cache_addgr): Likewise.
32154         * nscd/aicache.c (addhstaiX): Likewise
32155         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32157 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32159         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32160         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32161         * nscd/hstcache.c (cache_addhst): Likewise.
32162         * nscd/grpcache.c (cache_addgr): Likewise.
32163         * nscd/aicache.c (addhstaiX): Likewise
32165 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32167         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32168         domain only when needed.
32170 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32173         is always restored.
32175 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32177         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32178         are re-adding the entry.
32179         * nscd/servicescache.c (cache_addserv): Likewise.
32181 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32183         * sysdeps/generic/dl-irel.h: fix protection against multiple
32184         inclusions.
32185         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32187 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32189         [BZ #12935]
32190         * malloc/memusage.sh: Fix quoting in message.
32191         * debug/xtrace.sh: Likewise.
32193         * configure.in: Remove support for --experimental-malloc option, make
32194         it the default.
32195         * config.make.in: Likewise.
32196         * malloc/Makefile: Likewise.
32198 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32200         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32201         two-byte characters.
32203 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32205         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32206         AC_CACHE_CHECK invocation.
32207         * configure: Regenerated.
32209         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32211 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32213         [BZ #12350]
32214         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32215         bit from old_res_options.
32217         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32219         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32220         value type for setfct.
32222 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32224         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32225         __gettimeofday instead of gettimeofday.
32227 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32229         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32231 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32233         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32235         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32236         info.
32238 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32240         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32241         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32242         strcpy-sse2-unaligned strncpy-sse2-unaligned
32243         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32244         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32245         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32246         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32247         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32248         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32249         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32250         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32251         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32252         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32253         (STRCPY): Support SSE2 and SSSE3 versions.
32255 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32257         [BZ #12874]
32258         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32259         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32260         kernels which artificially limit size of requests.
32262 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32265         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32266         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32267         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32268         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32269         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32270         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32271         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32272         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32273         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32274         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32275         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32276         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32277         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32278         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32279         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32280         Enable unaligned load optimization for Intel Core i3, i5 and i7
32281         processors.
32282         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32283         Define.
32284         (index_Fast_Unaligned_Load): Define.
32285         (HAS_FAST_UNALIGNED_LOAD): Define.
32287 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
32289         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32291 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32293         [BZ #12907]
32294         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32295         until it is clear that the information is realy needed.
32296         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32298 2011-06-22  Andreas Schwab  <schwab@redhat.com>
32300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32302 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32304         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32305         /sys/devices/system/cpu/online if it is usable.
32307         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32308         reading the information from the /proc filesystem to once a second.
32310 2011-06-21  Andreas Jaeger  <aj@suse.de>
32312         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32313         NULL after inclusion of kernel headers.
32315 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
32317         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32318         calls to internal_setent.
32320         [BZ #12885]
32321         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32322         addresses using gethostbyname4_r ignore IPv4 addresses.
32324         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32325         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
32327         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32329 2011-06-20  David S. Miller  <davem@davemloft.net>
32331         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32332         inclusions.
32333         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32335         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32336         (elf_irel): Use it.
32337         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32338         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32339         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32340         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32341         * sysdeps/x86_64/dl-irel.h: Likewise.
32343         * elf/dl-runtime.c: Use elf_ifunc_invoke.
32344         * elf/dl-sym.c: Likewise.
32346 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32348         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
32349         need to dereference resplen2.
32351 2011-06-14  Andreas Schwab  <schwab@redhat.com>
32353         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32355 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32357         * Makeconfig: Define vardbdir and inst_vardbdir.
32358         * nss/Makefile: Add rules to install db-Makefile.
32360         * nss/nss_db/db-XXX.c: Cleanup.
32362         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32363         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32364         GLIBC_PRIVATE.
32365         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32366         * nss/makedb.c: Implement -g option to specify that value strings
32367         are generated and should not be added to table iterated over for
32368         get*ent calls.
32369         * nss/nss_db/db-initgroups.c: New file.
32371         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32372         interface.
32374         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32375         (internal_getgrouplist): Adjust to name change.
32376         Update use_initgroups_entry if this is not the first call.
32377         * nss/databases.def: Add initgroups entry.
32379         * nss/makedb.c (compute_tables): Check result of multiple hash table
32380         sizes to minimize maximum chain length.
32382 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32384         * Versions.def: Add entry for libnss_db.
32385         * shlib-versions: Likewise.
32386         * nss/Makefile: Add rules to build libnss_db.
32387         * nss/Versions: Add libnss_db information.  Organize libnss_files
32388         entries better.
32389         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32390         makedb progra.  Some minor improvements to generate smaller files.
32391         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32392         here from...
32393         * nss/makedb.c: ...here.
32394         Improve database format to be smaller and require less memory at
32395         runtime.
32396         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32397         db anymore.
32398         * nss/nss_db/db-netgrp.c: Likewise.
32399         * nss/nss_db/db-open.c: Likewise.
32400         * nss/nss_files/flies-XXX.x: Adjust comments.
32401         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32402         * nss/nss_files/files-grp.c: Likewise.
32403         * nss/nss_files/files-hosts.c: Likewise.
32404         * nss/nss_files/files-network.c: Likewise.
32405         * nss/nss_files/files-proto.c: Likewise.
32406         * nss/nss_files/files-pwd.c: Likewise.
32407         * nss/nss_files/files-rpc.c: Likewise.
32408         * nss/nss_files/files-service.c: Likewise.
32409         * nss/nss_files/files-sgrp.c: Likewise.
32410         * nss/nss_files/files-spwd.c: Likewise.
32411         * nss/nss_db/db-alias.c: Removed.
32412         * nss/nss_db/dummy-db.h: Removed.
32414 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32416         * nss/makedb.c: Rewritten to not use database library.
32417         * nss/Makefile: Update to build new makedb program.
32419 2011-06-14  Andreas Jaeger  <aj@suse.de>
32421         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32422         memset declaration.
32424 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32427         tmpbuf.
32429 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32431         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32432         * elf/Makefile ($(objpfx)ld.so): Likewise.
32434         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32435         Don't list ld.so twice in dependencies.
32437         * posix/bug-regex31.c: Include <stdlib.h>.
32439         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32441         * nis/nss_compat/compat-spwd.c
32442         (getspent_next_nss_netgr): Remove unused variable.
32443         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32445         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32446         nonmembers" output to use the right array.
32448         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32450         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32452         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32453         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32454         * catgets/gencat.c (read_input_file): Likewise.
32455         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32457         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32458         variable definition inside #if's controlling its use.
32460         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32462         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32464         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32466         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32467         unreachable code.
32469         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32471         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32472         * configure: Regenerated.
32474         * Makerules: Revert last change.
32475         * elf/Makefile: Likewise.
32477 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32479         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32480         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32481         (reloc-link): Likewise.
32483 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32485         * elf/Makefile: Add rules to build pldd.
32486         * elf/pldd.c: New file.
32487         * elf/pldd-xx.c: New file.
32489 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32491         * version.h: Update for 2.15 development version.
32493 2011-06-07  David S. Miller  <davem@davemloft.net>
32495         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32496         ifuncs.
32497         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32498         elf_machine_lazy_rel): Likewise.
32499         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32500         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32501         elf_machine_lazy_rel): Likewise.
32502         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32503         dl_hwcap via passed in argument.
32504         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32505         Likewise.
32507 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32509         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32511 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32513         [BZ #12849]
32514         * manual/fdl-1.1.texi: New file, verbatim from:
32515         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32516         * manual/lgpl-2.1.texi: New file, verbatim from:
32517         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32518         * manual/Makefile (licenses): New variable, list those new file names.
32519         (texis): Use it.
32520         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32522         * manual/fdl.texi: File removed.
32523         * manual/lesser.texi: File removed.
32524         * manual/libc.texinfo (Copying, Documentation License):
32525         Use new @include file names, put @appendix directive before @include.
32527 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32529         [BZ #12841]
32530         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32531         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32532         (mq_open): Add __NTH.
32534 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32536         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32537         Assume Intel Core i3/i5/i7 processor if AVX is available.
32539 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32541         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32542         typo.
32544 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32546         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32547         memory.  Use alloca_account.  Fix memory leak when retrying.
32549 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32551         * version.h (RELEASE): Bump for 2.14 release.
32552         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32554         * config.make.in (RANLIB): Remove entry.
32556 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32558         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32559         (libc.pot): Work around missing support for .ksh extension in xgettext.
32561         [BZ #12684]
32562         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32563         if both request failed.
32564         (send_dg): In case of server errors clear resplen or *resplen2.
32566         [BZ #12454]
32567         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32568         when there are multiple maps.
32569         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32570         (_dl_fini): Remove test here.
32572         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32574 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32576         [BZ #12350]
32577         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32578         bit from old_res_options.
32579         (gaih_inet): Likewise.
32581         [BZ #11099]
32582         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32583         as signed.
32585         * resolv/res_init.c (res_setoptions): Make the code more compact.
32587         [BZ #11558]
32588         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32589         set RES_USEVC.
32591         [BZ #11634]
32592         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32594         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32596         [BZ #11781]
32597         * malloc/malloc.h: Declare malloc hook variables as volatile.
32599         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32600         in last patch.
32602         [BZ #11799]
32603         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32604         raise in the comment.
32605         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32606         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32607         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32609 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32611         [BZ #12811]
32612         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32613         grow the buffers more if it already has to be sufficient.
32614         (build_wcs_upper_buffer): Likewise.
32615         * posix/regexec.c (check_matching): Likewise.
32616         (clean_state_log_if_needed): Likewise.
32617         (extend_buffers): Don't enlarge buffers beyond size of the input
32618         buffer.
32619         Patches mostly by Emil Wojak <emil@wojak.eu>.
32620         * posix/bug-regex32.c: New file.
32621         * posix/Makefile (tests): Add bug-regex32.
32623         * locale/findlocale.c (_nl_find_locale): Return right away if
32624         _nl_explode_name failed.
32625         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32627         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32629         * debug/xtrace.sh: Unify messages.
32630         * malloc/memusage.sh: Likewise.
32632         [BZ #12813]
32633         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32634         time symbol from vDSO.  Substitute with vsyscall if not available.
32635         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32636         __vdso_time.
32638         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32639         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32640         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32641         Add sendmmsg and internal_sendmmsg.
32642         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32643         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32644         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32646         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32647         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32648         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32650 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32652         [BZ #12813]
32653         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32654         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32655         available.
32656         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32657         __vdso_getcpu.
32659         [BZ #12814]
32660         * iconvdata/Makefile (tests): Add bug-iconv9.
32661         * iconvdata/bug-iconv9.c: New file.
32663 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32665         [BZ #12814]
32666         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32668 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32670         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32671         (struct user_regs_struct): Change intcs field back to cs.
32673 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32675         * po/ja.po: Update from translation team.
32677 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32679         [BZ #12795]
32680         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32681         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32683 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32685         * stdlib/longlong.h: Update from GCC.
32687 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32689         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32690         parameter name.
32691         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32692         Add parameter name.
32693         (__sysconf): Pass it down.
32695 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32697         [BZ #12671]
32698         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32699         some situations.
32700         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32701         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32702         add in in __libc_use_alloca calls.  Adjust callers.
32703         (glob): Use malloc in some situations.
32705         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32706         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32707         pltexit.
32709 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32711         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32712         and CLOCK_BOOTTIME_ALARM.
32714         [BZ #12782]
32715         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32716         is returned.
32718         * string/_strerror.c (__strerror_r): Print negative errors as signed
32719         numbers.
32721         [BZ #12777]
32722         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32723         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32724         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32726         * configure.in: Fix typo in redirection and correct removal of test
32727         files in two cases.
32729         [BZ #12788]
32730         * locale/setlocale.c (new_composite_name): Fix test to check for
32731         identical name of all categories.
32733         [BZ #12792]
32734         * libio/filedoalloc.c (local_isatty): New function.
32735         (_IO_file_doallocate): Use local_isatty.
32736         * stdio-common/perror.c (perror): In case a new stream is used
32737         forward the stream error.
32738         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32739         error flag.
32741 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32743         [BZ #11869]
32744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32745         alloca.
32746         * include/alloca.h (extend_alloca_account): Define.
32748         [BZ #11857]
32749         * posix/regex.h: Fix comments with documentation of user-accessible
32750         fields after compilation and describe correct free'ing of pattern
32751         after re_compile_pattern.
32752         Patch by Reuben Thomas <rrt@sc3d.org>.
32754 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32756         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32757         and -mno-altivec to prevent the compiler from using Altivec and/or
32758         VSX instructions when the corresponding registers are not available.
32760 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32762         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32764 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32766         * libio/freopen.c (freopen): Use __dup2, not dup2.
32767         * libio/freopen64.c (freopen64): Likewise.
32769 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32771         [BZ #12775]
32772         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32773         * math/Makefile (tests): Add test-powl.
32774         (CFLAGS-test-powl.c): Define.
32775         * math/test-powl.c: New file.
32777 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32779         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32781 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32783         [BZ #11837]
32784         * iconvdata/gb18030.c: Update to GB18020-2005.
32786 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32788         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32789         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32790         Patch by Aharon Robbins <arnold@skeeve.com>.
32792         [BZ #11892]
32793         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32794         on the stack.
32796         [BZ #11895]
32797         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32798         through underflows.
32800         [BZ #12766]
32801         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32802         point to strings before performing equality test for error_one_per_line
32803         mode.
32805         [BZ #11697]
32806         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32808         [BZ #11820]
32809         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32810         (struct user_fpregs_struct): Avoid __uint*_t types.
32812         [BZ #6420]
32813         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32814         symbol info.  Use it instead of calling _dl_addr locally.
32815         (lock_and_info): New function.
32816         (tr_freehook): Call lock_and_info and pass symbol info as additional
32817         parameter to tr_where.
32818         (tr_mallochook): Likewise.
32819         (tr_reallochook): Likewise.
32820         (tr_memalignhook): Likewise.
32822         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32823         used and couldn't be at all thread-safe.
32825 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32827         * libio/freopen.c (freopen): Don't close old file descriptor
32828         before the new one is opened.  Instead dup the new file descriptor
32829         to the old one after the new stream is created.
32830         * libio/freopen64.c (freopen64): Likewise.
32831         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32832         * libio/fileops.c (_IO_new_file_close_it): Handle new
32833         _IO_FLAGS2_NOCLOSE flag.
32834         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32835         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32836         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32837         _IO_FLAGS2_NOCLOSE flag.
32838         * include/unistd.h: Add hidden_proto for dup3.
32839         Define __have_dup3.
32840         * io/dup3.c: Define hidden symbol.
32841         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32843         [BZ #7101]
32844         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32845         when an incomplete long option is used.
32846         * posix/tst-getopt_long1.c: New file.
32847         * posix/Makefile (tests): Add tst-getopt_long1.
32849         [BZ #10138]
32850         * scripts/config.guess: Update from autoconf-2.68.
32851         * scripts/config.sub: Likewise.
32853         [BZ #10157]
32854         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32855         tests into ...
32856         (has_cpuclock): ...this.  New function.
32857         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32858         macro here based on has_cpuclock code.
32860         [BZ #10149]
32861         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32862         First byte (not low byte) is now always NUL.
32863         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32865         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32866         Use non-cancelable interfaces.
32868         [BZ #9809]
32869         * locale/iso-639.def: Add entry for Sorani.
32871         [BZ #11901]
32872         * include/stdlib.h: Move include protection to the right place.
32873         Define abort_msg_s.  Declare __abort_msg with it.
32874         * stdlib/abort.c (__abort_msg): Adjust type.
32875         * assert/assert.c (__assert_fail_base): New function.  Majority
32876         of code from __assert_fail.  Allocate memory for __abort_msg with
32877         mmap.
32878         (__assert_fail): Now call __assert_fail_base.
32879         * assert/assert-perr.c: Remove bulk of implementation.  Use
32880         __assert_fail_base.
32881         * include/assert.hL Declare __assert_fail_base.
32882         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32883         mmap.
32884         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32886 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32888         [BZ #11952]
32889         [BZ #12453]
32890         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32891         until all modules are registered in the DTV.
32892         * elf/Makefile: Add rules to build and run tst-tls19.
32893         * elf/tst-tls19.c: New file.
32894         * elf/tst-tls19mod1.c: New file.
32895         * elf/tst-tls19mod2.c: New file.
32896         * elf/tst-tls19mod3.c: New file.
32897         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32899         [BZ #12083]
32900         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32901         correctly.
32903         [BZ #12601]
32904         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32905         two-byte sequence errors.
32906         * iconvdata/Makefile (tests): Add bug-iconv8.
32907         * iconvdata/bug-iconv8.c: New file.
32909         [BZ #12626]
32910         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32911         buf2 definition.
32913         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32915         [BZ #12432]
32916         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32917         (dummy_getcfa): New function.
32918         (init): Get _Unwind_GetCFA address, use dummy if not found.
32919         (backtrace_helper): In recursion check, also check whether CFA changes.
32920         (__backtrace): Completely initialize arg.
32922         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32923         storing incomplete byte sequence in state object.  Avoid testing for
32924         guaranteed too small input if we know there is enough data available.
32926 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32928         * Makeconfig (+link-pie): Indent.
32929         * Rules (binaries-pie): Define if $(have-fpie) and
32930         $(build-shared).
32931         (binaries-shared): Also filter out $(binaries-pie).
32932         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32933         * nscd/Makefile (others-pie): Add nscd.
32934         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32935         ($(objpfx)nscd): Remove command override.
32936         * login/Makefile (others-pie): Add pt_chown.
32937         ($(objpfx)pt_chown): Remove command override.
32938         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32939         remove command overrides.
32941 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32943         * libio/tst_putwc.c: Fix error messages.
32945         [BZ #12724]
32946         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32947         currently writing and seek to current position when not.
32948         * libio/Makefile (tests): Add bug-fclose1.
32949         * libio/bug-fclose1.c: New file.
32951 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32953         [BZ #12511]
32954         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32955         don't set DF_1_NODELETE here.
32956         (do_lookup_x): When entering new entry test for copy relocation
32957         and if necessary set DF_1_NODELETE flag.
32958         * elf/tst-unique4.cc: New file.
32959         * elf/tst-unique4.h: New file.
32960         * elf/tst-unique4lib.cc: New file.
32961         * elf/Makefile: Add rules to build and run tst-unique4.
32962         Patch by Piotr Bury <pbury@goahead.com>.
32964 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32966         [BZ #12052]
32967         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32969         [BZ #12625]
32970         * misc/mntent_r.c (addmntent): Flush the stream after the output
32972         [BZ #12393]
32973         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32974         (is_trusted_path_normalize): Skip initial colon.  Append slash
32975         to empty buffer.  Duplicate is_trusted_path code but allow
32976         constructed patch to be prefix.
32977         (is_dst): Allow $ORIGIN followed by /.
32978         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32979         Correct testing of result of is_trusted_path_normalize
32980         (decompose_rpath): Fix warning.
32982 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32984         [BZ #11257]
32985         * grp/initgroups.c (internal_getgrouplist): When we found the service
32986         list through the initgroups entry in nsswitch.conf do not always
32987         continue on a successful lookup.  Don't always use the
32988         __nss_group_database value if it is set.
32989         * nss/nsswitch.conf (initgroups): Change action for successful db
32990         lookup to continue for compatibility.
32992 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32994         [BZ #11532]
32995         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32996         and CP774 modules.
32997         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32998         and CP774 modules.
32999         * iconvdata/tst-tables.sh: Likewise.
33000         * iconvdata/cp770.c: New file.
33001         * iconvdata/cp771.c: New file.
33002         * iconvdata/cp772.c: New file.
33003         * iconvdata/cp773.c: New file.
33004         * iconvdata/cp774.c: New file.
33005         * iconvdata/testdata/CP770: New file.
33006         * iconvdata/testdata/CP770..UTF8: New file.
33007         * iconvdata/testdata/CP771: New file.
33008         * iconvdata/testdata/CP771..UTF8: New file.
33009         * iconvdata/testdata/CP772: New file.
33010         * iconvdata/testdata/CP772..UTF8: New file.
33011         * iconvdata/testdata/CP773: New file.
33012         * iconvdata/testdata/CP773..UTF8: New file.
33013         * iconvdata/testdata/CP774: New file.
33014         * iconvdata/testdata/CP774..UTF8: New file.
33016         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33017         END CHARMAP line.
33018         * iconvdata/gen-8bit-gap.sh: Likewise.
33019         * iconvdata/gen-8bit.sh: Likewise.
33021         * locale/iso-639.def: Add ary entry.
33023         [BZ #11258]
33024         * locale/C-translit.h.in: Add U20A1 transliteration.
33026         [BZ #12178]
33027         * locale/iso-639.def: Add wae entry.
33028         Patch by Kevin Bortis <bortis@translate-wae.ch>.
33030         [BZ #12545]
33031         * locale/programs/localedef.c (construct_output_path): Use ssize_t
33032         for n.
33034         [BZ #12711]
33035         * locale/C-translit.h.in: Add entry for U20B9.
33036         Patch by pravin.d.s@gmail.com.
33038 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
33040         [BZ #12713]
33041         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33042         ENAMETOOLONG use generic getcwd.
33043         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
33044         in rtld.  Use *stat64.
33045         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33046         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33047         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33048         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33049         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33050         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33051         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33052         __fstatat64 macros.
33053         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33054         * dirent/rewinddir.c: Add libc_hidden_def.
33055         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33056         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33058         * include/dirent.h (__alloc_dir): Add flags parameter.
33059         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33060         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33061         __alloc_dir.
33062         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33063         from fdopendir if O_CLOEXEC is already set.
33065 2011-03-15  Alan Modra  <amodra@gmail.com>
33067         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33068         l_tls_firstbyte_offset non-zero.  Save padding offset in
33069         l_tls_firstbyte_offset for later use.
33070         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33071         freeing static tls block.
33073 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33075         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33076         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33077         being defined by the kernel headers.
33079 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33081         [BZ #12734]
33082         * resolv/resolv.h: Define RES_NOTLDQUERY.
33083         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33084         no-tld-query and set RES_NOTLDQUERY.
33085         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33086         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33087         modern BIND to search name as TLD unless forbidden.
33089 2011-05-07  Petr Baudis  <pasky@suse.cz>
33090             Ulrich Drepper  <drepper@gmail.com>
33092         [BZ #12393]
33093         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33094         (is_trusted_path): ...to here.
33095         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33096         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33097         using is_trusted_path_normalize() in setuid scripts.
33099 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33101         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33102         __BEGIN/__END_DECLS.
33104 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33106         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33107         NSS_STATUS_NOTFOUND if no record was found.
33109 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33111         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33112         (headers-not-in-tirpc): Remove rpc/netdb.h
33113         * resolv/netdb.h: Revert last change.
33115 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33117         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33118         circular dependency between libgcc.a and libc.a.
33120 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33122         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33123         * nis/Makefile: Don't install rpcsvc/*.
33124         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33125         instead of <rpc/types.h>.
33126         (MAXHOSTNAMELEN): Define.
33128 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33130         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33132 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33134         [BZ #12714]
33135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33136         gethostbyname4_r when IPv6 results are possible.
33138 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33140         [BZ #12723]
33141         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33142         _PC_PIPE_BUF handling.
33144 2011-04-30  Bruno Haible  <bruno@clisp.org>
33146         [BZ #12717]
33147         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33148         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33149         to 'int'.
33150         * inet/getnameinfo.c (getnameinfo): Likewise.
33152 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33154         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33155         to groups setting in database lookup.
33156         * nss/nsswitch.conf: Add initgroups entry.
33158 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33160         [BZ #12685]
33161         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33162         mode string.
33163         Patch by Eric Blake <eblake@redhat.com>.
33165 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33167         * sunrpc/Makefile (need-export-routines): Add svc_run.
33168         (routines): Remove svc_run.
33169         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33170         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33171         * sunrpc/svc_run.c (svc_run): Likewise.
33172         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33174 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33176         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33177         problem in reallocation in last patch.
33179 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33181         * sunrpc/Makefile: Move inclusion of Rules.
33183 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33185         * nss/nss_files/files-initgroups.c: New file.
33186         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33187         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33188         _nss_files_initgroups_dyn.
33190 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33192         * elf/elf.h (R_ARM_IRELATIVE): Define.
33194 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33196         * po/ru.po: Update from translation team.
33198 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33200         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33201         dependencies.
33203 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33205         [BZ #12653]
33206         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33207         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33208         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33209         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33210         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33212 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33214         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33215         differing bytes.
33216         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33217         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33218         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33220 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33222         [BZ #12420]
33223         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33224         storing it.
33225         * stdlib/bug-getcontext.c: New file.
33226         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33228 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33230         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33231         instructions into .machine "z9-109".
33232         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33233         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33235 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33237         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33238         between environment variables and auxiliary vector.
33240 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33242         * Makefile: Add rules to build linkobj/libc.so.
33243         * include/libc-symbols.h: Define libc_hidden_nolink.
33244         * include/rpc/auth.h: Mark functions which are to be hidden.
33245         * include/rpc/auth_des.h: Likewise.
33246         * include/rpc/auth_unix.h: Likewise.
33247         * include/rpc/clnt.h: Likewise.
33248         * include/rpc/des_crypt.h: Likewise.
33249         * include/rpc/key_prot.h: Likewise.
33250         * include/rpc/pmap_clnt.h: Likewise.
33251         * include/rpc/pmap_prot.h: Likewise.
33252         * include/rpc/pmap_rmt.h: Likewise.
33253         * include/rpc/rpc_msg.h: Likewise.
33254         * include/rpc/svc.h: Likewise.
33255         * include/rpc/svc_auth.h: Likewise.
33256         * include/rpc/xdr.h: Likewise.
33257         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33258         * nss/Makefile: Likewise.
33259         * sunrpc/Makefile: Don't install headers.  Build library with normal
33260         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33261         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33262         for the compat linking library.  Remove use of INTDEF/INTUSE.
33263         * sunrpc/auth_none.c: Likewise.
33264         * sunrpc/auth_unix.c: Likewise.
33265         * sunrpc/authdes_prot.c: Likewise.
33266         * sunrpc/authuxprot.c: Likewise.
33267         * sunrpc/clnt_gen.c: Likewise.
33268         * sunrpc/clnt_perr.c: Likewise.
33269         * sunrpc/clnt_raw.c: Likewise.
33270         * sunrpc/clnt_simp.c: Likewise.
33271         * sunrpc/clnt_tcp.c: Likewise.
33272         * sunrpc/clnt_udp.c: Likewise.
33273         * sunrpc/clnt_unix.c: Likewise.
33274         * sunrpc/des_crypt.c: Likewise.
33275         * sunrpc/des_soft.c: Likewise.
33276         * sunrpc/get_myaddr.c: Likewise.
33277         * sunrpc/key_call.c: Likewise.
33278         * sunrpc/key_prot.c: Likewise.
33279         * sunrpc/netname.c: Likewise.
33280         * sunrpc/pm_getmaps.c: Likewise.
33281         * sunrpc/pm_getport.c: Likewise.
33282         * sunrpc/pmap_clnt.c: Likewise.
33283         * sunrpc/pmap_prot.c: Likewise.
33284         * sunrpc/pmap_prot2.c: Likewise.
33285         * sunrpc/pmap_rmt.c: Likewise.
33286         * sunrpc/publickey.c: Likewise.
33287         * sunrpc/rpc_cmsg.c: Likewise.
33288         * sunrpc/rpc_common.c: Likewise.
33289         * sunrpc/rpc_dtable.c: Likewise.
33290         * sunrpc/rpc_prot.c: Likewise.
33291         * sunrpc/rpc_thread.c: Likewise.
33292         * sunrpc/rtime.c: Likewise.
33293         * sunrpc/svc.c: Likewise.
33294         * sunrpc/svc_auth.c: Likewise.
33295         * sunrpc/svc_authux.c: Likewise.
33296         * sunrpc/svc_raw.c: Likewise.
33297         * sunrpc/svc_run.c: Likewise.
33298         * sunrpc/svc_simple.c: Likewise.
33299         * sunrpc/svc_tcp.c: Likewise.
33300         * sunrpc/svc_udp.c: Likewise.
33301         * sunrpc/svc_unix.c: Likewise.
33302         * sunrpc/svcauth_des.c: Likewise.
33303         * sunrpc/xcrypt.c: Likewise.
33304         * sunrpc/xdr.c: Likewise.
33305         * sunrpc/xdr_array.c: Likewise.
33306         * sunrpc/xdr_float.c: Likewise.
33307         * sunrpc/xdr_intXX_t.c: Likewise.
33308         * sunrpc/xdr_mem.c: Likewise.
33309         * sunrpc/xdr_rec.c: Likewise.
33310         * sunrpc/xdr_ref.c: Likewise.
33311         * sunrpc/xdr_sizeof.c: Likewise.
33312         * sunrpc/xdr_stdio.c: Likewise.
33314 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
33316         [BZ #12650]
33317         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33318         * sysdeps/ia64/dl-tls.h: Likewise.
33319         * sysdeps/powerpc/dl-tls.h: Likewise.
33320         * sysdeps/s390/dl-tls.h: Likewise.
33321         * sysdeps/sh/dl-tls.h: Likewise.
33322         * sysdeps/sparc/dl-tls.h: Likewise.
33323         * sysdeps/x86_64/dl-tls.h: Likewise.
33324         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33326 2011-03-14  Andreas Schwab  <schwab@redhat.com>
33328         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33329         rpath element also skip the following colon.
33330         (expand_dynamic_string_token): Add is_path parameter and pass
33331         down to DL_DST_REQUIRED and _dl_dst_substitute.
33332         (decompose_rpath): Call expand_dynamic_string_token with
33333         non-zero is_path.  Ignore empty rpaths.
33334         (_dl_map_object_from_fd): Call expand_dynamic_string_token
33335         with zero is_path.
33337 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
33339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33340         Make cancelable.
33342 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
33344         [BZ #12655]
33345         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33346         Patch by Filipe David Manana <fdmanana@apache.org>.
33348 2011-04-07  Andreas Schwab  <schwab@redhat.com>
33350         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33351         Maintain aligned stack.
33352         (CHECK_RSP): Remove unused macro.
33354 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
33356         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33357         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33359 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33361         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33363         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33365 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33367         [BZ #12518]
33368         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33369         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33370         * sysdeps/x86_64/memmove.c: New file.
33371         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33372         (memcpy): Renamed to ...
33373         (__new_memcpy): This.
33374         (memcpy): Provide GLIBC_2_14 memcpy.
33375         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33376         (memcpy): Provide GLIBC_2_2_5 memcpy.
33378 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33380         [BZ #12631]
33381         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33383 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33385         * misc/syncfs.c: New file.
33386         * misc/Makefile (routines): Add syncfs.
33387         * posix/unistd.h: Declare syncfs.
33388         * sysdeps/unix/syscalls.list: Add syncfs.
33390 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33392         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33393         open_by_handle_at.
33394         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33395         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33396         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33397         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33398         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33399         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33400         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33402 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33404         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33405         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33406         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33407         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33408         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33410         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33412         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33413         sync_file_range.c with -fexceptions.
33414         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33415         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33416         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33417         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33418         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33419         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33420         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33421         sync_file_range as cancellation point
33422         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33423         now a wrapper around __call_sync_file_range with cancellation handling.
33424         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33425         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33426         function name to __call_sync_file_range.
33427         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33428         Add call_sync_file_range.
33430 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33432         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33433         bits/timex.h.
33435 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33437         * iconv/iconv.h: Fix typo in comment.
33438         * io/fcntl.h: Likewise.
33439         * libio/stdio.h: Likewise.
33440         * posix/spawn.h: Likewise.
33441         * posix/unistd.h: Likewise.
33442         * stdlib/stdlib.h: Likewise.
33443         * time/time.h: Likewise.
33444         * wcsmbs/wchar.h: Likewise.
33446         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33447         open_by_handle): Add.
33448         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33449         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33450         Augment a few comments.
33451         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33453         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33455         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33456         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33457         open_by_handle.
33459         * io/fcntl.h (AT_EMPTY_PATH): Define.
33461 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33463         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33464         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33465         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33466         to...
33467         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33468         * Versions.def: Add GLIBC_2.14.
33469         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33470         Export.
33472 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33474         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33475         round counter.
33476         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33478 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33480         [BZ #12597]
33481         * string/test-strncmp.c (do_page_test): New function.
33482         (check2): Likewise.
33483         (test_main): Call check2.
33484         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33486 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33488         [BZ #12587]
33489         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33490         Handle cache information in CPU leaf 4.
33491         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33493 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33495         [BZ #12583]
33496         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33497         character representation.
33498         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33500 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33502         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33503         END(__isnan) to END(__isnanf) to match function entry point/label
33504         EALIGN(__isnanf,...).
33506 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33508         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33510 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33512         [BZ #12510]
33513         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33514         copy from the symbol referenced in the relocation to initialize the
33515         used variable.
33516         Patch by Piotr Bury <pbury@goahead.com>.
33517         * elf/Makefile: Add rules to build and tst-unique3.
33518         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33519         * elf/tst-unique3.cc: New file.
33520         * elf/tst-unique3.h: New file.
33521         * elf/tst-unique3lib.cc: New file.
33522         * elf/tst-unique3lib2.cc: New file.
33524         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33526 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33528         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33529         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33530         to _start.
33532 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33534         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33535         to-be-loaded object along a path to loader is ld.so.
33537 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33538             Ulrich Drepper  <drepper@gmail.com>
33540         * sysdeps/x86_64/memset.S: After aligning destination, code
33541         branches to different locations depending on the value of
33542         misalignment, when multiarch is enabled. Fix this.
33544 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33546         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33547         Set _x86_64_preferred_memory_instruction for AMD processsors.
33548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33549         Set bit_Prefer_SSE_for_memop for AMD processors.
33551 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33553         * libio/fmemopen.c (fmemopen): Optimize a bit.
33555 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33557         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33559 2011-03-03  Roland McGrath  <roland@redhat.com>
33561         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33563 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33565         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33566         __bzero_ultra1 instead of __memset_ultra1.
33568 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33569             Ulrich Drepper  <drepper@gmail.com>
33571         [BZ #12509]
33572         * include/link.h (struct link_map): Add l_orig_initfini.
33573         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33574         returning unsuccessfully.
33575         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33576         close of a file loaded at startup, restore the original l_initfini
33577         list.
33578         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33579         list, store the pointer.
33580         * elf/Makefile ($(objpfx)noload-mem): New rule.
33581         (noload-ENV): Define.
33582         (tests): Add $(objpfx)noload-mem.
33583         * elf/noload.c: Include <memcheck.h>.
33584         (main): Call mtrace.  Close all opened handles.
33586 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33588         [BZ #12454]
33589         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33590         dependencies are missing.
33592 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33594         Fix __if_freereq crash: Unlike the generic version which uses free,
33595         Hurd needs munmap.
33596         * sysdeps/mach/hurd/ifreq.h: New file.
33598 2011-01-27  Petr Baudis  <pasky@suse.cz>
33599             Ulrich Drepper  <drepper@gmail.com>
33601         [BZ 12445]#
33602         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33603         to extend_alloca().
33604         * stdio-common/bug23.c: New file.
33605         * stdio-common/Makefile (tests): Add bug23.
33607 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33608             Ulrich Drepper  <drepper@gmail.com>
33610         [BZ #12489]
33611         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33612         before performing relro protection.  At old place add assertion
33613         to make sure nothing changed.
33615 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33616             Glauber de Oliveira Costa  <glommer@gmail.com>
33618         * elf/elf.h: Add new ARM TLS relocs.
33620 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33623         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33624         cast from r3.
33625         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33626         'tests' variable.
33627         * sysdeps/wordsize-64/tst-writev.c: New file.
33629 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33631         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33632         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33633         insns in _dl_start to prevent a TOC reference before relocs are
33634         resolved.
33636 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33638         [BZ #12469]
33639         * Makeconfig: Remove RANLIB definition.
33640         * Makerules: Don't use RANLIB.
33641         * aclocal.m4: Remove ranlib test.
33642         * configure.in: No need to check for ranlib.
33643         * elf/rtld-Rules: Don't use RANLIB.
33645 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33647         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33648         protection macro.
33649         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33650         inclusion protection macro.
33652         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33653         SIGRTMIN and SIGRTMAX and print information in that case only when
33654         SIGRTMIN is defined.
33656 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33658         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33659         arginfo fn returning -1.
33661         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33662         and thousands string is zero terminated.
33664 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33666         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33667         sysdeps/unix/sysv/linux/bits/socket.h.
33669 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33671         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33672         (__CPU_COUNT): Remove old macros.
33673         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33674         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33675         (__CPU_ALLOC, __CPU_FREE): Add macros.
33676         (__sched_cpualloc, __sched_cpufree): Add declarations.
33678 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33680         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33681         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33682         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33683         (readdhstai): Return value of addhstaiX call.
33684         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33685         (addgrbyX): Return value returned by cache_addgr.
33686         (readdgrbyname): Return value returned by addgrbyX.
33687         (readdgrbygid): Likewise.
33688         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33689         (addpwbyX): Return value returned by cache_addpw.
33690         (readdpwbyname): Return value returned by addhstbyX.
33691         (readdpwbyuid): Likewise.
33692         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33693         (addservbyX): Return value returned by cache_addserv.
33694         (readdservbyname): Return value returned by addservbyX:
33695         (readdservbyport): Likewise.
33696         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33697         (addhstbyX): Return value returned by cache_addhst.
33698         (readdhstbyname): Return value returned by addhstbyX.
33699         (readdhstbyaddr): Likewise.
33700         (readdhstbynamev6): Likewise.
33701         (readdhstbyaddrv6): Likewise.
33702         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33703         (readdinitgroups): Return value returned by addinitgroupsX.
33704         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33705         (prune_cache): Keep track of timeout value of re-added entries.
33706         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33707         * nscd/nscd.h: Adjust prototypes of readd* functions.
33709 2011-02-04  Roland McGrath  <roland@redhat.com>
33711         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33712         (nis_stats): Likewise.
33713         * nis/nis_modify.c (nis_modify): Likewise.
33714         * nis/nis_remove.c (nis_remove): Likewise.
33715         * nis/nis_add.c (nis_add): Likewise.
33717         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33719         * posix/fnmatch_loop.c: Add some consts.
33721         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33723 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33725         [BZ #12460]
33726         * config.make.in (config-cflags-novzeroupper): Define.
33727         * configure.in: Substitute libc_cv_cc_novzeroupper.
33728         * elf/Makefile (AVX-CFLAGS): Define.
33729         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33730         (CFLAGS-tst-auditmod4a.c): Likewise.
33731         (CFLAGS-tst-auditmod4b.c): Likewise.
33732         (CFLAGS-tst-auditmod6b.c): Likewise.
33733         (CFLAGS-tst-auditmod6c.c): Likewise.
33734         (CFLAGS-tst-auditmod7b.c): Likewise.
33735         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33737 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33739         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33740         function to the callback.
33741         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33743 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33745         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33746         of errno.
33748 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33750         [BZ #11724]
33751         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33752         of constructors.
33753         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33754         of destructors.
33755         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33757         [BZ #11724]
33758         * elf/Makefile: Add rules to build and run new test.
33759         * elf/tst-initorder.c: New file.
33760         * elf/tst-initorder.exp: New file.
33761         * elf/tst-initordera1.c: New file.
33762         * elf/tst-initordera2.c: New file.
33763         * elf/tst-initordera3.c: New file.
33764         * elf/tst-initordera4.c: New file.
33765         * elf/tst-initorderb1.c: New file.
33766         * elf/tst-initorderb2.c: New file.
33767         * elf/tst-order-a1.c: New file.
33768         * elf/tst-order-a2.c: New file.
33769         * elf/tst-order-a3.c: New file.
33770         * elf/tst-order-a4.c: New file.
33771         * elf/tst-order-b1.c: New file.
33772         * elf/tst-order-b2.c: New file.
33773         * elf/tst-order-main.c: New file.
33774         New test case by George Gensure <werkt0@gmail.com>.
33776 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33779         decoding ACE if AI_CANONIDN.
33781 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33783         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33785 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33787         * version.h (RELEASE): Bump for 2.13 release.
33788         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33790         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33792         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33793         MADV_NOHUGEPAGE.
33794         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33795         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33796         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33797         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33798         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33799         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33801         * posix/getconf.c: Update copyright year.
33802         * catgets/gencat.c: Likewise.
33803         * csu/version.c: Likewise.
33804         * debug/catchsegv.sh: Likewise.
33805         * debug/xtrace.sh: Likewise.
33806         * elf/ldconfig.c: Likewise.
33807         * elf/ldd.bash.in: Likewise.
33808         * elf/sprof.c (print_version): Likewise.
33809         * iconv/iconv_prog.c: Likewise.
33810         * iconv/iconvconfig.c: Likewise.
33811         * locale/programs/locale.c: Likewise.
33812         * locale/programs/localedef.c: Likewise.
33813         * malloc/memusage.sh: Likewise.
33814         * malloc/mtrace.pl: Likewise.
33815         * nscd/nscd.c (print_version): Likewise.
33816         * nss/getent.c: Likewise.
33818         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33819         PF_CAIF, and PF_ALG.
33820         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33822 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33824         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33825         (modules-names): Use them.
33826         (ifunc-test-modules, ifunc-pie-tests): Define.
33827         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33828         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33829         (test-extras): Likewise.
33830         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33831         $(compile-command.c).
33832         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33833         (all-built-dso): Define.
33834         (check-textrel.out, check-execstack.out): Depend on it.
33836         * configure.in: Don't override --enable-multi-arch.
33838 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33840         [BZ #6812]
33841         * nscd/hstcache.c (tryagain): Define.
33842         (cache_addhst): Return tryagain not notfound for temporary errors.
33843         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33844         failed.
33846 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33848         [BZ #10563]
33849         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33850         to make the syscall.
33851         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33853         [BZ #12378]
33854         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33855         and fall back to matching as normal character if the string ends before
33856         the matching ']' is found.  This is what POSIX requires.
33857         * posix/testfnm.c: Adjust test result.
33858         * posix/globtest.sh: Adjust test result.  Add new test.
33859         * posix/tst-fnmatch.input: Likewise.
33860         * posix/tst-fnmatch2.c: Add new test.
33862 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33864         * elf/Makefile (check-execstack): Revert last change.  Depend on
33865         check-execstack.h.
33866         (check-execstack.h): New target.
33867         (generated): Add check-execstack.h.
33868         * elf/check-execstack.c: Include "check-execstack.h".
33869         (main): Revert last change.
33870         (handle_file): Return zero if GNU_STACK is absent and
33871         DEFAULT_STACK_PERMS doesn't include PF_X.
33873 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33875         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33876         in child fails because the descriptor is already closed.
33877         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33878         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33879         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33881         [BZ #12397]
33882         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33883         syscall.
33885         [BZ #10484]
33886         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33887         temporary buffer used to handle multi lookups locally.
33888         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33890 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33892         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33893         loader is ld.so.
33895 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33897         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33898         alignment for SSE2.
33900 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33902         [BZ #12394]
33903         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33904         characters.  When rounding increased number of integer digits recompute
33905         number of groups.
33906         * stdio-common/tst-grouping.c: New file.
33907         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33909 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33911         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33912         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33914         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33915         void.
33916         * bits/select.h: Likewise.
33918 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33920         * po/ja.po: Update from translation team.
33922 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33924         [BZ #11155]
33925         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33926         implementation just like for lxstat, fxstatat, et al.
33928 2010-12-27  Jim Meyering  <meyering@redhat.com>
33930         [BZ #12348]
33931         * posix/regexec.c (build_trtable): Return failure indication upon
33932         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33934 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33936         [BZ #12201]
33937         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33938         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33939         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33940         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33942         [BZ #12207]
33943         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33945         [BZ #12204]
33946         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33947         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33949 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33951         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33952         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33953         script has SORT_BY_INIT_PRIORITY.
33954         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33955         NO_CTORS_DTORS_SECTIONS is defined.
33956         * elf/soinit.c: Likewise.
33957         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33958         NO_CTORS_DTORS_SECTIONS is defined.
33959         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33960         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33961         * sysdeps/sh/init-first.c: Likewise.
33962         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33964 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33966         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33967         always use the slow path.
33969 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33971         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33972         similar rule which adds the sysdep directories to the header search in
33973         order to pick up the correct platform stackinfo.h.
33974         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33975         perform test if it is, otherwise return successfully without testing.
33976         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33977         DEFAULT_STACK_PERMS define in stackinfo.h.
33978         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33979         defined in stackinfo.h.
33980         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33981         DEFAULT_STACK_PERMS defined in stackinfo.h.
33982         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33983         * sysdeps/ia64/stackinfo.h: Likewise.
33984         * sysdeps/s390/stackinfo.h: Likewise.
33985         * sysdeps/sh/stackinfo.h: Likewise.
33986         * sysdeps/sparc/stackinfo.h: Likewise.
33987         * sysdeps/x86_64/stackinfo.h: Likewise.
33988         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33989         PF_X for powerpc64.  Retain PF_X for powerpc32.
33991 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33993         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33994         accurately.
33995         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33996         GETDENTS_64BIT_ALIGNED.
33998 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
34000         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34002 2010-12-10  Andreas Schwab  <schwab@redhat.com>
34004         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34005         _GNU_SOURCE.
34007         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34008         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34009         Remove __restrict.
34010         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34011         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34013 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
34015         [BZ #11655]
34016         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34017         are initialized.
34019 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
34021         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34023 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
34025         * po/it.po: Update from translation team.
34027 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
34029         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34030         unused codes.
34032 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
34034         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34036 2010-11-24  Andreas Schwab  <schwab@redhat.com>
34038         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34039         specially.
34040         (gaih_getanswer_slice): Likewise.
34042 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
34044         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34046 2010-05-31  Petr Baudis  <pasky@suse.cz>
34048         [BZ #11149]
34049         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34050         silently even in the chroot mode.
34052 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34054         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34055         last patch a bit.  Pretty printing
34057 2010-05-31  Petr Baudis <pasky@suse.cz>
34059         [BZ #10085]
34060         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34061         initialization of skip_initgroups_dyn.
34063 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34065         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34066         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34068 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34070         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34072 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34074         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34075         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34076         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34077         ($(objpfx)tst-fnmatch-mem): New rule.
34078         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34079         * posix/tst-fnmatch.c (main): Call mtrace.
34081 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34084         Support Intel processor model 6 and model 0x2c.
34086 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34088         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34089           signed comparison.
34091 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34093         [BZ #12205]
34094         * string/test-strncasecmp.c (check_result): New function.
34095         (do_one_test): Use it.
34096         (check1): New function.
34097         (test_main): Use it.
34098         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34099         Support strcasecmp and strncasecmp.
34101 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34103         [BZ #12194]
34104         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34105         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34107 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34109         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34110         IFUNC support.
34111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34112         memset-x86-64.
34113         * sysdeps/x86_64/multiarch/bzero.S: New file.
34114         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34115         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34116         * sysdeps/x86_64/multiarch/memset.S: New file.
34117         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34119         Set bit_Prefer_SSE_for_memop for Intel processors.
34120         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34121         Define.
34122         (index_Prefer_SSE_for_memop): Define.
34123         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34125 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34127         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34128         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34130 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34132         [BZ #12191]
34133         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34134         (__x86_64_raw_data_cache_size_half): Likewise.
34135         (__x86_64_raw_shared_cache_size): Likewise.
34136         (__x86_64_raw_shared_cache_size_half): Likewise.
34138         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34139         (__x86_64_raw_data_cache_size_half): Likewise.
34140         (__x86_64_raw_shared_cache_size): Likewise.
34141         (__x86_64_raw_shared_cache_size_half): Likewise.
34142         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34143         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34144         and __x86_64_raw_shared_cache_size_half.  Round
34145         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34146         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34147         to multiple of 256 bytes.
34149 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34151         [BZ #12167]
34152         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34153         of inacessible symlinks.  Verify result of symlink before returning it.
34154         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34155         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34157 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34159         * math/math.h (isinf): Fix typo in comment.
34161 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34163         * po/da.po: Update from translation team.
34165 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34167         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34168         is added to the list.
34170 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34171             Ulrich Drepper  <drepper@gmail.com>
34173         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34174         the global list here.  Move code to...
34175         (_dl_add_to_namespace_list): ...here.  New function.
34176         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34177         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34178         * elf/dl-load.c (lose): Don't remove the element from the list.
34179         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34180         (_dl_map_object): Likewise.
34182 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34184         [BZ #12159]
34185         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34186         into all bytes of SSE register.
34187         Patch by Richard Li <richardpku@gmail.com>.
34189 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34191         [BZ #12140]
34192         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34193         perturbing.
34195 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34197         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34198         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34199         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34200         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34202         submachine.
34203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34205 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34207         * include/dlfcn.h (__RTLD_SECURE): Define.
34208         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34209         mode & __RTLD_SECURE instead.
34210         (open_path): Rename preloaded parameter to secure.
34211         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34212         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34213         * elf/dl-deps.c (openaux): Likewise.
34214         * elf/rtld.c (struct map_args): Remove is_preloaded.
34215         (map_doit): Don't use it.
34216         (dl_main): Likewise.
34217         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34218         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34220 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34222         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34223         (sysd-rules-targets): Remove duplicates.
34224         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34225         rtld-%.$o dependency.
34227 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34229         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34230         _dl_map_object do it.
34232 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34234         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34235         fast fma builtins, define the macros in the C99 standard.
34236         (FP_FAST_FMAF): Likewise.
34237         (FP_FAST_FMAL): Likewise.
34238         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34240         * bits/mathdef.h: Update copyright year.
34241         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34243 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34245         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34246         builtins, define the macros in the C99 standard.
34247         (FP_FAST_FMAF): Likewise.
34248         (FP_FAST_FMAL): Likewise.
34249         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34250         multiply/add.
34251         (FP_FAST_FMAF): Likewise.
34253 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34255         [BZ #3268]
34256         * math/libm-test.inc (fma_test): Some new testcases.
34257         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34258         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34259         y and infinite z.  Do multiplication by C already in long double.
34260         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34262         y and infinite z.  Do bitwise or of inexact bit into u.d.
34263         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34264         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34265         * sysdeps/i386/fpu/s_fma.S: Removed.
34266         * sysdeps/i386/fpu/s_fmal.S: Removed.
34268 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
34270         [BZ #3268]
34271         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34272         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34273         computation is not scheduled after fetestexcept.  Fix value
34274         of minimum denormal long double.
34276 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
34278         [BZ #3268]
34279         * math/libm-test.inc (fma_test): Add some more tests.
34280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34281         correctly.
34283 2010-10-15  Andreas Schwab  <schwab@redhat.com>
34285         * scripts/data/localplt-s390-linux-gnu.data: New file.
34286         * scripts/data/localplt-s390x-linux-gnu.data: New file.
34288 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
34290         [BZ #3268]
34291         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34292         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34293         instead of dbl-64.
34294         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34295         inlines.
34296         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34298         if one of x and y is very large and the other is subnormal.
34299         * sysdeps/s390/fpu/s_fmaf.c: New file.
34300         * sysdeps/s390/fpu/s_fma.c: New file.
34301         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34302         * sysdeps/powerpc/fpu/s_fma.S: New file.
34303         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34304         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34305         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34307 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
34309         [BZ #3268]
34310         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34311         fma tests.
34312         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34313         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34314         * sysdeps/i386/i686/multiarch/s_fma.c: Include
34315         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34316         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34317         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34318         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34320 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
34322         [BZ #12078]
34323         * posix/regcomp.c (parse_branch): One more memory leak plugged.
34324         * posix/bug-regex31.input: Add test case.
34326 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34328         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34329         * posix/bug-regex31.input: New file.
34331         [BZ #12078]
34332         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34333         (parse_sub_exp): Fix last change, use postorder.
34335         * posix/bug-regex31.c: New file.
34336         * posix/Makefile: Add rules to build and run bug-regex31.
34338         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34340         [BZ #12078]
34341         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34343         [BZ #12108]
34344         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34345         to have entries in sys_siglist.
34347         [BZ #12093]
34348         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34349         be NULL.
34351 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
34353         [BZ #3268]
34354         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34355         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34356         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34357         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34358         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34359         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34360         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34361         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34362         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34363         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34364         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34365         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34366         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34367         * math/ftestexcept.c (fetestexcept): Likewise.
34368         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34369         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34370         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34371         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34372         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34373         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34374         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34376 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34378         [BZ #12107]
34379         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34380         newline.
34382 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34384         * string/bug-strstr1.c: New file.
34385         * string/Makefile: Add rules to build and run bug-strstr1.
34387 2010-10-05  Eric Blake  <eblake@redhat.com>
34389         [BZ #12092]
34390         * string/str-two-way.h (two_way_long_needle): Always clear memory
34391         when skipping input due to the shift table.
34393 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34395         [BZ #12005]
34396         * malloc/mcheck.c: Handle large requests.
34398         [BZ #12077]
34399         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34400         for strncmp and strncasecmp.
34401         * string/stratcliff.c: Add tests for strcmp and strncmp.
34402         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34404 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34406         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34407         __set_fpscr.
34409 2010-09-30  Andreas Jaeger  <aj@suse.de>
34411         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34412         (CGROUP_SUPER_MAGIC): Define.
34413         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34414         Handle btrfs and cgroup file systems.
34415         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34416         Likewise.
34418 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34420         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34421         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34423 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34425         [BZ #12067]
34426         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34427         trying to locate the ELF header.
34429 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34431         [BZ #11611]
34432         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34433         Mask out sign-bit copies when constructing f_fsid.
34435 2010-09-24  Petr Baudis <pasky@suse.cz>
34437         * debug/stack_chk_fail_local.c: Add missing licence exception.
34438         * debug/warning-nop.c: Likewise.
34440 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34442         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34443         implementing getdents64 using getdents syscall, set d_type if
34444         __ASSUME_GETDENTS32_D_TYPE.
34446 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34448         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34449         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34451 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34453         [BZ #12037]
34454         * posix/unistd.h: Undo change of feature selection for ftruncate from
34455         2010-01-11.
34457 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34459         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34460         detection.
34462 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34464         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34465         fanotify_mark.
34466         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34468 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34470         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34471         variables after CHECK_SP call.
34472         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34474 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34475             Ulrich Drepper  <drepper@redhat.com>
34477         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34478         re-relocationg ld.so.
34479         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34480         _dl_init_paths call.
34481         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34482         here anymore.
34484 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34486         * resolv/res_init.c (__res_vinit): Count the default server we added.
34488 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34489             Ulrich Drepper  <drepper@redhat.com>
34491         [BZ #11968]
34492         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34493         (____longjmp_chk): Use %ebx for saving value across system call.
34494         Add unwind info.
34496 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34498         * manual/Makefile: Don't mix pattern rules with normal rules.
34500 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34502         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34503         operation.
34504         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34505         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34506         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34507         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34509         Likewise.
34511 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34513         [BZ #11979]
34514         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34515         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34517 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34519         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34520         * sysdeps/x86_64/addmul_1.S: Likewise.
34521         * sysdeps/x86_64/lshift.S: Likewise.
34522         * sysdeps/x86_64/mul_1.S: Likewise.
34523         * sysdeps/x86_64/rshift.S: Likewise.
34524         * sysdeps/x86_64/sub_n.S: Likewise.
34525         * sysdeps/x86_64/submul_1.S: Likewise.
34527 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34529         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34530         Define __sched_param instead of SCHED_* and sched_param when
34531         <bits/sched.h> is included with __need_schedparam defined.
34532         * bits/sched.h [__need_schedparam]
34533         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34534         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34535         (__defined_schedparam): Define to 1.
34536         (__sched_param): New structure, identical to sched_param.
34537         (__need_schedparam): Undefine.
34539 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34541         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34542         (epoll_create1): Declare.
34544         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34546 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34548         [BZ #7066]
34549         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34550         shifting retval into place.
34552 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34554         * nis/rpcsvc/nis.h: Update copyright notice.
34555         * nis/rpcsvc/nis.x: Likewise.
34556         * nis/rpcsvc/nis_callback.h: Likewise.
34557         * nis/rpcsvc/nis_callback.x: Likewise.
34558         * nis/rpcsvc/nis_object.x: Likewise.
34559         * nis/rpcsvc/nis_tags.h: Likewise.
34560         * nis/rpcsvc/yp.h: Likewise.
34561         * nis/rpcsvc/yp.x: Likewise.
34562         * nis/rpcsvc/ypupd.h: Likewise.
34563         * nis/yp_xdr.c: Likewise.
34564         * nis/ypupdate_xdr.c: Likewise.
34566         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34567         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34568         (pmap_getport): Use __libc_rpc_getport.
34569         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34570         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34571         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34573 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34576         fanotify_mark.
34578 2010-08-27  Roland McGrath  <roland@redhat.com>
34580         * sysdeps/i386/i686/multiarch/Makefile
34581         (CFLAGS-varshift.c): New variable.
34583 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34585         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34586         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34588         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34590         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34592 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34594         * sysdeps/x86_64/strlen.S: Unroll the loop.
34595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34596         strlen-sse2 strlen-sse2-bsf.
34597         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34598         __strlen_no_bsf if bit_Slow_BSF is set.
34599         (__strlen_sse42): Removed.
34600         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34601         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34603 2010-08-25  Roland McGrath  <roland@redhat.com>
34605         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34606         * sysdeps/x86_64/multiarch/varshift.c: New file.
34607         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34608         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34609         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34610         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34612 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34615         strlen-sse2 strlen-sse2-bsf.
34616         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34617         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34618         (__strlen_sse2): Removed.
34619         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34620         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34622         bit_Slow_BSF for Atom.
34623         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34624         (index_Slow_BSF): Define.
34625         (HAS_SLOW_BSF): Define.
34627 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34629         [BZ #10851]
34630         * resolv/res_init.c (__res_vinit): When no server address at all
34631         is given default to loopback.
34633 2010-08-24  Roland McGrath  <roland@redhat.com>
34635         * configure.in: Remove config-name.h generation.
34636         * configure: Regenerated.
34637         * config-name.in: File removed.
34638         * scripts/config-uname.sh: New file.
34639         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34640         ($(objdir)config-name.h): New target.
34642         * sunrpc/rpc_parse.h: Avoid nested comment.
34644 2010-08-24  Richard Henderson  <rth@redhat.com>
34645             Ulrich Drepper  <drepper@redhat.com>
34646             H.J. Lu  <hongjiu.lu@intel.com>
34648         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34650         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34651         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34652         _mm_alignr_epi8 with _mm_loadu_si128.
34653         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34654         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34655         (__m128i_shift_right): Removed.
34656         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34657         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34658         * sysdeps/x86_64/multiarch/varshift.h: New file.
34659         * sysdeps/x86_64/multiarch/varshift.S: New file.
34661 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34663         * configure.in: Move assembler checks to before sysdep dir checking.
34665 2010-08-20  Petr Baudis  <pasky@suse.cz>
34667         * LICENSES: Sync the sunrpc license.
34669 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34671         * sunrpc/auth_des.c: Update copyright notice once again.
34672         * sunrpc/auth_none.c: Likewise.
34673         * sunrpc/auth_unix.c: Likewise.
34674         * sunrpc/authdes_prot.c: Likewise.
34675         * sunrpc/authuxprot.c: Likewise.
34676         * sunrpc/bindrsvprt.c: Likewise.
34677         * sunrpc/clnt_gen.c: Likewise.
34678         * sunrpc/clnt_perr.c: Likewise.
34679         * sunrpc/clnt_raw.c: Likewise.
34680         * sunrpc/clnt_simp.c: Likewise.
34681         * sunrpc/clnt_tcp.c: Likewise.
34682         * sunrpc/clnt_udp.c: Likewise.
34683         * sunrpc/clnt_unix.c: Likewise.
34684         * sunrpc/des_crypt.c: Likewise.
34685         * sunrpc/des_soft.c: Likewise.
34686         * sunrpc/get_myaddr.c: Likewise.
34687         * sunrpc/getrpcport.c: Likewise.
34688         * sunrpc/key_call.c: Likewise.
34689         * sunrpc/key_prot.c: Likewise.
34690         * sunrpc/openchild.c: Likewise.
34691         * sunrpc/pm_getmaps.c: Likewise.
34692         * sunrpc/pm_getport.c: Likewise.
34693         * sunrpc/pmap_clnt.c: Likewise.
34694         * sunrpc/pmap_prot.c: Likewise.
34695         * sunrpc/pmap_prot2.c: Likewise.
34696         * sunrpc/pmap_rmt.c: Likewise.
34697         * sunrpc/rpc/auth.h: Likewise.
34698         * sunrpc/rpc/auth_unix.h: Likewise.
34699         * sunrpc/rpc/clnt.h: Likewise.
34700         * sunrpc/rpc/des_crypt.h: Likewise.
34701         * sunrpc/rpc/key_prot.h: Likewise.
34702         * sunrpc/rpc/netdb.h: Likewise.
34703         * sunrpc/rpc/pmap_clnt.h: Likewise.
34704         * sunrpc/rpc/pmap_prot.h: Likewise.
34705         * sunrpc/rpc/pmap_rmt.h: Likewise.
34706         * sunrpc/rpc/rpc.h: Likewise.
34707         * sunrpc/rpc/rpc_des.h: Likewise.
34708         * sunrpc/rpc/rpc_msg.h: Likewise.
34709         * sunrpc/rpc/svc.h: Likewise.
34710         * sunrpc/rpc/svc_auth.h: Likewise.
34711         * sunrpc/rpc/types.h: Likewise.
34712         * sunrpc/rpc/xdr.h: Likewise.
34713         * sunrpc/rpc_clntout.c: Likewise.
34714         * sunrpc/rpc_cmsg.c: Likewise.
34715         * sunrpc/rpc_common.c: Likewise.
34716         * sunrpc/rpc_cout.c: Likewise.
34717         * sunrpc/rpc_dtable.c: Likewise.
34718         * sunrpc/rpc_hout.c: Likewise.
34719         * sunrpc/rpc_main.c: Likewise.
34720         * sunrpc/rpc_parse.c: Likewise.
34721         * sunrpc/rpc_parse.h: Likewise.
34722         * sunrpc/rpc_prot.c: Likewise.
34723         * sunrpc/rpc_sample.c: Likewise.
34724         * sunrpc/rpc_scan.c: Likewise.
34725         * sunrpc/rpc_scan.h: Likewise.
34726         * sunrpc/rpc_svcout.c: Likewise.
34727         * sunrpc/rpc_tblout.c: Likewise.
34728         * sunrpc/rpc_util.c: Likewise.
34729         * sunrpc/rpc_util.h: Likewise.
34730         * sunrpc/rpcinfo.c: Likewise.
34731         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34732         * sunrpc/rpcsvc/key_prot.x: Likewise.
34733         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34734         * sunrpc/rpcsvc/mount.x: Likewise.
34735         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34736         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34737         * sunrpc/rpcsvc/rex.x: Likewise.
34738         * sunrpc/rpcsvc/rstat.x: Likewise.
34739         * sunrpc/rpcsvc/rusers.x: Likewise.
34740         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34741         * sunrpc/rpcsvc/spray.x: Likewise.
34742         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34743         * sunrpc/rtime.c: Likewise.
34744         * sunrpc/svc.c: Likewise.
34745         * sunrpc/svc_auth.c: Likewise.
34746         * sunrpc/svc_authux.c: Likewise.
34747         * sunrpc/svc_raw.c: Likewise.
34748         * sunrpc/svc_run.c: Likewise.
34749         * sunrpc/svc_simple.c: Likewise.
34750         * sunrpc/svc_tcp.c: Likewise.
34751         * sunrpc/svc_udp.c: Likewise.
34752         * sunrpc/svc_unix.c: Likewise.
34753         * sunrpc/svcauth_des.c: Likewise.
34754         * sunrpc/xcrypt.c: Likewise.
34755         * sunrpc/xdr.c: Likewise.
34756         * sunrpc/xdr_array.c: Likewise.
34757         * sunrpc/xdr_float.c: Likewise.
34758         * sunrpc/xdr_mem.c: Likewise.
34759         * sunrpc/xdr_rec.c: Likewise.
34760         * sunrpc/xdr_ref.c: Likewise.
34761         * sunrpc/xdr_sizeof.c: Likewise.
34762         * sunrpc/xdr_stdio.c: Likewise.
34764         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34765         handling.
34767 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34769         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34771 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34773         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34774         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34775         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34776         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34777         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34778         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34779         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34780         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34781         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34782         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34783         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34784         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34785         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34786         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34788 2010-07-26  Anton Blanchard  <anton@samba.org>
34790         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34791         * malloc/arena.c (heap_trim): Likewise.
34793 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34795         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34796         here.  Not...
34797         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34798         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34800 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34802         * sysdeps/i386/elf/Makefile: New file.
34804 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34806         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34807         from fanotify_init.
34808         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34809         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34811 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34813         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34814         of strncasecmp_l.
34815         * sysdeps/multiarch/strcmp.S: Likewise.
34817 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34819         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34820         strncase_l-nonascii.
34821         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34822         Add strncase_l-ssse3.
34823         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34824         * sysdeps/x86_64/strcmp.S: Likewise.
34825         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34826         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34827         * sysdeps/x86_64/strncase.S: New file.
34828         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34829         * sysdeps/x86_64/strncase_l.S: New file.
34830         * string/Makefile (strop-tests): Add strncasecmp.
34831         * string/test-strncasecmp.c: New file.
34833         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34834         warning.
34836         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34837         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34839 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34841         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34843 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34845         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34846         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34847         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34849 2010-05-01  Alan Modra  <amodra@gmail.com>
34851         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34852         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34853         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34854         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34855         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34856         tidying.  Don't tail-call __sigjmp_save for static lib.
34857         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34858         save location.
34859         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34860         (CALL_MCOUNT): Add eh info, and nop after bl.
34861         (TAIL_CALL_SYSCALL_ERROR): New macro.
34862         (PSEUDO_RET): Use it.
34863         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34864         Correct save location of integer regs and cr.
34865         (_dl_profile_resolve): Correct cr save location.  Delete nops
34866         after bl when SHARED.  Reduce cfi size a little by better
34867         placement of cfi directives.
34868         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34869         make a stack frame.  Instead use parm save area as a temp.
34870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34871         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34873         Don't make a stack frame for parent, use parm save area.
34874         Increase child stack frame to 112 bytes.  Don't save unused reg,
34875         and adjust reg usage.  Set up cfi on error recovery and
34876         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34878         (__makecontext): Add dummy nop after jump to exit.
34879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34880         Use correct parm save area and cr save, reduce stack frame.
34881         Correct cfi for possible PSEUDO_RET frame setup.
34882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34883         Branch to local label emitted by PSEUDO_RET rather than
34884         __syscall_error.
34886 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34888         [BZ #11904]
34889         * locale/programs/locale.c (print_assignment): New function.
34890         (show_locale_vars): Use it.
34892 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34894         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34895         field.
34896         (struct statfs64): Likewise.
34897         (_STATFS_F_FLAGS): Define.
34898         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34899         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34900         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34901         (ST_VALID): Define locally.
34902         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34903         __statvfs_getflags, use the provided value.
34904         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34905         __ASSUME_STATFS_F_FLAGS.
34907         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34909         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34910         Add sys/fanotify.h.
34911         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34912         fanotify_mask for GLIBC_2.13.
34913         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34914         fanotify_init and fanotify_mark.
34915         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34916         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34918         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34919         Add prlimit.
34920         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34921         prlimit64 for GLIBC_2.13.
34922         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34923         prlimit64.
34924         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34925         syscall.
34926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34927         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34928         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34929         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34930         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34931         add prlimit alias.
34932         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34934         [BZ #11903]
34935         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34936         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34938         * nss/Makefile: Add rules to build and run tst-nss-test1.
34939         * shlib-versions: Add entry for libnss_test1.
34940         * nss/nss_test1.c: New file.
34941         * nss/tst-nss-test1.c: New file.
34943         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34944         (__nss_configure_lookup): Set appropriate entry in
34945         __nss_configure_lookup to true.
34946         * nss/nsswitch.h: Define enum with indeces of databases in
34947         databases and __nss_database_custom arrays.  Declare
34948         __nss_database_custom.
34949         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34950         to avoid using nscd when custom rules are installed.
34951         * nss/getXXbyYY_r.c: Likewise.
34952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34954         * nss/nss_files/files-parse.c: Whitespace fixes.
34956 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34958         [BZ #11883]
34959         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34960         * posix/fnmatch_loop.c: Likewise.
34962 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34964         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34965         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34966         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34967         * Versions.def [GLIBC_2.13]: Add.
34969 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34971         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34972         Also fail if tpwd after pwuid call is NULL.
34974 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34976         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34977         when converting to ms.
34979 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34981         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34982         EOPNOTSUPP errors with ENOTTY.
34983         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34984         EOPNOTSUPP errors with ENOTTY.
34986 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34988         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34989         Add strcasecmp_l-ssse3.
34990         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34991         strcasecmp.
34992         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34993         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34994         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34996 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34998         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35000         * string/Makefile (strop-tests): Add strcasecmp.
35001         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35002         strcasecmp_l-nonascii.
35003         (gen-as-const-headers): Add locale-defines.sym.
35004         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35005         * sysdeps/x86_64/strcasecmp.S: New file.
35006         * sysdeps/x86_64/strcasecmp_l.S: New file.
35007         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35008         * sysdeps/x86_64/locale-defines.sym: New file.
35009         * string/test-strcasecmp.c: New file.
35011         * string/test-strcasestr.c: Test both ends of the range of characters.
35012         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35014 2010-07-29  Roland McGrath  <roland@redhat.com>
35016         [BZ #11856]
35017         * manual/locale.texi (Yes-or-No Questions): Fix example code.
35019 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
35021         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35022         for ld.so.
35024 2010-07-27  Andreas Schwab  <schwab@redhat.com>
35026         * manual/memory.texi (Malloc Tunable Parameters): Document
35027         M_PERTURB.
35029 2010-07-26  Roland McGrath  <roland@redhat.com>
35031         [BZ #11840]
35032         * configure.in (-fgnu89-inline check): Set and substitute
35033         gnu89_inline, not libc_cv_gnu89_inline.
35034         * configure: Regenerated.
35035         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35037 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
35039         * string/test-strnlen.c: New file.
35040         * string/Makefile (strop-tests): Add strnlen.
35041         * string/tester.c (test_strnlen): Add a few more test cases.
35042         * string/tst-strlen.c: Better error reporting.
35044         * sysdeps/x86_64/strnlen.S: New file.
35046 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35048         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35049         lower-latency instructions.
35051 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35053         * string/test-strcasestr.c: New file.
35054         * string/test-strstr.c: New file.
35055         * string/Makefile (strop-tests): Add strstr and strcasestr.
35056         * string/str-two-way.h: Don't undefine MAX.
35057         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35059 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35061         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35062         strcasestr-nonascii.
35063         (CFLAGS-strcasestr-nonascii.c): Define.
35064         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35065         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35066         Remove unused attribute.
35068 2010-07-20  Roland McGrath  <roland@redhat.com>
35070         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35071         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35072         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35073         like LD_HWCAP_MASK can disable hwcaps.
35075 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35077         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35079 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35081         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35082         call in strcasestr.
35083         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35084         __strcasestr_sse42_nonascii.
35085         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35086         strcasestr-nonascii.c.
35087         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35089 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35091         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35092         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35093         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35094         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35096 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35098         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35099         fcntl.
35101 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35103         [BZ #11577]
35104         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35105         dl_signal_cerror.
35107 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35109         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35110         _PC_PIPE_BUF using F_GETPIPE_SZ.
35112 2010-07-05  Roland McGrath  <roland@redhat.com>
35114         * manual/arith.texi (Rounding Functions): Fix rint description
35115         implicit in round description.
35117 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35119         * elf/Makefile: Fix linking for a few tests to make recent linker
35120         happy.
35122 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35124         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35125         $(common-objpfx)libc_nonshared.a.
35127 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35129         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35130         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35131         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35132         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35133         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35134         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35135         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35136         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35151         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35152         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35153         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35154         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35155         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35156         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35157         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35158         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35159         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35160         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35161         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35162         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35178 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35180         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35181         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35182         * string/memmove.c (memmove): Renamed to ...
35183         (MEMMOVE): ...this.  Default to memmove.
35184         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35185         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35186         (END_CHK): Define.
35187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35188         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35189         mempcpy-ssse3-back memmove-ssse3-back.
35190         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35191         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35192         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35193         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35194         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35195         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35196         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35197         * sysdeps/x86_64/multiarch/memmove.c: New file.
35198         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35199         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35200         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35201         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35202         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35203         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35204         Define.
35205         (index_Fast_Copy_Backward): Define.
35206         (HAS_ARCH_FEATURE): Define.
35207         (HAS_FAST_REP_STRING): Define.
35208         (HAS_FAST_COPY_BACKWARD): Define.
35210 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35212         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35213         Restore proper fallback handling.
35215 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35217         [BZ #11701]
35218         * posix/group_member.c (__group_member): Correct checking loop.
35220         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35221         OOM in getpwuid_r correctly.  Return error number when the caller
35222         should return, otherwise -1.
35223         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35224         call returning > 0 value.
35225         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35227 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35229         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35230         libc_nonshared.a from targets in modules-names.
35232 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35234         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35235         requires it.
35237 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35239         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35240         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35241         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35242         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35244 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35246         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35248 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35250         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35251         and F_GETPIPE_SZ.
35252         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35253         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35254         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35255         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35256         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35257         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35259 2010-06-14  Roland McGrath  <roland@redhat.com>
35261         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35263 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35265         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35266         __REDIRECT followed by __THROW.
35267         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35268         * posix/getopt.h (getopt): Likewise.
35270 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35272         * hurd/lookup-at.c (__file_name_lookup_at): Accept
35273         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
35274         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35275         in AT_FLAGS.
35276         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35277         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35279 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
35281         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35283 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
35285         [BZ #11640]
35286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35287         Properly check family and model.
35289 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
35291         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35293 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
35295         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35297 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
35299         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35300         symbol reference.
35302 2010-05-19  Andreas Schwab  <schwab@redhat.com>
35304         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35305         symbol reference.
35307 2010-05-21  Andreas Schwab  <schwab@redhat.com>
35309         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35310         and internal_recvmmsg.
35311         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35312         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35313         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35314         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35316         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35317         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35318         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35320 2010-05-20  Andreas Schwab  <schwab@redhat.com>
35322         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35324 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
35326         POWER7 optimizations.
35327         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35328         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35330 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
35332         * version.h: Update for 2.13 development version.
35334 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
35336         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35337         exceptions.  Return 0.
35339 2010-05-07  Roland McGrath  <roland@redhat.com>
35341         * elf/ldconfig.c (main): Add a const.
35343 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
35345         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35346         (args_options): Add no-idn option.
35347         (ahosts_keys_int): Add idn_flags to ai_flags.
35348         (parse_option): Handle 'i' option to clear idn_flags.
35350         * malloc/malloc.c (_int_free): Possible race in the most recently
35351         added check.  Only act on the data if no current modification
35352         happened.
35354 See ChangeLog.17 for earlier changes.