Use __glibc_reserved instead __unused.
[glibc.git] / ChangeLog
blob2c5b0398047040660848810260a22fbea7366d9c
1 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3         * rt/aio.h: Likewise.
4         * sysdeps/gnu/bits/utmp.h: Likewise.
5         * sysdeps/gnu/bits/utmpx.h: Likewise.
6         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
34         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
51         [BZ #16245]
52         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
57         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
58         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59         Likewise.
61 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
64         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
65         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
66         (__fesetround): Remove define.
67         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
68         rounding and exceptions handling.
69         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
70         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
71         (__fe_nomask_env): Likewise.
72         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
73         __fegetround instead of fegetround.
74         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
75         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
77 2013-11-21  Roland McGrath  <roland@hack.frob.com>
79         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
80         it's there.
82         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
84 2013-11-21  Meador Inge  <meadori@codesourcery.com>
86         [BZ #11157]
87         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
88         (encrypt_r): Likewise.
89         * malloc/obstack.h (obstack_free): Likewise.
90         * posix/unistd.h (encrypt): Likewise.
92 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
94         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
95         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
96         DL_CALL_DT_FINI() that call the functions directly.
97         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
98         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
99         * elf/dl-fini.c: Likewise.
101 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
103         * malloc/hooks.c (memalign_check): Add alignment rounding.
104         * malloc/malloc.c (_mid_memalign): New function.
105         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
106         Implement by calling _mid_memalign.
107         * manual/probes.texi (Memory Allocation Probes): Remove
108         memory_valloc_retry and memory_pvalloc_retry.
110 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
112         * locale/programs/locarchive.c (open_archive): Add const
113         qualifier to ARCHIVEFNAME and copy default fname to
114         DEFAULT_FNAME.
116         [BZ #15601]
117         * libio/tst-widetext.input: Rename Oriya to Odia.
118         * locale/iso-639.def: Likewise.
120         * manual/probes.texi (Mathematical Function Probes): Add
121         documentation for sin, cos, asin and acos probes.
122         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
123         (__sin32): Add slowasin probe.
124         (__cos32): Add slowacos probe.
125         (__mpsin): Add slowsin probe.
126         (__mpcos): Add slowcos probe.
128 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
130         [BZ #15483]
131         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
132         thread-local __sim_exceptions_thread and global
133         __sim_exceptions_global.
134         (__sim_disabled_exceptions): Change to thread-local
135         __sim_disabled_exceptions_thread and global
136         __sim_disabled_exceptions_global.
137         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
138         and global __sim_round_mode_global.
139         (__simulate_exceptions): Use thread-local floating-point state and
140         set global state from it as needed.
141         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
142         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
143         __sim_round_mode_thread.
144         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
145         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
146         and global __sim_exceptions_global.
147         (__sim_disabled_exceptions): Change to thread-local
148         __sim_disabled_exceptions_thread and global
149         __sim_disabled_exceptions_global.
150         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
151         and global __sim_round_mode_global.
152         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
153         (SIM_SET_GLOBAL): Likewise.
154         * sysdeps/powerpc/soft-fp/sfp-machine.h
155         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
156         __sim_round_mode_thread.
157         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
158         __sim_disabled_exceptions_thread.
159         (__sim_exceptions): Change to __sim_exceptions_thread.
160         (__sim_disabled_exceptions): Change to
161         __sim_disabled_exceptions_thread.
162         (__sim_round_mode): Change to __sim_round_mode_thread.
163         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
164         thread-local floating-point state and set global state from it as
165         needed.
166         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
167         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
168         (__sim_disabled_exceptions): Remove extern declaration.
169         (feenableexcept): Use thread-local floating-point state and set
170         global state from it as needed.
171         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
172         extern declaration.
173         (__sim_disabled_exceptions): Likewise.
174         (__sim_round_mode): Likewise.
175         (__fegetenv): Use thread-local floating-point state.
176         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
177         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
178         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
179         floating-point state and set global state from it as needed.
180         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
181         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
182         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
183         Likewise.
184         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
185         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
186         Likewise.
187         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
188         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
189         Use __sim_round_mode_thread.
190         * math/test-fenv-tls.c: New file.
191         * math/Makefile (tests): Add test-fenv-tls.
192         ($(objpfx)test-fenv-tls): Depend on
193         $(common-objpfx)nptl/libpthread.so.
195 2013-11-19  Andreas Schwab  <schwab@suse.de>
197         * locale/programs/locale.c (show_info): Decode wordarray elements.
198         * locale/categories.def (LC_MONETARY): Add element for
199         _NL_MONETARY_CRNCYSTR.
200         * locale/C-monetary.c (conversion_rate): New variable.
201         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
202         element.
204 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
206         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
207         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
209 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
211         * elf/Makefile (tst-auxv): New test.
212         * elf/tst-auxv.c: New
213         * elf/rtld.c (dl_main): Adjust AT_EXECFN
215 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
217         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
218         (hidden_proto): Caller changed.
219         (hidden_tls_proto): New macro.
220         (libc_hidden_tls_proto): Likewise.
221         (rtld_hidden_tls_proto): Likewise.
222         (libm_hidden_tls_proto): Likewise.
223         (libresolv_hidden_tls_proto): Likewise.
224         (librt_hidden_tls_proto): Likewise.
225         (libdl_hidden_tls_proto): Likewise.
226         (libnss_files_hidden_tls_proto): Likewise.
227         (libnsl_hidden_tls_proto): Likewise.
228         (libnss_nisplus_hidden_tls_proto): Likewise.
229         (libutil_hidden_tls_proto): Likewise.
231 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
233         [BZ #10253]
234         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
235         (decompose_rpath): Defer expansion to fillin_rpath.
236         (_dl_init_paths): Pass linkmap to fillin_rpath.
238 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
240         * benchtests/Makefile: Add strsep.
241         * benchtests/bench-strsep.c: New file: strsep benchtest.
242         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
244 2013-11-18  Andreas Schwab  <schwab@suse.de>
246         * locale/programs/locale.c (show_info) [case byte]: Check for
247         '\377' instead of '\177'.
248         * locale/C-monetary.c (not_available): Always use "\377".
249         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
250         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
251         detect unavailable sign_posn locale elements.
252         * locale/localeconv.c (__localeconv): For grouping and
253         mon_grouping handle "\177" and "\377" like no grouping.
254         (INT_ELEM): New macro.  Use it to set all numeric members.
255         * locale/programs/ld-monetary.c (monetary_read)
256         <tok_mon_grouping>: Normalize single -1 to the empty string.
257         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
258         Likewise.
260 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
262         [BZ #16055]
263         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
264         when we match (nil).
265         * stdio-common/tst-sscanf.c (struct test): Add testcase.
267 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
269         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
270         (NO_TEST_INLINE): Update value.
271         (ERRNO_UNCHANGED): Likewise.
272         (ERRNO_EDOM): Likewise.
273         (ERRNO_ERANGE): Likewise.
274         (IGNORE_RESULT): Likewise.
275         (check_float_internal): Check signs of NaN results if
276         TEST_NAN_SIGN used.
277         (check_complex): Pass TEST_NAN_SIGN flag through to second
278         check_float_internal call.
279         (copysign_test_data): Add tests with quiet NaNs as second
280         argument.  Use TEST_NAN_SIGN.
281         (fabs_test_data): Add test of negative quiet NaN argument.  Use
282         TEST_NAN_SIGN.
283         (signbit_test_data): Add tests of quiet NaN argument.
284         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
286         * math/gen-libm-test.pl (show_exceptions): Take extra argument
287         $ignore_result.
288         (parse_args): Handle function results specified as IGNORE.
289         * math/libm-test.inc (IGNORE_RESULT): New macro.
290         (check_float_internal): Do not check numerical result if flag
291         IGNORE_RESULT set.
292         (check_complex): Pass through IGNORE_RESULT to second
293         check_float_internal call.
294         (check_int): Do not check numerical result if flag IGNORE_RESULT
295         set.
296         (check_long): Likewise.
297         (check_bool): Likewise.
298         (check_longlong): Likewise.
299         (lrint_test_data): Add tests of infinite and NaN arguments.
300         (lrint_tonearest_test_data): Likewise.
301         (lrint_towardzero_test_data): Likewise.
302         (lrint_downward_test_data): Likewise.
303         (lrint_upward_test_data): Likewise.
304         (llrint_test_data): Likewise.
305         (llrint_tonearest_test_data): Likewise.
306         (llrint_towardzero_test_data): Likewise.
307         (llrint_downward_test_data): Likewise.
308         (llrint_upward_test_data): Likewise.
309         (lround_test_data): Likewise.
310         (llround_test_data): Likewise.
312         * math/libm-test.inc (NO_TEST_INLINE): New macro.
313         (ERRNO_UNCHANGED): Update value.
314         (ERRNO_EDOM): Likewise.
315         (ERRNO_ERANGE): Likewise.
316         (NO_TEST_INLINE_FLOAT): New macro.
317         (NO_TEST_INLINE_DOUBLE): Likewise.
318         (enable_test): New function.
319         (RUN_TEST_f_f): Check enable_test before running test.
320         (RUN_TEST_2_f): Likewise.
321         (RUN_TEST_fff_f): Likewise.
322         (RUN_TEST_c_f): Likewise.
323         (RUN_TEST_f_f1): Likewise.
324         (RUN_TEST_fF_f1): Likewise.
325         (RUN_TEST_fI_f1): Likewise.
326         (RUN_TEST_ffI_f1): Likewise.
327         (RUN_TEST_c_c): Likewise.
328         (RUN_TEST_cc_c): Likewise.
329         (RUN_TEST_f_i): Likewise.
330         (RUN_TEST_f_i_tg): Likewise.
331         (RUN_TEST_ff_i_tg): Likewise.
332         (RUN_TEST_f_b): Likewise.
333         (RUN_TEST_f_b_tg): Likewise.
334         (RUN_TEST_f_l): Likewise.
335         (RUN_TEST_f_L): Likewise.
336         (RUN_TEST_fFF_11): Likewise.
337         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
338         conditionals.
339         (cosh_test_data): Likewise.
340         (exp_test_data): Likewise.
341         (expm1_test_data): Likewise.
342         (hypot_test_data): Likewise.
343         (pow_test_data): Likewise.
344         (sinh_test_data): Likewise.
345         (tanh_test_data): Likewise.
346         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
347         flags argument.
349         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
350         tests with quiet NaN input and output.
351         (acosh_test_data): Likewise.
352         (asin_test_data): Likewise.
353         (asinh_test_data): Likewise.
354         (atan_test_data): Likewise.
355         (atanh_test_data): Likewise.
356         (atan2_test_data): Likewise.
357         (cbrt_test_data): Likewise.
358         (cos_test_data): Likewise.
359         (cosh_test_data): Likewise.
360         (erf_test_data): Likewise.
361         (erfc_test_data): Likewise.
362         (exp_test_data): Likewise.
363         (exp10_test_data): Likewise.
364         (exp2_test_data): Likewise.
365         (expm1_test_data): Likewise.
366         (hypot_test_data): Likewise.
367         (j0_test_data): Likewise.
368         (j1_test_data): Likewise.
369         (jn_test_data): Likewise.
370         (lgamma_test_data): Likewise.
371         (log_test_data): Likewise.
372         (log10_test_data): Likewise.
373         (log1p_test_data): Likewise.
374         (log2_test_data): Likewise.
375         (pow_test_data): Likewise.
376         (scalb_test_data): Likewise.
377         (sin_test_data): Likewise.
378         (sincos_test_data): Likewise.
379         (sinh_test_data): Likewise.
380         (tan_test_data): Likewise.
381         (tanh_test_data): Likewise.
382         (tgamma_test_data): Likewise.
383         (y0_test_data): Likewise.
384         (y1_test_data): Likewise.
385         (yn_test_data): Likewise.
387         [BZ #16167]
388         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
389         argument being NaN and avoid computations with second argument in
390         that case.
391         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
392         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
393         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
395 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
397         * locale/iso-639.def: Add Chitwani Tharu (the).
399 2013-11-14  Andreas Schwab  <schwab@suse.de>
401         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
402         word instead of empty string.
404 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
407         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
409         (__fe_nomask_env): Likewise.
411 2013-11-13  Steve Ellcey  <sellcey@mips.com>
413         * benchtests/bench-timing.h: Include time.h.
415 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
417         [BZ #15997]
418         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
419         to 3.4.0 for x32.
420         * sysdeps/unix/sysv/linux/configure: Regenerated.
422 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
424         [BZ #16151]
425         * stdlib/strtod_l.c (round_and_return): Do not consider
426         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
427         exponent one less than half the least subnormal exponent.
428         * stdlib/test-strtod-round-data: Add more tests.
429         * stdlib/tst-strtod-round.c (tests): Regenerated.
431 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
433         [BZ #14143]
434         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
435         (__fe_mask_env): Likewise.
436         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
437         libm_hidden_proto and add function prototype.
438         (__fe_mask_env): Add function prototype.
439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
440         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
442         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
444         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
446 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
448         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
449         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
451 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
453         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
454         of htab_find_slot().
456 2013-11-11  David S. Miller  <davem@davemloft.net>
458         [BZ #16150]
459         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
460         symbol in the non-vis3 case in static builds.
461         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
462         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
463         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
464         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
466 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
468         [BZ #387]
469         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
470         it is empty.
472 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
474         * benchtests/Makefile: Add bench-strtod.
475         * benchtests/bench-strtod.c: New file: strtod benchtest
477 2013-11-11  Andreas Schwab  <schwab@suse.de>
479         [BZ #16153]
480         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
481         terminating NUL in key length.
483 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
485         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
486         Add artificial ODP entry for vDSO symbol for PPC64.
487         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
488         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
490 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
492         [BZ #15374]
493         * nss/getent.c (services_keys): Recognize services starting with digit.
495 2013-11-06  David S. Miller  <davem@davemloft.net>
497         [BZ #15985]
498         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
499         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
501 2013-11-06  Will Newton  <will.newton@linaro.org>
503         * manual/memory.texi (Malloc Examples): Remove register
504         keyword from examples.
506 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
508         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
510 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
512         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
513         depending on [__GCC_IEC_559 > 0].
514         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
515         depending on [__GCC_IEC_559_COMPLEX > 0].
517 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
519         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
520         to iso-639.def.
522 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
524         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
526 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
528         [BZ #16112]
529         * malloc/malloc (malloc_info): Do not handle first bin as
530         special case.
532 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
534         * locale/iso-639.def: Add Central Nahuatl (nhn).
536 2013-11-01  Bruno Haible  <bruno@clisp.org>
538         [BZ #7003]
539         * manual/math.texi (BSD Random): Specify range upper bound as
540         in POSIX.
542 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
544         * locale/iso-639.def: Add Meadow Mari (mhr).
546 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
548         [BZ #14752], [BZ #15763]
549         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
550         Validate name.
551         * rt/tst_shm.c: Add test for escaping directory.
553 2013-10-31  Andreas Schwab  <schwab@suse.de>
555         [BZ #15917]
556         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
557         followed by 'x' as part of digit sequence.
558         * stdio-common/tst-sscanf.c (double_tests2): New tests.
560 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
562         [BZ #16037]
563         * configure.ac: allow GNU Make 4.0 and greater.
564         * configure: Regenerated.
566 2013-10-30  Will Newton  <will.newton@linaro.org>
568         [BZ #16038]
569         * malloc/hooks.c (memalign_check): Limit alignment to the
570         maximum representable power of two.
571         * malloc/malloc.c (__libc_memalign): Likewise.
572         * malloc/tst-memalign.c (do_test): Add test for very
573         large alignment values.
574         * malloc/tst-posix_memalign.c (do_test): Likewise.
576 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
578         [BZ #11087]
579         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
580         (munmap_chunk): Likewise.
581         (mremap_chunk): Likewise.
583 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
585         [BZ #15799]
586         * stdlib/div.c (div): Remove obsolete code.
587         * stdlib/ldiv.c (ldiv): Likewise.
588         * stdlib/lldiv.c (lldiv): Likewise.
590 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
592         [BZ #16071]
593         * nss/nss_files/files-XXX.c (get_contents_ret): New
594         enumerator.
595         (get_contents): New function.
596         (internal_getent): Use it.  Expand size of LINEBUFLEN.
598 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
600         * configure.in: Moved to ...
601         * configure.ac: ... here. Change reference to configure.in
602         to configure.ac.
603         * sysdeps/arm/preconfigure.ac: ... here.
604         configure.in to configure.ac.
605         * sysdeps/gnu/configure.in: Moved to ...
606         * sysdeps/gnu/configure.ac: ... here.
607         * sysdeps/i386/configure.in: Moved to ...
608         * sysdeps/i386/configure.ac: ... here.
609         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
610         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
611         * sysdeps/mach/configure.in: Moved to ...
612         * sysdeps/mach/configure.ac: ... here.
613         * sysdeps/mach/hurd/configure.in: Moved to ...
614         * sysdeps/mach/hurd/configure.ac: ... here.
615         * sysdeps/powerpc/configure.in: Moved to ...
616         * sysdeps/powerpc/configure.ac: ... here.
617         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
618         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
619         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
620         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
621         * sysdeps/s390/s390-32/configure.in: Moved to ...
622         * sysdeps/s390/s390-32/configure.ac: ... here.
623         * sysdeps/s390/s390-64/configure.in: Moved to ...
624         * sysdeps/s390/s390-64/configure.ac: ... here.
625         * sysdeps/sh/configure.in: Moved to ...
626         * sysdeps/sh/configure.ac: ... here.
627         * sysdeps/sparc/configure.in: Moved to ...
628         * sysdeps/sparc/configure.ac: ... here.
629         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
630         * sysdeps/unix/sysv/linux/configure.ac: ... here.
631         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
632         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
633         * sysdeps/x86_64/configure.in: Moved to ...
634         * sysdeps/x86_64/configure.ac: ... here.
635         * sysdeps/x86_64/preconfigure.in: Moved to ...
636         * sysdeps/x86_64/preconfigure.ac: ... here.
637         * aclocal.m4: Change reference to configure.in to configure.ac.
638         * config.h.in: Likewise.
639         * manual/install.texi: Likewise.
640         * manual/maint.texi: Likewise.
641         * Makefile: Likewise.
642         * malloc/Makefile: Likewise.
643         * nscd/Makefile: Likewise.
644         * Makeconfig: Change reference to configure.in and
645         preconfigure.in to configure.ac and preconfigure.ac
646         respectively.
647         * INSTALL: Regenerated.
648         * configure: Likewise.
649         * sysdeps/gnu/configure: Likewise.
650         * sysdeps/i386/configure: Likewise.
651         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
652         * sysdeps/mach/configure: Likewise.
653         * sysdeps/mach/hurd/configure: Likewise.
654         * sysdeps/powerpc/configure: Likewise.
655         * sysdeps/powerpc/powerpc32/configure: Likewise.
656         * sysdeps/powerpc/powerpc64/configure: Likewise.
657         * sysdeps/s390/s390-32/configure: Likewise.
658         * sysdeps/s390/s390-64/configure: Likewise.
659         * sysdeps/sh/configure: Likewise.
660         * sysdeps/sparc/configure: Likewise.
661         * sysdeps/unix/sysv/linux/configure: Likewise.
662         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
663         * sysdeps/x86_64/configure: Likewise.
664         * sysdeps/x86_64/preconfigure: Likewise.
666 2013-10-29  Andreas Schwab  <schwab@suse.de>
668         * stdio-common/Makefile (tst-swscanf-ENV): Define.
670 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
672         * benchtests/pow-inputs: Add new inputs.
674         * benchtests/exp-inputs: Add new inputs.
676         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
677         conditional check for return value.
678         (__cos32): Likewise.
680 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
682         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
683         to provide a boost for large inputs with word alignment.
684         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
685         implementation based on optimized PPC64 strcpy.
686         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
687         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
688         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
689         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
691 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
693         [BZ #2801]
694         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
696 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
698         [BZ #14876]
699         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
700         * time/tst-strptime.c (day_tests): Add testcase.
702 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
704         [BZ #14029]
705         * manual/pattern.texi: Acknowledge that fnmatch can fail.
707 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
709         [BZ #16074]
710         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
711         MAP_FAILED on error.
713 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
715         [BZ #16072]
716         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
717         heap for large requests.
719 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
721         [BZ #9954]
722         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
723         result if the result has no associated interface.
724         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
725         interface for all 127.X.Y.Z addresses.
727 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
729         * locale/iso-639.def: Add Ligurian (lij)
731 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
733         [BZ #15825]
734         * sunrpc/rpc_main.c: Document rpcgen -5.
736 2013-10-19  Michael Stahl  <mstahl@redhat.com>
738         * elf/rtld.c (do_preload): Print the reason why preloading failed.
740 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
742         [BZ #10278]
743         * posix/glob.c: Match only directories when trailing slash is present.
744         * posix/tst-gnuglob.c (my_opendir): Do not open files.
745         (main): Add testcase.
747 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
749         [BZ #15670]
750         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
752 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
754         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
755         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
756         AUTH_DES and cindex for FIPS 140-2.
757         (DES Encryption): Add cindex FIPS 46-3.
759         * locale/locarchive.h (struct locarhandle): Add fname.
760         * locale/programs/localedef.c (main): Pass ARGV[remaining]
761         if an optional argument was specified to --list-archive,
762         otherwise NULL.
763         * locale/programs/locarchive.c (show_archive_content): Take new
764         argument fname and pass it via ah.fname to open_archive.
765         * locale/programs/localedef.h: Update decl.
766         (open_archive): If AH->fname is non-null, open that file
767         rather than the default file name, and don't ignore ENOENT.
768         (create_archive): Set AH.fname to NULL.
769         (delete_locales_from_archive): Likewise.
770         (add_locales_to_archive): Likewise.
771         * locale/programs/locfile.c (write_all_categories): Likewise.
773 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
774             Aldy Hernandez  <aldyh@redhat.com>
776         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
777         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
778         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
779         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
780         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
781         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
782         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
783         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
784         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
785         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
786         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
787         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
788         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
789         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
790         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
791         Likewise.
792         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
793         Likewise.
794         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
795         Likewise.
796         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
797         Likewise.
798         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
799         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
800         Likewise.
801         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
802         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
803         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
804         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
805         Likewise.
806         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
807         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
808         * sysdeps/powerpc/preconfigure: Likewise.
809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
810         Likewise.
811         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
812         Replace contents of file by #include of <fenv_libc.h>.
813         * sysdeps/powerpc/soft-fp/sfp-machine.h
814         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
815         and <sys/prctl.h>.
816         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
817         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
818         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
819         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
820         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
821         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
822         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
823         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
824         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
825         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
826         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
827         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
829         Allow copysignl PLT reference to be missing.
831 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
832             Joseph Myers  <joseph@codesourcery.com
834         [BZ #15948]
835         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
836         single character.
837         (add_to_tablewc): Assert sequence of wide characters is nonempty.
839 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
841         * elf/tst-tls-dlinfo.c: Don't include tls.h.
842         * elf/tst-tls1.c: Likewise.
843         * elf/tst-tls10.h: Likewise.
844         * elf/tst-tls14.c: Likewise.
845         * elf/tst-tls2.c: Likewise.
846         * elf/tst-tls3.c: Likewise.
847         * elf/tst-tls4.c: Likewise.
848         * elf/tst-tls5.c: Likewise.
849         * elf/tst-tls6.c: Likewise.
850         * elf/tst-tls7.c: Likewise.
851         * elf/tst-tls8.c: Likewise.
852         * elf/tst-tls9.c: Likewise.
853         * elf/tst-tlsmod1.c: Likewise.
854         * elf/tst-tlsmod13.c: Likewise.
855         * elf/tst-tlsmod13a.c: Likewise.
856         * elf/tst-tlsmod14a.c: Likewise.
857         * elf/tst-tlsmod16a.c: Likewise.
858         * elf/tst-tlsmod16b.c: Likewise.
859         * elf/tst-tlsmod2.c: Likewise.
860         * elf/tst-tlsmod3.c: Likewise.
861         * elf/tst-tlsmod4.c: Likewise.
862         * elf/tst-tlsmod5.c: Likewise.
863         * elf/tst-tlsmod6.c: Likewise.
865 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
867         [BZ #12486]
868         * malloc/malloc.c: remove checks for statistics.
870 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
872         [BZ #15277]
873         * inet/inet_net.c (inet_network): Detect additional invalid strings.
874         * inet/tst-network.c: Add testcase.
876 2013-10-17  Andreas Schwab  <schwab@suse.de>
878         [BZ #15218]
879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
880         to determine canonical name.
882 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
884         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
885         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
887         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
888         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
889         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
890         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
891         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
892         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
893         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
894         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
895         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
896         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
897         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
898         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
899         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
901         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
902         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
903         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
904         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
905         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
906         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
907         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
908         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
909         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
910         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
911         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
912         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
913         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
914         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
915         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
916         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
917         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
918         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
919         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
920         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
921         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
922         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
923         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
924         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
925         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
926         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
927         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
928         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
929         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
930         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
931         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
932         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
933         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
934         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
935         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
936         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
937         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
938         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
939         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
940         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
941         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
943 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
945         [BZ #16041]
946         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
947         make result into a quiet NaN.
949 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
951         * soft-fp/adddf3.c: Fix horizontal whitespace.
952         * soft-fp/addsf3.c: Likewise.
953         * soft-fp/addtf3.c: Likewise.
954         * soft-fp/divdf3.c: Likewise.
955         * soft-fp/divsf3.c: Likewise.
956         * soft-fp/divtf3.c: Likewise.
957         * soft-fp/double.h: Likewise.
958         * soft-fp/eqdf2.c: Likewise.
959         * soft-fp/eqsf2.c: Likewise.
960         * soft-fp/eqtf2.c: Likewise.
961         * soft-fp/extenddftf2.c: Likewise.
962         * soft-fp/extended.h: Likewise.
963         * soft-fp/extendsfdf2.c: Likewise.
964         * soft-fp/extendsftf2.c: Likewise.
965         * soft-fp/extendxftf2.c: Likewise.
966         * soft-fp/fixdfdi.c: Likewise.
967         * soft-fp/fixdfsi.c: Likewise.
968         * soft-fp/fixdfti.c: Likewise.
969         * soft-fp/fixsfdi.c: Likewise.
970         * soft-fp/fixsfsi.c: Likewise.
971         * soft-fp/fixsfti.c: Likewise.
972         * soft-fp/fixtfdi.c: Likewise.
973         * soft-fp/fixtfsi.c: Likewise.
974         * soft-fp/fixtfti.c: Likewise.
975         * soft-fp/fixunsdfdi.c: Likewise.
976         * soft-fp/fixunsdfsi.c: Likewise.
977         * soft-fp/fixunsdfti.c: Likewise.
978         * soft-fp/fixunssfdi.c: Likewise.
979         * soft-fp/fixunssfsi.c: Likewise.
980         * soft-fp/fixunssfti.c: Likewise.
981         * soft-fp/fixunstfdi.c: Likewise.
982         * soft-fp/fixunstfsi.c: Likewise.
983         * soft-fp/fixunstfti.c: Likewise.
984         * soft-fp/floatdidf.c: Likewise.
985         * soft-fp/floatdisf.c: Likewise.
986         * soft-fp/floatditf.c: Likewise.
987         * soft-fp/floatsidf.c: Likewise.
988         * soft-fp/floatsisf.c: Likewise.
989         * soft-fp/floatsitf.c: Likewise.
990         * soft-fp/floattidf.c: Likewise.
991         * soft-fp/floattisf.c: Likewise.
992         * soft-fp/floattitf.c: Likewise.
993         * soft-fp/floatundidf.c: Likewise.
994         * soft-fp/floatundisf.c: Likewise.
995         * soft-fp/floatunditf.c: Likewise.
996         * soft-fp/floatunsidf.c: Likewise.
997         * soft-fp/floatunsisf.c: Likewise.
998         * soft-fp/floatunsitf.c: Likewise.
999         * soft-fp/floatuntidf.c: Likewise.
1000         * soft-fp/floatuntisf.c: Likewise.
1001         * soft-fp/floatuntitf.c: Likewise.
1002         * soft-fp/fmadf4.c: Likewise.
1003         * soft-fp/fmasf4.c: Likewise.
1004         * soft-fp/fmatf4.c: Likewise.
1005         * soft-fp/gedf2.c: Likewise.
1006         * soft-fp/gesf2.c: Likewise.
1007         * soft-fp/getf2.c: Likewise.
1008         * soft-fp/ledf2.c: Likewise.
1009         * soft-fp/lesf2.c: Likewise.
1010         * soft-fp/letf2.c: Likewise.
1011         * soft-fp/muldf3.c: Likewise.
1012         * soft-fp/mulsf3.c: Likewise.
1013         * soft-fp/multf3.c: Likewise.
1014         * soft-fp/negdf2.c: Likewise.
1015         * soft-fp/negsf2.c: Likewise.
1016         * soft-fp/negtf2.c: Likewise.
1017         * soft-fp/op-1.h: Likewise.
1018         * soft-fp/op-2.h: Likewise.
1019         * soft-fp/op-4.h: Likewise.
1020         * soft-fp/op-8.h: Likewise.
1021         * soft-fp/op-common.h: Likewise.
1022         * soft-fp/quad.h: Likewise.
1023         * soft-fp/single.h: Likewise.
1024         * soft-fp/soft-fp.h: Likewise.
1025         * soft-fp/sqrtdf2.c: Likewise.
1026         * soft-fp/sqrtsf2.c: Likewise.
1027         * soft-fp/sqrttf2.c: Likewise.
1028         * soft-fp/subdf3.c: Likewise.
1029         * soft-fp/subsf3.c: Likewise.
1030         * soft-fp/subtf3.c: Likewise.
1031         * soft-fp/truncdfsf2.c: Likewise.
1032         * soft-fp/trunctfdf2.c: Likewise.
1033         * soft-fp/trunctfsf2.c: Likewise.
1034         * soft-fp/trunctfxf2.c: Likewise.
1035         * soft-fp/unorddf2.c: Likewise.
1036         * soft-fp/unordsf2.c: Likewise.
1037         * soft-fp/unordtf2.c: Likewise.
1039 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
1041         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1042         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1044 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
1046         * elf/dl-libc.c: Clear initfini list after freeing.
1048 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
1050         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1051         * soft-fp/addsf3.c: Likewise.
1052         * soft-fp/addtf3.c: Likewise.
1053         * soft-fp/divdf3.c: Likewise.
1054         * soft-fp/divsf3.c: Likewise.
1055         * soft-fp/divtf3.c: Likewise.
1056         * soft-fp/double.h: Likewise.
1057         * soft-fp/eqdf2.c: Likewise.
1058         * soft-fp/eqsf2.c: Likewise.
1059         * soft-fp/eqtf2.c: Likewise.
1060         * soft-fp/extenddftf2.c: Likewise.
1061         * soft-fp/extended.h: Likewise.
1062         * soft-fp/extendsfdf2.c: Likewise.
1063         * soft-fp/extendsftf2.c: Likewise.
1064         * soft-fp/extendxftf2.c: Likewise.
1065         * soft-fp/fixdfdi.c: Likewise.
1066         * soft-fp/fixdfsi.c: Likewise.
1067         * soft-fp/fixdfti.c: Likewise.
1068         * soft-fp/fixsfdi.c: Likewise.
1069         * soft-fp/fixsfsi.c: Likewise.
1070         * soft-fp/fixsfti.c: Likewise.
1071         * soft-fp/fixtfdi.c: Likewise.
1072         * soft-fp/fixtfsi.c: Likewise.
1073         * soft-fp/fixtfti.c: Likewise.
1074         * soft-fp/fixunsdfdi.c: Likewise.
1075         * soft-fp/fixunsdfsi.c: Likewise.
1076         * soft-fp/fixunsdfti.c: Likewise.
1077         * soft-fp/fixunssfdi.c: Likewise.
1078         * soft-fp/fixunssfsi.c: Likewise.
1079         * soft-fp/fixunssfti.c: Likewise.
1080         * soft-fp/fixunstfdi.c: Likewise.
1081         * soft-fp/fixunstfsi.c: Likewise.
1082         * soft-fp/fixunstfti.c: Likewise.
1083         * soft-fp/floatdidf.c: Likewise.
1084         * soft-fp/floatdisf.c: Likewise.
1085         * soft-fp/floatditf.c: Likewise.
1086         * soft-fp/floatsidf.c: Likewise.
1087         * soft-fp/floatsisf.c: Likewise.
1088         * soft-fp/floatsitf.c: Likewise.
1089         * soft-fp/floattidf.c: Likewise.
1090         * soft-fp/floattisf.c: Likewise.
1091         * soft-fp/floattitf.c: Likewise.
1092         * soft-fp/floatundidf.c: Likewise.
1093         * soft-fp/floatundisf.c: Likewise.
1094         * soft-fp/floatunsidf.c: Likewise.
1095         * soft-fp/floatunsisf.c: Likewise.
1096         * soft-fp/floatuntidf.c: Likewise.
1097         * soft-fp/floatuntisf.c: Likewise.
1098         * soft-fp/floatuntitf.c: Likewise.
1099         * soft-fp/fmadf4.c: Likewise.
1100         * soft-fp/fmasf4.c: Likewise.
1101         * soft-fp/fmatf4.c: Likewise.
1102         * soft-fp/gedf2.c: Likewise.
1103         * soft-fp/gesf2.c: Likewise.
1104         * soft-fp/getf2.c: Likewise.
1105         * soft-fp/ledf2.c: Likewise.
1106         * soft-fp/lesf2.c: Likewise.
1107         * soft-fp/letf2.c: Likewise.
1108         * soft-fp/muldf3.c: Likewise.
1109         * soft-fp/mulsf3.c: Likewise.
1110         * soft-fp/multf3.c: Likewise.
1111         * soft-fp/negdf2.c: Likewise.
1112         * soft-fp/negsf2.c: Likewise.
1113         * soft-fp/negtf2.c: Likewise.
1114         * soft-fp/op-1.h: Likewise.
1115         * soft-fp/op-2.h: Likewise.
1116         * soft-fp/op-4.h: Likewise.
1117         * soft-fp/op-8.h: Likewise.
1118         * soft-fp/op-common.h: Likewise.
1119         * soft-fp/quad.h: Likewise.
1120         * soft-fp/single.h: Likewise.
1121         * soft-fp/soft-fp.h: Likewise.
1122         * soft-fp/sqrtdf2.c: Likewise.
1123         * soft-fp/sqrtsf2.c: Likewise.
1124         * soft-fp/sqrttf2.c: Likewise.
1125         * soft-fp/subdf3.c: Likewise.
1126         * soft-fp/subsf3.c: Likewise.
1127         * soft-fp/subtf3.c: Likewise.
1128         * soft-fp/truncdfsf2.c: Likewise.
1129         * soft-fp/trunctfdf2.c: Likewise.
1130         * soft-fp/trunctfsf2.c: Likewise.
1131         * soft-fp/trunctfxf2.c: Likewise.
1132         * soft-fp/unorddf2.c: Likewise.
1133         * soft-fp/unordsf2.c: Likewise.
1134         * soft-fp/unordtf2.c: Likewise.
1136 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
1138         [BZ #15672]
1139         * misc/error.c (error_tail): Fix possible buffer overflow.
1141 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
1143         [BZ #13028]
1144         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1145         address.
1147 2013-10-14  P. J. McDermott  <pj@pehjota.net>
1149         [BZ #832]
1150         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
1151         testing pipefail option.
1153 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1155         * soft-fp/double.h: Indent preprocessor directives inside #if.
1156         * soft-fp/extended.h: Likewise.
1157         * soft-fp/op-2.h: Likewise.
1158         * soft-fp/op-4.h: Likewise.
1159         * soft-fp/op-common.h: Likewise.
1160         * soft-fp/quad.h: Likewise.
1161         * soft-fp/single.h: Likewise.
1162         * soft-fp/soft-fp.h: Likewise.
1164 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
1166         * iconv/iconv_prog.c: Fix typos.
1167         * stdio-common/psiginfo-data.h: Likewise.
1169 2013-10-12   Reuben Thomas <rrt@sc3d.org>
1171         [BZ #15764]
1172         * locale/setlocale.c: Fix typo.
1174 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
1176         [BZ #16036]
1177         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1178         signaling NaN arguments.
1179         * soft-fp/unordsf2.c (__unordsf2): Likewise.
1180         * soft-fp/unordtf2.c (__unordtf2): Likewise.
1182         [BZ #14910]
1183         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1184         unordered operands.
1185         * soft-fp/gesf2.c (__gesf2): Likewise.
1186         * soft-fp/getf2.c (__getf2): Likewise.
1187         * soft-fp/ledf2.c (__ledf2): Likewise.
1188         * soft-fp/lesf2.c (__lesf2): Likewise.
1189         * soft-fp/letf2.c (__letf2): Likewise.
1191         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1192         * soft-fp/eqsf2.c (__eqsf2): Likewise.
1193         * soft-fp/eqtf2.c (__eqtf2): Likewise.
1194         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1195         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1196         * soft-fp/fixdfti.c (__fixdfti): Likewise.
1197         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1198         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1199         * soft-fp/fixsfti.c (__fixsfti): Likewise.
1200         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1201         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1202         * soft-fp/fixtfti.c (__fixtfti): Likewise.
1203         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1204         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1205         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1206         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1207         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1208         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1209         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1210         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1211         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1212         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1213         * soft-fp/floatdisf.c (__floatdisf): Likewise.
1214         * soft-fp/floatsisf.c (__floatsisf): Likewise.
1215         * soft-fp/floattidf.c (__floattidf): Likewise.
1216         * soft-fp/floattisf.c (__floattisf): Likewise.
1217         * soft-fp/floattitf.c (__floattitf): Likewise.
1218         * soft-fp/floatundidf.c (__floatundidf): Likewise.
1219         * soft-fp/floatundisf.c (__floatundisf): Likewise.
1220         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1221         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1222         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1223         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1224         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1225         * soft-fp/gesf2.c (__gesf2): Likewise.
1226         * soft-fp/getf2.c (__getf2): Likewise.
1227         * soft-fp/ledf2.c (__ledf2): Likewise.
1228         * soft-fp/lesf2.c (__lesf2): Likewise.
1229         * soft-fp/letf2.c (__letf2): Likewise.
1231         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1232         Undefine and redefine.
1233         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1234         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1235         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1236         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1237         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1238         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1239         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1240         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1241         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1242         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1243         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1244         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1245         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1246         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1247         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1249         [BZ #16032]
1250         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1251         without decrementing exponent if mantissa >= that for the
1252         denominator, not >.
1253         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1254         denominator, not >.  Decrement exponent in < case instead of
1255         incrementing in >= case.
1256         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1257         without decrementing exponent if mantissa >= that for the
1258         denominator, not >.
1260         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1261         computing saturated result for unsigned overflow.
1263 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1264             Jeff Law  <law@redhat.com>
1266         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1267         (atan2Mp): Add systemtap probe marker.
1268         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1269         (__ieee754_log): Add systemtap probe marker.
1270         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1271         (atanMp): Add systemtap probe marker.
1272         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1273         (tanMp): Add systemtap probe marker.
1274         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1275         (__slowexp): Add systemtap probe marker.
1276         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1277         (__slowpow): Add systemtap probe marker.
1278         * manual/probes.texi: Document probes.
1280 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
1282         [BZ #15362]
1283         * libio/fileops.c (_IO_new_file_write): Return count of bytes
1284         written.
1285         (_IO_new_file_xsputn): Don't return EOF if nothing has been
1286         written.
1287         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1288         written to buffer but not flushed.
1289         * libio/iofwrite_u.c:  Likewise.
1290         * libio/iopadn.c:  Return bytes returned even if EOF was
1291         encountered.
1292         * libio/iowpadn.c:  Likewise.
1293         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1294         if _IO_padn does not write the whole buffer.
1295         [!COMPILE_WPRINTF] (PAD): Likewise.
1297 2013-10-10  David S. Miller  <davem@davemloft.net>
1299         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1300         directory block.
1302 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1304         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
1305         instead of FSF address.
1306         * soft-fp/fixdfti.c: Likewise.
1307         * soft-fp/fixsfti.c: Likewise.
1308         * soft-fp/fixtfti.c: Likewise.
1309         * soft-fp/fixunsdfti.c: Likewise.
1310         * soft-fp/fixunssfti.c: Likewise.
1311         * soft-fp/fixunstfti.c: Likewise.
1312         * soft-fp/floattidf.c: Likewise.
1313         * soft-fp/floattisf.c: Likewise.
1314         * soft-fp/floattitf.c: Likewise.
1315         * soft-fp/floatuntidf.c: Likewise.
1316         * soft-fp/floatuntisf.c: Likewise.
1317         * soft-fp/floatuntitf.c: Likewise.
1318         * soft-fp/trunctfxf2.c: Likewise.
1320         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
1321         * soft-fp/fixdfti.c: Likewise.
1322         * soft-fp/fixsfti.c: Likewise.
1323         * soft-fp/fixtfti.c: Likewise.
1324         * soft-fp/fixunsdfti.c: Likewise.
1325         * soft-fp/fixunssfti.c: Likewise.
1326         * soft-fp/fixunstfti.c: Likewise.
1327         * soft-fp/floattidf.c: Likewise.
1328         * soft-fp/floattisf.c: Likewise.
1329         * soft-fp/floattitf.c: Likewise.
1330         * soft-fp/floatuntidf.c: Likewise.
1331         * soft-fp/floatuntisf.c: Likewise.
1332         * soft-fp/floatuntitf.c: Likewise.
1333         * soft-fp/trunctfxf2.c: Likewise.
1335 2013-10-10  David S. Miller  <davem@davemloft.net>
1337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1339 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
1341         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1342         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1343         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1344         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1345         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1346         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1347         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1349         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1350         for NaNs before doing comparisons on argument.
1351         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1352         Likewise.
1354 2013-10-10  Will Newton  <will.newton@linaro.org>
1356         * malloc/hooks.c (memalign_check): Ensure the value of bytes
1357         passed to _int_memalign does not overflow.
1359 2013-10-10  Torvald Riegel  <triegel@redhat.com>
1361         * scripts/bench.pl: Add include-sources directive.
1362         * benchtests/README: Update documentation.
1364 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
1366         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1367         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1368         instead of FP_INIT_ROUNDMODE.
1369         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1370         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1372         [BZ #16034]
1373         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
1374         copy class of input value.
1375         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
1376         not handle exceptions.
1377         * soft-fp/negsf2.c (__negsf2): Likewise.
1378         * soft-fp/negtf2.c (__negtf2): Likewise.
1379         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1381 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
1383         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1384         semicolon.  From Linux kernel.
1386 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
1388         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1390 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
1392         [BZ #156]
1393         * manual/socket.texi: Added statement about buffer
1394         for gethostbyname2_r.
1396 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
1398         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1399         Use .p2align directive instead, throughout.
1400         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1401         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1402         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1403         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1404         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1405         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1406         * sysdeps/x86_64/strchr.S: Likewise.
1407         * sysdeps/x86_64/strrchr.S: Likewise.
1409 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1411         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1413         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1415         * sysdeps/generic/math_private.h (__mpsin1): Remove
1416         declaration.
1417         (__mpcos1): Likewise.
1418         (__mpsin): New argument __range_reduce.
1419         (__mpcos): Likewise.
1420         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1421         (slow): Use __mpsin and __mpcos.
1422         (slow1): Likewise.
1423         (slow2): Likewise.
1424         (sloww): Likewise.
1425         (sloww1): Likewise.
1426         (sloww2): Likewise.
1427         (bsloww): Likewise.
1428         (bsloww1): Likewise.
1429         (bsloww2): Likewise.
1430         (cslow2): Likewise.
1431         (csloww): Likewise.
1432         (csloww1): Likewise.
1433         (csloww2): Likewise.
1434         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1435         range_reduce.  Merge in __mpsin1.
1436         (__mpcos): Likewise.
1437         (__mpsin1): Remove.
1438         (__mpcos1): Likewise.
1440 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
1442         * locale/loadlocale.c (_nl_intern_locale_data): Use
1443         LOCFILE_ALIGNED_P.
1444         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1445         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1446         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1447         obstack data is appropriately aligned.
1448         (obstack_int32_grow_fast): Likewise.
1449         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1450         * locale/programs/locfile.c (add_locale_uint32): Likewise.
1451         (add_locale_uint32_array): Likewise.
1453 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1455         * benchtests/Makefile: Remove ARGLIST and RET variables.
1456         ($(objpfx)bench-%.c): Pass only function name to the script.
1457         * benchtests/README: Update documentation.
1458         * benchtests/acos-inputs: Add new directives.
1459         * benchtests/acosh-inputs: Likewise.
1460         * benchtests/asin-inputs: Likewise.
1461         * benchtests/asinh-inputs: Likewise.
1462         * benchtests/atan-inputs: Likewise.
1463         * benchtests/atanh-inputs: Likewise.
1464         * benchtests/cos-inputs: Likewise.
1465         * benchtests/cosh-inputs: Likewise.
1466         * benchtests/exp-inputs: Likewise.
1467         * benchtests/log-inputs: Likewise.
1468         * benchtests/pow-inputs: Likewise.
1469         * benchtests/rint-inputs: Likewise.
1470         * benchtests/sin-inputs: Likewise.
1471         * benchtests/sinh-inputs: Likewise.
1472         * benchtests/tan-inputs: Likewise.
1473         * benchtests/tanh-inputs: Likewise.
1474         * scripts/bench.pl: Add support for new directives.
1476 2013-10-07  Alan Modra  <amodra@gmail.com>
1478         * README: Fix careless merge.
1480 2013-10-05  Alan Modra  <amodra@gmail.com>
1482         * NEWS: Mention powerpc64le support and bugs fixed.
1483         * README: Both big-endian and little-endian powerpc64 supported.
1485 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1487         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1488         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1489         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1490         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1492 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
1494         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1495         match prototype.
1497 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
1499         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1500         Move -mhard-float appending from
1501         ports/sysdeps/powerpc/powerpc32/Makefile.
1502         [$(with-fp) = yes] (ASFLAGS): Likewise.
1503         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1504         * sysdeps/powerpc/nofpu: Move directory from
1505         ports/sysdeps/powerpc/nofpu.
1506         * sysdeps/powerpc/soft-fp: Move directory from
1507         ports/sysdeps/powerpc/soft-fp.
1508         * sysdeps/powerpc/powerpc32/405: Move directory from
1509         ports/sysdeps/powerpc/powerpc32/405.
1510         * sysdeps/powerpc/powerpc32/440: Move directory from
1511         ports/sysdeps/powerpc/powerpc32/440.
1512         * sysdeps/powerpc/powerpc32/464: Move directory from
1513         ports/sysdeps/powerpc/powerpc32/464.
1514         * sysdeps/powerpc/powerpc32/476: Move directory from
1515         ports/sysdeps/powerpc/powerpc32/476.
1516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1517         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1519         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1521         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1523         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1525         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1526         * README: Update for powerpc-*-linux-gnu software floating point
1527         support in libc.
1529         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1530         case to powerpc/powerpc32*.
1531         * sysdeps/unix/sysv/linux/configure: Regenerated.
1533         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1534         (_FPU_MASK_OM): Define as 0x04.
1535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1537         0x00c10080.
1538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1539         0x0000003c.
1540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1543         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1544         getcontext_e500.
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1546         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1547         setcontext_e500.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1549         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1550         and setcontext_e500.
1552 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1554         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1556 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1558         * manual/threads.texi (Default Thread Attributes): Fix typo.
1560 2013-10-04  Will Newton  <will.newton@linaro.org>
1562         * malloc/Makefile: Add tst-memalign.
1563         * malloc/tst-memalign.c: New file.
1565         * malloc/tst-posix_memalign.c: Add comments.
1566         (do_test): Add comments and call free on all potentially
1567         allocated pointers. Add space after cast.
1569         * malloc/tst-pvalloc.c: Add comments.
1570         (do_test): Add comments and call free on all potentially
1571         allocated pointers. Remove duplicate check for NULL pointer.
1572         Add space after cast.
1574         * malloc/tst-valloc.c: Add comments.
1575         (do_test): Add comments and call free on all potentially
1576         allocated pointers. Remove duplicate check for NULL pointer.
1577         Add space after cast.
1579 2013-10-04  Alan Modra  <amodra@gmail.com>
1581         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1582         Use stdint types in rather than __attribute__((mode())).
1583         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1585 2013-10-04  Alan Modra  <amodra@gmail.com>
1587         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1588         Correct handling of unaligned relocs for little-endian.
1589         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1591 2013-10-04  Alan Modra  <amodra@gmail.com>
1593         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1594         * configure: Regenerate.
1595         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1596         * shlib-versions: Likewise.
1598 2013-10-04  Alan Modra  <amodra@gmail.com>
1600         * string/tester.c (test_memrchr): Increment reported test cycle.
1602 2013-10-04  Alan Modra  <amodra@gmail.com>
1604         * string/test-memcpy.c (do_one_test): When reporting errors, print
1605         string address and don't overrun end of string.
1607 2013-10-04  Alan Modra  <amodra@gmail.com>
1609         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1610         insrdi.  Make better use of reg selection to speed exit slightly.
1611         Schedule entry path a little better.  Remove useless "are we done"
1612         checks on entry to main loop.  Handle wrapping around zero address.
1613         Correct main loop count.  Handle single left-over word from main
1614         loop inline rather than by using loop_small.  Remove extra word
1615         case in loop_small caused by wrong loop count.  Add little-endian
1616         support.
1617         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1618         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1619         cache hint.
1620         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1621         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1622         support.  Avoid rlwimi.
1623         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1625 2013-10-04  Alan Modra  <amodra@gmail.com>
1627         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1628         insrdi.  Formatting.
1629         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1630         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1631         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1632         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1633         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1634         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1636 2013-10-04  Alan Modra  <amodra@gmail.com>
1638         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1639         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1640         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1641         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1642         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1643         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1644         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1645         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1646         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1647         use of regs.  Use power7 mtocrf.  Tidy function tails.
1649 2013-10-04  Alan Modra  <amodra@gmail.com>
1651         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1652         Formatting.  Consistently use rXXX register defines or rN defines.
1653         Use early exit labels that avoid restoring unused non-volatile regs.
1654         Make cr field use more consistent with rWORDn compares.  Rename
1655         regs used as shift registers for unaligned loop, using rN defines
1656         for short lifetime/multiple use regs.
1657         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1658         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1659         addi 1,1,64 to pop stack frame.  Simplify return value code.
1660         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1662 2013-10-04  Alan Modra  <amodra@gmail.com>
1664         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1665         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1666         rather than rlwimi.
1667         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1668         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1669         little-endian support.  Correct typos.
1670         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1671         rather than rlwimi.
1672         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1673         in loop and entry code to keep "and." results.
1674         (strchr): Add little-endian support.  Comment.  Move cntlzd
1675         earlier in tail.
1676         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1678 2013-10-04  Alan Modra  <amodra@gmail.com>
1680         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1681         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1682         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1683         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1685 2013-10-04  Alan Modra  <amodra@gmail.com>
1687         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1688         (rTMP): Define as r11.
1689         (strcmp): Add little-endian support.  Optimise tail.
1690         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1691         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1692         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1693         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1694         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1695         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1696         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1698 2013-10-04  Alan Modra  <amodra@gmail.com>
1700         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1701         little-endian support.  Remove unnecessary "are we done" tests.
1702         Handle "s" wrapping around zero and extremely large "size".
1703         Correct main loop count.  Handle single left-over word from main
1704         loop inline rather than by using small_loop.  Correct comments.
1705         Delete "zero" tail, use "end_max" instead.
1706         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1708 2013-10-04  Alan Modra  <amodra@gmail.com>
1710         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1711         support.  Don't branch over align.
1712         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1713         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1714         support.  Rearrange tmp reg use to suit.  Comment.
1715         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1717 2013-10-04  Alan Modra  <amodra@gmail.com>
1719         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1721 2013-10-04  Alan Modra  <amodra@gmail.com>
1723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1724         conditional form of branch and link when obtaining pc.
1725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1727 2013-10-04  Alan Modra  <amodra@gmail.com>
1729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1730         HIWORD/LOWORD.
1731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1734 2013-10-04  Alan Modra  <amodra@gmail.com>
1736         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1737         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1738         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1739         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1740         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1741         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1742         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1743         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1744         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1745         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1747 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1748             Alistair Popple <alistair@ozlabs.au.ibm.com>
1749             Alan Modra <amodra@gmail.com>
1751         [BZ #15723]
1752         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1753         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1754         _dl_hwcap access for little-endian.
1755         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1756         destroy vmx regs when saving unaligned.
1757         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1758         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1759         destroy vmx regs when saving unaligned.
1761 2013-10-04  Alan Modra  <amodra@gmail.com>
1763         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1764         Don't use a union to pack hi/low value.
1766 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1768         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1769         for little-endian.
1770         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1771         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1772         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1773         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1774         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1776 2013-10-04  Alan Modra  <amodra@gmail.com>
1778         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1779         constants to usual value for .cst8 section, and remove redundant
1780         high address load.
1781         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1782         constant for 0x1p52.  Load little-endian words of double from
1783         correct stack offsets.
1785 2013-10-04  Alan Modra  <amodra@gmail.com>
1787         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1788         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1789         words of double from correct stack offsets.
1790         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1791         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1792         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1793         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1794         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1795         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1796         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1797         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1798         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1799         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1800         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1801         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1802         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1803         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1804         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1805         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1806         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1808 2013-10-04  Alan Modra  <amodra@gmail.com>
1810         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1811         64-bit int/double union.
1812         (_FPU_SETCW): Likewise.
1813         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1814         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1816 2013-10-04  Alan Modra  <amodra@gmail.com>
1818         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1819         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1821 2013-10-04  Alan Modra  <amodra@gmail.com>
1823         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1824         use vector int constants.
1825         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1827 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1829         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1830         array with long long.
1831         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1832         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1833         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1834         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1835         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1836         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1837         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1838         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1839         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1840         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1841         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1842         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1843         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1845 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1847         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1848         (__signbit): Likewise.  Correct for little-endian.
1849         (__signbitl): Call __signbit.
1850         (lrint): Correct for little-endian.
1851         (lrintf): Call lrint.
1853 2013-10-04  Alan Modra  <amodra@gmail.com>
1855         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1856         union 32-bit int array member with 64-bit int array.
1857         (t515, tm256): Double rather than long double.
1858         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1860 2013-10-04  Alan Modra  <amodra@gmail.com>
1862         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1863         Delete.
1864         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1866         version of math_ldbl.h.
1868 2013-10-04  Alan Modra  <amodra@gmail.com>
1870         [BZ #15734], [BZ #15735]
1871         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1872         all uses of ieee875 long double macros and unions.  Simplify test
1873         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1874         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1875         normalize after ldbl_extract_mantissa, and don't add hidden bit
1876         already handled.  Don't treat low word of ieee854 mantissa like
1877         low word of IBM long double and mask off bit when testing for
1878         zero.
1879         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1880         all uses of ieee875 long double macros and unions.  Simplify tests
1881         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1882         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1883         two1022, instead use their values.  Recognise that tests for large
1884         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1885         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1886         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1887         test for 0.0L and nan.  Correct negation.
1888         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1889         ieee875 long double macros and unions.  Correct output for large
1890         magnitude x.  Correct absolute value calculation.
1891         (__erfcl): Likewise.
1892         * math/libm-test.inc: Add tests for errors discovered in IBM long
1893         double versions of fmodl, remainderl, erfl and erfcl.
1895 2013-10-04  Alan Modra  <amodra@gmail.com>
1897         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1898         all uses of ieee854 long double macros and unions.  Simplify tests
1899         for long doubles that are fully specified by the high double.
1900         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1901         Likewise.
1902         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1903         Remove dead code too.
1904         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1905         (__ieee754_ynl): Likewise.
1906         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1907         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1908         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1909         Remove dead code too.
1910         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1911         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1912         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1913         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1914         Simplify.
1915         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1916         Simplify.
1917         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1918         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1919         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1920         Comment on variable precision.
1921         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1922         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1923         Likewise.
1924         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1925         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1926         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1927         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1928         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1930 2013-10-04  Alan Modra  <amodra@gmail.com>
1932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1933         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1934         all uses of ieee854 long double macros and unions.
1935         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1936         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1937         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1938         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1939         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1940         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1941         Likewise.
1942         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1943         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1944         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1945         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1946         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1947         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1948         Simplify sign and nan test too.
1949         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1950         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1951         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1952         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1953         Likewise.
1954         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1955         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1956         Likewise.
1957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1958         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1959         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1960         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1961         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1962         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1964 2013-10-04  Alan Modra  <amodra@gmail.com>
1966         * stdio-common/printf_size.c (__printf_size): Don't use
1967         union ieee854_long_double in fpnum union.
1968         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1969         signbit macro to retrieve sign from long double.
1970         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1971         retrieve sign from long double.
1972         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1973         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1974         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1975         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1976         * math/test-misc.c (main): Don't use union ieee854_long_double.
1978 2013-10-04  Alan Modra  <amodra@gmail.com>
1980         [BZ #15680]
1981         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1982         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1983         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1984         calculation.  Remove unnecessary test for denormal exponent.
1985         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1986         Correct handling of denormals.  Avoid undefined shift behaviour.
1987         Correct normalisation of low mantissa when low double is denormal.
1988         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1989         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1990         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1991         Correct normalisation of low mantissa.  Test for overflow of high
1992         mantissa and normalise.
1993         (ldbl_nearbyint): Use more readable constant for two52.
1994         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1995         (__mpn_construct_long_double): Fix test for overflow of high
1996         mantissa and correct normalisation.  Avoid undefined shift.
1998 2013-10-04  Alan Modra  <amodra@gmail.com>
2000         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2001         (union ibm_extended_long_double): Define as an array of ieee754_double.
2002         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2003         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2004         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2005         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2006         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2007         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2008         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2009         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2010         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2011         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2012         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2014 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
2016         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2017         page size instead of calling getpagesize.
2019         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2020         (LOCFILE_ALIGN_MASK): Likewise.
2021         (LOCFILE_ALIGN_UP): Likewise.
2022         (LOCFILE_ALIGNED_P): Likewise.
2023         * locale/programs/ld-collate.c (collate_output): Use the new
2024         macros instead of __alignof__ (int32_t).
2025         * locale/weight.h (findidx): Likewise.
2027 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
2029         [BZ #431]
2030         * manual/string.texi: Fix strncat and wcsncat.
2032 2013-10-03  Brooks Moses  <bmoses@google.com>
2034         [BZ #15915]
2035         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2036         * Makerules: ...here, and adjust associated comments.
2038 2013-10-02  Will Newton  <will.newton@linaro.org>
2040         * malloc/Makefile: Add tst-pvalloc.
2041         * malloc/tst-pvalloc.c: New file.
2043 2013-10-02  Will Newton  <will.newton@linaro.org>
2045         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2046         improve test coverage.
2048 2013-10-02  Will Newton  <will.newton@linaro.org>
2050         * malloc/Makefile: Add tst-posix_memalign.
2051         * malloc/tst-posix_memalign.c: New file.
2053 2013-10-01  Eric Blake  <eblake@redhat.com>
2055         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2056         Use __THROWNL rather than __THROW on static functions.
2058 2013-09-30  Petr Machata  <pmachata@redhat.com>
2060         * elf/elf.h (R_AARCH64_ABS16): New macro.
2061         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2062         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2063         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2064         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2065         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2066         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2067         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2068         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2069         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2070         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2071         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2072         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2073         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2074         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2075         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2076         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2077         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2078         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2079         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2080         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2081         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2082         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2083         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2084         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2085         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2086         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2087         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2088         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2089         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2090         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2091         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2092         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2093         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2094         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2095         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2096         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2097         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2098         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2099         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2100         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2101         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2102         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2103         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2104         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2105         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2106         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2107         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2108         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2109         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2110         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2111         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2112         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2113         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2114         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2115         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2116         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2117         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2118         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2119         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2120         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2121         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2122         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2123         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2124         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2125         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2126         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2127         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2128         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2129         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2130         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2131         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2132         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2133         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2134         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2135         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2136         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2137         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2138         (R_AARCH64_TLSDESC_LDR): Likewise.
2139         (R_AARCH64_TLSDESC_ADD): Likewise.
2140         (R_AARCH64_TLSDESC_CALL): Likewise.
2142 2013-09-30  Andreas Schwab  <schwab@suse.de>
2144         [BZ #15048]
2145         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2146         the nss database lookup.
2147         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2150 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
2152         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2154 2013-09-28  P. J. McDermott  <pj@pehjota.net>
2156         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2157         ${Bash-specific parameter/pattern/string} parameter expansion.
2158         * sysdeps/unix/make-syscalls.sh: Likewise.
2160 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2162         * sysdeps/sh/stackguard-macros.h: New file.
2164 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
2166         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2168         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2169         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2170         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2171         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2173 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2175         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2176         Fix thread ID register.
2178 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
2180         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2181         [POSIX || UNIX98]: Require rather than permitting all symbols from
2182         <time.h>.
2183         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2184         element of struct sched_param.
2185         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2186         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2187         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2188         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2189         constant.
2191 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
2193         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2194         argument calculation.
2196 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2198         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2199         Expect macro.
2200         [POSIX] (pthread_attr_t): Do not require type.
2201         [POSIX] (pthread_cond_t): Likewise.
2202         [POSIX] (pthread_condattr_t): Likewise.
2203         [POSIX] (pthread_key_t): Likewise.
2204         [POSIX] (pthread_mutex_t): Likewise.
2205         [POSIX] (pthread_mutexattr_t): Likewise.
2206         [POSIX] (pthread_once_t): Likewise.
2207         [POSIX] (pthread_t): Likewise.
2208         [POSIX-based standards] (pthread_atfork): Expect function.
2210 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
2211             Richard Sandiford  <richard@codesourcery.com>
2213         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2214         (swap_endianness_p): New extern variable.
2215         (set_big_endian): New inline function.
2216         (maybe_swap_uint32): Likewise.
2217         (maybe_swap_uint32_array): Likewise.
2218         (maybe_swap_uint32_obstack): Likewise.
2219         * locale/programs/locfile.c: Include <stdbool.h>.
2220         (swap_endianness_p): New variable.
2221         (add_locale_uint32): Call maybe_swap_uint32.
2222         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2223         (write_locale_data): Call maybe_swap_uint32_array.
2224         * locale/programs/ld-collate.c (obstack_int32_grow): Call
2225         maybe_swap_uint32.
2226         (obstack_int32_grow_fast): Likewise.
2227         (output_weightwc): Call maybe_swap_uint32_obstack.
2228         (collate_output): Likewise.
2229         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2230         (OPT_LITTLE_ENDIAN): Likewise.
2231         (options): Add --little-endian and --big-endian options.
2232         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2233         * locale/programs/locarchive.c: Include "locfile.h".
2234         (GET): New macro.
2235         (SET): Likewise.
2236         (INC): Likewise.
2237         (create_archive): Use the new macros to access fields of
2238         structures directly mapped from or written to locale archives.
2239         (oldlocrecentcmp): Likewise.
2240         (enlarge_archive): Likewise.
2241         (insert_name): Likewise.
2242         (add_alias): Likewise.
2243         (add_locale): Likewise.
2244         (delete_locales_from_archive): Likewise.
2245         (show_archive_content): Likewise.
2246         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
2247         locale data.
2249 2013-09-24  Roland McGrath  <roland@hack.frob.com>
2251         * manual/freemanuals.texi: Updated from (newly) canonical copy at
2252         http://www.gnu.org/doc/freemanuals.texi.
2253         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2255 2013-09-24  Will Newton  <will.newton@linaro.org>
2257         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2258         macro.
2260 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
2262         * locale/hashval.h (compute_hashval): Interpret bytes of key as
2263         unsigned char.
2265 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
2267         * manual/threads.texi (POSIX Threads): Fix a typo.
2269 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2271         [BZ #14547]
2272         * string/tst-strcoll-overflow.c: New test case.
2273         * string/Makefile (xtests): Add tst-strcoll-overflow.
2274         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2275         cache if string sizes may cause integer overflow.
2277         [BZ #14547]
2278         * string/strcoll_l.c (coll_seq): New members rule, idx,
2279         save_idx and back_us.
2280         (get_next_seq_nocache): New function.
2281         (do_compare_nocache): New function.
2282         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2283         when malloc fails.
2285 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
2287         [BZ #15754]
2288         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2289         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2290         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2292         [BZ #15754]
2293         * elf/Makefile (tests): Add tst-ptrguard1.
2294         (tests-static): Add tst-ptrguard1-static.
2295         (tst-ptrguard1-ARGS): Define.
2296         (tst-ptrguard1-static-ARGS): Define.
2297         * elf/tst-ptrguard1.c: New file.
2298         * elf/tst-ptrguard1-static.c: New file.
2299         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2300         * sysdeps/i386/stackguard-macros.h: Likewise.
2301         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2302         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2303         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2304         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2305         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2306         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2308 2013-09-23  Hector Marco  <hecmargi@upv.es>
2309             Ismael Ripoll  <iripoll@disca.upv.es>
2310             Carlos O'Donell  <carlos@redhat.com>
2312         [BZ #15754]
2313         * sysdeps/generic/stackguard-macros.h: Define
2314         __pointer_chk_guard_local and POINTER_CHK_GUARD.
2315         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2316         Define __pointer_chk_guard_local.
2317         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2318         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2320 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
2322         [BZ #15859]
2323         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2325 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
2327         * include/string.h (__ffs): Declare as hidden.
2328         * string/ffs.c (__ffs): Define as hidden.
2329         * sysdeps/i386/ffs.c (__ffs): Likewise.
2330         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2331         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2332         * sysdeps/s390/ffs.c (__ffs): Likewise.
2333         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2335 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
2337         * NEWS: Mention malloc probes.
2339         * malloc/arena.c (new_heap): New memory_heap_new probe.
2340         (grow_heap): New memory_heap_more probe.
2341         (shrink_heap): New memory_heap_less probe.
2342         (heap_trim): New memory_heap_free probe.
2343         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2344         (systrim): New memory_sbrk_less probe.
2345         * manual/probes.texi: Document them.
2347         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2348         * manual/probes.texi: Document it.
2350         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2351         (__libc_realloc): Add memory_realloc_retry probe.
2352         (__libc_memalign): Add memory_memalign_retry probe.
2353         (__libc_valloc): Add memory_valloc_retry probe.
2354         (__libc_pvalloc): Add memory_pvalloc_retry probe.
2355         (__libc_calloc): Add memory_calloc_retry probe.
2356         * manual/probes.texi: Document them.
2358         * malloc/arena.c (get_free_list): Add probe
2359         memory_arena_reuse_free_list.
2360         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2361         and memory_arena_reuse.
2362         (arena_get2) [!PER_THREAD]: Likewise.
2363         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2364         memory_arena_reuse_realloc.
2365         * manual/probes.texi: Document them.
2367         * malloc/malloc.c (__libc_free): Add
2368         memory_mallopt_free_dyn_thresholds probe.
2369         (__libc_mallopt): Add multiple memory_mallopt probes.
2370         * manual/probes.texi: Document them.
2372         * malloc/malloc.c: Include stap-probe.h.
2373         (__libc_mallopt): Add memory_mallopt probe.
2374         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2375         * manual/probes.texi: New.
2376         * manual/Makefile (chapters): Add probes.
2377         * manual/threads.texi: Set next node.
2379 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
2381         [BZ #15963, #13985]
2382         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2383         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2384         Add `Chinese' to `nan' entry name.
2386 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2388         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2389         (POLYNOMIAL): Likewise.
2390         (TAYLOR_SINCOS): Likewise.
2391         (TAYLOR_SLOW): Likewise.
2392         (__sin): Use TAYLOR_SINCOS.
2393         (__cos): Likewise.
2394         (slow): Use TAYLOR_SLOW.
2395         (sloww): Likewise.
2396         (bsloww): Likewise.
2397         (csloww): Likewise.
2399 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2401         * stdlib/strtod_l.c: Fix buffer overrun.
2403 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2405         * benchtests/Makefile (bench): Add sincos.
2406         * benchtests/bench-sincos.c: New file.
2408         * math/libm-test.inc (cos_test_data): New test inputs.
2409         (sin_test_data): Likewise.
2411         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2412         macro.
2413         (__sin): Use it.
2414         (__cos): Likewise.
2415         (slow1): Likewise.
2416         (slow2): Likewise.
2417         (sloww1): Likewise.
2418         (sloww2): Likewise.
2419         (bsloww1): Likewise.
2420         (bsloww2): Likewise.
2421         (cslow2): Likewise.
2422         (csloww1): Likewise.
2423         (csloww2): Likewise.
2425         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2426         function.
2427         (__sin): Use it.
2428         (__cos): Likewise.
2430         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2431         gotos.
2432         (__cos): Likewise.
2434 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
2436         * config.h.in (HAVE_MIPS_NAN2008): New macro.
2437         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2438         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2439         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2440         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2441         * elf/cache.c (print_entry): Handle the new cache flags.
2443 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2444             Aldy Hernandez  <aldyh@redhat.com>
2446         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2447         Change condition to [_SOFT_FLOAT].
2448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2453         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2460         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2463         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2464         declaration.
2466 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
2468         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2469         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2470         (__longjmp): Use LOAD_GP to load saved GPRs.
2471         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2472         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2473         (__sigsetjmp): Use SAVE_GP to save GPRs.
2475         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2476         Do not append -msoft-float.
2477         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2479 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2481         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2483 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
2485         [BZ #15966]
2486         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2487         (_FPU_GETCW): Use initial "__" on variable and field names but not
2488         on macro parameter name.
2489         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
2490         parentheses around reference to macro parameter.
2492 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
2494         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2495         prototype.
2496         (ctype_startup): Use uint32_t in cast and sizeof for
2497         ctype->charnames.
2499 2013-09-11  Jia Liu  <proljc@gmail.com>
2501         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2502         __daddr_t_defined.
2503         [__FreeBSD__]: Likewise.
2505 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
2507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2508         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2509         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2510         (strchr): Remove __strchr_sse42 ifunc selection.
2511         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2512         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2514 2013-09-11  Will Newton  <will.newton@linaro.org>
2516         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2517         parameter to RES. Remove hardcoded 1000 value.
2518         * benchtests/bench-skeleton.c (main): Pass RES parameter
2519         to TIMING_INIT and multiply result by 1000.
2521 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2525 2013-09-11  Andreas Schwab  <schwab@suse.de>
2527         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2528         if not defined.
2529         (O_TMPFILE) [__USE_GNU]: Define.
2530         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2531         Define.
2533 2013-09-11  Will Newton  <will.newton@linaro.org>
2535         [BZ #15857]
2536         * malloc/malloc.c (__libc_memalign): Check the value of bytes
2537         does not overflow.
2539 2013-09-11  Will Newton  <will.newton@linaro.org>
2541         [BZ #15856]
2542         * malloc/malloc.c (__libc_valloc): Check the value of bytes
2543         does not overflow.
2545 2013-09-11  Will Newton  <will.newton@linaro.org>
2547         [BZ #15855]
2548         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2549         does not overflow.
2551 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2553         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2554         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2555         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2556         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2557         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2559 2013-09-10  Allan McRae  <allan@archlinux.org>
2561         [BZ #15748]
2562         * manual/arith.texi (Parsing of Floats): Clarify
2563         cross-reference.
2565         [BZ #15849]
2566         * manual/install.texi (Running make install): Mention
2567         --enable-pt-chown.
2568         * INSTALL: Regenerated.
2570 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2572         * csu/init-first.c (_init): Remove the !SHARED condition around
2573         FPU control word initialization.
2574         * elf/dl-support.c (_dl_fpu_control): New variable.
2575         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2576         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2577         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2578         * math/test-fpucw-static.c: New file.
2579         * math/test-fpucw-ieee.c: New file.
2580         * math/test-fpucw-ieee-static.c: New file.
2581         * math/Makefile (tests): Add `test-fpucw-ieee' and
2582         `$(tests-static)'.
2583         (tests-static): New variable.
2584         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2585         dependency to...
2586         [($(build-shared),yes)]
2587         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2588         ... this.
2589         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2590         New dependency.
2592 2013-09-09  Allan McRae  <allan@archlinux.org>
2594         [BZ #15939]
2595         * manual/string.texi (Collation Functions): Fix typo in
2596         strcoll example.
2597         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2599         [BZ #15893]
2600         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2602         [BZ #15892]
2603         * libio/memstream.c (open_memstream): Fix memory leak.
2604         * libio/wmemstream.c (open_wmemstream): Likewise.
2606         [BZ #15895]
2607         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2609 2013-09-09  Will Newton  <will.newton@linaro.org>
2611         * malloc/Makefile: Add tst-realloc to tests.
2612         * malloc/tst-realloc.c: New file.
2614 2013-09-09  Allan McRae  <allan@archlinux.org>
2616         [BZ #15844]
2617         * COPYING: Update from GNU website to fix FSF address.
2618         * COPYING.LIB: Likewise.
2620 2013-09-06  David S. Miller  <davem@davemloft.net>
2622         * po/zh_TW.po: Update Chinese (traditional) translation from
2623         translation project.
2625 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2626             Joseph Myers  <joseph@codesourcery.com>
2628         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2629         "localeinfo.h".
2630         (obstack_chunk_alloc): New macro.
2631         (obstack_chunk_free): Likewise.
2632         (record_offset): New function.
2633         (init_locale_data): Likewise.
2634         (align_locale_data): Likewise.
2635         (add_locale_empty): Likewise.
2636         (add_locale_raw_data): Likewise.
2637         (add_locale_raw_obstack): Likewise.
2638         (add_locale_string): Likewise.
2639         (add_locale_wstring): Likewise.
2640         (add_locale_uint32): Likewise.
2641         (add_locale_uint32_array): Likewise.
2642         (add_locale_char): Likewise.
2643         (start_locale_structure): Likewise.
2644         (end_locale_structure): Likewise.
2645         (start_locale_prelude): Likewise.
2646         (end_locale_prelude): Likewise.
2647         (write_locale_data): Take locale_file structure rather than an
2648         iovec.
2649         * locale/programs/locfile.h: Include "obstack.h".
2650         (struct locale_file): Change to store locale file contents instead
2651         of header.
2652         (init_locale_data): New prototype.
2653         (align_locale_data): Likewise.
2654         (add_locale_empty): Likewise.
2655         (add_locale_raw_data): Likewise.
2656         (add_locale_raw_obstack): Likewise.
2657         (add_locale_string): Likewise.
2658         (add_locale_wstring): Likewise.
2659         (add_locale_uint32): Likewise.
2660         (add_locale_uint32_array): Likewise.
2661         (add_locale_char): Likewise.
2662         (start_locale_structure): Likewise.
2663         (end_locale_structure): Likewise.
2664         (start_locale_prelude): Likewise.
2665         (end_locale_prelude): Likewise.
2666         (write_locale_data): Update prototype.
2667         * locale/programs/3level.h (struct TABLE): Remove result field.
2668         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2669         Use new locale_file interface.
2670         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2671         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2672         * locale/programs/ld-address.c (address_output): Use new
2673         locale_file interface.
2674         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2675         NO_ADD_LOCALE.
2676         (collate_finish): Don't call collseq_table_finalize.
2677         (collate_output): Use new locale_file interface.
2678         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2679         in file.
2680         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2681         (TABLE): Move defines earlier in file.
2682         (ELEMENT): Likewise.
2683         (DEFAULT): Likewise.
2684         (wctrans_table_add): Move macro and inline function earlier in
2685         file.
2686         (struct wctype_table): Move type earlier in file.
2687         (add_locale_wctype_table): New static prototype.
2688         (struct locale_ctype_t): Use logical types instead of struct iovec
2689         pointers for members.
2690         (ctype_output): Use new locale_file interface.
2691         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2692         new locale_file interface.
2693         (allocate_arrays): Update for use of new locale_file interface.
2694         * locale/programs/ld-identification.c (identification_output): Use
2695         new locale_file interface.
2696         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2697         * locale/programs/ld-messages.c (messages_output): Likewise.
2698         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2699         * locale/programs/ld-name.c (name_output): Likewise.
2700         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2701         * locale/programs/ld-paper.c (paper_output): Likewise.
2702         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2703         * locale/programs/ld-time.c (time_output): Likewise.
2705 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2707         * benchtests/Makefile: Add memrchr benchmark.
2708         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2709         benchmark as memrchr.
2710         * benchtests/bench-memrchr-ifunc.c: New file.
2711         * benchtests/bench-memrchr.c: New file.
2713 2013-09-06   Will Newton  <will.newton@linaro.org>
2715         * benchtests/Makefile (string-bench): Add memcpy.
2717 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2718             Cong Wang  <amwang@redhat.com>
2720         * sysdeps/unix/sysv/linux/bits/in.h
2721         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2722         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2723         before __USE_KERNEL_IPV6_DEFS uses.
2724         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2725         IPPROTO_BEETPH.
2726         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2727         sockaddr_in6, or ipv6_mreq.
2729 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2731         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2732         memory access for final bytes in some large inputs.
2733         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2735 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2737         * string/test-memrchr.c: New file.
2738         * string/test-memrchr-ifunc.c: New file.
2739         * string/Makefile: Add new memrchr testcase.
2741 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2743         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2744         fanotify_init returns EPERM.
2746 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2748         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2749         errors.
2750         (top level): Treat second token from macro or constant entries for
2751         allowed headers as allowed.
2752         * include/complex.h: Condition internal declarations on
2753         [!_ISOMAC].
2754         * include/fenv.h: Condition include of <stdbool.h> and internal
2755         declarations on [!_ISOMAC].
2757 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2759         [BZ #15923]
2760         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2762 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2764         * configure.in (--enable-versioning): Remove configure option.
2765         (libc_cv_asm_symver_directive): Remove configure test.
2766         (libc_cv_ld_version_script_option): Likewise.
2767         (VERSIONING): Remove variable and AC_SUBST.
2768         (DO_VERSIONING): Remove AC_DEFINE.
2769         * configure: Regenerated.
2770         * config.h.in (DO_VERSIONING): Remove macro.
2771         * Makerules [$(versioning) = yes]: Change conditionals to
2772         [$(build-shared) = yes].
2773         * config.make.in (versioning): Remove variable.
2774         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2775         [$(build-shared) = yes].
2776         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2777         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2778         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2779         [$(build-shared) = yes].
2780         * extra-lib.mk [$(versioning) = yes]: Likewise.
2781         * hurd/Makefile [$(versioning) = yes]: Likewise.
2782         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2783         [SHARED].
2784         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2785         [SHARED].
2786         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2787         [SHARED && !NO_HIDDEN].
2788         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2789         [SHARED].
2790         [SHARED && DO_VERSIONING]: Likewise..
2791         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2792         [$(build-shared) = yes].
2793         * manual/install.texi (--disable-versioning): Remove
2794         documentation.
2795         * INSTALL: Regenerated.
2796         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2797         to [SHARED].
2798         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2799         [$(build-shared) = yes].
2800         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2801         * sysdeps/i386/i686/multiarch/strstr-c.c
2802         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2803         [SHARED && !NO_HIDDEN].
2804         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2805         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2806         * sysdeps/powerpc/powerpc32/dl-machine.c
2807         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2808         * sysdeps/powerpc/powerpc32/sysdep.h
2809         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2810         to [SHARED && PIC && !NO_HIDDEN].
2811         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2812         conditional to [SHARED].
2814 2013-09-04   Will Newton  <will.newton@linaro.org>
2816         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2817         * benchtests/bench-string.h: Include bench-timing.h instead
2818         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2819         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2820         call to HP_TIMING_DIFF_INIT.
2821         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2822         instead of hp-timing.h macros.
2823         * benchtests/bench-memchr.c: Likewise.
2824         * benchtests/bench-memcmp.c: Likewise.
2825         * benchtests/bench-memcpy.c: Likewise.
2826         * benchtests/bench-memmem.c: Likewise.
2827         * benchtests/bench-memmove.c: Likewise.
2828         * benchtests/bench-memset.c: Likewise.
2829         * benchtests/bench-rawmemchr.c: Likewise.
2830         * benchtests/bench-strcasecmp.c: Likewise.
2831         * benchtests/bench-strcasestr.c: Likewise.
2832         * benchtests/bench-strcat.c: Likewise.
2833         * benchtests/bench-strchr.c: Likewise.
2834         * benchtests/bench-strcmp.c: Likewise.
2835         * benchtests/bench-strcpy.c: Likewise.
2836         * benchtests/bench-strcpy_chk.c: Likewise.
2837         * benchtests/bench-strlen.c: Likewise.
2838         * benchtests/bench-strncasecmp.c: Likewise.
2839         * benchtests/bench-strncat.c: Likewise.
2840         * benchtests/bench-strncmp.c: Likewise.
2841         * benchtests/bench-strncpy.c: Likewise.
2842         * benchtests/bench-strnlen.c: Likewise.
2843         * benchtests/bench-strpbrk.c: Likewise.
2844         * benchtests/bench-strrchr.c: Likewise.
2845         * benchtests/bench-strspn.c: Likewise.
2846         * benchtests/bench-strstr.c: Likewise.
2848 2013-09-04  Will Newton  <will.newton@linaro.org>
2850         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2852 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2854         [BZ #15427]
2855         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2856         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2857         * math/libm-test.inc (lgamma_test_data): Add more tests.
2858         * sysdeps/i386/fpu/libm-test-ulps: Update.
2859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2861 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2863         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2865         Add ifunc.
2866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2867         Add strcmp-sse2-unaligned
2868         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2870 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2872         * Versions.def (libc): Add GLIBC_2.19.
2874 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2876         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2877         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2879 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2881         [BZ #14155]
2882         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2883         intermediate calculations in recurrence.
2884         (__ieee754_ynf): Likewise.
2885         * math/libm-test.inc (jn_test_data): Do not allow spurious
2886         underflow exception.  Add more tests.
2887         (yn_test_data): Add more tests.
2888         * sysdeps/i386/fpu/libm-test-ulps: Update.
2889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2891 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2893         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2895 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2897         * csu/init-first.c: Fix then/than typos.
2898         * locale/programs/ld-collate.c: Likewise.
2899         * locale/programs/linereader.h: Likewise.
2900         * manual/charset.texi: Likewise.
2901         * manual/filesys.texi: Likewise.
2902         * manual/stdio.texi: Likewise.
2903         * manual/string.texi: Likewise.
2904         * stdlib/fmtmsg.c: Likewise.
2905         * sysdeps/i386/stpncpy.S: Likewise.
2906         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2907         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2908         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2909         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2911 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2913         * elf/dl-open.c: Fix typos.
2914         * iconvdata/gbbig5.c: Likewise.
2915         * iconvdata/iso-2022-jp.c: Likewise.
2916         * iconv/gconv_int.h: Likewise.
2917         * iconv/loop.c: Likewise.
2918         * nis/rpcsvc/nis.h: Likewise.
2919         * resolv/ns_name.c: Likewise.
2920         * stdio-common/vfscanf.c: Likewise.
2921         * streams/stropts.h: Likewise.
2922         * sunrpc/rpc_thread.c: Likewise.
2923         * sysdeps/i386/strpbrk.S: Likewise.
2924         * sysdeps/ieee754/k_standard.c: Likewise.
2925         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2926         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2927         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2928         * sysdeps/mach/hurd/profil.c: Likewise.
2929         * sysdeps/s390/dl-procinfo.h: Likewise.
2930         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2931         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2932         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2933         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2934         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2936 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2938         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2941 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2943         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2944         aix specific files.
2945         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2946         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2947         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2948         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2949         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2950         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2951         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2952         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2954 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2955             Roland McGrath  <roland@hack.frob.com>
2957         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2958         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2960 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2962         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2963         __executable_start symbol instead of _start.
2965 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2967         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2968         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2969         Move macros to...
2970         * sysdeps/gnu/ldsodefs.h: ... this new file.
2972         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2973         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2974         instead of ELFOSABI_LINUX.
2976         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2977         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2978         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2979         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2980         Likewise.
2981         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2982         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2983         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2984         Likewise.
2985         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2986         (ibm_extended_long_double): Add ieee_nan member.
2987         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2988         (do_test): New function.
2990         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2991         TEST_TRUNC.
2992         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2993         functions, renamed from truncdfsf_test, trunctfsf_test,
2994         trunctfdf_test.
2995         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2996         functions.
2997         (do_test): Run all these.
2999 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
3001         * argp/argp-help.c: Fix typos.
3002         * argp/argp-parse.c: Likewise.
3003         * debug/backtracesyms.c: Likewise.
3004         * elf/elf.h: Likewise.
3005         * malloc/malloc.c: Likewise.
3006         * nis/nis_print.c: Likewise.
3007         * resolv/res_comp.c: Likewise.
3008         * stdlib/stdlib.h: Likewise.
3009         * sunrpc/clnt_tcp.c: Likewise.
3010         * sunrpc/clnt_udp.c: Likewise.
3011         * sunrpc/clnt_unix.c: Likewise.
3012         * sysdeps/unix/bsd/ptsname.c: Likewise.
3013         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3014         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3016         Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3018         Likewise.
3019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3020         Likewise.
3021         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3023 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3025         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3028 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
3030         [BZ #15897]
3031         * dlfcn/Makefile (tests): Add bug-dl-leaf.
3032         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3033         ($(objpfx)bug-dl-leaf): New rule.
3034         ($(objpfx)bug-dl-leaf.so): Likewise.
3035         ($(objpfx)bug-dl-leaf.out): Likewise.
3036         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3037         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3038         * dlfcn/bug-dl-leaf.c: New test.
3039         * dlfcn/bug-dl-leaf-lib.c: Likewise.
3040         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3041         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3042         (dlclose): Likewise.
3043         (dlmopen): Likewise.
3045 2013-08-27  Roland McGrath  <roland@hack.frob.com>
3047         * include/netdb.h [!_ISOMAC]:
3048         Don't include <tls.h>.
3049         (h_errno, __libc_h_errno): Move declaration and macros out of
3050         [_LIBC_REENTRANT].
3052         * include/resolv.h [_RESOLV_H_]:
3053         Don't include <tls.h>.
3054         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3055         * resolv/res_libc.c: Don't include <tls.h>.
3056         (_res): Use __attribute__ ((nocommon)) in place of
3057         __attribute__ ((section (".bss"))).
3059         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3060         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3062         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3064         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3065         only under [SIOCGIFCONF && SIOCGIFNETMASK].
3067         * resolv/res_mkquery.c: Include <sys/time.h>.
3069         * inet/ifreq.c: Moved to ...
3070         * sysdeps/unix/ifreq.c: ... here.
3071         * inet/ifreq.c: New file, true stub version.
3073         * socket/sa_len.c: New file.
3074         * socket/Makefile (aux): Add it.
3075         * sysdeps/unix/sysv/linux/Makefile
3076         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3077         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3078         and #include <socket/sa_len.c>.
3079         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3080         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3082         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3083         * bits/socket.h: ... here.
3085         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3086         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3087         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3089 2013-08-27  Andreas Schwab  <schwab@suse.de>
3091         [BZ #15736]
3092         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3093         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3094         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3095         * string/test-strcasecmp.c (test_main): Run tests in several
3096         locales.
3097         * string/test-strncasecmp.c (test_main): Likewise.
3099         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3100         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3101         to __strcasecmp_nonascii and __strncasecmp_nonascii.
3102         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3103         (__strncasecmp_ssse3) [PIC]: Likewise.
3105 2013-08-26  Roland McGrath  <roland@hack.frob.com>
3107         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3109         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3110         instead of explicitly declaring xdecrypt.
3111         * nis/nss_nis/nis-publickey.c: Likewise.
3113 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3115         [BZ #15890]
3116         * nscd/aicache.c: Include res_hconf.h.
3117         (addhstaiX): Initialize res_hconf.
3119 2013-08-26  Andreas Schwab  <schwab@suse.de>
3121         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3122         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3124 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3126         * nscd/aicache.c (addhstaiX): Fix indentation.
3128 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
3130         * configure.ac: Quote $build_pt_chown test.
3131         * configure: Regenerated.
3133 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
3135         [BZ #15532]
3136         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3137         * math/s_cexpf.c (__cexpf): Likewise.
3138         * math/s_cexpl.c (__cexpl): Likewise.
3139         * math/libm-test.inc (cexp_test_data): Correct expected return
3140         value for NaN + i0.  Add another test.
3142 2013-08-22  David S. Miller  <davem@davemloft.net>
3144         * po/ca.po: Update Catalan translation from translation project.
3145         * po/uk.po: Add Ukrainian translations from translation project.
3147 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
3149         [BZ #15797]
3150         * math/s_fdim.c (__fdim): Check for infinite arguments if result
3151         is infinite, not alongside NaN test.
3152         * math/s_fdimf.c (__fdimf): Likewise.
3153         * math/s_fdiml.c (__fdiml): Likewise.
3154         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
3155         errno is unchanged.
3157 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
3159         * argp/argp-help.c: Fix typos.
3160         * crypt/speeds.c: Likewise.
3161         * csu/check_fds.c: Likewise.
3162         * elf/dl-load.c: Likewise.
3163         * elf/dl-open.c: Likewise.
3164         * elf/reldep3.c: Likewise.
3165         * elf/reldep.c: Likewise.
3166         * elf/sprof.c: Likewise.
3167         * iconv/iconv_charmap.c: Likewise.
3168         * iconv/skeleton.c: Likewise.
3169         * iconv/strtab.c: Likewise.
3170         * io/lockf64.c: Likewise.
3171         * libio/libioP.h: Likewise.
3172         * resolv/gai_notify.c: Likewise.
3173         * resolv/ns_name.c: Likewise.
3174         * resolv/ns_samedomain.c: Likewise.
3175         * resolv/res_send.c: Likewise.
3176         * stdlib/random.c: Likewise.
3177         * sunrpc/rpc/xdr.h: Likewise.
3178         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3179         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3180         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3181         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3182         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3183         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3184         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3185         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3186         * sysdeps/mach/hurd/check_fds.c: Likewise.
3187         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3188         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3189         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3190         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3191         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3192         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3193         * sysdeps/pthread/aio_notify.c: Likewise.
3194         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3195         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3196         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3197         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3198         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3200 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3202         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3203         version if bit_Slow_SSE4_2 is set.
3204         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3205         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3207 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3209         [BZ #15867]
3210         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3211         trampoline stack frame information.
3212         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3213         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3214         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3215         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3216         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3217         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3218         (_libc_vdso_platform_setup): Initialize the signal trampolines.
3219         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3220         sa_flags value.
3221         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3222         interrupting a syscall and set with option SA_SIGINFO.
3224 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3226         [BZ #15531]
3227         * math/s_cproj.c (__cproj): Only return an infinity if one part of
3228         argument is infinite.
3229         * math/s_cprojf.c (__cprojf): Likewise.
3230         * math/s_cprojl.c (__cprojl): Likewise.
3231         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3232         * math/libm-test.inc (cproj_test_data): Add more tests.
3234         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3236         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3237         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3238         size.  Use __ffs to determine corresponding shift.
3240 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
3241             Roland McGrath  <roland@hack.frob.com>
3243         * Makefile (INSTALL): Remove trailing blank lines from output of
3244         makeinfo.
3246 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3248         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3249         Align 32 bit compat elf_greg to 8 bytes.
3251 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3253         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3255 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3257         * string/strcoll_l.c (coll_seq): New structure.
3258         (get_next_seq_cached): New function.
3259         (get_next_seq): New function.
3260         (do_compare): New function.
3261         (STRCOLL): Use GNU style definition.  Simplify implementation
3262         by using get_next_seq, get_next_seq_cached and do_compare.
3264 2013-08-16  Florian Weimer  <fweimer@redhat.com>
3266         [BZ #14699]
3267         CVE-2013-4237
3268         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3269         member.
3270         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3271         member.
3272         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3273         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3274         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
3275         conditional.
3276         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3277         GETDENTS_64BIT_ALIGNED.
3278         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3279         * manual/filesys.texi (Reading/Closing Directory): Document
3280         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
3281         strongly.
3282         * manual/conf.texi (Limits for Files): Add portability note to
3283         NAME_MAX, PATH_MAX.
3284         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3286 2013-08-13  Andreas Schwab  <schwab@suse.de>
3288         [BZ #15749]
3289         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3290         of fabs.
3291         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3292         LDBL_MAX_EXP >= 16384]: Add tests for it.
3294 2013-08-12  David S. Miller  <davem@davemloft.net>
3296         * version.h (RELEASE): Set to "development".
3297         (VERSION): Set to "2.18.90".
3298         * NEWS: Add 2.19 section.
3300 2013-08-03  David S. Miller  <davem@davemloft.net>
3302         * po/ko.po: Update Korean translation from translation project.
3304 2013-08-01  David S. Miller  <davem@davemloft.net>
3306         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
3307         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3308         Bilka.
3310 2013-07-30  David S. Miller  <davem@davemloft.net>
3312         * po/fr.po: Update French translation from translation project.
3314 2013-07-28  David S. Miller  <davem@davemloft.net>
3316         * po/cs.po: Update Czech translation from translation project.
3318         * po/sv.po: Update Swedish translation from translation project.
3320 2013-07-27  David S. Miller  <davem@davemloft.net>
3322         * po/eo.po: Update Esperanto translation from translation project.
3324         * po/vi.po: Update Vietnamese translation from translation project.
3326         * po/de.po: Update German translation from translation project.
3328 2013-07-26  David S. Miller  <davem@davemloft.net>
3330         * po/bg.po: Update Bulgarian translation from translation project.
3332         * po/nl.po: Update Dutch translation from translation project.
3333         * po/pl.po: Update Polish translation from translation project.
3334         * po/ru.po: Update Russian translation from translation project.
3336 2013-07-24  David S. Miller  <davem@davemloft.net>
3338         * po/libc.pot: Update.
3340 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3342         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3343         variable page size.
3344         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3345         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3346         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3348 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3350         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3352 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3353             Andreas Schwab  <schwab@suse.de>
3354             Roland McGrath  <roland@hack.frob.com>
3355             Joseph Myers  <joseph@codesourcery.com>
3356             Carlos O'Donell  <carlos@redhat.com>
3358         [BZ #15755]
3359         * config.h.in: Define HAVE_PT_CHOWN.
3360         * config.make.in (build-pt-chown): New variable.
3361         * configure.in (--enable-pt_chown): New configure option.
3362         * configure: Regenerate.
3363         * login/Makefile: Include Makeconfig.  Build pt_chown only if
3364         build-pt-chown is enabled.
3365         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3366         pt_chown to fix pty ownership.
3367         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3368         CLOSE_ALL_FDS.
3369         * manual/install.texi (Configuring and compiling): Mention
3370         --enable-pt_chown. Add @findex for grantpt.
3371         * INSTALL: Regenerate.
3373 2013-07-20  David S. Miller  <davem@davemloft.net>
3375         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3376         difference between 32-bit and 64-bit.
3378 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
3380         [BZ #15711]
3381         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3382         Avoid system header dependency with -ffreestanding.
3383         ($(objpfx)bits/syscall%d): Likewise.
3385 2013-07-13  David S. Miller  <davem@davemloft.net>
3387         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3388         underflows from atanl/atan2l due to bug 15319.
3389         (casinh_test_data): Likewise.
3391 2013-07-07  David S. Miller  <davem@davemloft.net>
3393         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3395 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3397         * sysdeps/i386/fpu/libm-test-ulps: Update.
3398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3400 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3402         * configure.in (--enable-lock-elision): Fix message text.
3403         * INSTALL: Regenerate.
3404         * configure: Regenerate.
3406 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3410 2013-07-03  Andreas Jaeger  <aj@suse.de>
3412         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3413         define.
3414         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3415         (ptrace_peeksiginfo_args): Add.
3416         (__ptrace_peeksiginfo_flags): Add.
3417         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3418         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3421 2013-07-03  Allan McRae  <allan@archlinux.org>
3423         * sysdeps/i386/fpu/libm-test-ulps: Update.
3425 2013-07-02  David S. Miller  <davem@davemloft.net>
3427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3429 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
3431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3433 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3435         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3438 2013-07-02  Andi Kleen <ak@linux.intel.com>
3440         * config.h.in (ENABLE_LOCK_ELISION): Add.
3441         * configure.in (--enable-lock-elision): Add option.
3442         * manual/install.texi: Document --enable lock elision.
3443         * configure: Regenerate
3444         * INSTALL: Regenerate.
3446 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3448         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3449         SSE4.2 strcasecmp for libc.a.
3450         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3452 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
3454         [BZ #13304]
3455         * soft-fp/op-common.h (_FP_FMA): New macro.
3456         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3457         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
3458         (_FP_MUL_MEAT_1_imm): ... here.
3459         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
3460         (_FP_MUL_MEAT_1_wide): ... here.
3461         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
3462         (_FP_MUL_MEAT_1_hard): ... here.
3463         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3464         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
3465         (_FP_MUL_MEAT_2_wide): ... here.
3466         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
3467         (_FP_MUL_MEAT_2_wide_3mul): ... here.
3468         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
3469         (_FP_MUL_MEAT_2_gmp): ... here.
3470         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3471         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
3472         (_FP_MUL_MEAT_4_wide): ... here.
3473         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
3474         (_FP_MUL_MEAT_4_gmp): ... here.
3475         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3476         (_FP_WFRACBITS_DW_S): Likewise.
3477         (_FP_WFRACXBITS_DW_S): Likewise.
3478         (_FP_HIGHBIT_DW_S): Likewise.
3479         (FP_FMA_S): Likewise.
3480         (_FP_FRAC_HIGH_DW_S): Likewise.
3481         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3482         (_FP_WFRACBITS_DW_D): Likewise.
3483         (_FP_WFRACXBITS_DW_D): Likewise.
3484         (_FP_HIGHBIT_DW_D): Likewise.
3485         (FP_FMA_D): Likewise.
3486         (_FP_FRAC_HIGH_DW_D): Likewise.
3487         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3488         (_FP_WFRACBITS_DW_E): Likewise.
3489         (_FP_WFRACXBITS_DW_E): Likewise.
3490         (_FP_HIGHBIT_DW_E): Likewise.
3491         (FP_FMA_E): Likewise.
3492         (_FP_FRAC_HIGH_DW_E): Likewise.
3493         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3494         (_FP_WFRACBITS_DW_Q): Likewise.
3495         (_FP_WFRACXBITS_DW_Q): Likewise.
3496         (_FP_HIGHBIT_DW_Q): Likewise.
3497         (FP_FMA_Q): Likewise.
3498         (_FP_FRAC_HIGH_DW_Q): Likewise.
3499         * soft-fp/fmasf4.c: New file.
3500         * soft-fp/fmadf4.c: Likewise.
3501         * soft-fp/fmatf4.c: Likewise.
3503 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3506         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3507         Silvermont.
3508         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3509         macro.
3510         (index_Slow_SSE4_2): Likewise.
3511         (index_Prefer_PMINUB_for_stringop): Likewise.
3512         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3513         bit_Slow_SSE4_2 is set.
3514         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3515         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3517 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3519         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3520         rtld_global._dl_hwcap2.
3521         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3522         POWER8.
3523         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3524         POWER8 feature descriptions defined in _dl_hwcap2.
3525         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3526         string handling for POWER8 feature bits.
3527         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3528         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3529         _dl_powerpc_cap_flags.
3530         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3531         * sysdeps/powerpc/rtld-global-offsets.sym
3532         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3533         _dl_hwcap2 in the rtld_global_ro structure.
3535 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3537         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3538         hardware capabilities in support of AT_HWCAP2.
3539         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3540         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3541         GLRO(dl_hwcap2).
3542         (_dl_show_auxv): Add support for calling _dl_procinfo to display
3543         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
3544         explicitly the unknown a_type display mechanism is used.
3545         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3546         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3547         struct member.
3548         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3549         to macro prototype for AT_HWCAP2 support.
3550         * sysdeps/i386/dl-procinfo.h: Likewise.
3551         * sysdeps/s390/dl-procinfo.h: Likewise.
3552         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3553         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3554         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3555         return -1 for unknown a_type display fallback.
3556         * sysdeps/sparc/dl-procinfo.h: Likewise.
3557         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3558         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3560 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3562         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3563         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3565 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3567         [BZ #12492]
3568         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3569         mprotect making __stack_prot writable.
3571 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3572             Joseph Myers  <joseph@codesourcery.com>
3574         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3575         as being properly aligned.
3577 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3579         * dlfcn/modstatic5.c: New file.
3580         * dlfcn/tststatic5.c: New file.
3581         * dlfcn/Makefile (tests): Add tststatic5.
3582         (tests-static): Likewise.
3583         (modules-names): Add modstatic5.
3584         (tststatic5-ENV): New variable.
3585         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3587         [BZ #15022]
3588         * elf/dl-support.c (_dl_main_map): New variable.
3589         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3590         (_dl_nns, _dl_load_adds): Set to 1.
3591         (_dl_initial_searchlist): Refer to _dl_main_map.
3592         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3593         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3594         call to _dl_get_origin.
3595         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3596         around call_map.
3597         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3598         * dlfcn/modstatic3.c: New file.
3599         * dlfcn/tststatic3.c: New file.
3600         * dlfcn/tststatic4.c: New file.
3601         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3602         (tests-static): Likewise.
3603         (modules-names): Add modstatic3.
3604         (tststatic3-ENV, tststatic4-ENV): New variables.
3605         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3606         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3608 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3610         * configure.in (CC): Require GCC version 4.4 or later.
3611         * configure: Regenerated.
3612         * manual/install.texi (Tools for Compilation): Update GCC version
3613         requirement.
3614         * INSTALL: Regenerated.
3616 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3618         [BZ #15674]
3619         * string/test-memcmp.c (check2): New.
3620         (main): Call check2.
3622         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3624 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3626         [BZ #15022]
3627         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3628         over to...
3629         (dl_open_worker) [!SHARED]: ... here.
3631 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3633         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3635 2013-06-25  Richard Henderson  <rth@redhat.com>
3637         * locale/programs/locarchive.c: Include <libc-internal.h>
3639 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3641         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3642         trailing whitespace removed.
3644 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3646         [BZ #10283]
3647         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3648         * locale/programs/locarchive.c: Include libc-mmap.h.
3649         (prepare_address_space): Take two new outputs (the mmap base and len).
3650         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3651         values.
3652         (create_archive): Declare new mmap base and len values for
3653         prepare_address_space, and store the result in ah.
3654         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3655         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3656         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3657         Declare new mmap base and len values for
3658         prepare_address_space, and store the result in new_ah.
3659         (open_archive): Declare new mmap base and len values for
3660         prepare_address_space, and store the result in ah.
3661         (close_archive): If ah->mmap_base is not NULL, use that and
3662         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3663         * sysdeps/generic/libc-mmap.h: New file.
3665 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3667         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3668         (ALIGN_UP): Likewise.
3669         (PTR_ALIGN_DOWN): Likewise.
3670         (PTR_ALIGN_UP): Likewise.
3672 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3674         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3675         entry mapped to PPC_PLATFORM_POWER8.
3676         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3677         POWER8.
3678         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3679         (_dl_string_platform): Add case for exporting platform position for
3680         POWER8.
3681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3682         search path to sysdeps/powerpc/powerpc32/power8 directory.
3683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3684         search path to sysdeps/powerpc/powerpc64/power8 directory.
3685         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3686         power7 directories.
3687         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3688         power7 directories.
3690 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3692         * INSTALL: Regenerate.
3694         * nscd/connections.c (nscd_init): Fix comment.
3696 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3698         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3700         [BZ #15667]
3701         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3702         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3704 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3706         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3707         DL_DST_REQ_STATIC.
3708         (DL_DST_REQ_STATIC): Remove macro.
3710 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3712         [BZ #7006]
3713         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3714         with a shift of 0 bits.
3716 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3718         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3719         $(tststatic-ENV).
3721 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3723         [BZ #15655]
3724         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3726 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3728         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3729         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3730         accepts -fno-tree-loop-distribute-patterns.
3731         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3732         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3733         recursive call.
3734         * string/memset.c (memset): Likewise.
3735         * string/test-memmove.c (simple_memmove): Disable loop transformation
3736         to library calls.
3737         * string/test-memset.c (simple_memset): Likewise.
3738         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3739         * benchtests/bench-memset.c (simple_memset): Likewise.
3740         * configure: Regenerated.
3742 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3744         * math/test-misc.c (main): Ignore fesetround failure when failures
3745         of subsequent rounding tests would be ignored.
3747         [BZ #15654]
3748         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3749         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3750         * math/fegetenv.c (__fegetenv): Return 0.
3751         * math/fegetexcept.c (fegetexcept): Return 0.
3752         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3753         FE_TONEAREST.
3754         * math/feholdexcpt.c (feholdexcept): Return 0.
3755         * math/fesetenv.c (__fesetenv): Return 0.
3756         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3757         argument FE_TONEAREST.
3758         * math/feupdateenv.c (__feupdateenv): Return 0.
3759         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3761 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3763         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3764         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3765         ($(objpfx)rtld-%.os rules): Use them.
3767 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3769         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3770         fields.
3772 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3774         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3775         length of target pattern, then descending length of dependency pattern.
3776         * configure.in (AWK): Require gawk 3.1.2 or newer.
3777         * manual/install.texi (Tools for Compilation): Say that we do.
3778         * configure: Regenerated.
3780         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3781         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3782         * scripts/sysd-rules.awk: ... this new script.
3783         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3784         than a glob-style pattern.
3786 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3788         * math/test-misc.c (main): Do not treat incorrectly rounded
3789         conversions as failure unless ROUNDING_TESTS passes.
3791 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3793         [BZ #15631]
3794         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3795         restore exception state around main square root computation, then
3796         check for inexactness explicitly.
3798         * math/libm-test.inc (fma_test_data): Add another test.
3800 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3802         * manual/threads.texi (Non-POSIX Extensions): New document
3803         node.  Document pthread_getattr_default_np and
3804         pthread_setattr_default_np.
3806         * Versions.def (libpthread): Add GLIBC_2.18.
3807         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3809         Likewise.
3810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3811         Likewise.
3812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3813         Likewise.
3814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3815         Likewise.
3816         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3817         Likewise.
3818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3819         Likewise.
3820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3821         Likewise.
3822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3823         Likewise.
3824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3825         Likewise.
3827 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3830         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3832 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3833             H.J. Lu  <hjl.tools@gmail.com>
3835         [BZ #15627]
3836         * sysdeps/x86_64/rtld-memset.c: Remove file.
3837         * sysdeps/x86_64/rtld-memset.S: New file.
3839 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3841         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3842         (test_in_one_mode): Take arguments for whether the rounding mode
3843         is supported for each floating-point type.
3844         (do_test): Pass new arguments to test_in_one_mode using
3845         ROUNDING_TESTS.
3847 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3849         * posix/tst-waitid.c (do_test): Distinguish different instances of
3850         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3851         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3852         before entering the kernel for waitpid.
3854 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3856         * NEWS: Fix note on clock function precision.  Text by Roland
3857         McGrath.
3859 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3861         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3862         it into place only when and if the sanity check passes.
3864 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3866         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3867         output for whether conversion result is exact.  Take argument
3868         indicating whether type is IBM long double.
3869         (round_for_all): Change need_exact field to ibm_ld.
3870         * stdlib/tst-strtod-round.c (struct exactness): New type.
3871         (struct test): Change bool ld_ok field to struct exactness exact.
3872         (TEST): Update all definitions for change to field.
3873         (tests): Regenerate array contents.
3874         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3875         field value.  Check for IBM long double here.
3876         (do_test): Update calls to test_in_one_mode.
3878 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3880         [BZ #12515]
3881         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3882         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3884 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3886         [BZ #15605]
3887         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3888         generated by the compiler on loop optimizations.
3889         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3890         general definitions.
3892 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3894         * math/bug-nextafter.c: Include <math-tests.h>.
3895         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3896         the relevant type.
3897         * math/bug-nexttoward.c: Include <math-tests.h>.
3898         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3899         the relevant type.
3900         * math/test-misc.c: Include <math-tests.h>.
3901         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3902         the relevant type.
3904 2013-06-12  Andreas Jaeger  <aj@suse.de>
3906         * po/ia.po: Update Interlingua translation from translation
3907         project.
3909 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3911         * include/fenv.h: Include stdbool.h.
3912         (struct rm_ctx): New structure.
3913         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3914         Define macro.
3915         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3916         (SET_RESTORE_ROUNDF): Likewise.
3917         (SET_RESTORE_ROUNDL): Likewise.
3918         (SET_RESTORE_ROUND_NOEX): Likewise.
3919         (SET_RESTORE_ROUND_NOEXF): Likewise.
3920         (SET_RESTORE_ROUND_NOEXL): Likewise.
3921         (SET_RESTORE_ROUND_53BIT): Likewise.
3922         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3923         (libc_feresetround_noexf_ctx): Likewise.
3924         (libc_feresetround_noexl_ctx): Likewise.
3925         (libc_feholdsetround_53bit_ctx): Likewise.
3926         (libc_feresetround_53bit_ctx): Likewise.
3927         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3928         (libc_feholdexcept_setround_sse_ctx): New function.
3929         (libc_fesetenv_sse_ctx): Likewise.
3930         (libc_feupdateenv_sse_ctx): Likewise.
3931         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3932         (libc_feholdexcept_setround_387_ctx): Likewise.
3933         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3934         (libc_feholdsetround_387_prec_ctx): Likewise.
3935         (libc_feholdsetround_387_ctx): Likewise.
3936         (libc_feholdsetround_387_53bit_ctx): Likewise.
3937         (libc_feholdsetround_sse_ctx): Likewise.
3938         (libc_feresetround_sse_ctx): Likewise.
3939         (libc_feresetround_387_ctx): Likewise.
3940         (libc_feupdateenv_387_ctx): Likewise.
3941         (libc_feholdexcept_setroundf_ctx): Define macro.
3942         (libc_fesetenvf_ctx): Likewise.
3943         (libc_feupdateenvf_ctx): Likewise.
3944         (libc_feholdsetroundf_ctx): Likewise.
3945         (libc_feresetroundf_ctx): Likewise.
3946         (libc_feholdexcept_setround_ctx): Likewise.
3947         (libc_fesetenv_ctx): Likewise.
3948         (libc_feupdateenv_ctx): Likewise.
3949         (libc_feholdsetround_ctx): Likewise.
3950         (libc_feresetround_ctx): Likewise.
3951         (libc_feholdexcept_setroundl_ctx): Likewise.
3952         (libc_feupdateenvl_ctx): Likewise.
3953         (libc_feholdsetroundl_ctx): Likewise.
3954         (libc_feresetroundl_ctx): Likewise.
3955         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3956         (libc_feresetround_53bit_ctx): Likewise.
3958 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3960         * locale/iso-639.def: Convert to UTF-8.
3962 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3964         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3965         (EXCEPTION_TESTS_double): Likewise.
3966         (EXCEPTION_TESTS_long_double): Likewise.
3967         (EXCEPTION_TESTS): Likewise.
3968         * math/libm-test.inc (test_exceptions): Only test exceptions if
3969         EXCEPTION_TESTS (FLOAT).
3971 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3973         * benchtests/Makefile (string-bench): Add strcpy_chk and
3974         stpcpy_chk.
3975         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3976         * benchtests/bench-stpcpy_chk.c: New file.
3977         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3978         * benchtests/bench-strcpy_chk.c: New file.
3979         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3980         code.
3981         (do_test): Likewise.
3983 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3985         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3986         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3987         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3988         with tabs where appropriate.
3989         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3990         dl-procinfo.h.
3991         [PPC_PLATFORM_PPC440]: Likewise.
3992         [PPC_PLATFORM_PPC464]: Likewise.
3993         [PPC_PLATFORM_PPC476]: Likewise.
3994         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3995         ppc464, and ppc476 platform strings merging from ports/
3996         dl-procinfo.h.
3998 2013-06-11  Andreas Schwab  <schwab@suse.de>
4000         [BZ #14991]
4001         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4002         (from_ucs4_idx): Regenerate.
4003         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4004         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4005         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4006         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4007         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4008         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4009         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4010         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4011         from FROM_LOOP and TO_LOOP specific macros.
4012         (BODY): Handle combining characters.
4013         * iconvdata/BIG5HKSCS.irreversible: Update.
4014         * iconvdata/BIG5HKSCS.precomposed: New file.
4015         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4016         characters.
4017         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4019 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4021         * include/sys/time.h: Fix indentation and add copyright header.
4023         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4024         (do_test): Likewise.
4025         * string/test-memchr.c (do_one_test): Likewise.
4026         (do_test): Likewise.
4027         * string/test-memcmp.c (do_one_test): Likewise.
4028         (do_test): Likewise.
4029         * string/test-memcpy.c (do_one_test): Likewise.
4030         (do_test): Likewise.
4031         * string/test-memmem.c (do_one_test): Likewise.
4032         (do_test): Likewise.
4033         (do_random_tests): Likewise.
4034         * string/test-memmove.c (do_one_test): Likewise.
4035         (do_test): Likewise.
4036         * string/test-memset.c (do_one_test): Likewise.
4037         (do_test): Likewise.
4038         * string/test-rawmemchr.c (do_one_test): Likewise.
4039         (do_test): Likewise.
4040         * string/test-strcasecmp.c (do_one_test): Likewise.
4041         (do_test): Likewise.
4042         * string/test-strcasestr.c (do_one_test): Likewise.
4043         (do_test): Likewise.
4044         * string/test-strcat.c (do_one_test): Likewise.
4045         (do_test): Likewise.
4046         * string/test-strchr.c (do_one_test): Likewise.
4047         (do_test): Likewise.
4048         * string/test-strcmp.c (do_one_test): Likewise.
4049         (do_test): Likewise.
4050         * string/test-strcpy.c (do_one_test): Likewise.
4051         (do_test): Likewise.
4052         * string/test-string.h: Likewise.
4053         (test_init): Likewise.
4054         * string/test-strlen.c (do_one_test): Likewise.
4055         (do_test): Likewise.
4056         * string/test-strncasecmp.c (do_one_test): Likewise.
4057         (do_test): Likewise.
4058         * string/test-strncat.c (do_one_test): Likewise.
4059         (do_test): Likewise.
4060         * string/test-strncmp.c (do_one_test): Likewise.
4061         (do_test_limit): Likewise.
4062         (do_test): Likewise.
4063         * string/test-strncpy.c (do_one_test): Likewise.
4064         (do_test): Likewise.
4065         * string/test-strnlen.c (do_one_test): Likewise.
4066         (do_test): Likewise.
4067         * string/test-strpbrk.c (do_one_test): Likewise.
4068         (do_test): Likewise.
4069         * string/test-strrchr.c (do_one_test): Likewise.
4070         (do_test): Likewise.
4071         * string/test-strspn.c (do_one_test): Likewise.
4072         (do_test): Likewise.
4073         * string/test-strstr.c (do_one_test): Likewise.
4074         (do_test): Likewise.
4076         * benchtests/Makefile (string-bench): Add string benchmarks.
4077         * benchtests/bench-bcopy-ifunc.c: New file.
4078         * benchtests/bench-bcopy.c: New file.
4079         * benchtests/bench-bzero-ifunc.c: New file.
4080         * benchtests/bench-bzero.c: New file.
4081         * benchtests/bench-memccpy-ifunc.c: New file.
4082         * benchtests/bench-memccpy.c: New file.
4083         * benchtests/bench-memchr-ifunc.c: New file.
4084         * benchtests/bench-memchr.c: New file.
4085         * benchtests/bench-memcmp-ifunc.c: New file.
4086         * benchtests/bench-memcmp.c: New file.
4087         * benchtests/bench-memmem-ifunc.c: New file.
4088         * benchtests/bench-memmem.c: New file.
4089         * benchtests/bench-memmove-ifunc.c: New file.
4090         * benchtests/bench-memmove.c: New file.
4091         * benchtests/bench-mempcpy-ifunc.c: New file.
4092         * benchtests/bench-mempcpy.c: New file.
4093         * benchtests/bench-memset-ifunc.c: New file.
4094         * benchtests/bench-memset.c: New file.
4095         * benchtests/bench-rawmemchr-ifunc.c: New file.
4096         * benchtests/bench-rawmemchr.c: New file.
4097         * benchtests/bench-stpcpy-ifunc.c: New file.
4098         * benchtests/bench-stpcpy.c: New file.
4099         * benchtests/bench-stpncpy-ifunc.c: New file.
4100         * benchtests/bench-stpncpy.c: New file.
4101         * benchtests/bench-strcasecmp-ifunc.c: New file.
4102         * benchtests/bench-strcasecmp.c: New file.
4103         * benchtests/bench-strcasestr-ifunc.c: New file.
4104         * benchtests/bench-strcasestr.c: New file.
4105         * benchtests/bench-strcat-ifunc.c: New file.
4106         * benchtests/bench-strcat.c: New file.
4107         * benchtests/bench-strchr-ifunc.c: New file.
4108         * benchtests/bench-strchr.c: New file.
4109         * benchtests/bench-strchrnul-ifunc.c: New file.
4110         * benchtests/bench-strchrnul.c: New file.
4111         * benchtests/bench-strcmp-ifunc.c: New file.
4112         * benchtests/bench-strcmp.c: New file.
4113         * benchtests/bench-strcpy-ifunc.c: New file.
4114         * benchtests/bench-strcpy.c: New file.
4115         * benchtests/bench-strcspn-ifunc.c: New file.
4116         * benchtests/bench-strcspn.c: New file.
4117         * benchtests/bench-strlen-ifunc.c: New file.
4118         * benchtests/bench-strlen.c: New file.
4119         * benchtests/bench-strncasecmp-ifunc.c: New file.
4120         * benchtests/bench-strncasecmp.c: New file.
4121         * benchtests/bench-strncat-ifunc.c: New file.
4122         * benchtests/bench-strncat.c: New file.
4123         * benchtests/bench-strncmp-ifunc.c: New file.
4124         * benchtests/bench-strncmp.c: New file.
4125         * benchtests/bench-strncpy-ifunc.c: New file.
4126         * benchtests/bench-strncpy.c: New file.
4127         * benchtests/bench-strnlen-ifunc.c: New file.
4128         * benchtests/bench-strnlen.c: New file.
4129         * benchtests/bench-strpbrk-ifunc.c: New file.
4130         * benchtests/bench-strpbrk.c: New file.
4131         * benchtests/bench-strrchr-ifunc.c: New file.
4132         * benchtests/bench-strrchr.c: New file.
4133         * benchtests/bench-strspn-ifunc.c: New file.
4134         * benchtests/bench-strspn.c: New file.
4135         * benchtests/bench-strstr-ifunc.c: New file.
4136         * benchtests/bench-strstr.c: New file.
4138         * benchtests/Makefile: Disable parallel execution of targets.
4139         (string-bench): Add memcpy.
4140         (benchset): New variable to store a list of benchmark sets.
4141         (bench-func): Renamed from bench.
4142         (bench-set): New target.
4143         (bench): Depend on bench-func and bench-set.
4144         * benchtests/README: Add section on benchmark sets.
4145         * benchtests/bench-memcpy-ifunc.c: New file.
4146         * benchtests/bench-memcpy.c: New file.
4147         * benchtests/bench-string.h: New file.
4149 2013-06-11  Andreas Schwab  <schwab@suse.de>
4151         [BZ #15577]
4152         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4153         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4154         values in the triple.
4155         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4156         terminator in the group key.
4158 2013-06-11  Andreas Jaeger  <aj@suse.de>
4160         * po/zh_TW.po: Update Chinese (traditional) translation from
4161         translation project.
4163 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4165         * include/time.h (__clock_gettime): Add libc_hidden_proto.
4166         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4167         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
4168         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4169         (clock_getcpuclockid): Likewise.
4170         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4171         Add weak_alias and libc_hidden_def.
4172         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4173         * rt/clock_gettime.c (clock_gettime): Rename to
4174         __clock_gettime.  Add weak_alias and libc_hidden_def.
4175         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4176         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4177         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
4178         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4179         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4180         Likewise.
4181         * rt/clock_settime.c (clock_settime): Rename to
4182         __clock_settime.  Add weak_alias and libc_hidden_def.
4183         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4185 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
4187         * mach/err_boot.sub: Remove trailing whitespace.
4188         * mach/err_ipc.sub: Likewise.
4189         * mach/err_mach.sub: Likewise.
4191         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4192         (ROUNDING_TESTS_double): Likewise.
4193         (ROUNDING_TESTS_long_double): Likewise.
4194         (ROUNDING_TESTS): Likewise.
4195         * math/libm-test.inc: Include <math-tests.h>.
4196         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4197         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4198         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4199         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4201 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4203         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4204         of assigning.
4206 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
4208         * sysdeps/gnu/errlist.awk: Do not generate space at end of
4209         otherwise empty TRANS lines.
4210         * sysdeps/gnu/errlist.c: Regenerated.
4212         * catgets/gencat.c (error_print): Use (void) in function
4213         definition.
4214         * crypt/crypt_util.c (__init_des): Likewise.
4215         * crypt/speeds.c (Stop): Likewise.
4216         (main): Likewise.
4217         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4218         * inet/ruserpass.c (token): Likewise.
4219         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4220         * intl/localealias.c (extend_alias_table): Likewise.
4221         * intl/plural-exp.c (init_germanic_plural): Likewise.
4222         * libio/fcloseall.c (__fcloseall): Likewise.
4223         * libio/genops.c (_IO_flush_all): Likewise.
4224         (_IO_flush_all_linebuffered): Likewise.
4225         (_IO_cleanup): Likewise.
4226         (_IO_iter_begin): Likewise.
4227         (_IO_iter_end): Likewise.
4228         (_IO_list_lock): Likewise.
4229         (_IO_list_unlock): Likewise.
4230         (_IO_list_resetlock): Likewise.
4231         * libio/getchar.c (getchar): Likewise.
4232         * libio/getchar_u.c (getchar_unlocked): Likewise.
4233         * libio/getwchar.c (getwchar): Likewise.
4234         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4235         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4236         * login/getpt.c (__getpt): Likewise.
4237         * login/tst-utmp.c (main): Likewise.
4238         * malloc/hooks.c (__malloc_check_init): Likewise.
4239         * malloc/malloc.c (__malloc_stats): Likewise.
4240         * malloc/mtrace.c (tr_break): Likewise.
4241         (mtrace): Likewise.
4242         (muntrace): Likewise.
4243         * misc/fstab.c (endfsent): Likewise.
4244         * misc/getclktck.c (__getclktck): Likewise.
4245         * misc/getdtsz.c (__getdtablesize): Likewise.
4246         * misc/gethostid.c (gethostid): Likewise.
4247         * misc/getpagesize.c (__getpagesize): Likewise.
4248         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4249         (__get_nprocs): Likewise.
4250         (__get_phys_pages): Likewise.
4251         (__get_avphys_pages): Likewise.
4252         * misc/getttyent.c (getttyent): Likewise.
4253         (setttyent): Likewise.
4254         (endttyent): Likewise.
4255         * misc/getusershell.c (getusershell): Likewise.
4256         (endusershell): Likewise.
4257         (setusershell): Likewise.
4258         (initshells): Likewise.
4259         * misc/hsearch.c (__hdestroy): Likewise.
4260         * misc/sync.c (sync): Likewise.
4261         * misc/syslog.c (closelog_internal): Likewise.
4262         (closelog): Likewise.
4263         * misc/ttyslot.c (ttyslot): Likewise.
4264         * misc/vhangup.c (vhangup): Likewise.
4265         * posix/fork.c (__fork): Likewise.
4266         * posix/getegid.c (__getegid): Likewise.
4267         * posix/geteuid.c (__geteuid): Likewise.
4268         * posix/getgid.c (__getgid): Likewise.
4269         * posix/getpid.c (__getpid): Likewise.
4270         * posix/getppid.c (__getppid): Likewise.
4271         * posix/getuid.c (__getuid): Likewise.
4272         * posix/pause.c (pause): Likewise.
4273         * posix/setpgrp.c (setpgrp): Likewise.
4274         * posix/setsid.c (__setsid): Likewise.
4275         * posix/test-vfork.c (noop): Likewise.
4276         * resolv/gethnamaddr.c (_endhtent): Likewise.
4277         (_gethtent): Likewise.
4278         (ht_endhostent): Likewise.
4279         (gethostent): Likewise.
4280         (dns_service): Likewise.
4281         * stdlib/drand48.c (drand48): Likewise.
4282         * stdlib/lrand48.c (lrand48): Likewise.
4283         * stdlib/mrand48.c (mrand48): Likewise.
4284         * stdlib/rand.c (rand): Likewise.
4285         * stdlib/random.c (__random): Likewise.
4286         * stdlib/setenv.c (clearenv): Likewise.
4287         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4288         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4289         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4290         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4291         (__get_nprocs): Likewise.
4292         (__get_phys_pages): Likewise.
4293         (__get_avphys_pages): Likewise.
4294         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4295         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4296         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4297         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4298         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4299         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4300         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4301         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4302         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4303         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4304         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4305         * sysdeps/mach/hurd/sync.c (sync): Likewise.
4306         * sysdeps/posix/clock.c (clock): Likewise.
4307         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4308         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4309         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4310         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4311         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4312         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4313         (__get_nprocs_conf): Likewise.
4314         (__get_phys_pages): Likewise.
4315         (__get_avphys_pages): Likewise.
4316         * time/clock.c (clock): Likewise.
4317         * time/tzset.c (__tzname_max): Likewise.
4319 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
4321         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4322         (__bswap_32): Do not use "register".
4323         * crypt/crypt.c (_ufc_doit_r): Likewise.
4324         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4325         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4326         * gmon/gmon.c (__monstartup): Likewise.
4327         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4328         * hurd/hurdmalloc.c (more_memory): Likewise.
4329         (malloc): Likewise.
4330         (free): Likewise.
4331         (realloc): Likewise.
4332         (malloc_fork_prepare): Likewise.
4333         (malloc_fork_parent): Likewise.
4334         (malloc_fork_child): Likewise.
4335         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4336         (_svcauth_des): Likewise.
4337         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4338         * inet/inet_net.c (inet_network): Likewise.
4339         * inet/inet_netof.c (inet_netof): Likewise.
4340         * inet/rcmd.c (__validuser2_sa): Likewise.
4341         * io/fts.c (fts_open): Likewise.
4342         (fts_load): Likewise.
4343         (fts_close): Likewise.
4344         (fts_read): Likewise.
4345         (fts_children): Likewise.
4346         (fts_build): Likewise.
4347         (fts_stat): Likewise.
4348         (fts_sort): Likewise.
4349         (fts_alloc): Likewise.
4350         (fts_lfree): Likewise.
4351         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4352         (_IO_file_xsgetn): Likewise.
4353         (_IO_file_xsgetn_mmap): Likewise.
4354         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4355         (_IO_cookie_write): Likewise.
4356         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4357         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4358         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4359         * malloc/obstack.c (_obstack_begin): Likewise.
4360         (_obstack_begin_1): Likewise.
4361         (_obstack_newchunk): Likewise.
4362         (_obstack_allocated_p): Likewise.
4363         (obstack_free): Likewise.
4364         (_obstack_memory_used): Likewise.
4365         * misc/getttyent.c (getttynam): Likewise.
4366         (getttyent): Likewise.
4367         (skip): Likewise.
4368         (value): Likewise.
4369         * misc/getusershell.c (initshells): Likewise.
4370         * misc/syslog.c (__vsyslog_chk): Likewise.
4371         * misc/ttyslot.c (ttyslot): Likewise.
4372         * nis/nis_hash.c (__nis_hash): Likewise.
4373         * posix/fnmatch_loop.c (FCT): Likewise.
4374         * posix/getconf.c (print_all): Likewise.
4375         (main): Likewise.
4376         * posix/getopt.c (exchange): Likewise.
4377         * posix/glob.c (globfree): Likewise.
4378         (prefix_array): Likewise.
4379         (__glob_pattern_type): Likewise.
4380         * resolv/arpa/nameser.h (NS_GET16): Likewise.
4381         (NS_GET32): Likewise.
4382         (NS_PUT16): Likewise.
4383         (NS_PUT32): Likewise.
4384         * resolv/gethnamaddr.c (getanswer): Likewise.
4385         (gethostbyname2): Likewise.
4386         (gethostbyaddr): Likewise.
4387         (_gethtent): Likewise.
4388         (_gethtbyname2): Likewise.
4389         (_gethtbyaddr): Likewise.
4390         * resolv/ns_print.c (dst_s_get_int16): Likewise.
4391         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4392         * resolv/res_init.c (__res_vinit): Likewise.
4393         (net_mask): Likewise.
4394         * resolv/res_mkquery.c (outchar): Likewise.
4395         (PRINT): Likewise.
4396         * stdio-common/printf_fp.c (outchar): Likewise.
4397         (PRINT): Likewise.
4398         * stdio-common/printf_fphex.c (outchar): Likewise.
4399         (PRINT): Likewise.
4400         * stdio-common/printf_size.c (outchar): Likewise.
4401         (PRINT): Likewise.
4402         * stdio-common/test_rdwr.c (main): Likewise.
4403         * stdio-common/tfformat.c (matches): Likewise.
4404         * stdio-common/vfprintf.c (outchar): Likewise.
4405         (printf_unknown): Likewise.
4406         (buffered_vfprintf): Likewise.
4407         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4408         * stdio-common/xbug.c (AppendToBuffer): Likewise.
4409         (ReadFile): Likewise.
4410         * stdlib/qsort.c (SWAP): Likewise.
4411         (_quicksort): Likewise.
4412         * stdlib/setenv.c (__add_to_environ): Likewise.
4413         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4414         * stdlib/strtol_l.c (__strtol_l): Likewise.
4415         * stdlib/tst-strtod.c (main): Likewise.
4416         * stdlib/tst-strtol.c (main): Likewise.
4417         * stdlib/tst-strtoll.c (main): Likewise.
4418         * string/bits/string2.h (__strcmp_cc): Likewise.
4419         (__strcmp_cg): Likewise.
4420         (__strcspn_c1): Likewise.
4421         (__strcspn_c2): Likewise.
4422         (__strcspn_c3): Likewise.
4423         (__strspn_c1): Likewise.
4424         (__strspn_c2): Likewise.
4425         (__strspn_c3): Likewise.
4426         (__strsep_1c): Likewise.
4427         (__strsep_2c): Likewise.
4428         (__strsep_3c): Likewise.
4429         * string/memccpy.c (__memccpy): Likewise.
4430         * string/stpcpy.c (__stpcpy): Likewise.
4431         * string/strcmp.c (strcmp): Likewise.
4432         * string/strrchr.c (strrchr): Likewise.
4433         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4434         Likewise.
4435         * sysdeps/mach/hurd/getcwd.c
4436         (_hurd_canonicalize_directory_name_internal): Likewise.
4437         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4438         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4439         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4440         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4441         Likewise, in both definitions.
4442         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4443         definitions.
4444         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4445         64] (__bswap_64): Likewise.
4446         * time/test_time.c (main): Likewise.
4447         * time/tzfile.c (__tzfile_read): Likewise.
4448         (__tzfile_compute): Likewise.
4449         * time/tzset.c (__tzset_parse_tz): Likewise.
4450         (tzset_internal): Likewise.
4451         (compute_change): Likewise.
4452         * wcsmbs/wcscat.c (__wcscat): Likewise.
4453         * wcsmbs/wcschr.c (wcschr): Likewise.
4454         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4455         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4456         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4457         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4458         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4459         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4460         * wcsmbs/wmemchr.c (wmemchr): Likewise.
4461         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4462         * wcsmbs/wmemset.c (wmemset): Likewise.
4464 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
4466         * scripts/config.guess: Update to version 2013-05-16.
4467         * scripts/config.sub: Update to version 2013-04-24.
4468         * scripts/install-sh: Update to version 2011-11-20.07.
4469         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4470         * scripts/move-if-change: Update to version 2012-01-06 07:23.
4472 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
4474         * debug/fgetws_u_chk.c: Fix leading whitespaces.
4475         * elf/sln.c: Likewise.
4476         * hurd/hurd/ioctl.h: Likewise.
4477         * hurd/hurdmalloc.c: Likewise.
4478         * hurd/xattr.c: Likewise.
4479         * include/shlib-compat.h: Likewise.
4480         * inet/ruserpass.c: Likewise.
4481         * libio/iofgets_u.c: Likewise.
4482         * libio/iofgetws_u.c: Likewise.
4483         * locale/programs/ld-identification.c: Likewise.
4484         * locale/programs/ld-time.c: Likewise.
4485         * mach/msg-destroy.c: Likewise.
4486         * nss/nss_files/files-netgrp.c: Likewise.
4487         * resolv/res_data.c: Likewise.
4488         * soft-fp/op-1.h: Likewise.
4489         * soft-fp/op-2.h: Likewise.
4490         * soft-fp/op-4.h: Likewise.
4491         * soft-fp/op-common.h: Likewise.
4492         * stdio-common/printf_fphex.c: Likewise.
4493         * stdlib/strtod_l.c: Likewise.
4494         * sunrpc/rpc/clnt.h: Likewise.
4495         * sysdeps/generic/framestate.c: Likewise.
4496         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4497         * sysdeps/i386/bsd-setjmp.S: Likewise.
4498         * sysdeps/i386/__longjmp.S: Likewise.
4499         * sysdeps/i386/setjmp.S: Likewise.
4500         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4501         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4502         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4503         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4505         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4506         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4507         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4508         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4509         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4510         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4511         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4512         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4513         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4514         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4515         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4516         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4517         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4518         * sysdeps/ieee754/support.c: Likewise.
4519         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4520         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4521         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4522         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4523         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4524         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4525         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4526         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4527         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4528         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4529         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4530         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4531         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4532         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4533         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4534         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4535         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4538 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
4540         * posix/transbug.c: Remove executable mode.
4542 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
4544         * crypt/speeds.c: Remove trailing whitespace.
4545         * dlfcn/default.c: Likewise.
4546         * elf/ifuncdep2.c: Likewise.
4547         * elf/ifuncmain1.c: Likewise.
4548         * elf/ifuncmain1vis.c: Likewise.
4549         * elf/testobj.h: Likewise.
4550         * elf/tst-stackguard1.c: Likewise.
4551         * gmon/sys/gmon.h: Likewise.
4552         * hurd/hurdmsg.c: Likewise.
4553         * hurd/new-fd.c: Likewise.
4554         * hurd/ports-get.c: Likewise.
4555         * iconvdata/ibm1008_420.c: Likewise.
4556         * inet/tst-getni1.c: Likewise.
4557         * inet/tst-getni2.c: Likewise.
4558         * libio/ioungetc.c: Likewise.
4559         * libio/wfiledoalloc.c: Likewise.
4560         * manual/libm-err-tab.pl: Likewise.
4561         * math/w_dremf.c: Likewise.
4562         * misc/ftruncate.c: Likewise.
4563         * posix/bug-glob2.c: Likewise.
4564         * posix/tst-pcre.c: Likewise.
4565         * posix/wait4.c: Likewise.
4566         * resolv/README: Likewise.
4567         * resolv/res_debug.h: Likewise.
4568         * resolv/tst-inet_ntop.c: Likewise.
4569         * setjmp/bug269-setjmp.c: Likewise.
4570         * soft-fp/extended.h: Likewise.
4571         * soft-fp/op-1.h: Likewise.
4572         * soft-fp/op-2.h: Likewise.
4573         * soft-fp/op-4.h: Likewise.
4574         * soft-fp/op-8.h: Likewise.
4575         * soft-fp/testit.c: Likewise.
4576         * stdio-common/bug16.c: Likewise.
4577         * stdlib/random.c: Likewise.
4578         * sunrpc/rpcsvc/rquota.x: Likewise.
4579         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4580         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4581         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4582         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4583         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4584         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4585         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4586         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4587         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4588         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4589         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4590         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4591         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4592         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4593         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4594         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4595         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4596         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4597         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4598         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4599         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4600         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4601         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4602         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4603         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4604         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4606         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4607         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4608         * sysdeps/ieee754/s_lib_version.c: Likewise.
4609         * sysdeps/mach/hurd/check_fds.c: Likewise.
4610         * sysdeps/mach/hurd/getsockname.c: Likewise.
4611         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4612         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4613         * sysdeps/powerpc/bits/link.h: Likewise.
4614         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4615         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4616         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4617         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4618         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4619         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4620         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4621         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4622         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4623         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4624         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4625         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4626         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4627         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4628         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4629         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4632         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4633         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4634         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4635         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4636         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4637         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4638         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4639         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4640         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4641         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4642         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4643         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4644         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4645         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4647         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4648         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4649         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4650         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4651         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4652         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4653         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4654         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4655         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4656         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4657         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4658         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4659         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4660         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4661         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4662         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4663         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4666         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4667         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4668         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4669         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4670         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4671         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4672         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4673         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4674         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4675         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4676         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4677         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4678         * sysdeps/powerpc/sysdep.h: Likewise.
4679         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4680         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4681         * sysdeps/sh/dl-trampoline.S: Likewise.
4682         * sysdeps/sh/memset.S: Likewise.
4683         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4684         * sysdeps/sh/strlen.S: Likewise.
4685         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4686         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4687         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4688         * sysdeps/sparc/sparc32/rem.S: Likewise.
4689         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4690         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4691         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4692         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4693         * sysdeps/sparc/sparc32/urem.S: Likewise.
4694         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4695         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4696         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4697         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4698         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4699         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4700         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4701         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4702         * sysdeps/unix/bsd/times.c: Likewise.
4703         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4704         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4708         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4709         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4710         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4711         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4712         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4713         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4714         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4715         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4716         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4717         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4718         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4719         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4720         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4721         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4722         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4723         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4724         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4725         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4726         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4727         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4728         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4729         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4730         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4731         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4732         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4733         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4734         * sysdeps/x86_64/strcspn.S: Likewise.
4736 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4738         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4739         generated file.  Regenerate properly from gen-translit.pl.
4740         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4741         locale/C-translit.h.
4743 2013-06-05  Andreas Schwab  <schwab@suse.de>
4745         [BZ #15100]
4746         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4747         week as 6 instead of -1.
4748         * time/tst-strptime.c (day_tests): Add test case.
4750 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4752         * sysdeps/generic/math_private.h
4753         (libc_feholdexcept_setround_53bit): Replace with
4754         libc_feholdsetround_53bit.
4755         (libc_feupdateenv_53bit): Replace with
4756         libc_feresetround_53bit.
4757         (SET_RESTORE_ROUND_53BIT): Adjust.
4759 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4761         * string/test-strchrnul.c: Add copyright header.
4763         * posix/tst-getaddrinfo4.c: Increase test timeout.
4765 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4767         [BZ #15536]
4768         * math/libm-test.inc (MAX_EXP): Remove
4769         (MIN_EXP): Define.
4770         (ulp): Use MIN_EXP - MANT_DIG.
4771         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4773 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4775         * po/be.po: Revert last change.
4776         * po/zh_CN.po: Likewise.
4777         * po/header.pot: Likewise.
4779 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4781         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4782         link-libc-deps to empty as target-specific variable.
4783         * Makerules (link-libc-args): New variable.
4784         (libc-for-link): Likewise.
4785         (link-libc-deps): Likewise.
4786         (lib%.so): Depend on $(link-libc-deps).  Link with
4787         $(link-libc-args).
4788         (build-module): Link with $(link-libc-args).
4789         (build-module-asneeded): Likewise.
4790         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4791         list of objects.
4792         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4793         target-specific variable.
4794         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4795         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4796         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4797         libc.
4798         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4799         libc and ld.so.
4800         ($(objpfx)libpcprofile.so): Likewise.
4801         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4802         libc_nonshared.a.
4803         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4804         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4805         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4806         $(link-libc-deps).
4807         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4808         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4809         * login/Makefile ($(objpfx)libutil.so): Likewise.
4810         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4811         * math/Makefile ($(objpfx)libm.so): Likewise.
4812         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4813         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4814         variable instead of depending directly on libc.
4815         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4816         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4817         $(link-libc-deps).
4818         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4819         libc.
4820         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4821         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4822         ($(objpfx)libanl.so): Likewise.
4823         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4824         ld.so.
4825         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4826         $(link-libc-deps).
4827         * sysdeps/i386/fpu/Makefile: Remove file.
4828         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4829         ($(objpfx)libm.so): Remove dependency on ld.so.
4831 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4833         [BZ # 15553]
4834         * nis/yp_xdr.c (XDRMAXNAME): Define.
4835         (XDRMAXRECORD): Define.
4836         (xdr_domainname): Use XDRMAXNAME.
4837         (xdr_mapname): Likewise.
4838         (xdr_peername): Likewise.
4839         (xdr_keydat): Use XDRMAXRECORD.
4840         (xdr_valdat): Likewise.
4842 2013-05-30  Jeff Law  <law@redhat.com>
4844         [BZ #14256]
4845         * manual/errno.texi (ESTALE): Update to account for more than
4846         just NFS file systems.
4847         * sysdeps/gnu/errlist.c: Regenerated.
4849 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4851         [BZ #15465]
4852         * elf/Makefile (tests): Add tst-null-argv.
4853         (modules-names):  Add tst-null-argv-lib.
4854         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4855         (tst-null-argv-ENV): Set environment for tst-null-argv.
4856         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4857         (RTLD_PROGNAME): New macro.
4858         * elf/tst-null-argv.c: New test case.
4859         * elf/tst-null-argv-lib.c: Library for test case.
4860         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4861         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4862         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4863         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4864         * elf/dl-init.c (call_init): Likewise.
4865         (_dl_init): Likewise.
4866         * elf/dl-load.c (print_search_path): Likewise.
4867         (_dl_map_object): Likewise.
4868         * elf/dl-lookup.c (do_lookup_x): Likewise.
4869         (add_dependency): Likewise.
4870         (_dl_lookup_symbol_x): Likewise.
4871         (_dl_debug_bindings): Likewise.
4872         * elf/dl-open.c (_dl_show_scope): Likewise.
4873         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4874         * elf/dl-version.c (match_symbol): Likewise.
4875         (_dl_check_map_versions): Likewise.
4876         * elf/rtld.c (dl_main): Likewise.
4877         (print_unresolved): Use RTLD_PROGNAME.
4878         (print_missing_version): Likewise.
4879         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4880         (elf_machine_rela): Likewise.
4881         * sysdeps/powerpc/powerpc32/dl-machine.c
4882         (__process_machine_rela): Likewise.
4883         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4884         Likewise.
4885         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4886         Likewise.
4887         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4888         Likewise.
4889         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4890         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4891         Likewise.
4892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4893         Likewise.
4894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4896 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4898         * po/be.po: Add descriptive title.
4899         * po/zh_CN.po: Likewise.
4900         * po/header.pot: Likewise.
4902 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4904         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4905         error message.
4906         (enlarge_archive): Likewise.
4908 2013-05-28  Ben North  <ben@redfrontdoor.org>
4910         * manual/arith.texi (frexp): It is the magnitude of the return
4911         value which lies in [0.5, 1), not the return value itself.
4913 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4917 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4919         * stdio-common/bug26.c (main): Correct fscanf template.
4921         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4922         declare _dl_skip_args.
4924         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4925         Don't declare.
4927         * manual/platform.texi: Add missing @end deftypefun.
4929 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4931         [BZ #15529]
4932         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4933         bit of mantissa of 2^16382.
4934         * math/libm-test.inc (hypot_test_data): Add more tests.
4936         * math/libm-test.inc: Add drem and pow10 to list of tested
4937         functions.
4938         (pow10_test): New function.
4939         (drem_test): Likewise.
4940         (drem_test_tonearest): Likewise.
4941         (drem_test_towardzero): Likewise.
4942         (drem_test_downward): Likewise.
4943         (drem_test_upward): Likewise.
4944         (main): Call the new functions.
4946         * math/libm-test.inc (finite_test_data): Remove.
4947         (finite_test): Run tests from isfinite_test_data.
4948         (gamma_test_data): Remove.
4949         (gamma_test): Run tests from lgamma_test_data.
4950         * sysdeps/i386/fpu/libm-test-ulps: Update.
4951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4953 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4955         * manual/platform.texi: Add PowerPC PPR function set documentation.
4956         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4957         implementation.
4959 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4961         * math/libm-test.inc (MAX_EXP): Define.
4962         (ULPDIFF): Define.
4963         (ulp): New function.
4964         (check_float_internal): Use ULPDIFF.
4965         (cpow_test): Disable failing test.
4966         (check_ulp): Test ulp() implemetnation.
4967         (main): Call check_ulp before starting tests.
4969 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4971         * math/gen-libm-test.pl (generate_testfile): Do not handle
4972         START_DATA and END_DATA.
4973         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4974         END_DATA.
4975         (acos_tonearest_test_data): Likewise.
4976         (acos_towardzero_test_data): Likewise.
4977         (acos_downward_test_data): Likewise.
4978         (acos_upward_test_data): Likewise.
4979         (acosh_test_data): Likewise.
4980         (asin_test_data): Likewise.
4981         (asin_tonearest_test_data): Likewise.
4982         (asin_towardzero_test_data): Likewise.
4983         (asin_downward_test_data): Likewise.
4984         (asin_upward_test_data): Likewise.
4985         (asinh_test_data): Likewise.
4986         (atan_test_data): Likewise.
4987         (atanh_test_data): Likewise.
4988         (atan2_test_data): Likewise.
4989         (cabs_test_data): Likewise.
4990         (cacos_test_data): Likewise.
4991         (cacosh_test_data): Likewise.
4992         (carg_test_data): Likewise.
4993         (casin_test_data): Likewise.
4994         (casinh_test_data): Likewise.
4995         (catan_test_data): Likewise.
4996         (catanh_test_data): Likewise.
4997         (cbrt_test_data): Likewise.
4998         (ccos_test_data): Likewise.
4999         (ccosh_test_data): Likewise.
5000         (ceil_test_data): Likewise.
5001         (cexp_test_data): Likewise.
5002         (cimag_test_data): Likewise.
5003         (clog_test_data): Likewise.
5004         (clog10_test_data): Likewise.
5005         (conj_test_data): Likewise.
5006         (copysign_test_data): Likewise.
5007         (cos_test_data): Likewise.
5008         (cos_tonearest_test_data): Likewise.
5009         (cos_towardzero_test_data): Likewise.
5010         (cos_downward_test_data): Likewise.
5011         (cos_upward_test_data): Likewise.
5012         (cosh_test_data): Likewise.
5013         (cosh_tonearest_test_data): Likewise.
5014         (cosh_towardzero_test_data): Likewise.
5015         (cosh_downward_test_data): Likewise.
5016         (cosh_upward_test_data): Likewise.
5017         (cpow_test_data): Likewise.
5018         (cproj_test_data): Likewise.
5019         (creal_test_data): Likewise.
5020         (csin_test_data): Likewise.
5021         (csinh_test_data): Likewise.
5022         (csqrt_test_data): Likewise.
5023         (ctan_test_data): Likewise.
5024         (ctan_tonearest_test_data): Likewise.
5025         (ctan_towardzero_test_data): Likewise.
5026         (ctan_downward_test_data): Likewise.
5027         (ctan_upward_test_data): Likewise.
5028         (ctanh_test_data): Likewise.
5029         (ctanh_tonearest_test_data): Likewise.
5030         (ctanh_towardzero_test_data): Likewise.
5031         (ctanh_downward_test_data): Likewise.
5032         (ctanh_upward_test_data): Likewise.
5033         (erf_test_data): Likewise.
5034         (erfc_test_data): Likewise.
5035         (exp_test_data): Likewise.
5036         (exp_tonearest_test_data): Likewise.
5037         (exp_towardzero_test_data): Likewise.
5038         (exp_downward_test_data): Likewise.
5039         (exp_upward_test_data): Likewise.
5040         (exp10_test_data): Likewise.
5041         (exp2_test_data): Likewise.
5042         (expm1_test_data): Likewise.
5043         (fabs_test_data): Likewise.
5044         (fdim_test_data): Likewise.
5045         (finite_test_data): Likewise.
5046         (floor_test_data): Likewise.
5047         (fma_test_data): Likewise.
5048         (fma_towardzero_test_data): Likewise.
5049         (fma_downward_test_data): Likewise.
5050         (fma_upward_test_data): Likewise.
5051         (fmax_test_data): Likewise.
5052         (fmin_test_data): Likewise.
5053         (fmod_test_data): Likewise.
5054         (fpclassify_test_data): Likewise.
5055         (frexp_test_data): Likewise.
5056         (gamma_test_data): Likewise.
5057         (hypot_test_data): Likewise.
5058         (ilogb_test_data): Likewise.
5059         (isfinite_test_data): Likewise.
5060         (isgreater_test_data): Likewise.
5061         (isgreaterequal_test_data): Likewise.
5062         (isinf_test_data): Likewise.
5063         (isless_test_data): Likewise.
5064         (islessequal_test_data): Likewise.
5065         (islessgreater_test_data): Likewise.
5066         (isnan_test_data): Likewise.
5067         (isnormal_test_data): Likewise.
5068         (issignaling_test_data): Likewise.
5069         (isunordered_test_data): Likewise.
5070         (j0_test_data): Likewise.
5071         (j1_test_data): Likewise.
5072         (jn_test_data): Likewise.
5073         (ldexp_test_data): Likewise.
5074         (lgamma_test_data): Likewise.
5075         (lrint_test_data): Likewise.
5076         (lrint_tonearest_test_data): Likewise.
5077         (lrint_towardzero_test_data): Likewise.
5078         (lrint_downward_test_data): Likewise.
5079         (lrint_upward_test_data): Likewise.
5080         (llrint_test_data): Likewise.
5081         (llrint_tonearest_test_data): Likewise.
5082         (llrint_towardzero_test_data): Likewise.
5083         (llrint_downward_test_data): Likewise.
5084         (llrint_upward_test_data): Likewise.
5085         (log_test_data): Likewise.
5086         (log10_test_data): Likewise.
5087         (log1p_test_data): Likewise.
5088         (log2_test_data): Likewise.
5089         (logb_test_data): Likewise.
5090         (logb_downward_test_data): Likewise.
5091         (lround_test_data): Likewise.
5092         (llround_test_data): Likewise.
5093         (modf_test_data): Likewise.
5094         (nearbyint_test_data): Likewise.
5095         (nextafter_test_data): Likewise.
5096         (nexttoward_test_data): Likewise.
5097         (pow_test_data): Likewise.
5098         (pow_tonearest_test_data): Likewise.
5099         (pow_towardzero_test_data): Likewise.
5100         (pow_downward_test_data): Likewise.
5101         (pow_upward_test_data): Likewise.
5102         (remainder_test_data): Likewise.
5103         (remainder_tonearest_test_data): Likewise.
5104         (remainder_towardzero_test_data): Likewise.
5105         (remainder_downward_test_data): Likewise.
5106         (remainder_upward_test_data): Likewise.
5107         (remquo_test_data): Likewise.
5108         (rint_test_data): Likewise.
5109         (rint_tonearest_test_data): Likewise.
5110         (rint_towardzero_test_data): Likewise.
5111         (rint_downward_test_data): Likewise.
5112         (rint_upward_test_data): Likewise.
5113         (round_test_data): Likewise.
5114         (scalb_test_data): Likewise.
5115         (scalbn_test_data): Likewise.
5116         (scalbln_test_data): Likewise.
5117         (signbit_test_data): Likewise.
5118         (sin_test_data): Likewise.
5119         (sin_tonearest_test_data): Likewise.
5120         (sin_towardzero_test_data): Likewise.
5121         (sin_downward_test_data): Likewise.
5122         (sin_upward_test_data): Likewise.
5123         (sincos_test_data): Likewise.
5124         (sinh_test_data): Likewise.
5125         (sinh_tonearest_test_data): Likewise.
5126         (sinh_towardzero_test_data): Likewise.
5127         (sinh_downward_test_data): Likewise.
5128         (sinh_upward_test_data): Likewise.
5129         (sqrt_test_data): Likewise.
5130         (tan_test_data): Likewise.
5131         (tan_tonearest_test_data): Likewise.
5132         (tan_towardzero_test_data): Likewise.
5133         (tan_downward_test_data): Likewise.
5134         (tan_upward_test_data): Likewise.
5135         (tanh_test_data): Likewise.
5136         (tgamma_test_data): Likewise.
5137         (trunc_test_data): Likewise.
5138         (y0_test_data): Likewise.
5139         (y1_test_data): Likewise.
5140         (yn_test_data): Likewise.
5141         (significand_test_data): Likewise.
5143         * math/gen-libm-test.pl (@functions): Remove variable.
5144         (generate_testfile): Don't handle START and END lines.
5145         * math/libm-test.inc (START): New macro.
5146         (END): Likewise.
5147         (END_COMPLEX): Likewise.
5148         (acos_test): Use END macro without arguments.
5149         (acos_test_tonearest): Likewise.
5150         (acos_test_towardzero): Likewise.
5151         (acos_test_downward): Likewise.
5152         (acos_test_upward): Likewise.
5153         (acosh_test): Likewise.
5154         (asin_test): Likewise.
5155         (asin_test_tonearest): Likewise.
5156         (asin_test_towardzero): Likewise.
5157         (asin_test_downward): Likewise.
5158         (asin_test_upward): Likewise.
5159         (asinh_test): Likewise.
5160         (atan_test): Likewise.
5161         (atanh_test): Likewise.
5162         (atan2_test): Likewise.
5163         (cabs_test): Likewise.
5164         (cacos_test): Use END_COMPLEX macro without arguments.
5165         (cacosh_test): Likewise.
5166         (carg_test): Use END macro without arguments.
5167         (casin_test): Use END_COMPLEX macro without arguments.
5168         (casinh_test): Likewise.
5169         (catan_test): Likewise.
5170         (catanh_test): Likewise.
5171         (cbrt_test): Use END macro without arguments.
5172         (ccos_test): Use END_COMPLEX macro without arguments.
5173         (ccosh_test): Likewise.
5174         (ceil_test): Use END macro without arguments.
5175         (cexp_test): Use END_COMPLEX macro without arguments.
5176         (cimag_test): Use END macro without arguments.
5177         (clog_test): Use END_COMPLEX macro without arguments.
5178         (clog10_test): Likewise.
5179         (conj_test): Likewise.
5180         (copysign_test): Use END macro without arguments.
5181         (cos_test): Likewise.
5182         (cos_test_tonearest): Likewise.
5183         (cos_test_towardzero): Likewise.
5184         (cos_test_downward): Likewise.
5185         (cos_test_upward): Likewise.
5186         (cosh_test): Likewise.
5187         (cosh_test_tonearest): Likewise.
5188         (cosh_test_towardzero): Likewise.
5189         (cosh_test_downward): Likewise.
5190         (cosh_test_upward): Likewise.
5191         (cpow_test): Use END_COMPLEX macro without arguments.
5192         (cproj_test): Likewise.
5193         (creal_test): Use END macro without arguments.
5194         (csin_test): Use END_COMPLEX macro without arguments.
5195         (csinh_test): Likewise.
5196         (csqrt_test): Likewise.
5197         (ctan_test): Likewise.
5198         (ctan_test_tonearest): Likewise.
5199         (ctan_test_towardzero): Likewise.
5200         (ctan_test_downward): Likewise.
5201         (ctan_test_upward): Likewise.
5202         (ctanh_test): Likewise.
5203         (ctanh_test_tonearest): Likewise.
5204         (ctanh_test_towardzero): Likewise.
5205         (ctanh_test_downward): Likewise.
5206         (ctanh_test_upward): Likewise.
5207         (erf_test): Use END macro without arguments.
5208         (erfc_test): Likewise.
5209         (exp_test): Likewise.
5210         (exp_test_tonearest): Likewise.
5211         (exp_test_towardzero): Likewise.
5212         (exp_test_downward): Likewise.
5213         (exp_test_upward): Likewise.
5214         (exp10_test): Likewise.
5215         (exp2_test): Likewise.
5216         (expm1_test): Likewise.
5217         (fabs_test): Likewise.
5218         (fdim_test): Likewise.
5219         (finite_test): Likewise.
5220         (floor_test): Likewise.
5221         (fma_test): Likewise.
5222         (fma_test_towardzero): Likewise.
5223         (fma_test_downward): Likewise.
5224         (fma_test_upward): Likewise.
5225         (fmax_test): Likewise.
5226         (fmin_test): Likewise.
5227         (fmod_test): Likewise.
5228         (fpclassify_test): Likewise.
5229         (frexp_test): Likewise.
5230         (gamma_test): Likewise.
5231         (hypot_test): Likewise.
5232         (ilogb_test): Likewise.
5233         (isfinite_test): Likewise.
5234         (isgreater_test): Likewise.
5235         (isgreaterequal_test): Likewise.
5236         (isinf_test): Likewise.
5237         (isless_test): Likewise.
5238         (islessequal_test): Likewise.
5239         (islessgreater_test): Likewise.
5240         (isnan_test): Likewise.
5241         (isnormal_test): Likewise.
5242         (issignaling_test): Likewise.
5243         (isunordered_test): Likewise.
5244         (j0_test): Likewise.
5245         (j1_test): Likewise.
5246         (jn_test): Likewise.
5247         (ldexp_test): Likewise.
5248         (lgamma_test): Likewise.
5249         (lrint_test): Likewise.
5250         (lrint_test_tonearest): Likewise.
5251         (lrint_test_towardzero): Likewise.
5252         (lrint_test_downward): Likewise.
5253         (lrint_test_upward): Likewise.
5254         (llrint_test): Likewise.
5255         (llrint_test_tonearest): Likewise.
5256         (llrint_test_towardzero): Likewise.
5257         (llrint_test_downward): Likewise.
5258         (llrint_test_upward): Likewise.
5259         (log_test): Likewise.
5260         (log10_test): Likewise.
5261         (log1p_test): Likewise.
5262         (log2_test): Likewise.
5263         (logb_test): Likewise.
5264         (logb_test_downward): Likewise.
5265         (lround_test): Likewise.
5266         (llround_test): Likewise.
5267         (modf_test): Likewise.
5268         (nearbyint_test): Likewise.
5269         (nextafter_test): Likewise.
5270         (nexttoward_test): Likewise.
5271         (pow_test): Likewise.
5272         (pow_test_tonearest): Likewise.
5273         (pow_test_towardzero): Likewise.
5274         (pow_test_downward): Likewise.
5275         (pow_test_upward): Likewise.
5276         (remainder_test): Likewise.
5277         (remainder_test_tonearest): Likewise.
5278         (remainder_test_towardzero): Likewise.
5279         (remainder_test_downward): Likewise.
5280         (remainder_test_upward): Likewise.
5281         (remquo_test): Likewise.
5282         (rint_test): Likewise.
5283         (rint_test_tonearest): Likewise.
5284         (rint_test_towardzero): Likewise.
5285         (rint_test_downward): Likewise.
5286         (rint_test_upward): Likewise.
5287         (round_test): Likewise.
5288         (scalb_test): Likewise.
5289         (scalbn_test): Likewise.
5290         (scalbln_test): Likewise.
5291         (signbit_test): Likewise.
5292         (sin_test): Likewise.
5293         (sin_test_tonearest): Likewise.
5294         (sin_test_towardzero): Likewise.
5295         (sin_test_downward): Likewise.
5296         (sin_test_upward): Likewise.
5297         (sincos_test): Likewise.
5298         (sinh_test): Likewise.
5299         (sinh_test_tonearest): Likewise.
5300         (sinh_test_towardzero): Likewise.
5301         (sinh_test_downward): Likewise.
5302         (sinh_test_upward): Likewise.
5303         (sqrt_test): Likewise.
5304         (tan_test): Likewise.
5305         (tan_test_tonearest): Likewise.
5306         (tan_test_towardzero): Likewise.
5307         (tan_test_downward): Likewise.
5308         (tan_test_upward): Likewise.
5309         (tanh_test): Likewise.
5310         (tgamma_test): Likewise.
5311         (trunc_test): Likewise.
5312         (y0_test): Likewise.
5313         (y1_test): Likewise.
5314         (yn_test): Likewise.
5315         (significand_test): Likewise.
5317 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
5319         [BZ #15381]
5320         * libio/genops.c (_IO_no_init): Initialize wide struct info.
5322 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5324         [BZ #14894]
5325         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5326         __ppc_mdoio and __ppc_mdoom.
5327         * manual/platform.texi: Document new functions __ppc_yield,
5328         __ppc_mdoio and __ppc_mdoom.
5330 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
5332         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5333         (main): Mention "tls" pseudo-hwcap is legacy.
5334         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5336 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5338         * math/gen-libm-test.pl (parse_args): Output only string of
5339         arguments as text for test name, not full call or descriptions of
5340         tests for extra outputs.
5341         (generate_testfile): Do not pass function name to parse_args.
5342         Generate this_func variable from START.
5343         * math/libm-test.inc (struct test_f_f_data): Rename test_name
5344         field to arg_str.
5345         (struct test_ff_f_data): Likewise.
5346         (test_ff_f_data_nexttoward): Likewise.
5347         (struct test_fi_f_data): Likewise.
5348         (struct test_fl_f_data): Likewise.
5349         (struct test_if_f_data): Likewise.
5350         (struct test_fff_f_data): Likewise.
5351         (struct test_c_f_data): Likewise.
5352         (struct test_f_f1_data): Likewise.  Remove field extra_name.
5353         (struct test_fF_f1_data): Likewise.
5354         (struct test_ffI_f1_data): Likewise.
5355         (struct test_c_c_data): Rename test_name field to arg_str.
5356         (struct test_cc_c_data): Likewise.
5357         (struct test_f_i_data): Likewise.
5358         (struct test_ff_i_data): Likewise.
5359         (struct test_f_l_data): Likewise.
5360         (struct test_f_L_data): Likewise.
5361         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
5362         and extra2_name.
5363         (COMMON_TEST_SETUP): New macro.
5364         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5365         (COMMON_TEST_CLEANUP): Likewise.
5366         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5367         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
5368         macros.
5369         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5370         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
5371         macros.
5372         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5373         (RUN_TEST_fff_f): Take argument string.  Call new setup and
5374         cleanup macros.
5375         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5376         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
5377         macros.
5378         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5379         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
5380         macros.
5381         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5382         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
5383         cleanup macros.
5384         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5385         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
5386         cleanup macros.
5387         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5388         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
5389         cleanup macros.
5390         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5391         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
5392         macros.
5393         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5394         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
5395         macros.
5396         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5397         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
5398         macros.
5399         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5400         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
5401         cleanup macros.
5402         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5403         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
5404         cleanup macros.
5405         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5406         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
5407         macros.
5408         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5409         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
5410         cleanup macros.
5411         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5412         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
5413         macros.
5414         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5415         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
5416         macros.
5417         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5418         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
5419         cleanup macros.
5420         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5422 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5424         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5425         to _sifields.sigfault.
5426         (si_addr_lsb): Define new macro.
5427         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5428         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5429         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5431 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
5433         [BZ #15441]
5434         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5435         returns -1.
5436         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5437         null return -1.
5438         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5439         loading the domain.
5441 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
5443         * math/gen-libm-test.pl (parse_args): Do not include expected
5444         result in test name.
5445         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5446         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5447         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5448         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5449         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5452 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5454         * benchtests/Makefile: Sort function entries.
5456         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5457         tanh, asinh, acosh, atanh.
5458         * benchtests/acos-inputs: New file.
5459         * benchtests/acosh-inputs: New file.
5460         * benchtests/asin-inputs: New file.
5461         * benchtests/asinh-inputs: New file.
5462         * benchtests/atanh-inputs: New file.
5463         * benchtests/cosh-inputs: New file.
5464         * benchtests/log-inputs: New file.
5465         * benchtests/sinh-inputs: New file.
5466         * benchtests/tanh-inputs: New file.
5468 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
5470         [BZ #15339]
5471         * posix/tst-getaddrinfo4.c: New test.
5472         * posix/Makefile (tests): Add it.
5474 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5476         [BZ #15339]
5477         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5478         when no services were used.
5479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5480         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5482 2013-05-21  Andreas Schwab  <schwab@suse.de>
5484         [BZ #15014]
5485         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5486         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5487         successful.
5488         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5489         redundant variable declarations and reallocation of buffer when
5490         parsing as IPv6 address.  Always set NSS status when called from
5491         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
5492         buffer too small.  Correct computation of needed size.
5493         * nss/Makefile (tests): Add test-digits-dots.
5494         * nss/test-digits-dots.c: New test.
5496 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5498         * benchtests/Makefile: Remove instructions for adding
5499         benchmark tests.
5500         * benchtests/README: New file to explain how to execute and
5501         enhance the benchmark tests.
5503 2013-05-21  Andreas Schwab  <schwab@suse.de>
5505         [BZ #15493]
5506         * setjmp/Makefile (tests): Add tst-sigsetjmp.
5507         * setjmp/tst-sigsetjmp.c: New test.
5509 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5511         * sysdeps/x86_64/memset.S (memset): New implementation.
5512         (__bzero): Likewise.
5513         (__memset_tail): New function.
5515 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
5517         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5518         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5519         __memcpy_sse2_unaligned ifunc selection.
5520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5521         Add memcpy-sse2-unaligned.S.
5522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5523         Add: __memcpy_sse2_unaligned.
5525 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
5527         [BZ #15490]
5528         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5529         math_force_eval before restoring floating-point envrionment.
5530         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5532         Likewise.
5533         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5534         <math_private.h>.
5535         (__nearbyintl): Use math_force_eval before restoring
5536         floating-point environment.
5537         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5539         * math/gen-libm-test.pl (special_functions): Remove.
5540         (parse_args): Don't handle TEST_extra.  Handle functions with no
5541         return value.
5542         * math/libm-test.inc (struct test_sincos_data): Replace with
5543         struct test_fFF_11_data.
5544         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5545         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5546         (sincos_test_data): Change element type to struct
5547         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5548         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5549         RUN_TEST_LOOP_sincos.
5550         * math/README.libm-test: Don't mention special handling of
5551         individual functions.
5552         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5553         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5554         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5555         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5556         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5559         * math/gen-libm-test.pl (get_variable): Remove function.
5560         (parse_args): Don't show pointer parameters to call in test
5561         names.  Use "extra output N" in test names for extra outputs
5562         rather than naming variables.
5564 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5566         [BZ #15488]
5567         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5568         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5569         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5570         double tests.
5571         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5572         disable.
5573         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5574         check_long_double.
5576         * math/gen-libm-test.pl (@tests): Remove variable.
5577         ($count): Likewise.
5578         (new_test): Remove function.
5579         (show_exceptions): New function.
5580         (special_functions): Use show_exceptions instead of new_test.
5581         (parse_args): Likewise.
5582         (generate_testfile): Pass only function name in generated call to
5583         print_max_error or print_complex_max_error.
5584         (get_ulps): Do not handle complex tests specially.
5585         (output_test): Rename to ...
5586         (get_all_ulps_for_test): ... this.  Return a string rather than
5587         printing to a file.  Require ulps to be present.
5588         (output_ulps): Generate arrays rather than #defines.
5589         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5590         (struct ulp_data): New type.
5591         (BUILD_COMPLEX_ULP): Remove macro.
5592         (compare_ulp_data): New function.
5593         (find_ulps): Likewise.
5594         (find_test_ulps): Likewise.
5595         (find_function_ulps): Likewise.
5596         (find_complex_function_ulps): Likewise.
5597         (print_max_error): Determine allowed ulps using
5598         find_function_ulps.
5599         (print_complex_max_error): Determine allowed ulps using
5600         find_complex_function_ulps.
5601         (check_float_internal): Determine max ulps using find_test_ulps.
5602         (check_float): Do not take max_ulp parameter.  Update call to
5603         check_float_internal.
5604         (check_complex): Likewise.
5605         (check_int): Do not take max_ulp parameter.
5606         (check_long): Likewise.
5607         (check_bool): Likewise.
5608         (check_longlong): Likewise.
5609         (struct test_f_f_data): Remove max_ulp field.
5610         (struct test_ff_f_data): Likewise.
5611         (struct test_ff_f_data_nexttoward): Likewise.
5612         (struct test_fi_f_data): Likewise.
5613         (struct test_fl_f_data): Likewise.
5614         (struct test_if_f_data): Likewise.
5615         (struct test_fff_f_data): Likewise.
5616         (struct test_c_f_data): Likewise.
5617         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5618         (struct test_fF_f1_data): Likewise.
5619         (struct test_ffI_f1_data): Likewise.
5620         (struct test_c_c_data): Remove max_ulp field.
5621         (struct test_cc_c_data): Likewise.
5622         (struct test_f_i_data): Likewise.
5623         (struct test_ff_i_data): Likewise.
5624         (struct test_f_l_data): Likewise.
5625         (struct test_f_L_data): Likewise.
5626         (struct test_sincos_data): Likewise.
5627         (RUN_TEST_f_f): Do not handle ulps.
5628         (RUN_TEST_LOOP_f_f): Likewise.
5629         (RUN_TEST_2_f): Likewise.
5630         (RUN_TEST_LOOP_2_f): Likewise.
5631         (RUN_TEST_fff_f): Likewise.
5632         (RUN_TEST_LOOP_fff_f): Likewise.
5633         (RUN_TEST_c_f): Likewise.
5634         (RUN_TEST_LOOP_c_f): Likewise.
5635         (RUN_TEST_f_f1): Likewise.
5636         (RUN_TEST_LOOP_f_f1): Likewise.
5637         (RUN_TEST_fF_f1): Likewise.
5638         (RUN_TEST_LOOP_fF_f1): Likewise.
5639         (RUN_TEST_fI_f1): Likewise.
5640         (RUN_TEST_LOOP_fI_f1): Likewise.
5641         (RUN_TEST_ffI_f1): Likewise.
5642         (RUN_TEST_LOOP_ffI_f1): Likewise.
5643         (RUN_TEST_c_c): Likewise.
5644         (RUN_TEST_LOOP_c_c): Likewise.
5645         (RUN_TEST_cc_c): Likewise.
5646         (RUN_TEST_LOOP_cc_c): Likewise.
5647         (RUN_TEST_f_i): Likewise.
5648         (RUN_TEST_LOOP_f_i): Likewise.
5649         (RUN_TEST_f_i_tg): Likewise.
5650         (RUN_TEST_LOOP_f_i_tg): Likewise.
5651         (RUN_TEST_ff_i_tg): Likewise.
5652         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5653         (RUN_TEST_f_b): Likewise.
5654         (RUN_TEST_LOOP_f_b): Likewise.
5655         (RUN_TEST_f_b_tg): Likewise.
5656         (RUN_TEST_LOOP_f_b_tg): Likewise.
5657         (RUN_TEST_f_l): Likewise.
5658         (RUN_TEST_LOOP_f_l): Likewise.
5659         (RUN_TEST_f_L): Likewise.
5660         (RUN_TEST_LOOP_f_L): Likewise.
5661         (RUN_TEST_sincos): Likewise.
5662         (RUN_TEST_LOOP_sincos): Likewise.
5664 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5666         [BZ #15480]
5667         [BZ #15485]
5668         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5669         main case of finite arguments, set rounding mode to FE_TONEAREST
5670         and discard exceptions.
5671         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5672         exceptions.
5673         (remainder_tonearest_test_data): New variable.
5674         (remainder_test_tonearest): New function.
5675         (remainder_towardzero_test_data): New variable.
5676         (remainder_test_towardzero): New function.
5677         (remainder_downward_test_data): New variable.
5678         (remainder_test_downward): New function.
5679         (remainder_upward_test_data): New variable.
5680         (remainder_test_upward): New function.
5681         (main): Call the new test functions.
5683         * math/libm-test.inc (struct test_f_f1_data): Remove field
5684         extra_init.
5685         (struct test_fF_f1_data): Likewise.
5686         (struct test_ffI_f1_data): Likewise.
5687         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5688         based on value of EXTRA_EXPECTED.
5689         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5690         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5691         EXTRA_VAR based on value of EXTRA_EXPECTED.
5692         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5693         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5694         EXTRA_VAR based on value of EXTRA_EXPECTED.
5695         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5696         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5697         EXTRA_VAR based on value of EXTRA_EXPECTED.
5698         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5699         * math/gen-libm-test.pl (parse_args): Don't output initializers
5700         for extra output values.
5702         * math/libm-test.inc (check_int): Expect result to be exactly
5703         equal to expected value and do not handle ulps.
5704         (check_long): Likewise.
5705         (check_longlong): Likewise.
5707         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5708         exceptions.
5709         (cimag_test_data): Likewise.
5710         (conj_test_data): Likewise.
5711         (copysign_test_data): Likewise.
5712         (cproj_test_data): Likewise.
5713         (creal_test_data): Likewise.
5714         (fabs_test_data): Likewise.
5715         (fdim_test_data): Likewise.
5716         (finite_test_data): Likewise.
5717         (floor_test_data): Likewise.
5718         (fmax_test_data): Likewise.
5719         (fmin_test_data): Likewise.
5720         (fmod_test_data): Likewise.
5721         (fpclassify_test_data): Likewise.
5722         (frexp_test_data): Likewise.
5723         (ilogb_test_data): Likewise.
5724         (isfinite_test_data): Likewise.
5725         (isgreater_test_data): Likewise.
5726         (isgreaterequal_test_data): Likewise.
5727         (isinf_test_data): Likewise.
5728         (isless_test_data): Likewise.
5729         (islessequal_test_data): Likewise.
5730         (islessgreater_test_data): Likewise.
5731         (isnan_test_data): Likewise.
5732         (isnormal_test_data): Likewise.
5733         (issignaling_test_data): Likewise.
5734         (isunordered_test_data): Likewise.
5735         (ldexp_test_data): Likewise.
5736         (lrint_test_data): Likewise.
5737         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5738         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5739         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5740         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5741         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5742         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5743         test input.
5744         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5745         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5746         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5747         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5748         that test input.
5749         (lrint_downward_test_data): Test for "inexact" exceptions.
5750         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5751         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5752         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5753         test input.
5754         (lrint_upward_test_data): Test for "inexact" exceptions.
5755         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5756         test input.
5757         (llrint_test_data): Test for "inexact" exceptions.
5758         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5759         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5760         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5761         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5762         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5763         (llrint_downward_test_data): Test for "inexact" exceptions.
5764         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5765         (llrint_upward_test_data): Test for "inexact" exceptions.
5766         (logb_test_data): Likewise.
5767         (logb_downward_test_data): Likewise.
5768         (nextafter_test_data): Likewise.
5769         (nexttoward_test_data): Likewise.
5770         (remainder_test_data): Likewise.
5771         (remquo_test_data): Likewise.
5772         (scalbn_test_data): Likewise.
5773         (scalbln_test_data): Likewise.
5774         (signbit_test_data): Likewise.
5775         (sqrt_test_data): Likewise.
5776         (significand_test_data): Likewise.
5778 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5780         [BZ #15424]
5781         * benchtests/bench-modf.c (struct args): Mark arg0 as
5782         volatile.
5783         * scripts/bench.pl: Mark members of struct args as volatile.
5785 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5787         [BZ # 15497]
5788         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5789         negative infinity on POWER6 or lower.
5790         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5792 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5794         [BZ #15442]
5795         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5796         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5797         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5798         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5799         (_FP_SETQNAN): New macro.
5800         (_FP_SETQNAN_SEMIRAW): Likewise.
5801         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5802         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5803         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5804         (FP_EXTEND): Use _FP_FRAC_SNANP.
5805         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5806         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5807         into account.
5808         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5809         New macro.
5810         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5811         Likewise.
5813 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5815         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5816         with DIVIDE_BY_ZERO_EXCEPTION.
5817         (gamma_test_data): Likewise.
5818         (lgamma_test_data): Likewise.
5819         (log_test_data): Likewise.
5820         (log10_test_data): Likewise.
5821         (log2_test_data): Likewise.
5822         (tgamma_test_data): Likewise.
5824         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5825         (acos_test_tonearest): Likewise.
5826         (acos_test_towardzero): Likewise.
5827         (acos_test_downward): Likewise.
5828         (acos_test_upward): Likewise.
5829         (acosh_test): Likewise.
5830         (asin_test): Likewise.
5831         (asin_test_tonearest): Likewise.
5832         (asin_test_towardzero): Likewise.
5833         (asin_test_downward): Likewise.
5834         (asin_test_upward): Likewise.
5835         (asinh_test): Likewise.
5836         (atan_test): Likewise.
5837         (atanh_test): Likewise.
5838         (atan2_test): Likewise.
5839         (cabs_test): Likewise.
5840         (cacos_test): Likewise.
5841         (cacosh_test): Likewise.
5842         (casin_test): Likewise.
5843         (casinh_test): Likewise.
5844         (catan_test): Likewise.
5845         (catanh_test): Likewise.
5846         (cbrt_test): Likewise.
5847         (ccos_test): Likewise.
5848         (ccosh_test): Likewise.
5849         (cexp_test): Likewise.
5850         (clog_test): Likewise.
5851         (clog10_test): Likewise.
5852         (cos_test): Likewise.
5853         (cos_test_tonearest): Likewise.
5854         (cos_test_towardzero): Likewise.
5855         (cos_test_downward): Likewise.
5856         (cos_test_upward): Likewise.
5857         (cosh_test): Likewise.
5858         (cosh_test_tonearest): Likewise.
5859         (cosh_test_towardzero): Likewise.
5860         (cosh_test_downward): Likewise.
5861         (cosh_test_upward): Likewise.
5862         (cpow_test): Likewise.
5863         (csin_test): Likewise.
5864         (csinh_test): Likewise.
5865         (csqrt_test): Likewise.
5866         (ctan_test): Likewise.
5867         (ctan_test_tonearest): Likewise.
5868         (ctan_test_towardzero): Likewise.
5869         (ctan_test_downward): Likewise.
5870         (ctan_test_upward): Likewise.
5871         (ctanh_test): Likewise.
5872         (ctanh_test_tonearest): Likewise.
5873         (ctanh_test_towardzero): Likewise.
5874         (ctanh_test_downward): Likewise.
5875         (ctanh_test_upward): Likewise.
5876         (erf_test): Likewise.
5877         (erfc_test): Likewise.
5878         (exp_test): Likewise.
5879         (exp_test_tonearest): Likewise.
5880         (exp_test_towardzero): Likewise.
5881         (exp_test_downward): Likewise.
5882         (exp_test_upward): Likewise.
5883         (exp10_test): Likewise.
5884         (exp2_test): Likewise.
5885         (expm1_test): Likewise.
5886         (fmod_test): Likewise.
5887         (gamma_test): Likewise.
5888         (hypot_test): Likewise.
5889         (j0_test): Likewise.
5890         (j1_test): Likewise.
5891         (jn_test): Likewise.
5892         (lgamma_test): Likewise.
5893         (log_test): Likewise.
5894         (log10_test): Likewise.
5895         (log1p_test): Likewise.
5896         (log2_test): Likewise.
5897         (logb_test_downward): Likewise.
5898         (pow_test): Likewise.
5899         (pow_test_tonearest): Likewise.
5900         (pow_test_towardzero): Likewise.
5901         (pow_test_downward): Likewise.
5902         (pow_test_upward): Likewise.
5903         (remainder_test): Likewise.
5904         (remquo_test): Likewise.
5905         (sin_test): Likewise.
5906         (sin_test_tonearest): Likewise.
5907         (sin_test_towardzero): Likewise.
5908         (sin_test_downward): Likewise.
5909         (sin_test_upward): Likewise.
5910         (sincos_test): Likewise.
5911         (sinh_test): Likewise.
5912         (sinh_test_tonearest): Likewise.
5913         (sinh_test_towardzero): Likewise.
5914         (sinh_test_downward): Likewise.
5915         (sinh_test_upward): Likewise.
5916         (sqrt_test): Likewise.
5917         (tan_test): Likewise.
5918         (tan_test_tonearest): Likewise.
5919         (tan_test_towardzero): Likewise.
5920         (tan_test_downward): Likewise.
5921         (tan_test_upward): Likewise.
5922         (tanh_test): Likewise.
5923         (tgamma_test): Likewise.
5924         (y0_test): Likewise.
5925         (y1_test): Likewise.
5926         (yn_test): Likewise.
5928         * math/gen-libm-test.pl (adjust_arg): Remove function.
5929         (special_function): Remove argument $in_func.  Only handle
5930         generating output for tables of tests, not inside functions.
5931         (parse_args): Likewise.
5932         (generate_testfile): Remove variable $in_func.  Update call to
5933         parse_args.
5934         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5935         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5936         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5937         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5938         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5939         (MAX_VALUE_INIT): Rename macro to max_value.
5940         (MIN_VALUE_INIT): Rename macro to min_value.
5941         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5942         (plus_zero): Remove variable.
5943         (minus_zero): Likewise.
5944         (plus_infty): Likewise.
5945         (minus_infty): Likewise.
5946         (qnan_value): Likewise.
5947         (max_value): Likewise.
5948         (min_value): Likewise.
5949         (min_subnorm_value): Likewise.
5951 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5953         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5954         uint64_t or uint32_t usage.
5955         * crypt/sha256-block.c: Likewise.
5956         * crypt/sha256-crypt.c: Likewise.
5957         * crypt/sha256.c: Likewise.
5958         * crypt/sha512-block.c: Likewise.
5959         * crypt/sha512-crypt.c: Likewise.
5960         * crypt/sha512.c: Likewise.
5961         * debug/backtrace-tst.c: Likewise.
5962         * debug/pcprofiledump.c: Likewise.
5963         * elf/cache.c: Likewise.
5964         * elf/dl-cache.c: Likewise.
5965         * elf/dl-misc.c: Likewise.
5966         * elf/dl-profile.c: Likewise.
5967         * elf/dl-support.c: Likewise.
5968         * elf/ldconfig.c: Likewise.
5969         * elf/sprof.c: Likewise.
5970         * iconv/dummy-repertoire.c: Likewise.
5971         * iconv/iconv_charmap.c: Likewise.
5972         * iconv/skeleton.c: Likewise.
5973         * iconvdata/8bit-generic.c: Likewise.
5974         * iconvdata/cp737.h: Likewise.
5975         * iconvdata/cp775.h: Likewise.
5976         * iconvdata/ibm1008.h: Likewise.
5977         * iconvdata/ibm1025.h: Likewise.
5978         * iconvdata/ibm1046.h: Likewise.
5979         * iconvdata/ibm1097.h: Likewise.
5980         * iconvdata/ibm1112.h: Likewise.
5981         * iconvdata/ibm1122.h: Likewise.
5982         * iconvdata/ibm1123.h: Likewise.
5983         * iconvdata/ibm1124.h: Likewise.
5984         * iconvdata/ibm1129.h: Likewise.
5985         * iconvdata/ibm1130.h: Likewise.
5986         * iconvdata/ibm1132.h: Likewise.
5987         * iconvdata/ibm1133.h: Likewise.
5988         * iconvdata/ibm1137.h: Likewise.
5989         * iconvdata/ibm1140.h: Likewise.
5990         * iconvdata/ibm1141.h: Likewise.
5991         * iconvdata/ibm1142.h: Likewise.
5992         * iconvdata/ibm1143.h: Likewise.
5993         * iconvdata/ibm1144.h: Likewise.
5994         * iconvdata/ibm1145.h: Likewise.
5995         * iconvdata/ibm1146.h: Likewise.
5996         * iconvdata/ibm1147.h: Likewise.
5997         * iconvdata/ibm1148.h: Likewise.
5998         * iconvdata/ibm1149.h: Likewise.
5999         * iconvdata/ibm1153.h: Likewise.
6000         * iconvdata/ibm1154.h: Likewise.
6001         * iconvdata/ibm1155.h: Likewise.
6002         * iconvdata/ibm1156.h: Likewise.
6003         * iconvdata/ibm1157.h: Likewise.
6004         * iconvdata/ibm1158.h: Likewise.
6005         * iconvdata/ibm1160.h: Likewise.
6006         * iconvdata/ibm1161.h: Likewise.
6007         * iconvdata/ibm1162.h: Likewise.
6008         * iconvdata/ibm1163.h: Likewise.
6009         * iconvdata/ibm1164.h: Likewise.
6010         * iconvdata/ibm1166.h: Likewise.
6011         * iconvdata/ibm1167.h: Likewise.
6012         * iconvdata/ibm12712.h: Likewise.
6013         * iconvdata/ibm1390.h: Likewise.
6014         * iconvdata/ibm1399.h: Likewise.
6015         * iconvdata/ibm16804.h: Likewise.
6016         * iconvdata/ibm4517.h: Likewise.
6017         * iconvdata/ibm4899.h: Likewise.
6018         * iconvdata/ibm4909.h: Likewise.
6019         * iconvdata/ibm4971.h: Likewise.
6020         * iconvdata/ibm5347.h: Likewise.
6021         * iconvdata/ibm803.h: Likewise.
6022         * iconvdata/ibm856.h: Likewise.
6023         * iconvdata/ibm901.h: Likewise.
6024         * iconvdata/ibm902.h: Likewise.
6025         * iconvdata/ibm9030.h: Likewise.
6026         * iconvdata/ibm9066.h: Likewise.
6027         * iconvdata/ibm921.h: Likewise.
6028         * iconvdata/ibm922.h: Likewise.
6029         * iconvdata/ibm9448.h: Likewise.
6030         * iconvdata/isiri-3342.h: Likewise.
6031         * iconvdata/jis0201.h: Likewise.
6032         * include/link.h: Likewise.
6033         * include/netdb.h: Likewise.
6034         * inet/check_native.c: Likewise.
6035         * inet/check_pf.c: Likewise.
6036         * inet/getipv4sourcefilter.c: Likewise.
6037         * inet/getnameinfo.c: Likewise.
6038         * inet/getsourcefilter.c: Likewise.
6039         * inet/htonl.c: Likewise.
6040         * inet/setipv4sourcefilter.c: Likewise.
6041         * inet/setsourcefilter.c: Likewise.
6042         * inet/test-inet6_opt.c: Likewise.
6043         * inet/tst-network.c: Likewise.
6044         * locale/C-collate.c: Likewise.
6045         * locale/C-ctype.c: Likewise.
6046         * locale/C-time.c: Likewise.
6047         * locale/C-translit.h: Likewise.
6048         * locale/loadarchive.c: Likewise.
6049         * locale/programs/3level.h: Likewise.
6050         * locale/programs/charmap.c: Likewise.
6051         * locale/programs/charmap.h: Likewise.
6052         * locale/programs/ld-address.c: Likewise.
6053         * locale/programs/ld-collate.c: Likewise.
6054         * locale/programs/ld-ctype.c: Likewise.
6055         * locale/programs/ld-identification.c: Likewise.
6056         * locale/programs/ld-measurement.c: Likewise.
6057         * locale/programs/ld-messages.c: Likewise.
6058         * locale/programs/ld-monetary.c: Likewise.
6059         * locale/programs/ld-name.c: Likewise.
6060         * locale/programs/ld-numeric.c: Likewise.
6061         * locale/programs/ld-paper.c: Likewise.
6062         * locale/programs/ld-telephone.c: Likewise.
6063         * locale/programs/ld-time.c: Likewise.
6064         * locale/programs/linereader.c: Likewise.
6065         * locale/programs/locale.c: Likewise.
6066         * locale/programs/locarchive.c: Likewise.
6067         * locale/programs/locfile.h: Likewise.
6068         * locale/programs/repertoire.c: Likewise.
6069         * locale/programs/simple-hash.c: Likewise.
6070         * locale/programs/simple-hash.h: Likewise.
6071         * malloc/memusage.c: Likewise.
6072         * malloc/memusagestat.c: Likewise.
6073         * nis/nis_defaults.c: Likewise.
6074         * nis/nis_hash.c: Likewise.
6075         * nis/nis_print.c: Likewise.
6076         * nis/nis_xdr.c: Likewise.
6077         * nscd/connections.c: Likewise.
6078         * nscd/hstcache.c: Likewise.
6079         * nscd/nscd_gethst_r.c: Likewise.
6080         * nscd/nscd_getserv_r.c: Likewise.
6081         * nscd/nscd_helper.c: Likewise.
6082         * nscd/servicescache.c: Likewise.
6083         * nss/makedb.c: Likewise.
6084         * nss/nss_db/db-XXX.c: Likewise.
6085         * nss/nss_db/db-initgroups.c: Likewise.
6086         * nss/nss_db/db-netgrp.c: Likewise.
6087         * nss/nss_files/files-network.c: Likewise.
6088         * nss/nss_files/files-parse.c: Likewise.
6089         * posix/bug-regex5.c: Likewise.
6090         * posix/fnmatch_loop.c: Likewise.
6091         * posix/regcomp.c: Likewise.
6092         * posix/regexec.c: Likewise.
6093         * posix/tst-rfc3484-2.c: Likewise.
6094         * posix/tst-rfc3484-3.c: Likewise.
6095         * posix/tst-rfc3484.c: Likewise.
6096         * resolv/nss_dns/dns-canon.c: Likewise.
6097         * resolv/nss_dns/dns-network.c: Likewise.
6098         * resolv/res_init.c: Likewise.
6099         * resolv/res_mkquery.c: Likewise.
6100         * resolv/tst-aton.c: Likewise.
6101         * stdlib/cxa_atexit.c: Likewise.
6102         * stdlib/cxa_finalize.c: Likewise.
6103         * stdlib/gen-fpioconst.c: Likewise.
6104         * stdlib/strtol_l.c: Likewise.
6105         * string/tst-endian.c: Likewise.
6106         * sunrpc/auth_des.c: Likewise.
6107         * sunrpc/clnt_udp.c: Likewise.
6108         * sunrpc/rtime.c: Likewise.
6109         * sunrpc/svcauth_des.c: Likewise.
6110         * sunrpc/xdr.c: Likewise.
6111         * sunrpc/xdr_intXX_t.c: Likewise.
6112         * sunrpc/xdr_rec.c: Likewise.
6113         * sysdeps/generic/ldconfig.h: Likewise.
6114         * sysdeps/generic/ldsodefs.h: Likewise.
6115         * sysdeps/generic/memusage.h: Likewise.
6116         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6118         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6119         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6120         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6121         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6122         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6123         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6124         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6125         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6126         * sysdeps/posix/getaddrinfo.c: Likewise.
6127         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6128         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6129         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6130         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6131         * sysdeps/powerpc/test-gettimebase.c: Likewise.
6132         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6133         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6134         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6135         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6136         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6137         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6138         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6139         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6140         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6141         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6142         * sysdeps/x86_64/dl-tls.h: Likewise.
6143         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6144         * time/alt_digit.c: Likewise.
6145         * time/era.c: Likewise.
6146         * wcsmbs/tst-c16c32-1.c: Likewise.
6148 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6150         * math/libm-test.inc (struct test_sincos_data): New type.
6151         (RUN_TEST_LOOP_sincos): New macro.
6152         (sincos_test_data): New variable.
6153         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6155 2013-05-16  Richard Henderson  <rth@redhat.com>
6157         * math/atest-exp2.c (LIMB64): New macro.
6158         (CONSTSZ): New macro.
6159         (mp_exp1, mp_exp_m1, mp_log2): New variables.
6160         (hexdig): Move ...
6161         (print_mpn_fp): ... to function scope.
6162         (read_mpn_hex): Remove.
6163         (get_log2): Remove.
6164         (exp2_mpn): Use mp_log2.
6165         (main): Use mp_exp1.
6167 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
6169         * math/libm-test.inc: Remove comment about not testing "inexact"
6170         exceptions.
6171         (INEXACT_EXCEPTION): New macro.
6172         (NO_INEXACT_EXCEPTION): Likewise.
6173         (INVALID_EXCEPTION_OK): Update value.
6174         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6175         (OVERFLOW_EXCEPTION_OK): Likewise.
6176         (UNDERFLOW_EXCEPTION_OK): Likewise.
6177         (IGNORE_ZERO_INF_SIGN): Likewise.
6178         (ERRNO_UNCHANGED): Likewise.
6179         (ERRNO_EDOM): Likewise.
6180         (ERRNO_ERANGE): Likewise.
6181         (test_exceptions): Handle testing "inexact" exceptions.
6182         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6183         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6184         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6185         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6186         INEXACT_EXCEPTION.
6187         (rint_towardzero_test_data): Likewise.
6188         (rint_downward_test_data): Likewise.
6189         (rint_upward_test_data): Likewise.
6191         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6192         with OVERFLOW_EXCEPTION.
6193         (exp10_test_data): Likewise.
6194         (exp2_test_data): Likewise.
6195         (expm1_test_data): Likewise.
6196         (lgamma_test_data): Likewise.
6197         (pow_test_data): Likewise.
6198         (tgamma_test_data): Likewise.
6199         (yn_test_data): Remove duplicate test of overflow.
6201         * math/libm-test.inc (struct test_cc_c_data): New type.
6202         (RUN_TEST_LOOP_cc_c): New macro.
6203         (cpow_test_data): New variable.
6204         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6206         * math/libm-test.inc (struct test_f_L_data): New type.
6207         (RUN_TEST_LOOP_f_L): New macro.
6208         (llrint_test_data): New variable.
6209         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6210         (llrint_tonearest_test_data): New variable.
6211         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6212         (llrint_towardzero_test_data): New variable.
6213         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6214         (llrint_downward_test_data): New variable.
6215         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6216         (llrint_upward_test_data): New variable.
6217         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6218         (llround_test_data): New variable.
6219         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6221 2013-05-13  Peter Collingbourne  <pcc@google.com>
6223         * math/atest-exp2.c (get_log2): Remove const attribute.
6225 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6227         * math/libm-test.inc (struct test_f_l_data): New type.
6228         (RUN_TEST_LOOP_f_l): New macro.
6229         (lrint_test_data): New variable.
6230         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6231         (lrint_tonearest_test_data): New variable.
6232         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6233         (lrint_towardzero_test_data): New variable.
6234         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6235         (lrint_downward_test_data): New variable.
6236         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6237         (lrint_upward_test_data): New variable.
6238         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6239         (lround_test_data): New variable.
6240         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6242 2013-05-15  Peter Collingbourne  <pcc@google.com>
6244         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6245         (EXTRACT_WORDS64) Use where appropriate.
6246         (INSERT_WORDS64) Likewise.
6248         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6249         constraints with x constraints.
6250         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6252         * malloc/obstack.c (_obstack_compat): Add initializer.
6254 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6256         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6257         si_trapno and add si_addr_lsb to _sifields.sigfault.
6258         (si_trapno): Remove macro.
6259         (si_addr_lsb): Define new macro.
6260         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6262 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
6264         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6265         instead of TEST_f_l.
6266         (llrint_test_tonearest): Likewise.
6267         (llrint_test_towardzero): Likewise.
6268         (llrint_test_downward): Likewise.
6269         (llrint_test_upward): Likewise.
6270         (llround_test): Likewise.
6272         * math/libm-test.inc (struct test_f_i_data): Add comment.
6273         (RUN_TEST_LOOP_f_b): New macro.
6274         (RUN_TEST_LOOP_f_b_tg): Likewise.
6275         (finite_test_data): New variable.
6276         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6277         (isfinite_test_data): New variable.
6278         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6279         (isinf_test_data): New variable.
6280         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6281         (isnan_test_data): New variable.
6282         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6283         (isnormal_test_data): New variable.
6284         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6285         (issignaling_test_data): New variable.
6286         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6287         (signbit_test_data): New variable.
6288         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6290         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6291         with INVALID_EXCEPTION.
6292         (acosh_test_data): Likewise.
6293         (asin_test_data): Likewise.
6294         (atanh_test_data): Likewise.
6295         (fmod_test_data): Likewise.
6296         (log_test_data): Likewise.
6297         (log10_test_data): Likewise.
6298         (log2_test_data): Likewise.
6299         (pow_test_data): Likewise.
6300         (sqrt_test_data): Likewise.
6301         (y0_test_data): Likewise.
6302         (y1_test_data): Likewise.
6303         (yn_test_data): Likewise.
6305         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6306         function contents.
6308         * math/libm-test.inc (struct test_ff_i_data): New type.
6309         (RUN_TEST_LOOP_ff_i_tg): New macro.
6310         (isgreater_test_data): New variable.
6311         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6312         (isgreaterequal_test_data): New variable.
6313         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6314         (isless_test_data): New variable.
6315         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6316         (islessequal_test_data): New variable.
6317         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6318         (islessgreater_test_data): New variable.
6319         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6320         (isunordered_test_data): New variable.
6321         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6323 2013-05-14  David S. Miller  <davem@davemloft.net>
6325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6327 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
6329         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6331         * math/libm-test.inc (struct test_fF_f1_data): Change type of
6332         extra_test to int.
6333         (struct test_f_i_data): Change type of max_ulp to int.
6335         * math/libm-test.inc (test_ffI_f1_data): New type.
6336         (RUN_TEST_LOOP_ffI_f1): New macro.
6337         (remquo_test_data): New variable.
6338         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6340         * setjmp/tst-setjmp-fp.c: New file.
6341         * setjmp/Makefile (tests): Add tst-setjmp-fp.
6342         (link-libm): New variable.
6343         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6345         * math/libm-test.inc (struct test_f_i_data): New type.
6346         (RUN_TEST_LOOP_f_i): New macro.
6347         (RUN_TEST_LOOP_f_i_tg): Likewise.
6348         (fpclassify_test_data): New variable.
6349         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6350         (ilogb_test_data): New variable.
6351         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6353         * math/libm-test.inc (scalbln_test): Correct function name in END
6354         call.
6356         * math/libm-test.inc (struct test_f_f1_data): Add comment.
6357         (RUN_TEST_LOOP_fI_f1): New macro.
6358         (frexp_test_data): New variable.
6359         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6361         * math/libm-test.inc (struct test_fF_f1_data): New type.
6362         (RUN_TEST_LOOP_fF_f1): New macro.
6363         (modf_test_data): New variable.
6364         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6366         * math/libm-test.inc (struct test_f_f1_data): New type.
6367         (RUN_TEST_LOOP_f_f1): New macro.
6368         (gamma_test_data): New variable.
6369         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6370         (lgamma_test_data): New variable.
6371         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6373 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
6375         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6376         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6377         (main): Comment "tls" pseudo-hwcap.
6379 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
6381         * math/libm-test.inc (struct test_fl_f_data): New type.
6382         (RUN_TEST_LOOP_fl_f): New variable.
6383         (scalbln_test_data): New variable.
6384         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6386         * math/libm-test.inc (struct test_fi_f_data): New type.
6387         (RUN_TEST_LOOP_fi_f): New macro.
6388         (ldexp_test_data): New variable.
6389         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6390         (scalbn_test_data): New variable.
6391         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6393         * math/libm-test.inc (struct test_c_f_data): New type.
6394         (RUN_TEST_LOOP_c_f): New macro.
6395         (cabs_test_data): New variable.
6396         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6397         (carg_test_data): New variable.
6398         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6399         (cimag_test_data): New variable.
6400         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6401         (creal_test_data): New variable.
6402         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6404         * math/libm-test.inc (struct test_if_f_data): New type.
6405         (RUN_TEST_LOOP_if_f): New macro.
6406         (jn_test_data): New variable.
6407         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6408         (yn_test_data): New variable.
6409         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6411         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6413 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6415         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6416         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6418 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6420         * benchtests/Makefile (CPPFLAGS-nonlib): Add
6421         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6422         (bench-deps): Add bench-timing.h.
6423         * benchtests-bench-skeleton.c: Include bench-timing.h.
6424         (main): Use TIMING_* macros instead of clock_gettime.
6425         * benchtests/bench-timing.h: New file.
6427         [BZ #14582]
6428         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6429         Renamed from _LIB_VERSION.
6430         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6432 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
6434         * math/libm-test.inc (struct test_fff_f_data): New type.
6435         (RUN_TEST_LOOP_fff_f): New macro.
6436         (fma_test_data): New variable.
6437         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6438         (fma_towardzero_test_data): New variable.
6439         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6440         (fma_downward_test_data): New variable.
6441         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6442         (fma_upward_test_data): New variable.
6443         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6445         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6446         (struct test_c_c_data): New type.
6447         (RUN_TEST_LOOP_c_c): New macro.
6448         (cacos_test_data): New variable.
6449         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6450         (cacosh_test_data): New variable.
6451         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6452         (casin_test_data): New variable.
6453         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6454         (casinh_test_data): New variable.
6455         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6456         (catan_test_data): New variable.
6457         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6458         (catanh_test_data): New variable.
6459         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6460         (ccos_test_data): New variable.
6461         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6462         (ccosh_test_data): New variable.
6463         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6464         (cexp_test_data): New variable.
6465         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6466         (clog_test_data): New variable.
6467         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6468         (clog10_test_data): New variable.
6469         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6470         (conj_test_data): New variable.
6471         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6472         (cproj_test_data): New variable.
6473         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6474         (csin_test_data): New variable.
6475         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6476         (csinh_test_data): New variable.
6477         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6478         (csqrt_test_data): New variable.
6479         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6480         (ctan_test_data): New variable.
6481         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6482         (ctan_tonearest_test_data): New variable.
6483         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6484         (ctan_towardzero_test_data): New variable.
6485         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6486         (ctan_downward_test_data): New variable.
6487         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6488         (ctan_upward_test_data): New variable.
6489         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6490         (ctanh_test_data): New variable.
6491         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6492         (ctanh_tonearest_test_data): New variable.
6493         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6494         (ctanh_towardzero_test_data): New variable.
6495         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6496         (ctanh_downward_test_data): New variable.
6497         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6498         (ctanh_upward_test_data): New variable.
6499         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6500         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6501         of BUILD_COMPLEX.
6503         * math/libm-test.inc (struct test_ff_f_data): New type.
6504         (struct test_ff_f_data_nexttoward): Likewise.
6505         (RUN_TEST_LOOP_2_f): New macro.
6506         (RUN_TEST_LOOP_ff_f): Likewise.
6507         (atan2_test_data): New variable.
6508         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6509         (copysign_test_data): New variable.
6510         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6511         (fdim_test_data): New variable.
6512         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6513         (fmax_test_data): New variable.
6514         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6515         (fmin_test_data): New variable.
6516         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6517         (fmod_test_data): New variable.
6518         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6519         (hypot_test_data): New variable.
6520         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6521         (nextafter_test_data): New variable.
6522         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6523         (nexttoward_test_data): New variable.
6524         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6525         (pow_test_data): New variable.
6526         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6527         (pow_tonearest_test_data): New variable.
6528         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6529         (pow_towardzero_test_data): New variable.
6530         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6531         (pow_downward_test_data): New variable.
6532         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6533         (pow_upward_test_data): New variable.
6534         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6535         (remainder_test_data): New variable.
6536         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6537         (scalb_test_data): New variable.
6538         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6539         * sysdeps/i386/fpu/libm-test-ulps: Update.
6541 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
6543         * math/libm-test.inc (fma_test): Use max_value instead of local
6544         variable fltmax.
6545         (nextafter_test): Likewise.
6547         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6548         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6549         (acos_downward_test_data): New variable.
6550         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6551         (acos_upward_test_data): New variable.
6552         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6553         (acosh_test_data): New variable.
6554         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6555         (asin_test_data): New variable.
6556         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6557         (asin_tonearest_test_data): New variable.
6558         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6559         (asin_towardzero_test_data): New variable.
6560         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6561         (asin_downward_test_data): New variable.
6562         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6563         (asin_upward_test_data): New variable.
6564         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6565         (asinh_test_data): New variable.
6566         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6567         (atan_test_data): New variable.
6568         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6569         (atanh_test_data): New variable.
6570         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6571         (cbrt_test_data): New variable.
6572         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6573         (ceil_test_data): New variable.
6574         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6575         (cos_test_data): New variable.
6576         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6577         (cos_tonearest_test_data): New variable.
6578         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6579         (cos_towardzero_test_data): New variable.
6580         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6581         (cos_downward_test_data): New variable.
6582         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6583         (cos_upward_test_data): New variable.
6584         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6585         (cosh_test_data): New variable.
6586         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6587         (cosh_tonearest_test_data): New variable.
6588         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6589         (cosh_towardzero_test_data): New variable.
6590         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6591         (cosh_downward_test_data): New variable.
6592         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6593         (cosh_upward_test_data): New variable.
6594         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6595         (erf_test_data): New variable.
6596         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6597         (erfc_test_data): New variable.
6598         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6599         (exp_test_data): New variable.
6600         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6601         (exp_tonearest_test_data): New variable.
6602         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6603         (exp_towardzero_test_data): New variable.
6604         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6605         (exp_downward_test_data): New variable.
6606         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6607         (exp_upward_test_data): New variable.
6608         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6609         (exp10_test_data): New variable.
6610         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6611         (exp2_test_data): New variable.
6612         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6613         (expm1_test_data): New variable.
6614         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6615         (fabs_test_data): New variable.
6616         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6617         (floor_test_data): New variable.
6618         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6619         (j0_test_data): New variable.
6620         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6621         (j1_test_data): New variable.
6622         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6623         (log_test_data): New variable.
6624         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6625         (log10_test_data): New variable.
6626         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6627         (log1p_test_data): New variable.
6628         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6629         (log2_test_data): New variable.
6630         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6631         (logb_test_data): New variable.
6632         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6633         (logb_downward_test_data): New variable.
6634         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6635         (nearbyint_test_data): New variable.
6636         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6637         (rint_test_data): New variable.
6638         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6639         (rint_tonearest_test_data): New variable.
6640         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6641         (rint_towardzero_test_data): New variable.
6642         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6643         (rint_downward_test_data): New variable.
6644         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6645         (rint_upward_test_data): New variable.
6646         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6647         (round_test_data): New variable.
6648         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6649         (sin_test_data): New variable.
6650         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6651         (sin_tonearest_test_data): New variable.
6652         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6653         (sin_towardzero_test_data): New variable.
6654         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6655         (sin_downward_test_data): New variable.
6656         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6657         (sin_upward_test_data): New variable.
6658         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6659         (sinh_test_data): New variable.
6660         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6661         (sinh_tonearest_test_data): New variable.
6662         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6663         (sinh_towardzero_test_data): New variable.
6664         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6665         (sinh_downward_test_data): New variable.
6666         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6667         (sinh_upward_test_data): New variable.
6668         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6669         (sqrt_test_data): New variable.
6670         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6671         (tan_test_data): New variable.
6672         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6673         (tan_tonearest_test_data): New variable.
6674         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6675         (tan_towardzero_test_data): New variable.
6676         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6677         (tan_downward_test_data): New variable.
6678         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6679         (tan_upward_test_data): New variable.
6680         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6681         (tanh_test_data): New variable.
6682         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6683         (tgamma_test_data): New variable.
6684         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6685         (trunc_test_data): New variable.
6686         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6687         (y0_test_data): New variable.
6688         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6689         (y1_test_data): New variable.
6690         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6691         (significand_test_data): New variable.
6692         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6694 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6696         [BZ #12387]
6697         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6699 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6701         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6703 2013-05-10  Andreas Jaeger  <aj@suse.de>
6705         [BZ #15448]
6706         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6707         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6709 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6711         * math/gen-libm-test.pl (adjust_arg): New function.
6712         (special_functions): Handle generating output in both functions
6713         and arrays.
6714         (parse_args): Likewise.
6715         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6716         $in_func argument to parse_args.
6717         * math/libm-test.inc (struct test_f_f_data): New type.
6718         (IF_ROUND_INIT_): New macro.
6719         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6720         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6721         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6722         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6723         (ROUND_RESTORE_): Likewise.
6724         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6725         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6726         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6727         (ROUND_RESTORE_FE_UPWARD): Likewise.
6728         (RUN_TEST_LOOP_f_f): New macro.
6729         (acos_test_data): New variable.
6730         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6731         (acos_tonearest_test_data): New variable.
6732         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6734 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6736         * benchtests/bench-skeleton.c (startup): Fix coding style.
6738 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6740         [BZ #6809]
6741         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6742         negative infinity argument.
6743         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6744         negative infinity argument.
6745         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6746         negative infinity argument.
6747         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6748         domain errors.
6750 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6752         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6753         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6754         * iconv/iconv_prog.c (main): Likewise.
6755         * locale/programs/charmap-dir.c (charmap_readdir)
6756         (fopen_uncompressed): Likewise.
6757         * locale/programs/locfile.c (siblings_uncached)
6758         (write_locale_data): Use lstat64 instead of lstat.
6759         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6760         stat.
6762 2013-05-10  Andreas Jaeger  <aj@suse.de>
6764         [BZ #15395]
6765         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6766         localization.
6767         Include <locale.h>.
6769 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6771         * elf/dl-close.c (_dl_close_worker): Add comments.
6773 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6775         [BZ #15359]
6776         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6777         high part of pi/2.
6778         (__ieee754_rem_pio2l): Update comments.
6780         [BZ #15429]
6781         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6782         high part of pi/2.
6783         (__ieee754_rem_pio2l): Update comments.
6785         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6786         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6788         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6789         M_PI_4l.
6791         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6792         (M_PI_34_LOG10El): Likewise.
6793         (M_PI2_LOG10El): Likewise.
6794         (M_PI4_LOG10El): Likewise.
6795         (M_PI_LOG10El): Likewise.
6797 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6801 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6803         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6804         (MINUS_ZERO_INIT): Likewise.
6805         (PLUS_INFTY_INIT): Likewise.
6806         (MINUS_INFTY_INIT): Likewise.
6807         (QNAN_VALUE_INIT): Likewise.
6808         (MAX_VALUE_INIT): Likewise.
6809         (MIN_VALUE_INIT): Likewise.
6810         (MIN_SUBNORM_VALUE_INIT): Likewise.
6811         (plus_zero): Initialize with PLUS_ZERO_INIT.
6812         (minus_zero): Initialize with MINUS_ZERO_INIT.
6813         (plus_infty): Initialize with PLUS_INFTY_INIT.
6814         (minus_infty): Initialize with MINUS_INFTY_INIT.
6815         (qnan_value): Initialize with QNAN_VALUE_INIT.
6816         (max_value): Initialize with MAX_VALUE_INIT.
6817         (min_value): Initialize with MIN_VALUE_INIT.
6818         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6820         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6821         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6822         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6823         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6825         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6826         (RUN_TEST_2_f): Likewise.
6827         (RUN_TEST_ff_f): Likewise.
6828         (RUN_TEST_fi_f): Likewise.
6829         (RUN_TEST_fl_f): Likewise.
6830         (RUN_TEST_fff_f): Likewise.
6831         (RUN_TEST_c_f): Likewise.
6832         (RUN_TEST_f_f1): Likewise.
6833         (RUN_TEST_fF_f1): Likewise.
6834         (RUN_TEST_fI_f1): Likewise.
6835         (RUN_TEST_ffI_f1): Likewise.
6836         (RUN_TEST_c_c): Likewise.
6837         (RUN_TEST_cc_c): Likewise.
6838         (RUN_TEST_f_i): Likewise.
6839         (RUN_TEST_f_i_tg): Likewise.
6840         (RUN_TEST_ff_i_tg): Likewise.
6841         (RUN_TEST_f_b): Likewise.
6842         (RUN_TEST_f_b_tg): Likewise.
6843         (RUN_TEST_f_l): Likewise.
6844         (RUN_TEST_f_L): Likewise.
6845         (RUN_TEST_sincos): Likewise.
6846         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6847         whether to show exceptions.  Do not include ");\n" in return
6848         value.
6849         (special_functions): Output call to RUN_TEST_sincos instead of
6850         check_float calls.  Update calls to new_test.
6851         (parse_args): Output call to single RUN_TEST_* macro instead of
6852         check_* calls and other assignments.  Update calls to new_test.
6854         [BZ #2546]
6855         [BZ #2560]
6856         [BZ #5159]
6857         [BZ #15426]
6858         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6859         input to result for tgamma overflow.
6860         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6861         (gamma_coeff): New variable.
6862         (NCOEFF): New macro.
6863         (gamma_positive): New function.
6864         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6865         underflow here.  Use gamma_positive instead of exp (lgamma) for
6866         other arguments.
6867         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6868         (gamma_coeff): New variable.
6869         (NCOEFF): New macro.
6870         (gammaf_positive): New function.
6871         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6872         underflow here.  Use gamma_positive instead of exp (lgamma) for
6873         other arguments.
6874         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6875         (gamma_coeff): New variable.
6876         (NCOEFF): New macro.
6877         (gammal_positive): New function.
6878         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6879         underflow here.  Use gamma_positive instead of exp (lgamma) for
6880         other arguments.
6881         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6882         (gamma_coeff): New variable.
6883         (NCOEFF): New macro.
6884         (gammal_positive): New function.
6885         (__ieee754_gammal_r): Handle positive infinity, overflow and
6886         underflow here.  Handle NaN the same as positive infinity.  Remove
6887         check x < 0xffffffff for negative integers.  Use gamma_positive
6888         instead of exp (lgamma) for other arguments.
6889         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6890         (gamma_coeff): New variable.
6891         (NCOEFF): New macro.
6892         (gammal_positive): New function.
6893         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6894         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6895         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6896         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6897         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6898         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6899         * sysdeps/generic/math_private.h (__gamma_productf): New
6900         prototype.
6901         (__gamma_product): Likewise.
6902         (__gamma_productl): Likewise.
6903         * math/Makefile (libm-calls): Add gamma_product.
6904         * math/libm-test.inc (tgamma_test): Add more tests.
6905         * sysdeps/i386/fpu/libm-test-ulps: Update.
6906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6908 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6910         * benchtests/bench-skeleton.c (main): Preheat CPU.
6912 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6914         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6916 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6918         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6919         and _dl_skip_args_internal.
6921 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6923         * manual/message.texi (Message Translation): Talk about users.
6924         Message to key mapping impacts design.
6926 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6928         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6930         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6932         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6933         * sysdeps/wordsize-64/glob64.c: ... here.
6935         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6936         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6937         New macros.
6939         * debug/getlogin_r_chk.c: Moved to ...
6940         * login/getlogin_r_chk.c: ... here.
6941         * debug/Makefile (routines): Move getlogin_r_chk to ...
6942         * login/Makefile (routines): ... here.
6943         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6944         * login/Versions (libc: GLIBC_2.4): ... here.
6946         * io/poll.c (__poll): Renamed from poll.
6947         Add libc_hidden_def.
6948         (poll): Define as weak alias.
6950         * debug/ptsname_r_chk.c: Moved to ...
6951         * login/ptsname_r_chk.c: ... here.
6952         * debug/Makefile (routines): Move ptsname_r_chk to ...
6953         * login/Makefile (routines): ... here.
6954         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6955         * login/Versions (libc: GLIBC_2.4): ... here.
6957         * posix/getlogin.c: Moved to ...
6958         * login/getlogin.c: ... here.
6959         * posix/getlogin_r.c: Moved to ...
6960         * login/getlogin_r.c: ... here.
6961         * posix/getlogin_r.c: Moved to ...
6962         * login/getlogin_r.c: ... here.
6963         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6964         * login/Makefile (routines): ... here.
6965         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6966         * login/Versions (libc: GLIBC_2.0): ... here.
6968         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6969         (setrlimit): Define as weak alias.
6971         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6972         Call __ names for open, ftruncate, and close.
6973         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6974         (truncate): Define as weak alias.
6976 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6978         * math/gen-libm-test.pl (parse_args): Initialize x before each
6979         test of frexp, modf and remquo.
6981         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6982         test signgam value.
6984 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6986         [BZ #15418]
6987         [BZ #15419]
6988         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6989         internal tests.
6990         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6992 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6994         * elf/dl-writev.h: New file.
6995         * elf/dl-misc.c: Include it.
6996         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6997         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6999 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
7001         * math/libm-test.inc (noXFails): Remove variable.
7002         (noXPasses): Likewise.
7003         (BUILD_COMPLEX_INT): Remove macro.
7004         (print_screen): Remove xfail argument.
7005         (print_screen_max_error): Likewise.
7006         (update_stats): Likewise.
7007         (print_max_error): Likewise.  Update calls to other affected
7008         functions.
7009         (print_complex_max_error): Likewise.
7010         (test_single_exception): Update calls to print_screen.
7011         (test_single_errno): Likewise.
7012         (check_float_internal): Remove xfail argument.  Update calls to
7013         other affected functions.
7014         (check_float): Likewise.
7015         (check_complex): Likewise.
7016         (check_int): Likewise.
7017         (check_long): Likewise.
7018         (check_bool): Likewise.
7019         (check_longlong): Likewise.
7020         (main): Don't print noXFails and noXPasses.
7021         * math/gen-libm-test.pl (top level): Don't mention expected
7022         failure handling in comment.
7023         (new_test): Don't handle expected failures.
7024         (parse_args): Don't mention expected failure handling in comment.
7025         (generate_testfile): Don't handle expected failures.
7026         (parse_ulps): Likewise.
7027         (print_ulps_file): Likewise.
7028         (get_failure): Remove function.
7029         (output_test): Don't handle expected failures.
7030         * make/README.libm-test: Don't mention expected failure handling.
7032         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
7033         (minus_zero): Likewise.
7034         (plus_infty): Likewise.
7035         (minus_infty): Likewise.
7036         (qnan_value): Likewise.
7037         (max_value): Likewise.
7038         (min_value): Likewise.
7039         (min_subnorm_value): Likewise.
7040         (initialize): Do not initialize those variables dynamically.
7042 2013-05-03  Roland McGrath  <roland@hack.frob.com>
7044         * io/open.c (__open_2): Moved to ...
7045         * io/open_2.c: ... this new file.
7046         * io/open64.c (__open64_2): Moved to ...
7047         * io/open64_2.c: ... this new file.
7048         * io/openat.c (__openat_2): Moved to ...
7049         * io/openat_2.c: ... this new file.
7050         * io/openat64.c (__openat64_2): Moved to ...
7051         * io/openat64_2.c: ... this new file.
7052         * io/Makefile (routines): Add them.
7053         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7054         * sysdeps/unix/sysv/linux/open_2.c: File removed.
7055         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7056         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7057         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7058         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7059         (__openat64): Add hidden_ver.
7060         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7061         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7063         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7064         Separately conditionalize setting of GLRO(dl_sysinfo) so
7065         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7066         as well, but the actual setting is only under [NEED_DL_SYSINFO].
7068 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7070         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7071         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7072         definition.
7073         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7074         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7075         (_libc_vdso_platform_setup): Add __vdso_time initialization.
7076         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7077         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7079 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
7081         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7082         test signgam value.
7084         * math/libm-test.inc (hypot_test): Do not use
7085         IGNORE_ZERO_INF_SIGN.
7087 2013-05-03  Andreas Jaeger  <aj@suse.de>
7089         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7090         Linux 3.9.
7091         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7092         (PF_MAX): Adjust for VSOCK change.
7094 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7098 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
7100         [BZ #15264]
7101         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7102         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7103         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7105 2013-05-02  David S. Miller  <davem@davemloft.net>
7107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7109 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
7111         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7113 2013-05-01  Roland McGrath  <roland@hack.frob.com>
7115         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7117 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
7119         [BZ #14952]
7120         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7121         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7122         Use __attribute__ ((__gnu_inline__)).
7123         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7124         Don't use __attribute__ ((__gnu_inline__)).
7126 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
7128         [BZ #15423]
7129         * math/s_catan.c (__catan): Handle small real or imaginary part of
7130         input specially to avoid spurious underflow.
7131         * math/s_catanf.c (__catanf): Likewise.
7132         * math/s_catanh.c (__catanh): Likewise.
7133         * math/s_catanhf.c (__catanhf): Likewise.
7134         * math/s_catanhl.c (__catanhl): Likewise.
7135         * math/s_catanl.c (__catanl): Likewise.
7136         * math/libm-test.inc (catan_test): Add more tests.
7137         (catanh_test): Likewise.
7138         * sysdeps/i386/fpu/libm-test-ulps: Update.
7139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7141 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7145 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
7147         [BZ #15416]
7148         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7149         accurately for denominator in atan2.
7150         * math/s_catanf.c (__catanf): Likewise.
7151         * math/s_catanh.c (__catanh): Likewise.
7152         * math/s_catanhf.c (__catanhf): Likewise.
7153         * math/s_catanhl.c (__catanhl): Likewise.
7154         * math/s_catanl.c (__catanl): Likewise.
7155         * math/libm-test.inc (catan_test): Add more tests.
7156         (catanh_test): Likewise.
7157         * sysdeps/i386/fpu/libm-test-ulps: Update.
7158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7160 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7162         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7164         * benchtests/Makefile (bench): Remove slow benchmarks.
7165         * benchtests/atan-inputs: Add slow benchmark inputs.
7166         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7167         (BENCH_FUNC): Accept variant offset.
7168         (VARIANT): Define.
7169         * benchtests/bench-skeleton.c (main): Run benchmark for each
7170         variant.
7171         * benchtests/cos-inputs: Add slow benchmark inputs.
7172         * benchtests/exp-inputs: Likewise.
7173         * benchtests/pow-inputs: Likewise.
7174         * benchtests/sin-inputs: Likewise.
7175         * benchtests/slowatan-inputs: Remove.
7176         * benchtests/slowatan.c: Remove.
7177         * benchtests/slowcos-inputs: Remove.
7178         * benchtests/slowcos.c: Remove.
7179         * benchtests/slowexp-inputs: Remove.
7180         * benchtests/slowexp.c: Remove.
7181         * benchtests/slowpow-inputs: Remove.
7182         * benchtests/slowpow.c: Remove.
7183         * benchtests/slowsin-inputs: Remove.
7184         * benchtests/slowsin.c: Remove.
7185         * benchtests/slowtan-inputs: Remove.
7186         * benchtests/slowtan.c: Remove.
7187         * benchtests/tan-inputs: Add slow benchmark inputs.
7188         * scripts/bench.pl: Parse comments and directives.
7190         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
7191         in CPPFLAGS.
7192         ($(objpfx)bench-%.c): Remove *-ITER.
7193         * benchtests/bench-modf.c: Remove definition of ITER.
7194         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7195         (main): Loop for DURATION seconds instead of fixed number of
7196         iterations.
7197         * scripts/bench.pl: Don't expect iterations in parameters.
7199 2013-04-29  Roland McGrath  <roland@hack.frob.com>
7201         * io/fchdir.c (__fchdir): Renamed from fchdir.
7202         (fchdir): Define as weak alias.
7204 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7206         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7207         (ERRNO_EDOM): Likewise.
7208         (ERRNO_ERANGE): Likewise.
7209         (noErrnoTests): New variable.
7210         (init_max_error): Set errno to 0.
7211         (test_single_errno): New function.
7212         (test_errno): Likewise.
7213         (check_float_internal): Call test_errno.  Set errno to 0.
7214         (check_complex): Refer to errno tests in comment.
7215         (check_int): Call test_errno.  Set errno to 0.
7216         (check_long): Likewise.
7217         (check_bool): Likewise.
7218         (check_longlong): Likewise.
7219         (cos_test): Use ERRNO_* flags for errno tests instead of
7220         check_int.
7221         (expm1_test): Likewise.
7222         (fmod_test): Likewise.
7223         (ilogb_test): Likewise.
7224         (lgamma_test): Likewise.
7225         (pow_test): Likewise.
7226         (remainder_test): Likewise.
7227         (sin_test): Likewise.
7228         (tan_test): Likewise.
7229         (yn_test): Likewise.
7230         (initialize): Set errno to 0.
7231         (main): Print number of errno tests.
7232         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7234 2013-04-29  Andreas Jaeger  <aj@suse.de>
7236         [BZ #15084]
7237         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7238         and RES_USEVC.
7240         [BZ #15085]
7241         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7242         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7243         unimplemented.
7245         [BZ #15380]
7246         * stdlib/random.c (__initstate): Return NULL if
7247         __initstate fails.
7249         [BZ #15086]
7250         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7251         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7252         RES_SNGLKUPREOP.
7254 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7258 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
7260         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7261         of individual tests.
7262         (casin_test): Likewise.
7263         (casinh_test): Likewise.
7265 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
7267         [BZ #15409]
7268         * math/s_catan.c (__catan): Handle arguments with large real or
7269         imaginary part separately without squaring.
7270         * math/s_catanf.c (__catanf): Likewise.
7271         * math/s_catanh.c (__catanh): Likewise.
7272         * math/s_catanhf.c (__catanhf): Likewise.
7273         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7274         and redefine.
7275         (__catanhl): Handle arguments with large real or imaginary part
7276         separately without squaring.
7277         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7278         and redefine.
7279         (__catanl): Handle arguments with large real or imaginary part
7280         separately without squaring.
7281         * math/libm-test.inc (catan_test): Add more tests.
7282         (catanh_test): Likewise.
7283         * sysdeps/i386/fpu/libm-test-ulps: Update.
7284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7286 2013-04-27  Andreas Jaeger  <aj@suse.de>
7288         [BZ #15007]
7289         * stdlib/stdlib.h: Update guards for qecvt.
7290         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7291         <stdlib.h>.
7293 2013-04-27  Allan McRae  <allan@archlinux.org>
7295         * sysdeps/i386/fpu/libm-test-ulps: Update.
7297 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
7299         [BZ #15406]
7300         * math/s_catan.c: Include <float.h>.
7301         (__catan): Ensure underflow exception occurs for underflowed
7302         result.
7303         * math/s_catanf.c: Include <float.h>.
7304         (__catanf): Ensure underflow exception occurs for underflowed
7305         result.
7306         * math/s_catanh.c: Include <float.h>.
7307         (__catanh): Ensure underflow exception occurs for underflowed
7308         result.
7309         * math/s_catanhf.c: Include <float.h>.
7310         (__catanhf): Ensure underflow exception occurs for underflowed
7311         result.
7312         * math/s_catanhl.c: Include <float.h>.
7313         (__catanhl): Ensure underflow exception occurs for underflowed
7314         result.
7315         * math/s_catanl.c: Include <float.h>.
7316         (__catanl): Ensure underflow exception occurs for underflowed
7317         result.
7318         * math/libm-test.inc (catan_test): Add more tests.
7319         (catanh_test): Likewise.
7321         [BZ #15405]
7322         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7323         underflowed result.
7324         * math/s_ccoshf.c (__ccoshf): Likewise.
7325         * math/s_ccoshl.c (__ccoshl): Likewise.
7326         * math/s_csin.c (__csin): Likewise.
7327         * math/s_csinf.c (__csinf): Likewise.
7328         * math/s_csinh.c (__csinh): Likewise.
7329         * math/s_csinhf.c (__csinhf): Likewise.
7330         * math/s_csinhl.c (__csinhl): Likewise.
7331         * math/s_csinl.c (__csinl): Likewise.
7332         * math/libm-test.inc (ccos_test): Add more tests.
7333         (ccosh_test): Likewise.
7334         (csin_test): Likewise.
7335         (csinh_test): Likewise.
7337 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7339         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7340         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7341         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7342         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7343         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7344         powerpc/power5+/fpu folders.
7345         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7348 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7352 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
7354         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7355         additions to variable.
7356         [$(config-machine) = x86_64] (modules-names): Likewise.
7357         ($(objpfx)tst-audit3): Remove dependency.
7358         ($(objpfx)tst-audit3.out): Likewise.
7359         ($(objpfx)tst-audit4): Likewise.
7360         ($(objpfx)tst-audit4.out): Likewise.
7361         ($(objpfx)tst-audit5): Likewise.
7362         ($(objpfx)tst-audit5.out): Likewise.
7363         ($(objpfx)tst-audit6): Likewise.
7364         ($(objpfx)tst-audit6.out): Likewise.
7365         ($(objpfx)tst-audit7): Likewise.
7366         ($(objpfx)tst-audit7.out): Likewise.
7367         (tst-audit3-ENV): Remove variable.
7368         (tst-audit4-ENV): Likewise.
7369         (tst-audit5-ENV): Likewise.
7370         (tst-audit6-ENV): Likewise.
7371         (tst-audit7-ENV): Likewise.
7372         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7373         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7374         addition to variable.
7375         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7376         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7377         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7378         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7379         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7380         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7381         tst-audit3, tst-audit4 and tst-audit5.
7382         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7383         tst-audit6 and tst-audit7.
7384         [$(subdir) = elf] (modules-names): Add audit modules for those
7385         tests.
7386         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7387         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7388         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7389         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7390         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7391         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7392         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7393         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7394         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7395         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7396         [$(subdir) = elf] (tst-audit3-ENV): New variable.
7397         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7398         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7399         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7400         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7401         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7402         Likewise.
7403         [$(subdir) = elf && $(config-cflags-avx) = yes]
7404         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7405         [$(subdir) = elf && $(config-cflags-avx) = yes]
7406         (CFLAGS-tst-auditmod4a.c): Likewise.
7407         [$(subdir) = elf && $(config-cflags-avx) = yes]
7408         (CFLAGS-tst-auditmod4b.c): Likewise.
7409         [$(subdir) = elf && $(config-cflags-avx) = yes]
7410         (CFLAGS-tst-auditmod6b.c): Likewise.
7411         [$(subdir) = elf && $(config-cflags-avx) = yes]
7412         (CFLAGS-tst-auditmod6c.c): Likewise.
7413         [$(subdir) = elf && $(config-cflags-avx) = yes]
7414         (CFLAGS-tst-auditmod7b.c): Likewise.
7415         * elf/tst-audit3.c: Move to ...
7416         * sysdeps/x86_64/tst-audit3.c: ... here.
7417         * elf/tst-audit4.c: Move to ...
7418         * sysdeps/x86_64/tst-audit4.c: ... here.
7419         * elf/tst-audit5.c: Move to ...
7420         * sysdeps/x86_64/tst-audit5.c: ... here.
7421         * elf/tst-audit6.c: Move to ...
7422         * sysdeps/x86_64/tst-audit6.c: ... here.
7423         * elf/tst-audit7.c: Move to ...
7424         * sysdeps/x86_64/tst-audit7.c: ... here.
7425         * elf/tst-auditmod3a.c: Move to ...
7426         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7427         * elf/tst-auditmod3b.c: Move to ...
7428         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7429         * elf/tst-auditmod4a.c: Move to ...
7430         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7431         * elf/tst-auditmod4b.c: Move to ...
7432         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7433         * elf/tst-auditmod5a.c: Move to ...
7434         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7435         * elf/tst-auditmod5b.c: Move to ...
7436         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7437         * elf/tst-auditmod6a.c: Move to ...
7438         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7439         * elf/tst-auditmod6b.c: Move to ...
7440         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7441         * elf/tst-auditmod6c.c: Move to ...
7442         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7443         * elf/tst-auditmod7a.c: Move to ...
7444         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7445         * elf/tst-auditmod7b.c: Move to ...
7446         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7448 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
7450         [BZ #15366]
7451         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7452         define unconditionally.
7453         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7454         define unconditionally.
7455         (INT8_C, INT16_C, etc.): Likewise.
7457 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
7459         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7460         __ehdr_start with hidden visibility.
7462         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7464 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
7466         * math/libm-test.inc (cos_test): Use accurate hex constants.
7467         (sincost_test): Likewise.
7469 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
7471         * math/libm-test.inc (catan_test): Add more tests.
7472         (catanh_test): Likewise.
7474         * math/s_catanf.c (__catanf): Use suffixed floating-point
7475         constants.
7476         * math/s_catanhf.c (__catanhf): Likewise.
7477         * math/s_catanhl.c (__catanhl): Likewise.
7478         * math/s_catanl.c (__catanl): Likewise.
7480         [BZ #15394]
7481         * math/s_catan.c (__catan): Calculate imaginary part of result
7482         with log1p not log unless computing log of number close to 0.
7483         * math/s_catanf.c (__catanf): Likewise.
7484         * math/s_catanl.c (__catanl): Likewise.
7485         * math/s_catanh.c (__catanh): Calculate real part of result with
7486         log1p not log unless computing log of number close to 0.
7487         * math/s_catanhf.c (__catanhf): Likewise.
7488         * math/s_catanhl.c (__catanhl): Likewise.
7489         * math/libm-test.inc (catan_test): Add more tests.
7490         (catanh_test): Likewise.
7491         * sysdeps/i386/fpu/libm-test-ulps: Update.
7492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7494 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7496         * benchtests/Makefile: Mention files in which fast and slow
7497         paths of math functions are implemented.
7499 2013-04-23  Roland McGrath  <roland@hack.frob.com>
7501         * sysdeps/posix/timespec_get.c: New file.
7503 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7505         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7506         POWER.
7507         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7508         for POWER.
7509         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7510         powerpc/power5/fpu folders.
7511         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7512         * benchtests/Makefile: Add modf testcase.
7513         * benchtests/bench-modf.c: New file: Benchmark test for mo
7515 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7517         [BZ #14888]
7518         * time/Makefile (tests): Add tst-strptime-whitespace.
7519         * time/strptime_l.c (get_number): Use ISSPACE.
7520         (__strptime_internal): Likewise.
7521         * time/tst-strptime-whitespace.c: New test case.
7523 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
7525         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7526         member.
7527         (_nss_files_init): Set it here.
7529 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
7531         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7532         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7533         unsigned.
7535 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
7537         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7539 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7541         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7542         size just once.
7544 2013-04-21  David S. Miller  <davem@davemloft.net>
7546         * po/ru.po: Update Russion translation from translation project.
7548 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7550         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7551         and setfsgid.
7553 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7555         * configure.in: Remove i386 configure warning. Remove i386 case.
7556         * configure: Regenerate.
7557         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7558         Add example to error message.
7559         * sysdeps/i386/configure: Regenerate.
7561 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7563         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7564         slowtan.
7565         * benchtests/cos-inputs: New file.
7566         * benchtests/slowcos-inputs: New file.
7567         * benchtests/slowcos.c: New file.
7568         * benchtests/slowtan-inputs: New file.
7569         * benchtests/slowtan.c: New file.
7570         * benchtests/tan-inputs: New file.
7572 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7574         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7575         considered kosher.
7577 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7579         * benchtests/Makefile: Include cppflags-iterator.mk to add
7580         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7582         * Makefile.in (bench-clean): New target.
7583         * benchtests/Makefile (bench-clean): Likewise.
7585 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7587         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7589 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7591         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7593 2013-04-15  Andreas Schwab  <schwab@suse.de>
7595         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7596         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7597         * nscd/pwdcache.c (cache_addpw): Likewise.
7598         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7599         more than recsize.
7601 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7603         * benchtests/Makefile (bench): Write all output to
7604         bench-out.tmp together.
7606 2013-04-15  Andreas Schwab  <schwab@suse.de>
7608         * nscd/nscd.c (main): Don't fork again after closing files.
7610 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7612         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7614         * benchtests/Rules (bench-deps): Collect dependencies into a
7615         single variable.  Add Makefile to dependencies.
7616         ($(objpfx)bench-%.c): Depend on bench-deps.
7618 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7619             Xavier Roche  <roche+kml2@exalead.com>
7621         [BZ #15361]
7622         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7623         just that it's a file descriptor.
7624         * manual/llio.texi (Synchronizing AIO Operations): Update description
7625         for EBADF error from aio_fsync.
7627 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7629         * Rules (bench): Move target definition...
7630         * benchtests/Makefile: ... here.
7632 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7634         * math/libm-test.inc (cos_test): Fix PI/2 test.
7635         (sincos_test): Likewise.
7636         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7637         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7639 2013-04-11  Andreas Schwab  <schwab@suse.de>
7641         [BZ #13988]
7642         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7643         accept exponent character only when digits were seen.
7644         * stdio-common/Makefile (tests): Add bug26.
7645         * stdio-common/bug26.c: New file.
7647         [BZ #14293]
7648         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7649         non-freeable.
7651 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7653         * Makeconfig (rtld-prefix): Define built linker prefix.
7654         * Rules (run-bench): Use it.
7655         * math/Makefile (run-regen-ulps): Likewise.
7657         * Rules (bench): Remove eval.
7659 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7660             Roland McGrath  <roland@hack.frob.com>
7661             Ondrej Bilka  <neleai@seznam.cz>
7663         [BZ #15346]
7664         * time/getdate.c: Include ctype.h and alloca.h.
7665         (__getdate_r): Trim leading and trailing spaces of input.
7666         * time/tst-getdate.c (tests): Add tests with leading and
7667         trailing spaces.
7669 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7671         [BZ #14280]
7672         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7673         when computing value.
7675 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7677         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7678         Use testrun.sh to run libm tests.
7680         [BZ #15309]
7681         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7683 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7685         [BZ #15264]
7686         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7688 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7690         * Makefile.in (regen-ulps): New target.
7691         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7692         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7693         [ifneq (no,$(PERL)] (regen-ulps): New target.
7694         [ifeq (no,$(PERL)] (regen-ulps): New target.
7695         * math/libm-test.inc (ulps_file_name): Define.
7696         (output_dir): New variable.
7697         (options): Add "output-dir" option.
7698         (parse_opt): Handle 'o' case.
7699         (main): If output_dir is non-NULL use it as a prefix
7700         otherwise use "".
7701         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7703 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7705         [BZ #10060, #10062]
7706         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7707         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7708         fail configure if __sync_val_compare_and_swap is not inlined.
7709         * sysdeps/i386/configure: Regenerate.
7710         * configure.in: Build for i686 when configured for i386.
7711         * configure: Regenerate.
7712         * README: Remove i386 reference.
7714 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7716         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7717         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7719 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7721         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7722         (lmsnanval): New variables.
7723         (F): Add conversion tests.
7724         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7725         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7727         * stdio-common/tstdiomisc.c (F): Properly collect individual
7728         tests' results.
7730         [BZ #14686, #15336]
7731         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7732         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7733         Instead, use input NaN values or generate a qNaN by arithmetic
7734         operation.  Also fix bugs to comply with the standard.
7735         * math/libm-test.inc (remainder_test): Add more tests.
7737         [BZ #15335, #15342]
7738         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7739         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7740         input NaN values or generate a qNaN by arithmetic operation.
7742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7743         unreachable code.
7745         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7746         definitions.
7748 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7750         [BZ #14478]
7751         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7752         underflowed result.
7753         * math/s_cexpf.c (__cexpf): Likewise.
7754         * math/s_cexpl.c (__cexpl): Likewise.
7755         * math/libm-test.inc (cexp_test): Add more tests.
7757 2013-04-03  Andreas Schwab  <schwab@suse.de>
7759         [BZ #15330]
7760         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7761         order arrays from heap if bigger than alloca cutoff.
7763 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7765         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7766         (SNAN_TESTS_double): Refer to GCC PR56831.
7767         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7768         GCC PR56828.
7770 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7772         * Rules (bench): Move bench.out after the run is complete.
7774         * Rules (bench): Echo currently running benchmark.
7776         * benchtests/Makefile (bench): Add atan and slowatan.
7777         * benchtests/atan-inputs: New file.
7778         * benchtests/slowatan-inputs: New file.
7779         * benchtests/slowatan.c: New file.
7781         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7783         its value.
7785         [BZ #15305]
7786         * sysdeps/unix/sysv/linux/kernel-features.h
7787         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7788         __ASSUME_XFS_RESTRICTED_CHOWN.
7789         * sysdeps/unix/sysv/linux/pathconf.c
7790         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7791         Save and restore errno.
7793 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7795         [BZ #15327]
7796         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7797         arguments using __kernel_casinh.
7798         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7799         arguments using __kernel_casinhf.
7800         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7801         arguments using __kernel_casinhl.
7802         * math/libm-test.inc (cacosh_test): Add more tests.
7803         * sysdeps/i386/fpu/libm-test-ulps: Update.
7804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7806 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7808         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7809         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7811         * bench/Makefile (bench): Add sin and slowsin.
7812         * benchtests/sin-inputs: New file.
7813         * benchtests/slowsin-inputs: New file.
7814         * benchtests/slowsin.c: New file.
7816         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7817         (bench): Add slowexp and slowpow.
7818         (exp-ITER): Increase iterations.
7819         (pow-ITER): Likewise.
7820         * benchtests/exp-inputs: Change input.
7821         * benchtests/pow-inputs: Likewise.
7822         * benchtests/slowexp-inputs: New file.
7823         * benchtests/slowexp.c: New file.
7824         * benchtests/slowpow-inputs: New file.
7825         * benchtests/slowpow.c: New file.
7827 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7829         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7830         instructions.
7831         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7832         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7833         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7834         * benchtests/Makefile: Add rint benchtest.
7835         * benchtests/rint-inputs: Input for rint benchtest.
7837 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7839         * Versions.def (libm): Add GLIBC_2.18.
7840         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7841         hidden libm prototypes.
7842         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7843         * math/Makefile (libm-calls): Add s_issignaling.
7844         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7845         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7846         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7847         declaration.
7848         * math/math.h [__USE_GNU] (issignaling): New macro.
7849         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7850         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7851         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7852         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7853         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7854         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7855         * manual/arith.texi (issignaling): New section.
7856         * manual/libm-err-tab.pl (@all_functions): Update comment.
7857         * math/gen-libm-test.pl (parse_args): Apply special handling for
7858         issignaling.
7859         * math/libm-test.inc (print_float, issignaling_test): New
7860         functions.
7861         (check_float_internal): Add issignaling checks.
7862         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7863         default definition.
7864         * sysdeps/powerpc/math-tests.h: New file.
7865         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7866         tests.
7867         * math/test-snan.c (TEST_FUNC): Likewise.
7869 2013-03-30  David S. Miller  <davem@davemloft.net>
7871         * po/de.po: Update from translation team.
7873 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7875         [BZ #10357]
7876         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7877         imaginary part less than 1.0 and real part less than 0.5
7878         specially.
7879         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7880         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7881         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7882         (cacos_test): Add more tests.
7883         (casin_test): Likewise.
7884         (casinh_test): Likewise.
7885         * sysdeps/i386/fpu/libm-test-ulps: Update.
7886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7888 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7890         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7891         ONE with its value.
7893         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7894         (__pow_mp): Replace ONE and MONE with their values.
7895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7896         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7897         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7898         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7899         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7900         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7902         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7904         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7905         (__pow_mp): Replace ZERO and MZERO with their values.
7906         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7907         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7908         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7910         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7911         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7912         (__sqr): Likewise.
7914         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7916         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7918 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7920         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7921         Declare with __attribute__ ((weak)).
7922         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7923         Call __call_tls_dtors only if it's not NULL.
7925 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7927         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7928         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7929         magic __ehdr_start linker symbol if it's defined.
7930         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7931         them up here if it was already done.
7933         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7934         (_dl_aux_init): Use const in cast when setting it.
7935         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7936         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7937         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7939         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7940         Declare them here.
7941         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7942         * csu/libc-tls.c: Nor here.
7943         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7945         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7946         (__libc_message): Never call vsyslog.
7948 2013-03-28  Alan Modra  <amodra@gmail.com>
7950         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7951         Define as empty.
7952         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7953         Likewise.
7955 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7957         [BZ #15214]
7958         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7959         underflow.
7960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7962 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7964         [BZ #15304]
7965         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7966         Don't add gid passed as argument.
7968         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7970 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7972         [BZ #15307]
7973         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7974         imaginary part between 1.0 and 1.5 and real part less than 0.5
7975         specially.
7976         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7977         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7978         * math/libm-test.inc (cacos_test): Add more tests.
7979         (casin_test): Likewise.
7980         (casinh_test): Likewise.
7981         * sysdeps/i386/fpu/libm-test-ulps: Update.
7982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7984 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7986         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7987         constants.
7988         (norm): Likewise.
7989         (denorm): Likewise.
7990         (__dbl_mp): Likewise.
7991         (add_magnitudes): Likewise.
7992         (sub_magnitudes): Likewise.
7993         (__add): Likewise.
7994         (__sub): Likewise.
7995         (__mul): Likewise.
7996         (__sqr): Likewise.
7997         (__inv): Likewise.
7998         (__dvd): Likewise.
8000         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8001         commented code.
8002         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8003         (__dubcos): Likewise.
8004         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8005         (__ieee754_acos): Likewise.
8006         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8007         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8008         (__exp1): Likewise.
8009         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8011         (log1): Likewise.
8012         (my_log2): Likewise.
8013         (checkint): Likewise.
8014         * sysdeps/ieee754/dbl-64/e_remainder.c
8015         (__ieee754_remainder): Likewise.
8016         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8017         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8018         (bsloww): Likewise.
8019         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8021         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8022         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8023         MANTISSA_STORE_T to store computations on mantissa.  Use
8024         macros for rounding and division.
8025         (denorm): Likewise.
8026         (__dbl_mp): Likewise.
8027         (add_magnitudes): Likewise.
8028         (sub_magnitudes): Likewise.
8029         (__mul): Likewise.
8030         (__sqr): Likewise.
8031         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8032         powers of two in terms of TWOPOW macro.
8033         (mp_no): Make type of mantissa as MANTISSA_T.
8034         [!RADIXI]: Define RADIXI.
8035         [!TWO52]: Define TWO52.
8036         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8038 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8040         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8041         llroundl symbol when building for PPC32.
8043 2013-03-24  Mark H Weaver  <mhw@netris.org>
8045         * manual/arith.texi (Normalization Functions): Fix prototypes for
8046         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8048 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8050         [BZ #13889]
8051         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8052         high value to check if expl overflow.
8053         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8054         to check for underflow and overflow.
8055         * math/libm-test.inc: Add exp test.
8057 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
8059         [BZ #11120]
8060         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8061         with NOT_IN_libc.
8063 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8065         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8066         symbol.
8068 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
8070         * math/gen-libm-test.pl (parse_args, special_functions): Properly
8071         wrap blocks consisting of several statements.
8073         * sysdeps/generic/math-tests.h: New file.
8074         * sysdeps/i386/fpu/math-tests.h: Likewise.
8075         * math/test-snan.c: Include it.
8076         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8078 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8080         [BZ #15285]
8081         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8082         (__ieee754_j0l): Do not improve calculations using cos of twice
8083         input for inputs above LDBL_MAX / 2.0L.
8084         (__ieee754_y0l): Likewise.
8085         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8086         (__ieee754_j1l): Do not improve calculations using cos of twice
8087         input for inputs above LDBL_MAX / 2.0L.
8088         (__ieee754_y1l): Likewise.
8089         * math/libm-test.inc (j0_test): Add another test.
8090         (j1_test): Likewise.
8091         (y0_test): Likewise.
8092         (y1_test): Likewise.
8093         * sysdeps/i386/fpu/libm-test-ulps: Update.
8095 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8097         * Rules ($(objpfx)bench-%.c): Include code from a C source
8098         file.
8100 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
8102         [BZ #15287]
8103         * math/k_casinh.c (__kernel_casinh): Handle arguments with
8104         imaginary part 1.0 and real part less than 0.5 specially.
8105         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8106         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8107         * math/libm-test.inc (cacos_test): Add more tests.
8108         (casin_test): Likewise.
8109         (casinh_test): Likewise.
8110         * sysdeps/i386/fpu/libm-test-ulps: Update.
8111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8113 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8115         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8116         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8118 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
8120         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8121         * config.make.in (config-cflags-sse4): Remove variable.
8122         (config-cflags-avx): Likewise.
8123         (config-cflags-sse2avx): Likewise.
8124         (config-cflags-novzeroupper): Likewise.
8125         (config-asflags-i686): Likewise.
8126         (have-mfma4): Likewise.
8127         (have-as-vis3): Likewise.
8128         (MIG): Likewise.
8129         * configure.in (MIG): Do not AC_SUBST.
8130         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8131         (libc_cv_cc_sse4): Do not AC_SUBST.
8132         (libc_cv_cc_avx): Likewise.
8133         (libc_cv_cc_sse2avx): Likewise.
8134         (libc_cv_cc_novzeroupper): Likewise.
8135         (libc_cv_cc_fma4): Likewise.
8136         (libc_cv_as_i686): Likewise.
8137         (libc_cv_sparc_as_vis3): Likewise.
8138         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8139         LIBC_CONFIG_VAR.
8140         (config-asflags-i686): Likewise.
8141         (config-cflags-avx): Likewise.
8142         (config-cflags-sse2avx): Likewise.
8143         (have-mfma4): Likewise.
8144         (config-cflags-novzeroupper): Likewise.
8145         * sysdeps/mach/configure.in (MIG): Likewise.
8146         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8147         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8148         LIBC_CONFIG_VAR.
8149         (config-cflags-avx): Likewise.
8150         (config-cflags-sse2avx): Likewise.
8151         (have-mfma4): Likewise.
8152         (config-cflags-novzeroupper): Likewise.
8153         * configure: Regenerated.
8154         * sysdeps/i386/configure: Likewise.
8155         * sysdeps/mach/configure: Likewise.
8156         * sysdeps/sparc/configure: Likewise.
8157         * sysdeps/x86_64/configure: Likewise.
8159 2013-03-20  Roland McGrath  <roland@hack.frob.com>
8161         [BZ #14812]
8162         * locale/programs/localedef.c (options): Put N_ translation marker
8163         on argument names, not just descriptions.
8165 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8167         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8169 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
8171         [BZ #14176]
8172         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8174 2013-03-19  Roland McGrath  <roland@hack.frob.com>
8176         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8177         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8178         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8179         [!BEFORE_ABORT] (before_abort): New function.
8180         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8181         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8182         (writev_for_fatal): New function.
8183         (WRITEV_FOR_FATAL): New macro; call that.
8184         (backtrace_and_maps): New function.
8185         (BEFORE_ABORT): New macro; call that.
8186         (struct str_list): Type removed.
8187         (__libc_message, __libc_fatal): Functions removed.
8188         Include <sysdeps/posix/libc_fatal.c> instead.
8190 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
8192         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8193         constants.
8194         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8195         double constants.
8197 2013-03-19  Andreas Schwab  <schwab@suse.de>
8199         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8200         * sysdeps/gnu/configure: Regenerate.
8202         * configure.in: Substitute libc_cv_rtlddir.
8203         * configure: Regenerate.
8204         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8205         * Makeconfig (rtlddir, inst_rtlddir): New variables.
8206         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8207         * elf/Makefile (install-others, CFLAGS-interp.c)
8208         (ldso_install, common-ldd-rewrite): Likewise.
8209         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8210         $(inst_slibdir)/$(rtld-installed-name).
8211         * scripts/rellns-sh: Add -p option.
8212         * Makerules (make-shlib-link): Use rellns-sh to get relative name
8213         for source.
8215 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8217         * manual/nptl.texi: Renamed to ...
8218         * manual/threads.texi: ... this.
8219         * manual/Makefile (chapters): Update.
8221 2013-03-18  Roland McGrath  <roland@hack.frob.com>
8223         [BZ #14812]
8224         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8225         on argument names, not just descriptions.
8226         * malloc/memusagestat.c (options): Likewise.
8227         * nss/getent.c (options): Likewise.
8229 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
8231         [BZ #14812]
8232         * iconv/iconv_prog.c (options): Put N_ translation marker
8233         on argument names, not just descriptions.
8234         * iconv/iconvconfig.c (options): Likewise.
8236 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
8238         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8239         implementation which is faster on all x86_64 architectures.
8240         Tested on AMD, Intel Nehalem, SNB, IVB.
8241         * sysdeps/x86_64/strnlen.S: Likewise.
8243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8244         Remove all multiarch strlen and strnlen versions.
8245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8246         Remove strlen and strnlen related parts.
8248         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8249         Inline strlen part.
8250         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8252         * sysdeps/x86_64/multiarch/strlen.S: Remove.
8253         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8254         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8255         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8256         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8257         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8259 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
8261         * manual/memory.texi (Malloc Tunable Parameters):
8262         Sort parameters alphabetically. Add comments for missing entries.
8264 2013-03-17  David S. Miller  <davem@davemloft.net>
8266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8268 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
8270         [BZ #15283]
8271         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8272         for arguments at most half maximum finite value.
8273         * math/libm-test.inc (j0_test): Add more tests.
8274         (j1_test): Likewise.
8275         (y0_test): Likewise.
8276         (y1_test): Likewise.
8277         * sysdeps/i386/fpu/libm-test-ulps: Update.
8278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8280         [BZ #14155]
8281         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8282         1 / x and functions P and Q for arguments above 0x1p256L.
8283         (__ieee754_y0l): Likewise.
8284         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8285         (__ieee754_y1l): Likewise.
8286         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8287         (j1_test): Likewise.
8288         (y0_test): Likewise.
8289         (y1_test): Likewise.
8291 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
8293         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8294         variable.
8296 2013-03-15  Roland McGrath  <roland@hack.frob.com>
8298         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8299         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8300         zero since it's initialized to EXEC_PAGESIZE.
8302         * sysdeps/unix/sysv/linux/ldsodefs.h
8303         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8304         * sysdeps/generic/ldsodefs.h: ... here.
8306 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
8308         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8310         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8311         math/test-snan.c.
8312         * math/test-snan.c: Renamed from
8313         sysdeps/powerpc/fpu/test-powerpc-snan.c.
8314         * math/Makefile (tests): Add test-snan.
8315         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8316         test-powerpc-snan.
8318         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8319         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
8320         functions.
8321         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
8322         __builtin_nan family of functions.
8323         * math/libm-test.inc (initialize): Initialize qnan_value with
8324         __builtin_nan family of functions.
8325         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8326         Remove variables.
8327         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8328         Remove functions.
8329         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
8330         storage class.  Initialize qNaN_var and sNaN_var with
8331         __builtin_nan and __builtin_nans families of functions,
8332         respectively.
8334         * math/libm-test.inc (acosh_test): Also test with qNaN input.
8335         (sqrt_test): Remove duplicate test with qNaN input.
8336         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8337         (round_test, signbit_test, significand_test): Note missing +/-Inf
8338         as well as qNaN tests.
8340         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8341         qNaN_var.  Fix a few strings, too.
8342         * math/libm-test.inc (nan_value): Rename to qnan_value.
8343         * math/gen-libm-test.pl (%beautify): Adjust to that.
8344         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8345         * math/test-misc.c (main): Likewise.
8346         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8347         to __qnan_bytes, and __qnan_union, respectively.
8348         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8349         Likewise.
8350         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8351         and lqnanval, respectively.
8352         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8353         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8354         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8355         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8357         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8358         * math/test-misc.c (main) [__x86_64__]: Enable test for long
8359         doubles.
8361         * math/test-misc.c (main): Fix copy'n'pastos.
8362         * misc/tst-efgcvt.c (special): Likewise.
8364         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8365         Remove declarations.
8367 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8369         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8370         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8371         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8372         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8374 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8376         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8377         macro to return vdso values correctly in IFUNC implementations.
8378         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8379         Optimization by using IFUNC.
8381 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8382             Richard Henderson  <rth@redhat.com>
8383             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8385         * Makefile.in (bench): New target.
8386         * NEWS: Mention the benchmark framework.
8387         * Rules (bench): Likewise.
8388         (binaries-bench): Generate binaries for functions to
8389         benchmark.
8390         * benchtests/Makefile: New makefile for benchmark tests.
8391         * benchtests/bench-skeleton.c: New skeleton file for benchmark
8392         programs.
8393         * benchtests/exp-inputs: New input file for EXP function.
8394         * benchtests/pow-inputs: New input file for POW function.
8395         * scripts/bench.pl: New script to generate source files for
8396         benchmark programs.
8398 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8400         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8401         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8402         computations on mantissa.  Use macros for rounding and
8403         division.
8404         (denorm): Likewise.
8405         (__dbl_mp): Likewise.
8406         (add_magnitudes): Likewise.
8407         (sub_magnitudes): Likewise.
8408         (__mul): Likewise.
8409         (__sqr): Likewise.
8410         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
8411         powers of two in terms of TWOPOW macro.
8412         (mp_no): Make type of mantissa as MANTISSA_T.
8413         [!RADIXI]: Define RADIXI.
8414         [!TWO52]: Define TWO52.
8415         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8417         * manual/nptl.texi (cindex): Modify threads to pthreads.
8419 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
8421         * sysdeps/x86_64/preconfigure: Regenerated.
8423 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
8425         [BZ #14155]
8426         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8427         0x1p28 and above.
8428         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8429         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8430         0x1p28 and above.
8431         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8432         * math/libm-test.inc (j0_test): Do not allow one spurious
8433         underflow exception.
8434         (y1_test): Likewise.
8436 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8438         * manual/Makefile (chapters): Add nptl.
8439         * manual/debug.texi (Debugging Support): Add link to Threads
8440         chapter.
8441         * manual/nptl.texi: New file.
8443         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8445 2013-03-14  Petr Baudis  <pasky@ucw.cz>
8447         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8448         for non-NULL pointer before the memory validity test. Pointed
8449         out by Holger Brunck <holger.brunck@keymile.com>.
8451 2013-03-13  Andreas Schwab  <schwab@suse.de>
8453         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8454         instead of .os.
8456 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
8458         * timezone/zic.c: Update from tzcode 2013b.
8460 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
8462         * manual/install.texi (Configuring and compiling):
8463         Mention i686 and i586.
8464         * INSTALL: Regenerate.
8466 2013-03-12  Roland McGrath  <roland@hack.frob.com>
8468         * sysdeps/init_array/elf-init.c: New file.
8469         * csu/elf-init.c
8470         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8471         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8473         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8474         __gmon_start__ as global, but as static with a .preinit_array pointer.
8475         * sysdeps/init_array/gmon-start.c: New file.  Use that.
8476         * sysdeps/init_array/crti.S: New file, empty except for comments.
8477         * sysdeps/init_array/crtn.S: Likewise.
8479 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
8481         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8482         definining bcopy.
8483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8484         Remove Prefer_SSE_for_memop.
8485         * sysdeps/x86_64/multiarch/init-arch.h: Remove
8486         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8487         HAS_PREFER_SSE_FOR_MEMOP.
8488         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8489         memset-x86-64.
8490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8491         Remove bzero, memset ifunc support.
8492         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8493         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8494         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8495         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8497 2013-03-11  Andreas Schwab  <schwab@suse.de>
8499         [BZ #15234]
8500         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8501         by SHLIB_COMPAT.
8502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8503         (GLIBC_2.16): Remove pthread_atfork.
8505 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8507         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8508         (ptestcases.h): Likewise.
8510 2013-03-08  Roland McGrath  <roland@hack.frob.com>
8512         * Makeconfig ($(common-objpfx)config.status): Depend on
8513         sysdeps/*/preconfigure{,.in} too.
8515 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
8517         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8518         (__free_hook): Use void * instead of __malloc_ptr_t.
8519         (__malloc_hook): Likewise.
8520         (__realloc_hook): Likewise.
8521         (__memalign_hook): Likewise.
8522         (__after_morecore_hook): Likewise.
8523         * malloc/arena.c (save_malloc_hook): Likewise.
8524         (save_free_hook): Likewise.
8525         * malloc/hooks.c (malloc_hook_ini): Likewise.
8526         (realloc_hook_ini): Likewise.
8527         (memalign_hook_ini): Likewise.
8528         * malloc/malloc.c (malloc_hook_ini): Likewise.
8529         (realloc_hook_ini): Likewise.
8530         (memalign_hook_ini): Likewise.
8531         (__free_hook): Likewise.
8532         (__malloc_hook): Likewise.
8533         (__realloc_hook): Likewise.
8534         (__memalign_hook): Likewise.
8535         (__libc_malloc): Likewise.
8536         (__libc_free): Likewise.
8537         (__libc_realloc): Likewise.
8538         (__libc_memalign): Likewise.
8539         (__libc_valloc): Likewise.
8540         (__libc_pvalloc): Likewise.
8541         (__libc_calloc): Likewise.
8542         (__posix_memalign): Likewise.
8543         * malloc/morecore.c (__sbrk): Likewise.
8544         (__default_morecore): Likewise.
8546         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8548         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8549         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8550         __malloc_ptrdiff_t.
8552         * malloc/malloc.h (__malloc_size_t): Remove macro.
8553         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8554         __malloc_size_t.
8555         (old_memalign_hook): Likewise.
8556         (old_realloc_hook): Likewise.
8557         (struct hdr): Likewise.
8558         (flood): Likewise.
8559         (mallochook): Likewise.
8560         (memalignhook): Likewise.
8561         (reallochook): Likewise.
8562         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8563         (tr_old_realloc_hook): Likewise.
8564         (tr_old_memalign_hook): Likewise.
8565         (tr_mallochook): Likewise.
8566         (tr_reallochook): Likewise.
8567         (tr_memalignhook): Likewise.
8569 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8571         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8572         default_ldbl_pack and using as default implementation.
8573         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8574         implementation.
8575         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8576         redundant definition.
8577         (ldbl_insert_mantissa): Likewise.
8578         (ldbl_canonicalize): Likewise.
8579         (ldbl_nearbyint): Likewise.
8580         (ldbl_pack): Rename to ldbl_pack_ppc.
8581         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8582         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8583         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8585 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8588         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8589         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8590         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8592         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8593         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8594         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8596 2013-03-07  Andreas Jaeger  <aj@suse.de>
8598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8599         bits/mman-linux.h.
8601 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8603         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8604         Include mpa.h and declare __MPEXP.
8605         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8606         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8607         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8608         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8609         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8610         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8611         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8613         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8614         (__slowpow): Use long double EXPL and LOGL functions to
8615         compute POW.
8616         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8617         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8618         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8619         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8620         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8621         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8624         intermediate variable to calculate exponent.
8625         (__sqr): Likewise.
8626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8627         Likewise.
8628         (__sqr): Likewise.
8630         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8631         [!NO__SQR]: Define __sqr.
8632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8633         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8634         sysdeps/ieee754/dbl-64/mpa.c.
8635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8637         [BZ #12723]
8638         * posix/Makefile (tests): Add tst-pathconf.
8639         * posix/tst-pathconf.c: New test case.
8640         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8641         _PC_PIPE_BUF.
8642         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8644 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8646         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8648 2013-03-06  Andreas Jaeger  <aj@suse.de>
8650         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8651         definition via __MAP_ANONYMOUS.
8653         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8654         it's not part of Linux headers.
8656         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8657         (MAP_HUGE_MASK): Define.
8659         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8660         Define.
8661         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8663         Define.
8664         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8665         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8666         Define.
8667         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8668         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8669         Define.
8670         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8672         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8673         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8674         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8675         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8676         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8677         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8679         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8680         Handle f2fs.
8682         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8683         Handle f2fs and efivarfs.
8685         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8686         f2fs.
8688         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8689         (EFIVARFS_MAGIC): Add.
8690         (F2FS_LINK_MAX): Add.
8692 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8694         * stdio-common/vfprintf.c: Replace __builtin_expect with
8695         __glibc_unlikely.
8697 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8699         [BZ #13550]
8700         * sysdeps/generic/bp-sym.h: Remove file.
8701         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8702         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8703         <bp-sym.h> and <bp-asm.h>.
8704         (__longjmp): Don't use BP_SYM.
8705         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8706         and <bp-asm.h>.
8707         (memcpy): Don't use BP_SYM.
8708         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8709         <bp-sym.h> and <bp-asm.h>.
8710         (memcpy): Don't use BP_SYM.
8711         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8712         <bp-asm.h>.
8713         (memcpy): Don't use BP_SYM.
8714         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8715         <bp-asm.h>.
8716         (memset): Don't use BP_SYM.
8717         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8718         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8719         (__bzero): Don't use BP_SYM.
8720         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8721         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8722         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8723         <bp-sym.h> and <bp-asm.h>.
8724         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8725         pointers.
8726         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8727         <bp-sym.h> and <bp-asm.h>.
8728         (memcpy): Don't use BP_SYM.
8729         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8730         <bp-sym.h> and <bp-asm.h>.
8731         (memset): Don't use BP_SYM.
8732         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8733         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8734         (__bzero): Don't use BP_SYM.
8735         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8736         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8737         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8738         <bp-sym.h> and <bp-asm.h>.
8739         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8740         pointers.
8741         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8742         <bp-sym.h> and <bp-asm.h>.
8743         (memcpy): Don't use BP_SYM.
8744         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8745         <bp-sym.h> and <bp-asm.h>.
8746         (memset): Don't use BP_SYM.
8747         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8748         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8749         (__bzero): Don't use BP_SYM.
8750         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8751         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8752         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8753         <bp-sym.h> and <bp-asm.h>.
8754         (__memchr): Don't use BP_SYM.
8755         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8756         <bp-sym.h> and <bp-asm.h>.
8757         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8758         pointers.
8759         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8760         <bp-sym.h> and <bp-asm.h>.
8761         (memcpy): Don't use BP_SYM.
8762         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8763         <bp-sym.h> and <bp-asm.h>.
8764         (__mempcpy): Don't use BP_SYM.
8765         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8766         <bp-sym.h> and <bp-asm.h>.
8767         (__memrchr): Don't use BP_SYM.
8768         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8769         <bp-sym.h> and <bp-asm.h>.
8770         (memset): Don't use BP_SYM.
8771         (__bzero): Likewise.
8772         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8773         <bp-sym.h> and <bp-asm.h>.
8774         (__rawmemchr): Don't use BP_SYM.
8775         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8776         <bp-sym.h> and <bp-asm.h>.
8777         (__STRCMP): Don't use BP_SYM.
8778         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8779         <bp-sym.h> and <bp-asm.h>.
8780         (strchr): Don't use BP_SYM.
8781         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8782         <bp-sym.h> and <bp-asm.h>.
8783         (__strchrnul): Don't use BP_SYM.
8784         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8785         <bp-sym.h> and <bp-asm.h>.
8786         (strlen): Don't use BP_SYM.
8787         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8788         <bp-sym.h> and <bp-asm.h>.
8789         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8790         pointers.
8791         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8792         <bp-sym.h> and <bp-asm.h>.
8793         (__strnlen): Don't use BP_SYM.
8794         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8795         <bp-sym.h> and <bp-asm.h>.
8796         (__GI__setjmp): Don't use BP_SYM.
8797         (_setjmp): Likewise.
8798         (__sigsetjmp): Likewise.
8799         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8800         (L(start_addresses)): Don't use BP_SYM.
8801         (_start): Likewise.
8802         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8803         <bp-asm.h>.
8804         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8805         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8806         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8807         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8808         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8809         <bp-asm.h>.
8810         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8811         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8812         about bounded pointers.
8813         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8814         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8815         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8816         <bp-asm.h>.
8817         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8818         about bounded pointers.  Remove GKM FIXME comments.
8819         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8820         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8821         <bp-asm.h>.
8822         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8823         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8824         Remove GKM FIXME comments.
8825         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8826         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8827         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8828         <bp-asm.h>.
8829         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8830         about bounded pointers.  Remove GKM FIXME comment.
8831         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8832         and <bp-asm.h>.
8833         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8834         pointers.
8835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8836         <bp-sym.h> and <bp-asm.h>.
8837         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8839         <bp-sym.h> and <bp-asm.h>.
8840         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8841         comment.
8843 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8845         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8846         call free(NULL).
8848 2013-03-05  David S. Miller  <davem@davemloft.net>
8850         * po/es.po: Update from translation team.
8852 2013-03-05  Andreas Jaeger  <aj@suse.de>
8854         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8855         <bits/mman-linux.h>.
8856         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8857         is fine.
8858         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8859         <bits/mman-linux.h> to end of file.
8860         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8861         is fine.
8862         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8863         <bits/mman-linux.h> to end of file.
8864         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8865         is fine.
8866         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8867         <bits/mman-linux.h> to end of file.
8869         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8870         (MCL_CURRENT, MCL_FUTURE): Define here.
8872 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8874         [BZ #15232]
8875         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8876         attribute_hidden.
8877         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8879 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8881         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8882         fourth parameter needed for rt_sigprocmask syscall.
8883         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8884         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8885         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8886         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8887         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8888         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8890 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8892         [BZ #13550]
8893         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8894         comment about bounded pointers.
8895         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8896         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8898 2013-03-04  Andreas Jaeger  <aj@suse.de>
8900         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8901         common definitions.
8903         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8904         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8905         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8906         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8907         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8908         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8910 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8912         [BZ #15055]
8913         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8914         __ieee754_sqrl instead of __sqrl.
8916 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8918         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8919         * sysdeps/powerpc/fpu_control.h: ... here.
8920         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8921         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8922         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8923         * sysdeps/powerpc/bits/mathinline.h: ... here.
8925 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8927         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8928         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8929         to just [NEED_DL_SYSINFO_DSO].
8930         * elf/dl-support.c: Likewise.
8931         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8932         * elf/rtld.c (dl_main): Likewise.
8933         * elf/setup-vdso.h (setup_vdso): Likewise.
8934         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8935         * sysdeps/unix/sysv/linux/dl-sysdep.c
8936         (_dl_discover_osversion): Likewise.
8938 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8940         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8941         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8943 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8945         * NEWS: Mention libm performance improvements and non-x86 PI
8946         futex support.
8948         * csu/libc-start.c (__pthread_initialize_minimal): Change
8949         function arguments.
8950         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8952 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8954         [BZ #13550]
8955         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8956         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8957         <bp-sym.h> and <bp-asm.h>.
8958         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8959         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8960         and <bp-asm.h>.
8961         (memcpy): Don't use BP_SYM.
8962         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8963         <bp-asm.h>.
8964         (__mpn_add_n): Don't use BP_SYM.
8965         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8966         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8967         and <bp-asm.h>.
8968         (__mpn_addmul_1): Don't use BP_SYM.
8969         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8970         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8971         <bp-sym.h>.
8972         (_setjmp): Don't use BP_SYM.
8973         (__novmx_setjmp): Likewise.
8974         (__GI__setjmp): Likewise.
8975         (__vmx_setjmp): Likewise.
8976         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8977         <bp-sym.h>.
8978         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8979         (__bzero): Don't use BP_SYM.
8980         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8981         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8982         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8983         <bp-sym.h> and <bp-asm.h>.
8984         (memcpy): Don't use BP_SYM.
8985         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8986         <bp-sym.h> and <bp-asm.h>.
8987         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8988         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8989         <bp-sym.h> and <bp-asm.h>.
8990         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8991         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8992         <bp-asm.h>.
8993         (__mpn_lshift): Don't use BP_SYM.
8994         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8995         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8996         <bp-asm.h>.
8997         (memset): Don't use BP_SYM.
8998         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8999         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9000         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9001         <bp-asm.h>.
9002         (__mpn_mul_1): Don't use BP_SYM.
9003         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9004         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9005         <bp-sym.h> and <bp-asm.h>.
9006         (memcmp): Don't use BP_SYM.
9007         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9008         <bp-sym.h> and <bp-asm.h>.
9009         (memcpy): Don't use BP_SYM.
9010         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9011         <bp-sym.h> and <bp-asm.h>.
9012         (memset): Don't use BP_SYM.
9013         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9014         <bp-sym.h> and <bp-asm.h>.
9015         (strncmp): Don't use BP_SYM.
9016         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9017         <bp-sym.h> and <bp-asm.h>.
9018         (memcpy): Don't use BP_SYM.
9019         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9020         <bp-sym.h> and <bp-asm.h>.
9021         (memset): Don't use BP_SYM.
9022         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9023         <bp-sym.h> and <bp-asm.h>.
9024         (__memchr): Don't use BP_SYM.
9025         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9026         <bp-sym.h> and <bp-asm.h>.
9027         (memcmp): Don't use BP_SYM.
9028         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9029         <bp-sym.h> and <bp-asm.h>.
9030         (memcpy): Don't use BP_SYM.
9031         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9032         <bp-sym.h> and <bp-asm.h>.
9033         (__mempcpy): Don't use BP_SYM.
9034         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9035         <bp-sym.h> and <bp-asm.h>.
9036         (__memrchr): Don't use BP_SYM.
9037         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9038         <bp-sym.h> and <bp-asm.h>.
9039         (memset): Don't use BP_SYM.
9040         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9041         <bp-sym.h> and <bp-asm.h>.
9042         (__rawmemchr): Don't use BP_SYM.
9043         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9044         <bp-sym.h> and <bp-asm.h>.
9045         (__STRCMP): Don't use BP_SYM.
9046         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9047         <bp-sym.h> and <bp-asm.h>.
9048         (strchr): Don't use BP_SYM.
9049         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9050         <bp-sym.h> and <bp-asm.h>.
9051         (__strchrnul): Don't use BP_SYM.
9052         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9053         <bp-sym.h> and <bp-asm.h>.
9054         (strlen): Don't use BP_SYM.
9055         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9056         <bp-sym.h> and <bp-asm.h>.
9057         (strncmp): Don't use BP_SYM.
9058         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9059         <bp-sym.h> and <bp-asm.h>.
9060         (__strnlen): Don't use BP_SYM.
9061         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9062         <bp-asm.h>.
9063         (__mpn_rshift): Don't use BP_SYM.
9064         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9065         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9066         <bp-sym.h> and <bp-asm.h>.
9067         (__sigsetjmp): Don't use BP_SYM.
9068         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9069         (L(start_addresses)): Don't use BP_SYM.
9070         (_start): Likewise.
9071         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9072         <bp-asm.h>.
9073         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9074         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9075         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9076         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9077         <bp-asm.h>.
9078         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9079         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9080         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9081         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9082         <bp-asm.h>.
9083         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9084         comments.
9085         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9086         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9087         <bp-asm.h>.
9088         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
9089         FIXME comments.
9090         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9091         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9092         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9093         <bp-asm.h>.
9094         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
9095         comment.
9096         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9097         and <bp-asm.h>.
9098         (strncmp): Don't use BP_SYM,
9099         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9100         <bp-asm.h>.
9101         (__mpn_sub_n): Don't use BP_SYM.
9102         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9103         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9104         and <bp-asm.h>.
9105         (__mpn_submul_1): Don't use BP_SYM.
9106         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9108         <bp-sym.h> and <bp-asm.h>.
9109         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9111         <bp-sym.h> and <bp-asm.h>.
9112         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
9113         comment.
9115 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9118         Use ZK to minimize writes to Z.
9119         (sub_magnitudes): Simplify code a bit.
9120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9121         Use ZK to minimize writes to Z.
9122         (sub_magnitudes): Simplify code a bit.
9124 2013-02-27  Roland McGrath  <roland@hack.frob.com>
9126         * csu/gmon-start.c: Add special exception to license text.
9128 2013-02-27  Richard Henderson  <rth@redhat.com>
9130         * scripts/config.guess: Update from config.git.
9131         * scripts/config.sub: Likewise.
9133 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9135         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9137         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9139         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9141         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9143         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9145 2013-02-26  Roland McGrath  <roland@hack.frob.com>
9147         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9148         [$(build-shared = yes].
9150 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9152         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9153         (__mul): Reduce iterations for calculating mantissa.
9155         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9156         MPTWO.
9157         (__mpranred): Likewise.
9159         [BZ #15160]
9160         * malloc/memusagestat.c (main): Draw graphs for heap and stack
9161         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9163 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
9165         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9166         Define __attribute__.
9168 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9170         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9171         unused.
9172         * posix/regex_internal.h (__attribute): Remove.
9173         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9174         (re_string_context_at): Likewise.
9175         (bitset_not): Use __attribute__ and mark function as possibly
9176         unused.
9177         (bitset_merge): Likewise.
9178         (bitset_mask): Likewise.
9179         (re_string_char_size_at): Likewise.
9180         (re_string_wchar_at): Likewise.
9181         (re_string_elem_size_at): Likewise.
9183 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9185         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9186         code.
9187         (cc32): Likewise.
9189         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9190         (__acr): Likewise.
9191         (__cpy): Likewise.
9192         (norm): Likewise.
9193         (denorm): Likewise.
9194         (__dbl_mp): Likewise.
9195         (add_magnitudes): Likewise.
9196         (sub_magnitudes): Likewise.
9197         (__mul): Likewise.
9198         (__inv): Likewise.
9200         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9201         style.
9203         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9204         style.
9206         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9207         code.
9209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9210         up changes with default code.
9211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9212         Likewise.
9214 2013-02-24  Allan McRae  <allan@archlinux.org>
9216         * manual/socket.texi (The Internet Namespace): Order menu items
9217         to match that in the file.
9219         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9220         node listing of the info page menu.
9222 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
9224         [BZ #13550]
9225         * sysdeps/i386/bp-asm.h: Remove file.
9226         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9227         (PARMS): Do not use macros from bp-asm.h.
9228         (S1): Likewise.
9229         (S2): Likewise.
9230         (SIZE): Likewise.
9231         (__mpn_add_n): Do not use BP_SYM
9232         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9233         "bp-asm.h".
9234         (PARMS): Do not use macros from bp-asm.h.
9235         (S1): Likewise.
9236         (SIZE): Likewise.
9237         (__mpn_addmul_1): Do not use BP_SYM
9238         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9239         "bp-asm.h".
9240         (PARMS): Do not use macros from bp-asm.h.
9241         (SIGMSK): Likewise.
9242         (_setjmp): Likewise.  Do not use BP_SYM.
9243         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9244         "bp-asm.h".
9245         (PARMS): Do not use macros from bp-asm.h.
9246         (SIGMSK): Likewise.
9247         (setjmp): Likewise.  Do not use BP_SYM.
9248         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9249         "bp-asm.h".
9250         (PARMS): Do not use macros from bp-asm.h.
9251         (__frexp): Do not use BP_SYM.
9252         (frexp): Likewise.
9253         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9254         "bp-asm.h".
9255         (PARMS): Do not use macros from bp-asm.h.
9256         (__frexpf): Do not use BP_SYM.
9257         (frexpf): Likewise.
9258         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9259         "bp-asm.h".
9260         (PARMS): Do not use macros from bp-asm.h.
9261         (__frexpl): Do not use BP_SYM.
9262         (frexpl): Likewise.
9263         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9264         "bp-asm.h".
9265         (PARMS): Do not use macros from bp-asm.h.
9266         (__remquo): Do not use BP_SYM.
9267         (remquo): Likewise.
9268         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9269         "bp-asm.h".
9270         (PARMS): Do not use macros from bp-asm.h.
9271         (__remquof): Do not use BP_SYM.
9272         (remquof): Likewise.
9273         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9274         "bp-asm.h".
9275         (PARMS): Do not use macros from bp-asm.h.
9276         (__remquol): Do not use BP_SYM.
9277         (remquol): Likewise.
9278         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9279         "bp-asm.h".
9280         (PARMS): Do not use macros from bp-asm.h.
9281         (DEST): Likewise.
9282         (SRC): Likewise.
9283         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
9284         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9285         "bp-asm.h".
9286         (PARMS): Do not use macros from bp-asm.h.
9287         (strlen): Do not use BP_SYM.
9288         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9289         "bp-asm.h".
9290         (PARMS): Do not use macros from bp-asm.h.
9291         (S1): Likewise.
9292         (S2): Likewise.
9293         (SIZE): Likewise.
9294         (__mpn_add_n): Do not use BP_SYM.
9295         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9296         "bp-asm.h".
9297         (PARMS): Do not use macros from bp-asm.h.
9298         (S1): Likewise.
9299         (SIZE): Likewise.
9300         (__mpn_addmul_1): Do not use BP_SYM.
9301         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9302         weak_alias.
9303         (bzero): Likewise.
9304         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9305         "bp-asm.h".
9306         (PARMS): Do not use macros from bp-asm.h.
9307         (S): Likewise.
9308         (SIZE): Likewise.
9309         (__mpn_lshift): Do not use BP_SYM.
9310         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9311         "bp-asm.h".
9312         (PARMS): Do not use macros from bp-asm.h.
9313         (DEST): Likewise.
9314         (SRC): Likewise.
9315         (LEN): Likewise.
9316         (memcpy): Likewise.  Do not use BP_SYM.
9317         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9318         libc_hidden_def and weak_alias.
9319         (mempcpy): Do not use BP_SYM in weak_alias.
9320         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9321         "bp-asm.h".
9322         (PARMS): Do not use macros from bp-asm.h.
9323         (DEST): Likewise.
9324         (LEN): Likewise.
9325         [!BZERO_P] (CHR): Likewise.
9326         (memset): Likewise.  Do not use BP_SYM.
9327         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9328         "bp-asm.h".
9329         (PARMS): Do not use macros from bp-asm.h.
9330         (S1): Likewise.
9331         (SIZE): Likewise.
9332         (__mpn_mul_1): Do not use BP_SYM.
9333         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9334         "bp-asm.h".
9335         (PARMS): Do not use macros from bp-asm.h.
9336         (S): Likewise.
9337         (SIZE): Likewise.
9338         (__mpn_rshift): Do not use BP_SYM.
9339         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9340         "bp-asm.h".
9341         (PARMS): Do not use macros from bp-asm.h.
9342         (STR): Likewise.
9343         (CHR): Likewise.
9344         (strchr): Likewise.  Do not use BP_SYM.
9345         (index): Do not use BP_SYM in weak_alias.
9346         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
9352         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9353         "bp-asm.h".
9354         (PARMS): Do not use macros from bp-asm.h.
9355         (strlen): Do not use BP_SYM.
9356         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9357         "bp-asm.h".
9358         (PARMS): Do not use macros from bp-asm.h.
9359         (S1): Likewise.
9360         (S2): Likewise.
9361         (SIZE): Likewise.
9362         (__mpn_sub_n): Do not use BP_SYM.
9363         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9364         "bp-asm.h".
9365         (PARMS): Do not use macros from bp-asm.h.
9366         (S1): Likewise.
9367         (SIZE): Likewise.
9368         (__mpn_submul_1): Do not use BP_SYM.
9369         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9370         "bp-asm.h".
9371         (PARMS): Do not use macros from bp-asm.h.
9372         (S1): Likewise.
9373         (S2): Likewise.
9374         (SIZE): Likewise.
9375         (__mpn_add_n): Do not use BP_SYM.
9376         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9377         weak_alias.
9378         (bzero): Likewise.
9379         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9380         "bp-asm.h".
9381         (PARMS): Do not use macros from bp-asm.h.
9382         (BLK2): Likewise.
9383         (LEN): Likewise.
9384         (memcmp): Do not use BP_SYM.
9385         (bcmp): Do not use BP_SYM in weak_alias.
9386         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9387         "bp-asm.h".
9388         (PARMS): Do not use macros from bp-asm.h.
9389         (DEST): Likewise.
9390         (SRC): Likewise.
9391         (LEN): Likewise.
9392         (memcpy): Likewise.  Do not use BP_SYM.
9393         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9394         "bp-asm.h".
9395         (PARMS): Do not use macros from bp-asm.h.
9396         (DEST): Likewise.
9397         (SRC): Likewise.
9398         (LEN): Likewise.
9399         (memmove): Likewise.  Do not use BP_SYM.
9400         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9401         "bp-asm.h".
9402         (PARMS): Do not use macros from bp-asm.h.
9403         (DEST): Likewise.
9404         (SRC): Likewise.
9405         (LEN): Likewise.
9406         (__mempcpy): Likewise.  Do not use BP_SYM.
9407         (mempcpy): Do not use BP_SYM in weak_alias.
9408         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9409         "bp-asm.h".
9410         (PARMS): Do not use macros from bp-asm.h.
9411         (DEST): Likewise.
9412         (LEN): Likewise.
9413         [!BZERO_P] (CHR): Likewise.
9414         (memset): Likewise.  Do not use BP_SYM.
9415         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9416         "bp-asm.h".
9417         (PARMS): Do not use macros from bp-asm.h.
9418         (STR2): Likewise.
9419         (strcmp): Do not use BP_SYM.
9420         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9421         "bp-asm.h".
9422         (PARMS): Do not use macros from bp-asm.h.
9423         (STR): Likewise.
9424         (DELIM): Likewise.
9425         [USE_AS_STRTOK_R] (SAVE): Likewise.
9426         (FUNCTION): Likewise.  Do not use BP_SYM.
9427         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9428         aliases.
9429         (strtok_r): Likewise.
9430         (__GI___strtok_r): Likewise.
9431         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9432         (PARMS): Do not use macros from bp-asm.h.
9433         (S): Likewise.
9434         (SIZE): Likewise.
9435         (__mpn_lshift): Do not use BP_SYM.
9436         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9437         (PARMS): Do not use macros from bp-asm.h.
9438         (STR): Likewise.
9439         (CHR): Likewise.
9440         (__memchr): Do not use BP_SYM.
9441         (memchr): Do not use BP_SYM in weak_alias.
9442         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9443         (PARMS): Do not use macros from bp-asm.h.
9444         (BLK2): Likewise.
9445         (LEN): Likewise.
9446         (memcmp): Do not use BP_SYM.
9447         (bcmp): Do not use BP_SYM in weak_alias.
9448         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9449         (PARMS): Do not use macros from bp-asm.h.
9450         (S1): Likewise.
9451         (SIZE): Likewise.
9452         (__mpn_mul_1): Do not use BP_SYM.
9453         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9454         "bp-asm.h".
9455         (PARMS): Do not use macros from bp-asm.h.
9456         (STR): Likewise.
9457         (CHR): Likewise.
9458         (__rawmemchr): Do not use BP_SYM.
9459         (rawmemchr): Do not use BP_SYM in weak_alias.
9460         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9461         (PARMS): Do not use macros from bp-asm.h.
9462         (S): Likewise.
9463         (SIZE): Likewise.
9464         (__mpn_rshift): Do not use BP_SYM.
9465         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9466         (PARMS): Do not use macros from bp-asm.h.
9467         (SIGMSK): Likewise.
9468         (__sigsetjmp): Likewise.  Do not use BP_SYM.
9469         * sysdeps/i386/start.S: Do not include "bp-sym.h".
9470         (_start): Do not use BP_SYM.
9471         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9472         (PARMS): Do not use macros from bp-asm.h.
9473         (DEST): Likewise.
9474         (SRC): Likewise.
9475         (__stpcpy): Likewise.  Do not use BP_SYM.
9476         (stpcpy): Do not use BP_SYM in weak_alias.
9477         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9478         "bp-asm.h".
9479         (PARMS): Do not use macros from bp-asm.h.
9480         (DEST): Likewise.
9481         (SRC): Likewise.
9482         (LEN): Likewise.
9483         (__stpncpy): Likewise.  Do not use BP_SYM.
9484         (stpncpy): Do not use BP_SYM in weak_alias.
9485         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9486         (PARMS): Do not use macros from bp-asm.h.
9487         (STR): Likewise.
9488         (CHR): Likewise.
9489         (strchr): Likewise.  Do not use BP_SYM.
9490         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9491         "bp-asm.h".
9492         (PARMS): Do not use macros from bp-asm.h.
9493         (STR): Likewise.
9494         (CHR): Likewise.
9495         (__strchrnul): Likewise.  Do not use BP_SYM.
9496         (strchrnul): Do not use BP_SYM in weak_alias.
9497         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9498         "bp-asm.h".
9499         (PARMS): Do not use macros from bp-asm.h.
9500         (STOP): Likewise.
9501         (strcspn): Do not use BP_SYM.
9502         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9503         "bp-asm.h".
9504         (PARMS): Do not use macros from bp-asm.h.
9505         (STR): Likewise.
9506         (STOP): Likewise.
9507         (strpbrk): Likewise.  Do not use BP_SYM.
9508         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9509         "bp-asm.h".
9510         (PARMS): Do not use macros from bp-asm.h.
9511         (STR): Likewise.
9512         (CHR): Likewise.
9513         (strrchr): Likewise.  Do not use BP_SYM.
9514         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9515         (PARMS): Do not use macros from bp-asm.h.
9516         (SKIP): Likewise.
9517         (strspn): Do not use BP_SYM.
9518         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9519         (PARMS): Do not use macros from bp-asm.h.
9520         (STR): Likewise.
9521         (DELIM): Likewise.
9522         (SAVE): Likewise.
9523         (FUNCTION): Likewise.  Do not use BP_SYM.
9524         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9525         aliases.
9526         (strtok_r): Likewise.
9527         (__GI___strtok_r): Likewise.
9528         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9529         (PARMS): Do not use macros from bp-asm.h.
9530         (S1): Likewise.
9531         (S2): Likewise.
9532         (SIZE): Likewise.
9533         (__mpn_sub_n): Do not use BP_SYM.
9534         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9535         "bp-asm.h".
9536         (PARMS): Do not use macros from bp-asm.h.
9537         (S1): Likewise.
9538         (SIZE): Likewise.
9539         (__mpn_submul_1): Do not use BP_SYM.
9540         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9541         <bp-sym.h>.
9542         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9543         and <bp-asm.h>.
9544         (PARMS): Do not use macros from bp-asm.h.
9545         (FLAGS): Likewise.
9546         (PTID): Likewise.
9547         (TLS): Likewise.
9548         (CTID): Likewise.
9549         (__clone): Do not use BP_SYM.
9550         (clone): Do not use BP_SYM in weak_alias.
9551         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9552         and <bp-asm.h>.
9553         (PARMS): Do not use macros from bp-asm.h.
9554         (LEN): Likewise.
9555         (__mmap64): Do not use BP_SYM.
9556         (mmap64): Do not use BP_SYM in weak_alias.
9557         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9558         <bp-sym.h> and <bp-asm.h>.
9559         (PARMS): Do not use macros from bp-asm.h.
9560         (__posix_fadvise64_l64): Do not use BP_SYM.
9561         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9562         (PARMS): Do not use macros from bp-asm.h.
9563         (NSOPS): Likewise.
9564         (semtimedop): Do not use BP_SYM.
9565         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9566         and <bp-asm.h>.
9568 2013-02-21  Allan McRae  <allan@archlinux.org>
9570         * manual/message.texi (Charset conversion in gettext):
9571         Move @end statement to beginning of line.
9573 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9576         static.
9577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9578         Likewise.
9580         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9581         (denorm): Likewise.
9582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9585 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9587         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9588         tail-call to the resolved function if pltexit isn't needed.
9590 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9593         or Y being zero as being unlikely.
9594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9595         Likewise.
9597 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9599         * manual/nss.texi (System Databases and Name Service Switch):
9600         Remove frobnicate @pxref.
9602 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9604         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9605         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9607 2013-02-20  Petr Machata  <pmachata@redhat.com>
9609         * elf/elf.h (R_ARM_TARGET1): New macro.
9610         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9611         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9612         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9613         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9614         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9615         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9616         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9617         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9618         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9619         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9620         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9621         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9622         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9623         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9624         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9625         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9626         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9627         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9628         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9629         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9630         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9631         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9632         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9633         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9634         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9635         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9636         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9637         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9638         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9639         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9640         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9641         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9642         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9643         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9644         (R_ARM_THM_GOT_BREL12): Likewise.
9645         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9646         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9647         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9648         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9649         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9650         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9651         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9652         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9653         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9655 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9657         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9658         __attribute_used__ to __attribute__ ((unused)).
9660 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9662         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9663         powerpc mpa.c.
9664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9665         comment formatting.
9666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9668 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9670         [BZ #13550]
9671         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9672         Remove macro.
9673         (ENTER): Remove both macro definitions.
9674         (LEAVE): Likewise.
9675         (CHECK_BOUNDS_LOW): Likewise.
9676         (CHECK_BOUNDS_HIGH): Likewise.
9677         (CHECK_BOUNDS_BOTH): Likewise.
9678         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9679         (RETURN_BOUNDED_POINTER): Likewise.
9680         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9681         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9682         (POP_ERRNO_LOCATION_RETURN): Likewise.
9683         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9684         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9685         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9686         macros.
9687         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9688         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9689         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9690         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9691         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9692         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9693         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9694         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9695         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9696         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9697         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9698         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9699         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9700         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9701         removed macros.
9702         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9703         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9704         macros.
9705         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9706         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9707         * sysdeps/i386/i586/memset.S (memset): Likewise.
9708         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9709         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9710         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9711         macros.
9712         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9713         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9714         Change uses of L(2) to L(out).
9715         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9716         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9717         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9718         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9719         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9720         removed macros.
9721         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9722         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9723         macros.
9724         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9725         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9726         (RETURN): Do not use macro LEAVE.
9727         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9728         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9729         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9730         * sysdeps/i386/i686/memset.S (memset): Likewise.
9731         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9732         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9733         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9734         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9735         Likewise.
9736         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9737         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9738         L(1_2) and L(1_3) into L(1).
9739         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9740         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9741         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9742         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9743         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9744         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9745         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9746         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9747         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9748         macros.
9749         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9750         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9751         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9752         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9753         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9754         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9755         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9756         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9757         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9758         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9759         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9760         * sysdeps/i386/strspn.S (strspn): Likewise.
9761         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9762         conditional code.
9763         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9764         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9765         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9766         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9767         L(1_3) into L(1_1).
9768         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9769         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9770         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9771         macros.
9772         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9774 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9776         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9777         macro.
9779 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9781         * math/atest-exp.c (exp_mpn): Remove ROUND.
9782         * math/atest-exp2.c (exp_mpn): Likewise.
9783         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9785         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9786         * stdlib/tst-tls-atexit-lib.c: Likewise.
9787         * stdlib/tst-tls-atexit.c: Likewise.
9789 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9791         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9792         and __attribute_alloc_size__.
9794 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9796         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9797         __attribute_alloc_size__.
9798         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9799         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9801 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9803         * include/programs/xmalloc.h: New file.
9804         * catgets/gencat.c: Include it.
9805         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9806         * elf/pldd.c: Likewise.
9807         * iconv/iconv_charmap.c: Likewise.
9808         * iconv/iconvconfig.c: Likewise.
9809         * iconv/strtab.c: Likewise.
9810         * locale/programs/locale.c: Likewise.
9811         * locale/programs/localedef.h: Likewise.
9812         * locale/programs/simple-hash.c: Likewise.
9813         * nscd/nscd.h: Likewise.
9814         * nss/makedb.c: Likewise.
9815         * sysdeps/generic/ldconfig.h: Likewise.
9817 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9819         * Versions.def: Add GLIBC_2.18.
9820         * include/link.h (struct link_map): New member l_tls_dtor_count.
9821         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9822         (__call_tls_dtors): Likewise.
9823         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9824         __cxa_thread_atexit_impl.
9825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9826         Likewise.
9827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9828         Likewise.
9829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9830         Likewise.
9831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9832         Likewise.
9833         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9835         Likewise.
9836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9837         Likewise.
9838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9840         Likewise.
9841         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9842         (tests): Add test case tst-tls-atexit.
9843         (modules-names): Add shared library for tst-tls-atexit.
9844         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9845         (GLIBC_PRIVATE): Add __call_tls_dtors.
9846         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9847         for libstdc++.
9848         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9849         * stdlib/tst-tls-atexit.c: New test case.
9850         * stdlib/tst-tls-atexit-lib.c: New test case.
9852         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9854         * elf/Versions (ld): Add _dl_find_dso_for_object.
9855         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9856         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9857         (dl_open_worker): Use _dl_find_dso_for_object.
9858         * elf/dl-sym.c (do_sym): Likewise.
9859         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9861 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9863         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9864         Syntactic changes only.
9865         (_dl_runtime_profile): Do a tail-call to the resolved function.
9867 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9869         [BZ #13550]
9870         * sysdeps/x86_64/bp-asm.h: Remove file.
9871         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9872         <bp-sym.h> and <bp-asm.h>.
9873         (__clone): Do not use BP_SYM.
9874         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9875         <bp-sym.h> and <bp-asm.h>.
9876         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9877         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9878         "bp-asm.h".
9879         (_setjmp): Do not use BP_SYM.
9880         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9881         "bp-asm.h".
9882         (setjmp): Do not use BP_SYM.
9883         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9884         libc_hidden_def.
9885         (mempcpy): Do not use BP_SYM in weak_alias.
9886         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9887         "bp-asm.h".
9888         (strchr): Do not use BP_SYM.
9889         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9890         "bp-asm.h".
9891         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9892         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9893         (_start): Do not use BP_SYM.
9894         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9895         "bp-asm.h".
9896         (strcat): Do not use BP_SYM.
9897         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9898         "bp-asm.h".
9899         (STRCMP): Do not use BP_SYM.
9900         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9901         "bp-asm.h".
9902         (STRCPY): Do not use BP_SYM.
9903         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9904         "bp-asm.h".
9905         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9906         "bp-asm.h".
9907         (FUNCTION): Do not use BP_SYM.
9908         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9909         weak_alias.
9910         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9912 2013-02-17  Andreas Jaeger  <aj@suse.de>
9914         * time/Versions: Sort entries.
9915         * string/Versions: Likewise.
9916         * resolv/Versions: Likewise.
9917         * posix/Versions: Likewise.
9918         * iconv/Versions: Likewise.
9919         * elf/Versions: Likewise.
9920         * wcsmbs/Versions: Likewise.
9922 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9924         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9925         loop termination condition.
9927         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9928         variable to calculate EZ.
9929         (__sqr): Likewise.
9931         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9932         the lower precision input.
9934 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9936         [BZ #13550]
9937         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9938         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9939         (run-via-rtld-prefix): Do not handle %-bp tests.
9940         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9941         (all-object-suffixes): Remove .ob.
9942         (bppfx): Remove variable.
9943         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9944         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9945         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9946         [$(build-bounded) = yes] (libtype.ob): Likewise.
9947         * Makerules (elide-routines.ob): Remove variable.
9948         (do-tests-clean): Do not handle *-bp.out.
9949         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9950         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9951         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9952         (tests): Do not include $(tests-bp.out).
9953         (xtests): Do not include $(xtests-bp.out).
9954         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9955         [$(build-bounded) = yes] ($(addprefix
9956         $(objpfx),$(binaries-bounded))): Remove rule.
9957         ($(objpfx)%-bp.out): Remove rule.
9958         * config.make.in (build-bounded): Remove variable.
9959         * crypt/Makefile [$(build-bounded) = yes]
9960         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9961         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9962         append to variable.
9963         [$(build-bounded) = yes] (install-lib): Likewise.
9964         [$(build-bounded) = yes] (generated): Likewise.
9965         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9966         Remove rule.
9967         * intl/Makefile [$(build-bounded) = yes]
9968         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9969         * math/Makefile [$(build-bounded) = yes]
9970         ($(tests:%=$(objpfx)%-bp): Likewise.
9971         * misc/Makefile [$(build-bounded) = yes]
9972         ($(objpfx)tst-tsearch-bp): Likewise.
9973         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9974         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9975         Remove dependency.
9976         * string/Makefile (o-objects.ob): Remove variable.
9977         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9978         (CFLAGS-.ob): Remove variable.
9979         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9980         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9981         both definitions of variable.
9982         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9983         (ASFLAGS-.ob): Remove variable.
9985 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9987         [BZ #13550]
9988         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9989         Remove __BOUNDED_POINTERS__ from condition.
9990         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9991         * string/bits/string2.h [!__NO_STRING_INLINES &&
9992         !__BOUNDED_POINTERS__]: Likewise.
9993         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9994         Likewise.
9995         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9996         Remove conditional code.
9997         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9998         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9999         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10000         condition.
10002         [BZ #13550]
10003         * csu/libc-start.c: Do not include <bp-sym.h>.
10004         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10005         * elf/dl-open.c: Do not include <bp-sym.h>.
10006         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10007         * math/fegetenv.c: Do not include <bp-sym.h>.
10008         (fegetenv): Do not use BP_SYM in versioned symbols.
10009         * nptl/sysdeps/pthread/bits/libc-lockP.h
10010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10011         <bp-sym.h>.
10012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10013         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10015         (__pthread_mutex_destroy): Likewise.
10016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10017         (__pthread_mutex_lock): Likewise.
10018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10019         (__pthread_mutex_trylock): Likewise.
10020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10021         (__pthread_mutex_unlock): Likewise.
10022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10023         (__pthread_mutexattr_init): Likewise.
10024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10025         (__pthread_mutexattr_destroy): Likewise.
10026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10027         (__pthread_mutexattr_settype): Likewise.
10028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10029         (__pthread_rwlock_init): Likewise.
10030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10031         (__pthread_rwlock_destroy): Likewise.
10032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10033         (__pthread_rwlock_rdlock): Likewise.
10034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10035         (__pthread_rwlock_tryrdlock): Likewise.
10036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10037         (__pthread_rwlock_wrlock): Likewise.
10038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10039         (__pthread_rwlock_trywrlock): Likewise.
10040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10041         (__pthread_rwlock_unlock): Likewise.
10042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10043         (__pthread_key_create): Likewise.
10044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10045         (__pthread_setspecific): Likewise.
10046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10047         (__pthread_getspecific): Likewise.
10048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10049         Likewise.
10050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10051         (_pthread_cleanup_push_defer): Likewise.
10052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10053         (_pthread_cleanup_pop_restore): Likewise.
10054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10055         (pthread_setcancelstate): Likewise.
10056         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10057         <bp-sym.h>.
10058         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10059         (memchr): Do not use BP_SYM in weak_alias.
10060         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10061         (fegetenv): Do not use BP_SYM in versioned symbols.
10062         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10063         (fesetenv): Do not use BP_SYM in versioned symbols.
10064         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10065         (feupdateenv): Do not use BP_SYM in versioned symbols.
10066         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10067         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10068         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10069         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10070         (open64): Do not use BP_SYM in weak_alias.
10071         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10072         (fegetenv): Do not use BP_SYM in versioned symbols.
10073         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10074         (fesetenv): Do not use BP_SYM in versioned symbols.
10075         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10076         (feupdateenv): Do not use BP_SYM in versioned symbols.
10077         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10078         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10079         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10080         (feraiseexcept): Do not use BP_SYM in versioned symbols.
10081         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10082         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10083         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10084         <bp-sym.h>.
10085         (__libc_start_main): Do not use BP_SYM.
10087 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10090         redundant return line.
10091         (norm): Likewise.
10092         (denorm): Likewise.
10093         (dbl_mp): Likewise.
10094         (sub_magnitudes): Likewise.
10095         (__add): Likewise.
10096         (__sub): Likewise.
10097         (__mul): Likewise.
10098         (__inv): Likewise.
10099         (__dvd): Likewise.
10100         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10101         (norm): Likewise.
10102         (denorm): Likewise.
10103         (dbl_mp): Likewise.
10104         (sub_magnitudes): Likewise.
10105         (__add): Likewise.
10106         (__sub): Likewise.
10107         (__mul): Likewise.
10108         (__inv): Likewise.
10109         (__dvd): Likewise.
10111         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10112         instead of __mul.
10113         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10114         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10115         (cc32): Likewise.
10117         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10118         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10120         of __mul for squares.
10121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10122         function
10123         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10124         Likewise.
10125         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10126         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10128 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
10130         [BZ #13550]
10131         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10132         code.
10133         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10134         prototype or function definition.  Rename ubp_* variables and
10135         parameters.  Remove argv definitions conditional on
10136         [__BOUNDED_POINTERS__].
10137         * debug/backtrace.c (__backtrace): Do not use __unbounded.
10138         * elf/dl-runtime.c (_dl_fixup): Likewise.
10139         * include/set-hooks.h (RUN_HOOK): Likewise.
10140         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10141         definition.
10142         * string/strcpy.c (strcpy): Do not use __unbounded.
10143         * sysdeps/generic/frame.h (struct layout): Likewise.
10144         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10145         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10146         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10147         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10148         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10149         (__backtrace): Likewise.
10150         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10151         use __ptrvalue.
10152         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10153         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10154         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10155         Likewise.
10156         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10157         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10158         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10159         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10160         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10161         Do not use __unbounded.
10162         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10163         Rename __unboundedrlimits parameter to rlimits in prototype.
10164         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10165         Do not use __unbounded.
10166         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10167         not use __ptrvalue.
10168         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10169         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10170         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10171         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10172         __ptrvalue or __unbounded.
10173         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10174         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10175         use __unbounded.
10176         (__new_msgctl): Do not use __ptrvalue.
10177         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10178         __unbounded.
10179         (__libc_msgrcv): Do not use __ptrvalue.
10180         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10181         startup_info): Do not use __unbounded.
10182         (__libc_start_main): Likewise.  Rename ubp_* variables and
10183         parameters.  Remove argv definitions conditional on
10184         [__BOUNDED_POINTERS__].
10185         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10186         __ptrvalue.
10187         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10188         use __unbounded.
10189         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10190         or __ptrvalue.
10191         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10192         use __unbounded.
10193         (__new_shmctl): Do not use __ptrvalue.
10194         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10195         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10196         Likewise.
10197         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10198         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10199         (__libc_sigaction): Likewise.
10200         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10201         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10202         Likewise.
10203         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10205 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
10207         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10209         * string/mempcpy.c: Implement by calling memcpy.
10211 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10215         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10216         evaluation.
10218         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10219         values in the mantissa.
10221         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10222         minimize writes to Z.
10223         (sub_magnitudes): Simplify code a bit.
10225 2013-02-12  Roland McGrath  <roland@hack.frob.com>
10227         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10228         from the message.  The linker prefixes all warnings with that already.
10230 2013-02-12  Andreas Schwab  <schwab@suse.de>
10232         [BZ #15078]
10233         * posix/regexec.c (extend_buffers): Add parameter min_len.
10234         (check_matching): Pass minimum needed length.
10235         (clean_state_log_if_needed): Likewise.
10236         (get_subexp): Likewise.
10237         * posix/Makefile (tests): Add bug-regex34.
10238         (bug-regex34-ENV): Define.
10239         * posix/bug-regex34.c: New file.
10241         [BZ #11561]
10242         * posix/regcomp.c (parse_bracket_exp): When looking up collating
10243         elements compare against the byte sequence of it, not its name.
10244         * posix/Makefile (tests): Add bug-regex35.
10245         (bug-regex35-ENV): Define.
10246         * posix/bug-regex35.c: New file.
10248 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10250         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
10251         comment.
10252         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10253         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10254         (CHECK_EOL): Add undef.
10256 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
10258         * bits/stdlib-bsearch.h: New file.
10259         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10260         * stdlib/stdlib.h: Likewise.
10262 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10264         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10265         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10266         declaration.
10267         * manual/search.texi (Array Search Function): Add missing const in
10268         lfind prototype.
10269         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10270         declaration to use rlim_t.
10271         (Basic Scheduling Functions): Remove erroneous const from
10272         sched_getparam prototype.  Remove erroneous * from
10273         sched_get_priority_max and sched_get_priority_min prototypes.
10274         (Resource Usage): Fix summary @comment on vtimes to refer to
10275         sys/vtimes.h rather than vtimes.h.
10276         Add missing *s in vtimes prototype.
10277         (Limits on Resources): Fix ulimit prototype to return long int.
10278         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10279         prototypes to use long int rather than double.
10280         (BSD Random): Fix initstate and setstate to use char *, not void *.
10281         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10282         prototype to make second argument 'struct aiocb64 *const[]'.
10283         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10284         (Status of AIO Operations): Remove erroneous const in aio_return and
10285         aio_return64 prototypes.
10286         (Synchronizing I/O): Fix sync prototype to return void.
10287         * manual/startup.texi (Suboptions): Remove an erroneous const in
10288         getsubopt prototype.
10289         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10290         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10291         use size_t rather than int.
10292         (Scanning All Users): Likewise for getpwent_r.
10293         (Setting Groups): Add missing const to setgroups prototype.
10294         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10295         * manual/socket.texi (Host Names): Fix gethostbyaddr and
10296         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10297         'const void *' rather than 'const char *'.
10298         (Host Address Functions): Likewise for inet_ntop.
10299         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10300         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10301         ssize_t for return value.
10302         (Sending Data): Likewise for send, sendto, sendmsg.
10303         (Socket Option Functions): Add a missing const in setsockopt prototype.
10304         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10305         use wchar_t for the argument.
10306         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10307         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10308         take no arguments.
10309         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10310         double/float/long double for second argument.
10311         Fix return types of significand, significandf, significandl.
10312         * manual/filesys.texi (Setting Permissions): Use mode_t for second
10313         argument in fchmod prototype.
10314         (File Owner): Use uid_t and gid_t in fchown prototype.
10315         (File Times): Add const to utimes, futimes, and lutimes prototypes.
10316         (Making Special Files): Use mode_t and dev_t in mknod prototype.
10317         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10318         use 'const struct dirent **' as argument types to CMP function pointer
10319         argument.
10320         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10321         (File Times): Fix summary magic @comment for struct utimbuf and utime
10322         to refer to utime.h, not time.h.
10323         * manual/string.texi (Argz Functions): Add missing const in
10324         argz_extract and argz_next prototypes.
10325         (Finding Tokens in a String): Likewise for basename.
10326         (String/Array Comparison): Fix typo in wcscasecmp prototype.
10327         (Copying and Concatenation): Fix typo in wmemmove prototype.
10328         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10329         (Signal Stack): Remove erroneous const in sigstack prototype.
10330         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10331         prototype.
10332         (Simple Calendar Time): Likewise for stime.
10333         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10334         prototype.
10335         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10336         say sys/sysctl.h instead.
10337         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10338         and vsyslog prototypes.
10340 2013-02-11  Tom de Vries  <tom@codesourcery.com>
10342         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10343         Remove.
10345 2013-02-11  Roland McGrath  <roland@hack.frob.com>
10347         * misc/sys/mman.h: Fix typo in mremap comment.
10349 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10351         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10352         the '\0' terminator.
10354 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10356         [BZ #13550]
10357         * debug/segfault.c: Don't include <bp-checks.h>.
10358         * sysdeps/generic/bp-checks.h: Remove file.
10359         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10360         (__GETDENTS): Don't use CHECK_N.
10361         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10362         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10363         (__getgroups): Don't use CHECK_N.
10364         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10365         (setgroups): Don't use CHECK_N.
10366         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10367         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10368         (__libc_msgrcv): Don't use CHECK_N.
10369         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10370         (__libc_msgsnd): Don't use CHECK_N.
10371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10372         <bp-checks.h>.
10373         (__libc_pread): Don't use CHECK_N.
10374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10375         include <bp-checks.h>.
10376         (__libc_pread64): Don't use CHECK_N.
10377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10378         include <bp-checks.h>.
10379         (__libc_pwrite): Don't use CHECK_N.
10380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10381         include <bp-checks.h>.
10382         (__libc_pwrite64): Don't use CHECK_N.
10383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10384         <bp-checks.h>.
10385         (__libc_pread): Don't use CHECK_N.
10386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10387         include <bp-checks.h>.
10388         (__libc_pread64): Don't use CHECK_N.
10389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10390         include <bp-checks.h>.
10391         (__libc_pwrite): Don't use CHECK_N.
10392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10393         include <bp-checks.h>.
10394         (__libc_pwrite64): Don't use CHECK_N.
10395         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10396         (do_pread): Don't use CHECK_N.
10397         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10398         (do_pread64): Don't use CHECK_N.
10399         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10400         (do_pwrite): Don't use CHECK_N.
10401         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10402         (do_pwrite64): Don't use CHECK_N.
10403         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10404         (__libc_readv): Don't use CHECK_N.
10405         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10406         (semop): Don't use CHECK_N.
10407         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10408         <bp-checks.h>.
10409         (semtimedop): Don't use CHECK_N.
10410         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10411         (__libc_pread): Don't use CHECK_N.
10412         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10413         <bp-checks.h>.
10414         (__libc_pread64): Don't use CHECK_N.
10415         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10416         <bp-checks.h>.
10417         (__libc_pwrite): Don't use CHECK_N.
10418         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10419         <bp-checks.h>.
10420         (__libc_pwrite64): Don't use CHECK_N.
10421         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10422         <bp-checks.h>.
10423         (__libc_msgrcv): Don't use CHECK_N.
10424         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10425         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
10426         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10427         (__libc_writev): Don't use CHECK_N.
10429 2013-02-08  Roland McGrath  <roland@hack.frob.com>
10431         * string/strcpy.c: Removed unused variable.
10433         * Makeconfig (+sysdep-includes): Define with := rather than =.
10434         Use an existing include/ subdir of each sysdeps dir before it.
10436 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10438         * nscd/connection.c (register_traced_file): Comment function.
10439         [HAVE_INOTIFY] (union __inev): Define.
10440         [HAVE_INOTIFY] (inotify_check_files): New function.
10441         [HAVE_INOTIFY] (clear_db_cache): Likewise.
10442         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10443         clear_db_cache.
10444         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10446 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10448         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10449         loaded if not already and that a failure is permanent.
10451 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10453         [BZ #15006]
10454         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10455         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10457 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
10459         [BZ #13550]
10460         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10461         (CHECK_1_NULL_OK): Likewise.
10462         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10463         (__fxstat): Do not use CHECK_1.
10464         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10465         <bp-checks.h>.
10466         (___fxstat64): Do not use CHECK_1.
10467         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10468         <bp-checks.h>.
10469         (__fxstatat): Do not use CHECK_1.
10470         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10471         <bp-checks.h>.
10472         (__fxstatat64): Do not use CHECK_1.
10473         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10474         <bp-checks.h>.
10475         (__fxstat): Do not use CHECK_1.
10476         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10477         <bp-checks.h>.
10478         (__fxstatat): Do not use CHECK_1.
10479         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10480         <bp-checks.h>.
10481         (__getresgid): Do not use CHECK_1.
10482         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10483         <bp-checks.h>.
10484         (__getresuid): Do not use CHECK_1.
10485         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10486         <bp-checks.h>.
10487         (__lxstat): Do not use CHECK_1.
10488         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10489         <bp-checks.h>.
10490         (__old_msgctl): Do not use CHECK_1.
10491         (__new_msgctl): Likewise.
10492         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10493         <bp-checks.h>.
10494         (__new_setrlimit): Do not use CHECK_1.
10495         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10496         <bp-checks.h>.
10497         (__old_shmctl): Do not use CHECK_1.
10498         (__new_shmctl): Likewise.
10499         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10500         <bp-checks.h>.
10501         (__xstat): Do not use CHECK_1.
10502         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10503         (__lxstat): Do not use CHECK_1.
10504         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10505         <bp-checks.h>.
10506         (___lxstat64): Do not use CHECK_1.
10507         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10508         (__old_msgctl): Do not use CHECK_1.
10509         (__new_msgctl): Likewise.
10510         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10511         <bp-checks.h>.
10512         (__gettimeofday): Do not use CHECK_1.
10513         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10514         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10515         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10516         <bp-checks.h>.
10517         (__gettimeofday): Do not use CHECK_1.
10518         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10519         (__old_shmctl): Do not use CHECK_1_NULL_OK.
10520         (__new_shmctl): Do not use CHECK_1.
10521         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10522         <bp-checks.h>.
10523         (do_sigtimedwait): Do not use CHECK_1.
10524         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10525         <bp-checks.h>.
10526         (do_sigwaitinfo): Do not use CHECK_1.
10527         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10528         <bp-checks.h>.
10529         (msgctl): Do not use CHECK_1.
10530         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10531         <bp-checks.h>.
10532         (shmctl): Do not use CHECK_1.
10533         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10534         (ustat): Do not use CHECK_1.
10535         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10536         <bp-checks.h>.
10537         (__fxstat): Do not use CHECK_1.
10538         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10539         <bp-checks.h>.
10540         (__fxstatat): Do not use CHECK_1.
10541         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10542         <bp-checks.h>.
10543         (__lxstat): Do not use CHECK_1.
10544         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10545         <bp-checks.h>.
10546         (__xstat): Do not use CHECK_1.
10547         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10548         (__xstat): Do not use CHECK_1.
10549         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10550         (___xstat64): Do not use CHECK_1.
10552         [BZ #13550]
10553         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10554         definitions.
10555         (CHECK_BOUNDS_HIGH): Likewise.
10556         * string/strcpy.c: Do not include <bp-checks.h>.
10557         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10559 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10561         * nscd/nscd-client.h (__nscd_drop_map_ref):
10562         Add __attribute__ ((unused)).
10563         * nis/nss-nisplus.h (niserr2nss): Likewise.
10565         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10566         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10568         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10569         Remove inline keyword.
10570         * include/rounding-mode.h (round_away): Likewise.
10571         * libio/wfileops.c (adjust_wide_data): Likewise.
10572         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10573         (__m128i_strloadu_tolower): Likewise.
10574         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10575         (__m128i_strloadu_tolower): Likewise.
10576         * time/mktime.c (ydhms_diff): Likewise.
10577         * locale/elem-hash.h (elem_hash): Likewise.
10578         * locale/setlocale.c (setdata): Likewise.
10579         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10580         (re_string_wchar_at): Likewise.
10581         (bitset_not, bitset_merge, bitset_mask): Likewise.
10582         [!(__GNUC__ > 3)] (inline): Remove macro.
10583         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10584         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10585         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10586         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10587         * string/memcmp.c (memcmp_bytes): Likewise.
10588         * locale/programs/locarchive.c (compute_hashval): Likewise.
10589         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10590         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10591         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10592         * nss/getent.c (print_rpc, print_protocols): Likewise.
10593         (print_passwd, print_group, print_aliases): Likewise.
10594         * nis/nss-nisplus.h (niserr2nss): Likewise.
10595         * nscd/connections.c (restart_p): Likewise.
10596         Change return type to bool.
10598 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10600         * Makeconfig (all-Depend-files): Add existing
10601         $(sorted-subdirs:=/Depend) files.
10602         (all-subdirs): Remove nss.
10603         * sysdeps/unix/inet/Subdirs: Add it here instead.
10604         * hesiod/Depend: New file.
10606         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10607         instead of calling alloca.
10609         * io/lseek.c (__lseek): Rename to __libc_lseek.
10610         Define __lseek as an alias.
10612         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10614 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10616         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10617         else clause and remove check for non-standard endianness.
10619 2013-02-04  David S. Miller  <davem@davemloft.net>
10621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10623 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10625         [BZ #13550]
10626         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10627         (__ubp_memchr): Remove prototype.
10628         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10629         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10630         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10631         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10632         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10633         Remove alias.
10634         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10635         (__ubp_memchr): Likewise.
10636         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10637         (__ubp_memchr): Likewise.
10638         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10639         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10640         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10641         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10642         CHECK_STRING.
10643         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10644         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10645         (__getcwd): Do not use CHECK_STRING.
10646         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10647         <bp-checks.h>.
10648         (__real_chown): Do not use CHECK_STRING.
10649         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10650         <bp-checks.h>.
10651         (fchownat): Do not use CHECK_STRING.
10652         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10653         CHECK_STRING.
10654         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10655         <bp-checks.h>.
10656         (__lchown): Do not use CHECK_STRING.
10657         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10658         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10659         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10660         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10662         include <bp-checks.h>.
10663         (truncate64): Do not use CHECK_STRING.
10664         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10665         <bp-checks.h>.
10666         (__real_chown): Do not use CHECK_STRING.
10667         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10668         <bp-checks.h>.
10669         (__lchown): Do not use CHECK_STRING.
10670         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10671         <bp-checks.h>.
10672         (__chown): Do not use CHECK_STRING.
10673         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10674         <bp-checks.h>.
10675         (truncate64): Do not use CHECK_STRING.
10676         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10677         Likewise.
10678         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10679         (__xmknod): Do not use CHECK_STRING.
10680         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10681         <bp-checks.h>.
10682         (__xmknodat): Do not use CHECK_STRING.
10683         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10684         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10686 2013-02-04  Andreas Schwab  <schwab@suse.de>
10688         [BZ #14142]
10689         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10690         * include/netdb.h: Likewise for h_errno.
10691         * elf/tst-stackguard1.c: Include <tls.h>.
10693 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10695         * elf/link.h (struct link_map): Extend the l_addr comment.
10696         * include/link.h (struct link_map): Likewise.
10698 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10700         [BZ #13550]
10701         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10702         (BOUNDED_1): Remove macro.
10703         * debug/backtrace.c: Don't include <bp-checks.h>.
10704         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10705         (__backtrace): Likewise.
10706         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10707         <bp-checks.h>.
10708         (__backtrace): Don't use BOUNDED_1.
10709         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10710         <bp-checks.h>.
10711         (__backtrace): Don't use BOUNDED_1.
10712         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10713         (__backtrace): Don't use BOUNDED_1.
10714         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10715         (shmat): Don't use BOUNDED_N.
10717 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10719         [BZ #13550]
10720         * sysdeps/generic/bp-start.h: Remove file.
10721         * csu/libc-start.c: Don't include <bp-start.h>.
10722         (LIBC_START_MAIN): Set up __environ directly instead of using
10723         INIT_ARGV_and_ENVIRON.
10724         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10725         <bp-start.h>.
10727         [BZ #13550]
10728         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10729         definitions.
10730         (CHECK_FCNTL): Likewise.
10731         (CHECK_N_PAGES): Likewise.
10733         [BZ #13550]
10734         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10735         definitions.
10736         (CHECK_SIGSET_NULL_OK): Likewise.
10737         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10738         <bp-checks.h>.
10739         (sigpending): Don't use CHECK_SIGSET.
10740         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10741         <bp-checks.h>.
10742         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10743         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10744         <bp-checks.h>.
10745         (do_sigsuspend): Don't use CHECK_SIGSET.
10746         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10747         use CHECK_SIGSET.
10748         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10749         (do_sigwait): Don't use CHECK_SIGSET.
10750         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10751         use CHECK_SIGSET.
10752         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10753         include <bp-checks.h>.
10754         (sigpending): Don't use CHECK_SIGSET.
10755         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10756         include <bp-checks.h>.
10757         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10758         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10759         <bp-checks.h>.
10760         (sigpending): Don't use CHECK_SIGSET.
10761         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10762         <bp-checks.h>.
10763         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10765         [BZ #13550]
10766         * sysdeps/generic/bp-semctl.h: Remove file.
10767         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10768         <bp-checks.h> and <bp-semctl.h>.
10769         (__old_semctl): Don't use CHECK_SEMCTL.
10770         (__new_semctl): Likewise.
10771         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10772         and <bp-semctl.h>.
10773         (__old_semctl): Don't use CHECK_SEMCTL.
10774         (__new_semctl): Likewise.
10775         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10776         <bp-checks.h> and <bp-semctl.h>.
10777         (__old_semctl): Don't use CHECK_SEMCTL.
10778         (__new_semctl): Likewise.
10779         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10780         <bp-checks.h> and <bp-semctl.h>.
10781         (semctl): Don't use CHECK_SEMCTL.
10783         [BZ #13550]
10784         * Makerules (elide-bp-thunks): Remove variable.
10785         (elide-routines.oS): Don't use $(elide-bp-thunks).
10786         (elide-routines.os): Likewise.
10787         (elide-routines.o): Likewise.
10788         (elide-routines.op): Likewise.
10789         (elide-routines.og): Likewise.
10790         (objects): Don't use $(bp-thunks).
10791         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10792         include.
10793         (common-generated): Do not add s-proto-bp.d.
10794         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10795         (int): Likewise.
10796         (typ): Likewise.
10797         Do not generate makefile rules for bounded-pointer thunks.
10798         * sysdeps/generic/bp-thunks.h: Remove file.
10799         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10800         * sysdeps/unix/s-proto-bp.S: Likewise.
10802         [BZ #15062]
10803         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10804         parts of result separately when argument is not close to line from
10805         -i to i and one part of argument is small.
10806         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10807         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10808         * math/libm-test.inc (cacos_test): Add more tests.
10809         (casin_test): Likewise.
10810         (casinh_test): Likewise.
10811         * sysdeps/i386/fpu/libm-test-ulps: Update.
10812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10814 2013-01-31  David S. Miller  <davem@davemloft.net>
10816         * po/de.po: Update from translation team.
10818 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10820         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10822 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10824         * configure.in (_AC_PROG_CC_C89): New definition.
10825         * configure: Regenerate.
10827         * configure.in (AC_PROG_CPP): New definition.
10828         * configure: Regenerate.
10830 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10832         * debug/tst-backtrace.h: New file.
10833         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10834         (ret): Remove variable.
10835         (x): Likewise.
10836         (FAIL): Remove macro.
10837         (NO_INLINE): Likewise.
10838         (fn1): Use match function instead of strstr.
10839         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10840         (ret): Remove variable.
10841         (x): Likewise.
10842         (FAIL): Remove macro.
10843         (NO_INLINE): Likewise.
10844         (fn): Use match function instead of strstr.
10845         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10846         (ret): Remove variable.
10847         (x): Likewise.
10848         (FAIL): Remove macro.
10849         (NO_INLINE): Likewise.
10850         (handle_signal): Use match function instead of strstr.
10851         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10852         (ret): Remove variable.
10853         (x): Likewise.
10854         (FAIL): Remove macro.
10855         (NO_INLINE): Likewise.
10856         (handle_signal): Use match function instead of strstr.
10858 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10860         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10862 2013-01-23  David S. Miller  <davem@davemloft.net>
10864         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10865         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10866         argument of CAS if possible.
10867         * sysdeps/sparc/sparc64/bits/atomic.h
10868         (__arch_compare_and_exchange_val_32_acq): Likewise.
10869         (__arch_compare_and_exchange_val_64_acq): Likewise.
10871 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10873         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10874         * sysdeps/posix/ulimit.c: ... this.
10875         Include <limits.h>.
10876         * sysdeps/unix/bsd/ulimit.c: Remove file.
10878 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10880         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10881         (LDFLAGS-tst-array5): Likewise.
10883 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10885         [BZ #15036]
10886         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10887         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10888         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10889         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10891 2013-01-21  David S. Miller  <davem@davemloft.net>
10893         * sysdeps/sparc/backtrace.c: New file.
10894         * sysdeps/sparc/sparc32/backtrace.h: New file.
10895         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10896         * sysdeps/sparc/sparc64/backtrace.h: New file.
10897         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10898         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10899         -funwind-tables.
10901 2013-01-21  Andreas Schwab  <schwab@suse.de>
10903         [BZ #15020]
10904         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10905         closed its stdout.
10907 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10910         "mpa2.h".
10911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10913 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10914             Mark Mitchell  <mark@codesourcery.com>
10915             Tom de Vries  <tom@codesourcery.com>
10916             Paul Pluzhnikov  <ppluzhnikov@google.com>
10918         * debug/tst-backtrace2.c: New file.
10919         * debug/tst-backtrace3.c: Likewise.
10920         * debug/tst-backtrace4.c: Likewise.
10921         * debug/tst-backtrace5.c: Likewise.
10922         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10923         (CFLAGS-tst-backtrace3.c): Likewise.
10924         (CFLAGS-tst-backtrace4.c): Likewise.
10925         (CFLAGS-tst-backtrace5.c): Likewise.
10926         (LDFLAGS-tst-backtrace2): Likewise.
10927         (LDFLAGS-tst-backtrace3): Likewise.
10928         (LDFLAGS-tst-backtrace4): Likewise.
10929         (LDFLAGS-tst-backtrace5): Likewise.
10930         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10931         tst-backtrace4 and tst-backtrace5.
10933 2013-01-18  Anton Blanchard  <anton@samba.org>
10934             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10936         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10937         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10938         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10939         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10941         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10942         "+r" and remove output regs list as redundant.  Add explicit inline
10943         asm to specify register of return val to work around compiler codegen
10944         bug.  Remove (int) cast on return value.  Add return type parameter to
10945         use in macro so that this macro does not truncate return value for
10946         64-bit values.
10947         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10948         pass to INTERNAL_VSYSCALL_NCS.
10949         (INLINE_VSYSCALL): Add 'long int' as return type to
10950         INTERNAL_VSYSCALL_NCS macro invocation.
10951         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10952         INTERNAL_VSYSCALL_NCS macro invocation.
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10955 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10957         [BZ #14496]
10958         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10959         Fix application of SIMD FP exception mask.
10961         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10962         mp_no from a power of two.
10963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10964         __mpexp_twomm1.  Use __pow_mp.
10966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10967         multiplication.
10969 2013-01-17  David S. Miller  <davem@davemloft.net>
10971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10973 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10975         [BZ #15023]
10976         * include/complex.h: Condition contents on [!_COMPLEX_H].
10977         (__kernel_casinhf): New prototype.
10978         (__kernel_casinh): Likewise.
10979         (__kernel_casinhl): Likewise.
10980         * math/Makefile (libm_calls): Add k_casinh.
10981         * math/k_casinh.c: New file.
10982         * math/k_casinhf.c: Likewise.
10983         * math/k_casinhl.c: Likewise.
10984         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10985         finite nonzero arguments.
10986         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10987         finite nonzero arguments.
10988         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10989         finite nonzero arguments.
10990         * math/s_casinh.c: Do not include <float.h>.
10991         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10992         * math/s_casinhf.c: Do not include <float.h>.
10993         (__casinhf): Move code for finite nonzero arguments to
10994         k_casinhf.c.
10995         * math/s_casinhl.c: Do not include <float.h>.
10996         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10997         redefine.
10998         (__casinhl): Move code for finite nonzero arguments to
10999         k_casinhl.c.
11000         * math/libm-test.inc (cacos_test): Add more tests.
11001         * sysdeps/i386/fpu/libm-test-ulps: Update.
11002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11004 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
11006         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11007         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11008         [!HAVE_MREMAP]: Remove [defined linux] case.
11009         * malloc/arena.c: Do not include <malloc-sysdep.h>.
11011 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11013         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11015 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
11017         * elf/elf.h (R_386_SIZE32): New relocation.
11018         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11019         R_386_SIZE32.
11020         (elf_machine_rela): Likewise.
11021         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11022         R_X86_64_SIZE64 and R_X86_64_SIZE32.
11024 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
11026         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11027         (FP_FAST_FMA): Do not define.
11028         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11029         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11030         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11031         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11032         !_SOFT_FLOAT]: Likewise.
11033         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11034         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11035         value.
11036         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11037         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11038         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11039         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11040         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11041         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11042         file.
11044 2013-01-16  Andreas Schwab  <schwab@suse.de>
11046         [BZ #14327]
11047         * include/stdlib.h (__mktemp): Add declaration.
11048         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11049         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11051 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11053         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11054         definitions.
11055         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11056         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11057         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11058         definitions here.
11059         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11060         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11061         definitions.
11062         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11063         and ONE.
11064         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11065         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11066         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11067         definitions.
11068         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11069         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11070         definitions.
11071         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11073         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11075 2013-01-15  David S. Miller  <davem@davemloft.net>
11077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11078         trunc{,f} to libm-sysdep_routes.
11079         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11081         file.
11082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11084         file.
11085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11086         file.
11087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11089         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11090         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11091         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11092         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11093         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11094         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11097         nearbyint{,f} to libm-sysdep_routes.
11098         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11100         New file.
11101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11102         file.
11103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11104         New file.
11105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11106         file.
11107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11109         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11110         file.
11111         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11112         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11113         file.
11114         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11115         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11116         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11118         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11119         libc_feholdexcept and libc_fesetenv.
11121 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
11123         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11125 2013-01-14  David S. Miller  <davem@davemloft.net>
11127         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11128         (SPARC_ASM_VIS2_IFUNC): Likewise.
11129         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11131         use of 'siam' instruction.
11132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11133         Likewise.
11134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11135         Likewise.
11136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11137         Likewise.
11138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11143         file.
11144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11145         file.
11146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11147         file.
11148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11149         file.
11150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11155         new VIS2 routines.
11156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11159         Likewise.
11160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11165         routines to libm-sysdep_routines.
11166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11169         fdim/fdimf to libm-sysdep_routines.
11170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11171         file.
11172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11174         file.
11175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11178         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11179         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11180         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11181         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11183 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11185         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11186         to optimize copies.
11188         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11193         local variable MPTWO.
11194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11195         Likewise.
11197 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11199         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11200         GLOB_NOESCAPE.
11202 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11204         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11206 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
11208         * manual/pattern.texi (glob_t): Document gl_flags.
11209         (glob64_t): Likewise.
11211 2013-01-11  David S. Miller  <davem@davemloft.net>
11213         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11214         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11215         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
11216         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11217         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11218         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11219         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11220         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11221         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11222         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11223         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11224         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11225         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11227         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11228         sparc V9 rather than using V8 code.
11229         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11230         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11232         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11233         Move to...
11234         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11235         Here.
11237 2013-01-11  Roland McGrath  <roland@hack.frob.com>
11239         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11240         not in the main loop.
11241         * configure: Regenerated.
11243 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
11245         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11246         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11247         to just #else.
11248         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
11249         [!__GLIBC_HAVE_LONG_LONG] case.
11250         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11251         condition to just #else.
11252         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11253         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11254         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11255         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11256         unconditional.
11257         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11258         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11259         #elif condition to just #else.
11260         * sysdeps/unix/sysv/linux/sys/sysmacros.h
11261         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11262         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11263         #elif condition to just #else.
11265 2013-01-11  Steve Ellcey  <sellcey@mips.com>
11267         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11268         (EF_MIPS_ARCH_64): Fix value.
11269         (EF_MIPS_ARCH_32R2): New.
11270         (EF_MIPS_ARCH_64R2): New.
11272 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11274         * Makeconfig (+link-pie-before-libc): New.
11275         (+link-pie-after-libc): Likewise.
11276         (+link-pie-tests): Likewise.
11277         (+link-pie): Rewritten.
11278         (link-before-libc): Remove $(config-LDFLAGS).
11279         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11280         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11281         (config-LDFLAGS): Renamed to ...
11282         (rtld-LDFLAGS): This.
11283         (rtld-tests-LDFLAGS): New macro.
11284         (link-libc-rpath-link): Likewise.
11285         (link-libc-tests-rpath-link): Likewise.
11286         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11287         (link-libc): Prepand $(link-libc-rpath-link).
11288         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11289         (test-program-prefix): New macro.
11290         (test-via-rtld-prefix): Likewise.
11291         (test-program-cmd): Likewise.
11292         (host-test-program-cmd): Likewise.
11293         * Makefile ($(common-objpfx)testrun.sh): Replace
11294         $(run-program-prefix) with $(test-program-prefix).
11295         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11296         $(rtld-LDFLAGS).
11297         ($(common-objpfx)shlib.lds): Likewise.
11298         (build-module-helper): Likewise.
11299         ($(common-objpfx)format.lds): Likewise.
11300         * Rules (binaries-pie-tests): New.
11301         (binaries-pie-notests): Likewise.
11302         (binaries-pie): Rewritten.
11303         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11304         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11305         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11306         (make-test-out): Replace $(host-built-program-cmd) with
11307         $(host-test-program-cmd).
11308         * config.make.in (build-hardcoded-path-in-tests): New variable.
11309         * configure.in (--enable-hardcoded-path-in-tests): New configure
11310         option.
11311         (hardcoded_path_in_tests): New AC_SUBST.
11312         * configure: Regenerated.
11313         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11314         $(built-program-cmd) with $(test-program-cmd).
11315         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11316         (test_program_cmd): This.
11317         * elf/Makefile ($(objpfx)order.out): Run test with
11318         $(test-program-prefix).
11319         ($(objpfx)order2.out): Likewise.
11320         ($(objpfx)tst-initorder.out): Likewise.
11321         ($(objpfx)tst-initorder2.out): Likewise.
11322         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11323         $(test-program-cmd).
11324         ($(objpfx)tst-array1-static.out): Likewise.
11325         ($(objpfx)tst-array2.out): Likewise.
11326         ($(objpfx)tst-array3.out): Likewise.
11327         ($(objpfx)tst-array4.out): Likewise.
11328         ($(objpfx)tst-array5.out): Likewise.
11329         ($(objpfx)tst-array5-static.out): Likewise.
11330         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11331         $(test-program-cmd).
11332         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11333         $(run-program-prefix) with $(test-program-prefix).
11334         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11335         (test_program_prefix): This.
11336         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11337         $(run-program-prefix) with $(test-program-prefix).
11338         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11339         (test_program_prefix): This.
11340         * iconvdata/tst-tables.sh: Likewise.
11341         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11342         $(run-program-prefix) with $(test-program-prefix).
11343         ($(objpfx)tst-translit.out): Likewise.
11344         ($(objpfx)tst-gettext2.out): Likewise.
11345         ($(objpfx)tst-gettext4.out): Likewise.
11346         ($(objpfx)tst-gettext6.out): Likewise.
11347         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11348         (test_program_prefix): This.
11349         * intl/tst-gettext2.sh: Likewise.
11350         * intl/tst-gettext4.sh  Likewise.
11351         * intl/tst-gettext6.sh: Likewise.
11352         * intl/tst-translit.sh: Likewise.
11353         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11354         with $(test-program-cmd).
11355         * libio/Makefile ($(objpfx)test-freopen.out): Replace
11356         $(run-program-prefix) with $(test-program-prefix).
11357         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11358         (test_program_prefix): This.
11359         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11360         $(run-program-prefix) with $(test-program-prefix).
11361         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11362         (test_program_prefix): This.
11363         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11364         * posix/Makefile ($(objpfx)globtest.out): Replace
11365         $(run-via-rtld-prefix) and $(test-wrapper) with
11366         $(test-program-prefix) and $(test-via-rtld-prefix).
11367         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11368         $(test-program-prefix).
11369         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11370         $(host-test-program-cmd).
11371         (tst-spawn-ARGS): Likewise.
11372         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11373         $(test-program-prefix).
11374         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11375         (test_via_rtld_prefix): This.
11376         (test_wrapper): Renamed to ...
11377         (test_program_prefix): This.
11378         (run_program_prefix): Replaced by test_program_prefix.
11379         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11380         (test_program_prefix): This.
11381         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11382         with $(host-test-program-cmd).
11383         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11384         $(run-program-prefix) with $(test-program-prefix).
11385         ($(objpfx)tst-printf.out): Likewise.
11386         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11387         $(test-program-cmd).
11388         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11389         (test_program_prefix): This.
11390         * stdio-common/tst-unbputc.sh: Likewise.
11391         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11392         $(run-program-prefix) with $(test-program-prefix).
11393         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11394         (test_program_prefix): This.
11395         * string/Makefile ($(objpfx)tst-svc.out):  Replace
11396         $(built-program-cmd) with $(test-program-cmd).
11398 2013-01-11  Andreas Jaeger  <aj@suse.de>
11400         [BZ #15003]
11401         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11402         value. Sync with Linux 3.7.
11404 2013-01-10  David S. Miller  <davem@davemloft.net>
11406         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11407         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11408         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11410 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11412         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11413         never set.
11414         * configure: Regenerated.
11416 2013-01-10  David S. Miller  <davem@davemloft.net>
11418         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11419         sparc V9 rather than using V8 code.
11420         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11421         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11423 2013-01-10  Roland McGrath  <roland@hack.frob.com>
11425         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11426         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11427         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11428         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11429         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11430         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11431         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11432         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11433         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11434         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11435         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11436         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11437         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11438         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11439         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11440         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11441         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11442         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11443         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11444         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11445         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11446         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11447         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11448         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11449         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11450         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11451         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11453 2013-01-10  David S. Miller  <davem@davemloft.net>
11455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11457 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11459         * posix/Makefile (tests-static): New variable.
11460         (tests): Add $(tests-static).
11461         (tst-exec-static-ARGS): New variable.
11462         (tst-spawn-static-ARGS): Likewise.
11463         * posix/tst-exec-static.c: New file.
11464         * posix/tst-spawn-static.c: Likewise.
11465         * posix/tst-exec.c: Support run directly.
11466         * posix/tst-spawn.c: Likewise.
11468 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
11470         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11471         long.
11472         * math/bits/mathcalls.h (llrint): Likewise.
11473         (llround): Likewise.
11474         * stdlib/stdlib.h (struct drand48_data): Likewise.
11475         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11476         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11477         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11478         Likewise.
11479         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11480         Likewise.
11481         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11482         (elf_greg_t): Likewise.
11483         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11484         (__jmp_buf): Likewise.
11485         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11486         definitions.
11487         (llrint): Likewise, for all definitions.
11488         (llrintl): Likewise.
11490         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11491         Remove [__GNUC__] condition.
11492         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11493         condition to just [__USE_ISOC99].
11494         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11496 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
11498         [BZ #14200]
11499         * sysdeps/unix/sysv/linux/x86/bits/environments.h
11500         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11501         defined.
11502         (_POSIX_V6_ILP32_OFF32): Likewise.
11503         (_XBS5_ILP32_OFF32): Likewise.
11504         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11505         (__ILP32_OFFBIG_LDFLAGS): Likewise.
11507 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11509         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11511         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11512         doubles __mpexp_twomm1.  Adjust usage.
11513         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11514         Remove.
11516 2013-01-10  Andreas Schwab  <schwab@suse.de>
11518         [BZ #14964]
11519         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11520         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11522 2013-01-09  David S. Miller  <davem@davemloft.net>
11524         [BZ #15003]
11525         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11526         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11527         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11528         TCP_FASTOPEN): Define.
11529         (tcp_repair_opt): New structure.
11530         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11531         enum values.
11532         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11533         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11534         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11535         (tcp_cookie_transactions): New structure.
11537 2013-01-09  Anton Blanchard  <anton@samba.org>
11539         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11540         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11541         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11542         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11544 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11546         * include/features.h (__USE_ANSI): Remove.
11548 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11550         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11552         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11554 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11556         * sysdeps/s390/fpu/libm-test-ulps: Update.
11558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11560         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11561         (__acr): Likewise.
11562         (__cpy): Likewise.
11563         (norm): Likewise.
11564         (denorm): Likewise.
11565         (__mp_dbl): Likewise.
11566         (__dbl_mp): Likewise.
11567         (add_magnitudes): Likewise.
11568         (sub_magnitudes): Likewise.
11569         (__add): Likewise.
11570         (__sub): Likewise.
11571         (__mul): Likewise.
11572         (__inv): Likewise.
11573         (__dvd): Likewise.
11574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11575         (__acr): Likewise.
11576         (__cpy): Likewise.
11577         (norm): Likewise.
11578         (denorm): Likewise.
11579         (__mp_dbl): Likewise.
11580         (__dbl_mp): Likewise.
11581         (add_magnitudes): Likewise.
11582         (sub_magnitudes): Likewise.
11583         (__add): Likewise.
11584         (__sub): Likewise.
11585         (__mul): Likewise.
11586         (__inv): Likewise.
11587         (__dvd): Likewise.
11588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11589         (__acr): Likewise.
11590         (__cpy): Likewise.
11591         (norm): Likewise.
11592         (denorm): Likewise.
11593         (__mp_dbl): Likewise.
11594         (__dbl_mp): Likewise.
11595         (add_magnitudes): Likewise.
11596         (sub_magnitudes): Likewise.
11597         (__add): Likewise.
11598         (__sub): Likewise.
11599         (__mul): Likewise.
11600         (__inv): Likewise.
11601         (__dvd): Likewise.
11603 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11605         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11606         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11607         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11608         2 && __USE_EXTERN_INLINES]: Likewise.
11610 2013-01-08  Andreas Jaeger  <aj@suse.de>
11612         [BZ# 14985]
11613         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11614         Remove.
11615         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11616         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11618 2013-01-07  Anton Blanchard  <anton@samba.org>
11620         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11621         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11622         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11623         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11624         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11625         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11626         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11627         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11629         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11630         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11631         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11632         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11633         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11634         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11635         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11636         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11637         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11638         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11639         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11640         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11641         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11643         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11644         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11645         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11646         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11647         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11649         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11650         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11652         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11653         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11654         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11655         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11656         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11658         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11659         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11660         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11661         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11662         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11664 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11666         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11667         (__MALLOC_PMT): Likewise.
11668         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11669         [__GNUC__], only on [_LIBC].
11670         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11671         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11672         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11673         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11674         forward declaration.
11675         (realloc_hook_ini): Likewise.
11676         (memalign_hook_ini): Likewise.
11677         (__libc_memalign): Do not use __MALLOC_PMT in variable
11678         declaration.
11679         (__libc_valloc): Likewise.
11680         (__libc_pvalloc): Likewise.
11681         (__libc_calloc): Likewise.
11682         (__posix_memalign): Likewise.
11684         [BZ #14996]
11685         * math/s_casinh.c: Include <float.h>.
11686         (__casinh): Do not do computation with squaring and square root
11687         for large arguments.
11688         * math/s_casinhf.c: Include <float.h>.
11689         (__casinhf): Do not do computation with squaring and square root
11690         for large arguments.
11691         * math/s_casinhl.c: Include <float.h>.
11692         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11693         (__casinhl): Do not do computation with squaring and square root
11694         for large arguments.
11695         * math/libm-test.inc (casin_test): Add more tests.
11696         (casinh_test): Likewise.
11697         * sysdeps/i386/fpu/libm-test-ulps: Update.
11698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11700 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11702         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11703         (__x86_64_raw_data_cache_size): Likewise.
11704         (__x86_64_data_cache_size_half): Likewise.
11705         (__x86_64_raw_data_cache_size_half): Likewise.
11706         (__x86_64_shared_cache_size): Likewise.
11707         (__x86_64_raw_shared_cache_size): Likewise.
11708         (__x86_64_shared_cache_size_half): Likewise.
11709         (__x86_64_raw_shared_cache_size_half): Likewise.
11710         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11711         to ...
11712         (__x86_data_cache_size): This.
11713         (__x86_64_raw_data_cache_size): Renamed to ...
11714         (__x86_raw_data_cache_size): This.
11715         (__x86_64_data_cache_size_half): Renamed to ...
11716         (__x86_data_cache_size_half): This.
11717         (__x86_64_raw_data_cache_size_half): Renamed to ...
11718         (__x86_raw_data_cache_size_half): This.
11719         (__x86_64_shared_cache_size): Renamed to ...
11720         (__x86_shared_cache_size): This.
11721         (__x86_64_raw_shared_cache_size): Renamed to ...
11722         (__x86_raw_shared_cache_size): This.
11723         (__x86_64_shared_cache_size_half): Renamed to ...
11724         (__x86_shared_cache_size_half): This.
11725         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11726         (__x86_raw_shared_cache_size_half): This.
11727         * sysdeps/x86_64/memcpy.S: Updated.
11728         * sysdeps/x86_64/memset.S: Likewise.
11729         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11731         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11733 2013-01-04  David S. Miller  <davem@davemloft.net>
11735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11737 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11739         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11740         1 to avoid redefinition warning.
11741         (__USE_GNU): Don't define.
11742         (init_signaling_nan): Protoize.
11744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11746 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11748         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11750         (__cpymn): Likewise.
11751         (norm): Remove commented code.
11752         (denorm): Likewise.
11753         (__mp_dbl): Likewise.
11754         (__inv): Likewise.
11755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11756         (__cpymn): Likewise.
11757         (norm): Remove commented code.
11758         (denorm): Likewise.
11759         (__mp_dbl): Likewise.
11760         (__inv): Likewise.
11762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11763         mp_no value for 1.0 and 2.0.
11764         (norm): Use RADIXI instead of radixi.d.
11765         (denorm): Likewise.
11766         (__mul): Use 0.0 instead of zero.d.
11767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11768         mp_no value for 1.0 and 2.0.
11769         (norm): Use RADIXI instead of radixi.d.
11770         (denorm): Likewise.
11771         (__mul): Use 0.0 instead of zero.d.
11773 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11775         [BZ #14994]
11776         * math/s_casinh.c (__casinh): Reduce finite argument to first
11777         quadrant then set signs of results at the end.
11778         * math/s_casinhf.c (__casinhf): Likewise.
11779         * math/s_casinhl.c (__casinhl): Likewise.
11780         * math/libm-test.inc (casin_test): Add more tests.
11781         (casinh_test): Likewise.
11782         * sysdeps/i386/fpu/libm-test-ulps: Update.
11783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11785 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11787         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11789         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11791         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11792         declarations.
11793         (denorm): Likewise.
11794         (__mp_dbl): Likewise.
11795         (__inv): Likewise.
11797         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11798         and adjust the header comment.
11800         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11801         variable name from declaration.
11803 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11806         Initialize COMMON_CPUID_INDEX_7 element.
11807         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11808         (CPUID_RTM): Likewise.
11809         (HAS_RTM): Likewise.
11810         (COMMON_CPUID_INDEX_7): New enum.
11812 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11814         [BZ #14981]
11815         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11816         size is zero, record memory as freed.
11818 2013-01-03  Andreas Jaeger  <aj@suse.de>
11820         * po/ia.po: Add new Interlingua translation.
11822 2012-01-03  Allan McRae  <allan@archlinux.org>
11824         * locale/programs/localedef.c: Fix description of '--posix' flag.
11826 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11828         * NEWS: Update dates in second copyright notice.
11829         * README: Update copyright dates in example.
11830         * manual/libc.texinfo: Update copyright dates.
11831         * scripts/test-installation.pl: Update copyright date in --version
11832         output.
11834         * hurd/ctty-input.c: Fix copyright notice formatting.
11835         * hurd/ctty-output.c: Likewise.
11836         * hurd/dtable.c: Likewise.
11837         * hurd/hurd-raise.c: Likewise.
11838         * hurd/hurdprio.c: Likewise.
11839         * hurd/msgportdemux.c: Likewise.
11840         * misc/sys/file.h: Likewise.
11841         * misc/sys/ioctl.h: Likewise.
11842         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11843         * sysdeps/mach/hurd/chdir.c: Likewise.
11844         * sysdeps/mach/hurd/fchdir.c: Likewise.
11845         * sysdeps/mach/hurd/rename.c: Likewise.
11846         * sysdeps/mach/hurd/rmdir.c: Likewise.
11847         * sysdeps/mach/hurd/seekdir.c: Likewise.
11848         * sysdeps/mach/hurd/setsid.c: Likewise.
11849         * sysdeps/posix/wait3.c: Likewise.
11851         * All files with FSF copyright notices: Update copyright dates
11852         using scripts/update-copyrights.
11853         * intl/plural.c: Regenerated.
11854         * locale/programs/charmap-kw.h: Likewise.
11855         * locale/programs/locfile-kw.h: Likewise.
11857 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11859         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11860         four values.
11862         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11863         calculation loop and add branch prediction.
11865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11866         check access beyond bounds of m1np.
11868         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11869         MPTWO.
11870         (__inv): Remove local variable MPTWO to use the global
11871         constant.
11872         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11873         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11874         variable MPTWO.
11875         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11876         MP3HALFS static const.
11878 2013-01-01  David S. Miller  <davem@davemloft.net>
11880         * po/ca.po: Update from translation team.
11882 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11884         * scripts/update-copyrights: New file.
11885         * Makeconfig: Reformat copyright notice.
11886         * ctype/ctype.h: Likewise.
11887         * debug/swprintf_chk.c: Likewise.
11888         * elf/dl-cache.c: Likewise.
11889         * elf/dl-debug.c: Likewise.
11890         * elf/dl-object.c: Likewise.
11891         * grp/initgroups.c: Likewise.
11892         * hurd/Makefile: Likewise.
11893         * hurd/hurd/signal.h: Likewise.
11894         * hurd/hurdfault.c: Likewise.
11895         * hurd/hurdioctl.c: Likewise.
11896         * hurd/hurdlookup.c: Likewise.
11897         * hurd/intr-msg.c: Likewise.
11898         * iconv/gconv_open.c: Likewise.
11899         * libio/swprintf.c: Likewise.
11900         * locale/lc-ctype.c: Likewise.
11901         * locale/nl_langinfo.c: Likewise.
11902         * mach/Machrules: Likewise.
11903         * mach/Makefile: Likewise.
11904         * malloc/obstack.h: Likewise.
11905         * manual/Makefile: Likewise.
11906         * manual/tsort.awk: Likewise.
11907         * misc/bits/stab.def: Likewise.
11908         * nis/nis_print_group_entry.c: Likewise.
11909         * nis/nis_table.c: Likewise.
11910         * nis/nss_compat/compat-pwd.c: Likewise.
11911         * nis/nss_compat/compat-spwd.c: Likewise.
11912         * po/Makefile: Likewise.
11913         * posix/fnmatch.c: Likewise.
11914         * posix/regex.h: Likewise.
11915         * resolv/Makefile: Likewise.
11916         * resolv/nss_dns/dns-network.c: Likewise.
11917         * resolv/res_hconf.c: Likewise.
11918         * scripts/gen-sorted.awk: Likewise.
11919         * soft-fp/soft-fp.h: Likewise.
11920         * stdio-common/printf.h: Likewise.
11921         * stdlib/monetary.h: Likewise.
11922         * stdlib/random.c: Likewise.
11923         * stdlib/random_r.c: Likewise.
11924         * sysdeps/generic/Makefile: Likewise.
11925         * sysdeps/gnu/Makefile: Likewise.
11926         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11928         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11930         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11933         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11934         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11935         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11936         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11937         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11938         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11939         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11940         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11941         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11942         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11943         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11944         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11945         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11946         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11947         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11948         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11949         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11950         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11951         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11952         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11953         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11954         * sysdeps/mach/hurd/errnos.awk: Likewise.
11955         * sysdeps/mach/hurd/fork.c: Likewise.
11956         * sysdeps/mach/hurd/getcwd.c: Likewise.
11957         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11958         * sysdeps/mach/hurd/mmap.c: Likewise.
11959         * sysdeps/mach/hurd/utimes.c: Likewise.
11960         * sysdeps/mach/hurd/xmknod.c: Likewise.
11961         * sysdeps/posix/profil.c: Likewise.
11962         * sysdeps/posix/readdir_r.c: Likewise.
11963         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11964         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11965         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11966         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11969         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11970         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11972         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11973         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11974         * sysdeps/pthread/lio_listio.c: Likewise.
11975         * sysdeps/sparc/dl-procinfo.h: Likewise.
11976         * sysdeps/unix/i386/sysdep.S: Likewise.
11977         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11978         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11979         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11980         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11982         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11983         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11984         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11985         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11986         * sysdeps/wordsize-32/divdi3.c: Likewise.
11987         * time/sys/time.h: Likewise.
11988         * wcsmbs/Makefile: Likewise.
11990 2013-01-01  David S. Miller  <davem@davemloft.net>
11992         * po/fr.po: Update from translation team.
11994         * catgets/gencat.c: Update copyright year.
11995         * csu/version.c: Likewise.
11996         * debug/catchsegv.sh: Likewise.
11997         * debug/pcprofiledump.c: Likewise.
11998         * debug/xtrace.sh: Likewise.
11999         * elf/ldconfig.c: Likewise.
12000         * elf/ldd.bash.in: Likewise.
12001         * elf/pldd.c: Likewise.
12002         * elf/sotruss.ksh: Likewise.
12003         * elf/sprof.c: Likewise.
12004         * iconv/iconv_prog.c: Likewise.
12005         * iconv/iconvconfig.c: Likewise.
12006         * locale/programs/locale.c: Likewise.
12007         * locale/programs/localedef.c: Likewise.
12008         * login/programs/pt_chown.c: Likewise.
12009         * malloc/memusage.sh: Likewise.
12010         * malloc/memusagestat.c: Likewise.
12011         * malloc/mtrace.pl: Likewise.
12012         * nscd/nscd.c: Likewise.
12013         * nss/getent.c: Likewise.
12014         * nss/makedb.c: Likewise.
12015         * posix/getconf.c: Likewise.
12017 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12019         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12020         numbers.
12022 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
12024         * math/bits/mathcalls.h (modf): Use __nonnull.
12026 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12028         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12029         (split): Use macro CN instead of the bare value.
12030         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12031         could be used.
12032         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12033         instead of the bare value.
12034         (power1): Likewise.
12036 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12039         __ATAN_TWOM.
12040         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12042         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12043         their values.
12044         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12045         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12046         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12047         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12049 2012-12-28  Andreas Jaeger  <aj@suse.de>
12051         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
12052         values are from Linux 3.7.
12054         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12055         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
12057 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12059         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12060         TRUE case.
12062         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12063         (norm): Likewise.
12064         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12065         variables with preprocessor constants.
12066         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12067         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12068         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12070 2012-12-27  Bruno Haible  <bruno@clisp.org>
12072         [BZ #14317]
12073         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12074         only if needed.
12076 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12079         and use variable directly.
12080         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12082         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12083         MPONE.
12084         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12085         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12086         variable MPONE.
12087         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12089         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12090         include directive.  Remove local variable MPONE.
12091         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12092         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12093         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12095 2012-12-25  David S. Miller  <davem@davemloft.net>
12097         * version.h (RELEASE): Set to "development".
12098         (VERSION): Set to "2.17.90".
12099         * NEWS: Add 2.18 section.
12101 2012-12-21  David S. Miller  <davem@davemloft.net>
12103         * po/hr.po: Update from translation team.
12105 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12107         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12109 2012-12-19  Steve Ellcey  <sellcey@mips.com>
12111         * NEWS:  Mention new memcpy for MIPS.
12113 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12115         * manual/contrib.texi (Contributors): Spelling correction.
12117 2012-12-15  David S. Miller  <davem@davemloft.net>
12119         * po/ru.po: Update from translation team.
12121 2012-12-13  David S. Miller  <davem@davemloft.net>
12123         * NEWS: Mention IFUNC testsuite enhancements.
12125         * po/pl.po: Update from translation team.
12126         * po/bg.po: Likewise.
12128         * manual/contrib.texi (Contributors): Update entries for Hongjiu
12129         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
12131 2012-12-11  David S. Miller  <davem@davemloft.net>
12133         * po/sv.po: Update from translation team.
12135         * po/vi.po: Update from translation team.
12137         * po/cs.po: Update from translation team.
12139         * po/de.po: Update from translation team.
12140         * po/eo.po: Likewise.
12141         * po/nl.po: Likewise.
12143 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12145         [BZ #14246]
12146         * manual/argp.texi (Argp Helper Functions): Move node to follow
12147         Argp Parsing State.
12149         [BZ #14872]
12150         * manual/conf.texi (Limits on File System Capacity): Mention if
12151         terminating null is included in the max size.
12153 2012-12-10  Andreas Jaeger  <aj@suse.de>
12155         * po/cs.po: Update from translation team.
12157 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12159         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12160         void pointer and cast to uintptr_t.
12161         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12162         path.
12163         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12164         * sysdeps/s390/s390-64/memset.S: Likewise.
12166 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
12168         [BZ #14833]
12169         * menual/message.texi (Message Translation): Fix typos.
12170         (Helper programs for gettext): Likewise.
12172 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
12174         [BZ #14898]
12175         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12176         Change to -1.
12178 2012-12-07  David S. Miller  <davem@davemloft.net>
12180         * po/libc.pot: Update.
12182 2012-12-07  Richard Henderson  <rth@redhat.com>
12184         [BZ #10114]
12185         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12186         normal/normal case to before the switch.
12187         (_FP_DIV): Likewise.
12189 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
12190             Mike Frysinger  <vapier@gentoo.org>
12192         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12193         check for __NR_fadvise64_64.
12195 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
12197         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12198         0, not just to plain "0" as a statement.
12199         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12200         with cw.
12202 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
12204         * NEWS: Use sourceware.org in Bugzilla URL.
12206 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12209         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12211         * stdio-common/tst-put-error.c (do_test): Add newline to the
12212         padded test to ensure flush.
12214 2012-12-05  Jeff Law  <law@redhat.com>
12216         * sunrpc/etc.rpc (fedfs_admin): Add entry.
12218 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
12220         * README: Don't refer to ports add-on as distributed separately.
12221         Mention AArch64 in list of systems supported in the ports add-on.
12223         * LICENSES: Add more non-FSF copyright and license notices.
12225         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12226         ((unused)).
12228         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12230         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12231         10000 as width of padded output.
12233 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12235         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12237         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12238         variable LX with __attribute__ ((unused)).
12239         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12240         Likewise.
12241         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12243         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12244         with __attribute__ ((unused)).
12246 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
12248         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12250 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
12252         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12253         (CFLAGS-nldbl-acos.c): New variable.
12254         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12255         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12256         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12257         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12258         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12259         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12260         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12261         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12262         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12263         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12264         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12265         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12266         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12267         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12268         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12269         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12270         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12271         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12272         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12273         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12274         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12275         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12276         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12277         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12278         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12279         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12280         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12281         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12282         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12283         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12284         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12285         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12286         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12287         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12288         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12289         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12290         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12291         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12292         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12293         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12294         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12295         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12296         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12297         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12298         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12299         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12300         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12301         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12302         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12303         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12304         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12305         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12306         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12307         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12308         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12309         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12310         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12311         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12312         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12313         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12314         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12315         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12316         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12317         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12318         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12319         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12320         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12321         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12322         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12323         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12324         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12325         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12326         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12327         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12328         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12329         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12330         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12331         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12332         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12333         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12334         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12335         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12336         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12337         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12338         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12339         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12340         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12341         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12342         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12343         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12344         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12345         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12346         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12347         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12348         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12349         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12350         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12353         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12355         [BZ #14914]
12356         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12357         whole low double instead of just low 47 bits when splitting values
12358         into two parts.
12360 2012-12-03  Allan McRae  <allan@archlinux.org>
12362         * manual/stdio.texi (Predefined Printf Handlers): Remove
12363         @hsep and @vsep usage.
12365 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
12367         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12368         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12370 2012-12-03  Jeff Law  <law@redhat.com>
12372         * time/sys/time.h (settimeofday): Do not mark TV argument
12373         as __nonnull.
12375 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
12377         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12378         when currently writing and seek to current position when not.
12379         * libio/Makefile (tests): Remove bug-fclose1.
12380         * libio/bug-fclose1.c: Delete.
12382 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
12384         * manual/arith.texi (feenableexcept): Fix typo.
12385         (fedisableexcept): Likewise.
12387 2012-11-30  Roland McGrath  <roland@hack.frob.com>
12389         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12390         second, differently-typed declaration, rather than a cast.
12392 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12394         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12395         * include/rpc/svc.h: ... here.
12397 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
12399         [BZ #13013]
12400         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12401         depending n and resplen2 to catch cases where answer
12402         equals answerp2.
12404 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
12406         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12407         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12409 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
12411         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12413 2012-11-29  Roland McGrath  <roland@hack.frob.com>
12415         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12417 2012-11-28  Jeff Law  <law@redhat.com>
12419         [BZ #13761]
12420         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12421         dataset_temporary.  Track alloca usage into alloca_used.
12422         If dataset is large allocate and release it via malloc/free.
12424 2012-06-04  Florian Weimer  <fweimer@redhat.com>
12426         [BZ #14197]
12427         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12429 2012-11-28  David S. Miller  <davem@davemloft.net>
12431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12433 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12435         [BZ #14803]
12436         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12437         of pi/2 rounded to nearest to 64 bits.
12438         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12439         nearest to 64 bits.
12440         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12441         bits.
12443 2012-11-28  Jeff Law <law@redhat.com>
12444             Martin Osvald <mosvald@redhat.com>
12446         [BZ #14889]
12447         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12448         * sunrpc/svc.c: Include time.h.
12449         (__svc_accept_failed): New function.
12450         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12451         any reason other than EINTR, call __svc_accept_failed.
12452         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12453         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12455 2012-11-28  Andreas Schwab  <schwab@suse.de>
12457         * scripts/abilist.awk: Also handle indirect functions in .opd
12458         section.
12460 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
12462         [BZ #13881]
12463         * sysdeps/x86/fpu/powl_helper.c: New file.
12464         * sysdeps/x86/fpu/Makefile: Likewise.
12465         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12466         (p3): New object.
12467         (__ieee754_powl): Use __powl_helper for finite arguments except
12468         integer exponents below 8.
12469         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12470         (p3): New object.
12471         (__ieee754_powl): Use __powl_helper for finite arguments except
12472         integer exponents below 8.
12473         * math/libm-test.inc (pow_test): Add more tests and enable some
12474         previously disabled tests.
12475         * sysdeps/i386/fpu/libm-test-ulps: Update.
12476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12478 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12479             Carlos O'Donell  <carlos_odonell@mentor.com>
12481         * nss/makedb.c (is_prime): Assert that input is odd and greater
12482         than 4.  Note that fact in a comment too.
12483         (next_prime): Add 4 to input.
12485 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12487         [BZ #11741]
12488         * libio/Makefile (tests): Add test case tst-fwrite-error.
12489         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12490         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12491         * libio/tst-fwrite-error.c: New test case.
12493 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
12495         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12496         before casting to void *.
12497         * include/libc-internal.h (__pointer_type): New macro.
12498         (__integer_if_pointer_type_sub): Likewise.
12499         (__integer_if_pointer_type): Likewise.
12500         (cast_to_integer): Likewise.
12501         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12502         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12503         before casting to atomic64_t.
12504         (atomic_exchange_acq): Likewise.
12505         (__arch_exchange_and_add_body): Likewise.
12506         (__arch_add_body): Likewise.
12507         (atomic_add_negative): Likewise.
12508         (atomic_add_zero): Likewise.
12510 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
12512         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12513         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12514         (add_fdes): Likewise.
12515         (linear_search_fdes): Likewise.
12516         (binary_search_unencoded_fdes): Likewise.
12518 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
12520         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12522 2012-11-24  Adam Conrad  <adconrad@0c3.net>
12524         * configure.in: Autodetect C++ header directories.
12525         * configure: Regenerated.
12527 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
12529         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12531 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
12533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12535 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
12537         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12538         LDBL_MANT_DIG == 106]: Disable some tests.
12539         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12540         Likewise.
12541         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12542         Likewise.
12544         [BZ #14871]
12545         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12546         input for small inputs.  Return +/- pi/2 for large inputs.
12547         * math/libm-test.inc (atan_test): Add more tests.
12549         * sysdeps/generic/unwind-dw2-fde-glibc.c
12550         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12551         __attribute__ ((unused)).
12553         [BZ #14645]
12554         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12555         x * y if x and y are nonzero and z is zero.
12557         [BZ #14811]
12558         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12559         nonzero exponents with absolute value below 0x1p-117 to +/-
12560         0x1p-117.
12562         [BZ #14869]
12563         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12564         up arguments below 2**-450, not just those below 2**-500.
12565         * math/libm-test.inc (hypot_test): Add another test.
12567         [BZ #14868]
12568         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12569         Return a+b for ratio over 2**120, not 2**60.
12570         * math/libm-test.inc (hypot_test): Add another test.
12572         * math/libm-test.inc (clog_test): Use
12573         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12574         (clog10_test): Likewise.
12576         [BZ #6778]
12577         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12579 2012-11-22  Andreas Schwab  <schwab@suse.de>
12581         * sysdeps/i386/fpu/libm-test-ulps: Update.
12583 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12585         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12586         printf output with newline.
12588 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12590         [BZ #14865]
12591         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12592         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12593         -z nodlopen, -z initfirst and -z execstack support.
12594         * configure: Regenerated.
12596         * elf/elf.h (DF_1_NODIRECT): New macro.
12597         (DF_1_IGNMULDEF): Likewise.
12598         (DF_1_NOKSYMS): Likewise.
12599         (DF_1_NOHDR): Likewise.
12600         (DF_1_EDITED): Likewise.
12601         (DF_1_NORELOC): Likewise.
12602         (DF_1_SYMINTPOSE): Likewise.
12603         (DF_1_GLOBAUDIT): Likewise.
12604         (DF_1_SINGLETON): Likewise.
12605         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12606         DT_1_SUPPORTED_MASK bits.
12607         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12609 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12611         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12613 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12615         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12616         macro.
12618         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12619         (sendmmsg): Move declarations...
12620         * socket/sys/socket.h: ... here.
12621         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12622         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12623         include it from...
12624         * socket/recvmmsg.c: ... this new file.
12625         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12626         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12627         definition of __sendmmsg hidden.
12628         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12629         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12630         Move ENOSYS stub into and include it from...
12631         * socket/sendmmsg.c: ... this new file.
12632         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12633         (sysdep_routines): Move recvmmsg and sendmmsg...
12634         * socket/Makefile (routines): ... here.
12635         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12636         (GLIBC_PRIVATE): Add __sendmmsg.
12637         * include/sys/socket.h (__sendmmsg): Add declarations.
12638         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12639         sendmmsg.
12641 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12643         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12644         variable I1 with __attribute__ ((unused)).
12645         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12647 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12649         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12650         DUMMY variables with __attribute__ ((unused)).
12652         * bits/byteswap.h: Include <bits/types.h>.
12653         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12655 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12657         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12658         string_t.  Do not manually set errno.
12659         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12660         length with __strnlen.  Make sure to both set errno and return it on
12661         failure.
12663 2012-11-19  David S. Miller  <davem@davemloft.net>
12665         With help from Joseph Myers.
12666         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12667         very large arguments properly.
12668         * math/libm-test.inc (atan_test): New tests.
12669         (atan2_test): New tests.
12670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12673 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12675         [BZ #14856]
12676         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12677         Define to 3.
12679         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12680         [POSIX] (EADDRNOTAVAIL): Likewise.
12681         [POSIX] (EAFNOSUPPORT): Likewise.
12682         [POSIX] (EALREADY): Likewise.
12683         [POSIX] (ECONNABORTED): Likewise.
12684         [POSIX] (ECONNREFUSED): Likewise.
12685         [POSIX] (ECONNRESET): Likewise.
12686         [POSIX] (EDESTADDRREQ): Likewise.
12687         [POSIX] (EDQUOT): Likewise.
12688         [POSIX] (EHOSTUNREACH): Likewise.
12689         [POSIX] (EIDRM): Likewise.
12690         [POSIX] (EISCONN): Likewise.
12691         [POSIX] (ELOOP): Likewise.
12692         [POSIX] (EMULTIHOP): Likewise.
12693         [POSIX] (ENETDOWN): Likewise.
12694         [POSIX] (ENETUNREACH): Likewise.
12695         [POSIX] (ENOBUFS): Likewise.
12696         [POSIX] (ENODATA): Likewise.
12697         [POSIX] (ENOLINK): Likewise.
12698         [POSIX] (ENOMSG): Likewise.
12699         [POSIX] (ENOPROTOOPT): Likewise.
12700         [POSIX] (ENOSR): Likewise.
12701         [POSIX] (ENOSTR): Likewise.
12702         [POSIX] (ENOTCONN): Likewise.
12703         [POSIX] (ENOTSOCK): Likewise.
12704         [POSIX] (EOPNOTSUPP): Likewise.
12705         [POSIX] (EOVERFLOW): Likewise.
12706         [POSIX] (EPROTO): Likewise.
12707         [POSIX] (EPROTONOSUPPORT): Likewise.
12708         [POSIX] (EPROTOTYPE): Likewise.
12709         [POSIX] (ESTALE): Likewise.
12710         [POSIX] (ETIME): Likewise.
12711         [POSIX] (ETXTBSY): Likewise.
12712         [POSIX] (EWOULDBLOCK): Likewise.
12713         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12714         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12715         [POSIX] (SEEK_CUR): Likewise.
12716         [POSIX] (SEEK_END): Likewise.
12717         [POSIX || UNIX98] (mode_t): Do not require.
12718         [POSIX] (off_t): Likewise.
12719         [POSIX] (pid_t): Likewise.
12720         [POSIX] (sys/stat.h): Do not allow header.
12721         [POSIX] (unistd.h): Likewise.
12722         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12723         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12724         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12725         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12726         require.
12727         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12728         sigevent): Specify elements.
12729         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12730         entry.
12731         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12732         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12734         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12735         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12736         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12737         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12738         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12739         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12740         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12741         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12742         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12743         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12744         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12745         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12746         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12747         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12748         Likewise.
12749         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12750         Likewise.
12751         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12752         Likewise.
12753         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12754         Likewise.
12755         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12756         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12757         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12758         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12759         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12760         Specify lower bound on value.
12761         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12762         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12763         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12764         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12765         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12766         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12767         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12768         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12769         value.
12770         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12771         as optional.
12772         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12773         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12774         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12775         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12776         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12777         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12778         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12779         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12780         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12781         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12782         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12783         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12784         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12785         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12786         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12787         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12788         entry.
12789         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12790         optional.
12791         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12792         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12793         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12794         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12795         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12796         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12797         Likewise.
12798         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12799         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12800         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12801         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12802         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12803         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12804         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12805         as optional.
12806         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12807         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12808         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12809         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12810         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12811         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12812         specify as optional.
12813         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12814         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12815         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12816         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12817         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12818         [XPG3] (NL_LANGMAX): Likewise.
12819         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12820         [POSIX || XPG3] (NL_NMAX): Likewise.
12821         [POSIX || XPG3] (NL_SETMAX): Likewise.
12822         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12823         [XPG3] (NZERO): Likewise.
12824         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12825         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12826         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12827         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12828         (REG_ERANGE): Expect.
12829         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12830         optional-constant.
12831         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12832         Use (void) in prototype.
12833         [POSIX] (*_t): Allow.
12834         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12835         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12836         (WRDE_BADVAL): Expect.
12838         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12839         expect.
12840         [XPG3 || XPG4] (O_RSYNC): Likewise.
12841         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12842         Likewise.
12843         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12844         [XPG3 || XPG4] (sigqueue): Likewise.
12845         [XPG3 || XPG4] (sigtimedwait): Likewise.
12846         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12847         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12848         [XPG3 || XPG4] (vsnprintf): Likewise.
12849         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12850         Likewise.
12851         [XPG3 || XPG4] (blksize_t): Likewise.
12852         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12853         Likewise.
12854         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12855         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12856         [XPG3 || XPG4] (struct itimerspec): Likewise.
12857         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12858         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12859         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12860         [XPG3 || XPG4] (clockid_t): Likewise.
12861         [XPG3 || XPG4] (timer_t): Likewise.
12862         [XPG3 || XPG4] (clock_getres): Likewise.
12863         [XPG3 || XPG4] (clock_gettime): Likewise.
12864         [XPG3 || XPG4] (clock_settime): Likewise.
12865         [XPG3 || XPG4] (nanosleep): Likewise.
12866         [XPG3 || XPG4] (timer_create): Likewise.
12867         [XPG3 || XPG4] (timer_delete): Likewise.
12868         [XPG3 || XPG4] (timer_gettime): Likewise.
12869         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12870         [XPG3 || XPG4] (timer_settime): Likewise.
12871         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12872         [XPG3 || XPG4] (getlogin_r): Likewise.
12873         [XPG3 || XPG4] (pread): Likewise.
12874         [XPG3 || XPG4] (pthread_atfork): Likewise.
12875         [XPG3 || XPG4] (pwrite): Likewise.
12877         [BZ #14835]
12878         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12879         <bits/siginfo.h>.
12881 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12883         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12884         finalizing MALLSTREAM.
12886         * sysdeps/mach/hurd/syncfs.c: New file.
12888 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12890         [BZ #14719]
12891         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12892         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12893         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12894         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12895         (_nss_dns_gethostbyname4_r): Likewise.
12896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12897         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12899 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12901         [BZ #13763]
12902         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12904 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12906         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12907         * elf/cache.c (print_entry): Print ",AArch64" for
12908         FLAG_AARCH64_LIB64
12910         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12911         * elf/cache.c (print_entry): Print ",hard-float" for
12912         FLAG_ARM_LIBHF.
12914 2012-11-18  David S. Miller  <davem@davemloft.net>
12916         With help from Joseph Myers.
12917         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12918         cutoff to 2**-13.
12919         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12920         cutoff to 2**-25.
12921         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12922         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12923         small.
12924         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12925         * math/libm-test.inc (y0_test): New tests.
12926         (y1_test): New tests.
12927         * sysdeps/i386/fpu/libm-test-ulps: Update.
12928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12931 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12933         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12934         64-bit targets.
12935         * configure: Regenerated.
12937 2012-11-17  David S. Miller  <davem@davemloft.net>
12939         [BZ #14811]
12940         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12941         nonzero exponents with absolute value below 0x1p-128 to +/-
12942         0x1p-128.
12944 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12946         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12948         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12950         * posix/getconf-speclist.c: New file.
12951         * posix/posix-envs.def: Likewise.
12952         * posix/confstr.c (START_ENV_GROUP): New macro.
12953         (END_ENV_GROUP): Likewise.
12954         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12955         (KNOWN_PRESENT_ENV_STRING): Likewise.
12956         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12957         (UNKNOWN_ENVIRONMENT): Likewise.
12958         (confstr): Include posix-envs.def instead of handling
12959         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12960         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12961         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12962         (END_ENV_GROUP): Likewise.
12963         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12964         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12965         (UNKNOWN_ENVIRONMENT): Likewise.
12966         (__sysconf): Include posix-envs.def instead of handling associated
12967         cases directly here.
12968         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12969         preprocessing getconf-speclist.c rather than running getconf or
12970         generating empty file.
12972 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12974         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12976 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12978         [BZ #14672]
12979         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12981 2012-11-16  David S. Miller  <davem@davemloft.net>
12983         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12984         smaller than LDBL_EPSILON/2.0L, just return xm1.
12986 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12988         * elf/tst-array1.c (init): Set constructor priority to 1000.
12989         (fini): Set destructor priority to 1000.
12990         * elf/tst-array2dep.c: Likewise.
12992 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12994         [BZ #11741]
12995         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12996         (_IO_new_file_xsputn): Also return EOF if none of the input
12997         data was written when overflow failed.
12998         * libio/iopadn.c (_IO_padn): Likewise.
12999         * libio/iowpadn.c (_IO_wpadn): Likewise.
13000         * stdio-common/tst-put-error.c: Add copyright notice.
13001         (do_test): Add case for printing padded string.
13002         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13003         _IO_padn returned error.
13004         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13005         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13006         return EOF.
13008 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13010         * libio/libioP.h: Add comment note that the references to C++
13011         bits are now obsolete.
13013 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13015         * math/libm-test.inc (check_complex): Use asprintf.
13017 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
13019         * debug/pcprofiledump.c (print_version): Update copyright year.
13020         * malloc/memusagestat.c (print_version): Likewise.
13022 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13024         [BZ #14831]
13025         * elf/Makefile (tests): Add tst-audit8.
13026         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13027         ($(objpfx)tst-audit8.out): New target.
13028         (tst-audit8-ENV): New variable.
13029         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13030         audit if l_reloc_result is NULL.
13031         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13032         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13033         * elf/tst-audit8.c: New file.
13035 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13037         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13038         * misc/Makefile (CFLAGS-select.c): Define.
13039         * posix/Makefile (CFLAGS-pause.c): Define.
13041 2012-11-13  David S. Miller  <davem@davemloft.net>
13043         * crypt/Makefile: Move test targets after toplevel Rules
13044         inclusion.  Grab any necessary sysdep routines when linking.
13045         * crypt/md5.c (md5_process_block): Remove define, we will always
13046         name it __md5_process_block.
13047         (md5_finish_ctx): Update md5_process_block call.
13048         (md5_stream): Likewise.
13049         (md5_process_bytes): Likewise.
13050         (md5_process_block): Rename to __md5_process_block and move to ...
13051         * crypt/md5-block.c: ... here.
13052         * crypt/sha256.c (sha256_process_block): Move to ...
13053         * crypt/sha256-block.c: ... here.
13054         * crypt/sha512.c (sha512_process_block): Move to ...
13055         * crypt/sha512-block.c: ... here.
13056         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13057         path.
13058         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13059         * sysdeps/sparc/sparc64/multiarch/Makefile
13060         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13061         crypt subdir.
13062         (localedef-aux): Add md5 crypto assembler when in locale subdir.
13063         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13064         multiarch changes.
13065         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13066         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13067         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13068         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13069         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13070         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13071         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13072         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13073         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13074         file.
13075         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13076         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13077         file.
13078         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13080 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
13082         * timezone/tzselect.ksh: Update from tzcode git revision
13083         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13084         * timezone/zdump.c: Likewise.
13085         * timezone/zic.c: Likewise.
13086         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13087         in TZVERSION setting, not $(PKGVERSION).
13088         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
13089         REPORT_BUGS_TO settings.
13091         [BZ #14838]
13092         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13093         macro.
13095 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13097         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13098         detection to immediately after _FP_ROUND().
13099         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13100         bits are 0.
13102 2012-11-11  David S. Miller  <davem@davemloft.net>
13104         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13105         inttypes.h
13106         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13107         __close rather than their public counterparts.
13109 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
13111         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13112         file.
13113         [UNIX98] (sem_timedwait): Do not expect.
13114         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13115         [XPG4 || UNIX98] (sockatmark): Do not expect.
13116         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13117         (clock_getcpuclockid): Do not expect.
13118         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13119         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13120         Do not expect.
13121         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13122         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13123         [UNIX98] (vwscanf): Likewise.
13124         [UNIX98] (vswscanf): Likewise.
13126 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
13128         * timezone/version.h: Remove file.
13129         * timezone/README: Do not refer to version.h.
13130         * timezone/Makefile ($(objpfx)zic.o): New dependency on
13131         $(objpfx)version.h.
13132         ($(objpfx)zdump.o): Likewise.
13133         ($(objpfx)version.h): New target.
13135         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13136         2012i.
13137         * timezone/README: Don't mention modification to tzselect.ksh.
13138         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13139         work on unmodified tzselect.ksh.  Substitute version numbers in
13140         tzselect.ksh.
13142         * Makefile (format-me): Remove.
13143         (INSTALL): Adjust indentation.  Use commands directly instead of
13144         using $(format-me).
13146         * aclocal.m4 (ACX_PKGVERSION): New macro.
13147         (ACX_BUGURL): Likewise.
13148         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13149         (PKGVERSION): New AC_DEFINE_UNQUOTED.
13150         (REPORT_BUGS_TO): Likewise.
13151         * configure: Regenerated.
13152         * config.h.in (PKGVERSION): New macro.
13153         (REPORT_BUGS_TO): Likewise.
13154         * config.make.in (PKGVERSION): New variable.
13155         (PKGVERSION_TEXI): Likewise.
13156         (REPORT_BUGS_TO): Likewise.
13157         (REPORT_BUGS_TEXI): Likewise.
13158         * Makefile (format-me): Use -I$(common-objpfx)manual.
13159         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13160         ($(common-objpfx)manual/%): New target.
13161         (manual/%): Remove target.
13162         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13163         (print_version): Use PKGVERSION.
13164         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13165         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13166         and REPORT_BUGS_TO.
13167         ($(objpfx)xtrace): Likewise.
13168         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13169         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13170         (print_version): Use PKGVERSION.
13171         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13172         (do_version): Use PKGVERSION.
13173         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13174         REPORT_BUGS_TO.
13175         (common-ldd-rewrite): Likewise.
13176         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13177         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13178         (print_version): Use PKGVERSION.
13179         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13180         * elf/pldd.c (argp_program_bug_address): Remove variable.
13181         (more_help): New function.
13182         (argp): Use more_help.
13183         (print_version): Use PKGVERSION.
13184         * elf/sln.c (main): Use PKGVERSION.
13185         (usage): Use REPORT_BUGS_TO.
13186         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13187         (top level): Use PKGVERSION.
13188         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13189         (print_version): Use PKGVERSION.
13190         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13191         (print_version): Use PKGVERSION.
13192         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13193         (print_version): Use PKGVERSION.
13194         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13195         (print_version): Use PKGVERSION.
13196         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13197         (print_version): Use PKGVERSION.
13198         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13199         (print_version): Use PKGVERSION.
13200         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13201         and BUGURL.
13202         ($(objpfx)memusage): Likewise.
13203         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13204         (do_version): Use PKGVERSION.
13205         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13206         (print_version): Use PKGVERSION.
13207         * malloc/mtrace.pl ($PACKAGE): Remove variable.
13208         ($PKGVERSION): New variable.
13209         ($REPORT_BUGS_TO): Likewise.
13210         (usage): Use $REPORT_BUGS_TO.
13211         (top level): Use $PKGVERSION.
13212         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13213         ($(objpfx)pkgvers.texi): New rule.
13214         ($(objpfx)stamp-pkgvers): Likewise.
13215         * manual/install.texi: Include pkgvers.texi.
13216         (--with-pkgversion): Document new configure option.
13217         (--with-bugurl): Likewise.
13218         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13219         than necessarily for this particular distribution.  Use
13220         REPORT_BUGS_TO for where to report bugs.
13221         * INSTALL: Regenerated.
13222         * manual/libc.texinfo: Include pkgvers.texi.
13223         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13224         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13225         (print_version): Use PKGVERSION.
13226         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13227         (print_version): Use PKGVERSION.
13228         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13229         (print_version): Use PKGVERSION.
13230         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13231         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13232         macro.
13233         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13234         (print_version): Use PKGVERSION.
13235         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13236         (print_version): Use PKGVERSION.
13237         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13238         and PKGVERSION.
13240         * timezone/checktab.awk: Update from tzcode 2012i.
13241         * timezone/ialloc.c: Likewise.
13242         * timezone/private.h: Likewise.
13243         * timezone/scheck.c: Likewise.
13244         * timezone/tzfile.h: Likewise.
13245         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13246         (TZVERSION): Hardcode tzcode version number.
13247         * timezone/zdump.c: Update from tzcode 2012i.
13248         * timezone/zic.c: Likewise.
13249         * timezone/version.h: New file.
13250         * timezone/README: Describe version.h.  Update upstream location.
13252         [BZ #14824]
13253         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13254         (mktemp): Enable declaration.
13255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13256         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13259         Likewise.
13260         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13261         Likewise.
13262         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13263         Likewise.
13264         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13265         Likewise.
13266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13267         Likewise.
13268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13269         Likewise.
13271         [BZ #14821]
13272         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13273         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
13274         for copies of such integer values.
13275         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13276         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13278 2012-11-09  Andreas Jaeger  <aj@suse.de>
13280         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13281         definitions and declarations that are provided by
13282         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13284 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13286         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13287         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13288         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13289         definition.
13291 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13293         * elf/elf.h: Update comment before AArch64 relocations.
13295 2012-11-07  David S. Miller  <davem@davemloft.net>
13297         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13298         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13299         (__start_context): Declare.
13300         (__makecontext_ret): Delete.
13301         (__makecontext): Hook up __start_context instead of
13302         __makecontext_ret.
13303         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13304         (sysdep_routines): Add __start_context when in stdlib.
13306 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13308         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13309         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13310         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
13311         hardcoded "nm".
13312         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
13313         (READELF): New variable.  Use it instead of hardcoded "readelf".
13315 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13317         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13318         * sysdeps/x86/Makefile: Here.
13319         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13320         * sysdeps/x86/tst-xmmymm.sh: This.
13322 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13324         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13325         expectations.
13326         [UNIX98] (pthread_barrier_t): Do not expect.
13327         [UNIX98] (pthread_barrierattr_t): Likewise.
13328         [UNIX98] (pthread_spinlock_t): Likewise.
13329         [UNIX98] (pthread_barrier_destroy): Likewise.
13330         [UNIX98] (pthread_barrier_init): Likewise.
13331         [UNIX98] (pthread_barrier_wait): Likewise.
13332         [UNIX98] (pthread_barrierattr_destroy): Likewise.
13333         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13334         [UNIX98] (pthread_barrierattr_init): Likewise.
13335         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13336         [UNIX98] (pthread_getcpuclockid): Likewise.
13337         [UNIX98] (pthread_mutex_timedlock): Likewise.
13338         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13339         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13340         [UNIX98] (pthread_sigmask): Likewise.
13341         [UNIX98] (pthread_spin_destroy): Likewise.
13342         [UNIX98] (pthread_spin_init): Likewise.
13343         [UNIX98] (pthread_spin_lock): Likewise.
13344         [UNIX98] (pthread_spin_trylock): Likewise.
13345         [UNIX98] (pthread_spin_unlock): Likewise.
13346         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13347         Do not expect.
13348         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13349         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13350         [XPG3 || XPG4] (pthread_cond_t): Likewise.
13351         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13352         [XPG3 || XPG4] (pthread_key_t): Likewise.
13353         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13354         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13355         [XPG3 || XPG4] (pthread_once_t): Likewise.
13356         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13357         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13358         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13359         [XPG3 || XPG4] (pthread_t): Likewise.
13361         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13362         not expect.
13363         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13365         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13366         Change function return type to int.
13368         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13369         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13370         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13371         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13372         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13373         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13374         [!POSIX] (posix_madvise): Likewise.
13375         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13376         && !UNIX98].
13377         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13378         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13379         (mode_t): Likewise.
13380         (posix_mem_offset): Likewise.
13381         (posix_typed_mem_get_info): Likewise.
13382         (posix_typed_mem_open): Likewise.
13384         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13385         Change condition to [XOPEN2K8].
13387         * conform/conformtest.pl: Preprocess allow-header data with -x c
13388         instead of from stdin.
13389         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13390         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13391         [C99-based standards] (cerfc): Likewise.
13392         [C99-based standards] (cexp2): Likewise.
13393         [C99-based standards] (cexpm1): Likewise.
13394         [C99-based standards] (clog10): Likewise.
13395         [C99-based standards] (clog1p): Likewise.
13396         [C99-based standards] (clog2): Likewise.
13397         [C99-based standards] (clgamma): Likewise.
13398         [C99-based standards] (ctgamma): Likewise.
13399         [C99-based standards] (cerff): Likewise.
13400         [C99-based standards] (cerfcf): Likewise.
13401         [C99-based standards] (cexp2f): Likewise.
13402         [C99-based standards] (cexpm1f): Likewise.
13403         [C99-based standards] (clog10f): Likewise.
13404         [C99-based standards] (clog1pf): Likewise.
13405         [C99-based standards] (clog2f): Likewise.
13406         [C99-based standards] (clgammaf): Likewise.
13407         [C99-based standards] (ctgammaf): Likewise.
13408         [C99-based standards] (cerfl): Likewise.
13409         [C99-based standards] (cerfcl): Likewise.
13410         [C99-based standards] (cexp2l): Likewise.
13411         [C99-based standards] (cexpm1l): Likewise.
13412         [C99-based standards] (clog10l): Likewise.
13413         [C99-based standards] (clog1pl): Likewise.
13414         [C99-based standards] (clog2l): Likewise.
13415         [C99-based standards] (clgammal): Likewise.
13416         [C99-based standards] (ctgammal): Likewise.
13417         * conform/data/inttypes.h-data [C99-based standards]: Include
13418         stdint.h-data.  Remove all expectations for stdint.h contents.
13419         [C99-based standards] (PRI*): Do not allow.
13420         [C99-based standards] (SCN*): Likewise.
13421         [C99-based standards] (*_t): Likewise.
13422         [C99-based-standards] (PRId8): Expect macro.
13423         [C99-based-standards] (PRIi8): Likewise.
13424         [C99-based-standards] (PRIo8): Likewise.
13425         [C99-based-standards] (PRIu8): Likewise.
13426         [C99-based-standards] (PRIx8): Likewise.
13427         [C99-based-standards] (PRIX8): Likewise.
13428         [C99-based-standards] (SCNd8): Likewise.
13429         [C99-based-standards] (SCNi8): Likewise.
13430         [C99-based-standards] (SCNo8): Likewise.
13431         [C99-based-standards] (SCNu8): Likewise.
13432         [C99-based-standards] (SCNx8): Likewise.
13433         [C99-based-standards] (PRIdLEAST8): Likewise.
13434         [C99-based-standards] (PRIiLEAST8): Likewise.
13435         [C99-based-standards] (PRIoLEAST8): Likewise.
13436         [C99-based-standards] (PRIuLEAST8): Likewise.
13437         [C99-based-standards] (PRIxLEAST8): Likewise.
13438         [C99-based-standards] (PRIXLEAST8): Likewise.
13439         [C99-based-standards] (SCNdLEAST8): Likewise.
13440         [C99-based-standards] (SCNiLEAST8): Likewise.
13441         [C99-based-standards] (SCNoLEAST8): Likewise.
13442         [C99-based-standards] (SCNuLEAST8): Likewise.
13443         [C99-based-standards] (SCNxLEAST8): Likewise.
13444         [C99-based-standards] (PRIdFAST8): Likewise.
13445         [C99-based-standards] (PRIiFAST8): Likewise.
13446         [C99-based-standards] (PRIoFAST8): Likewise.
13447         [C99-based-standards] (PRIuFAST8): Likewise.
13448         [C99-based-standards] (PRIxFAST8): Likewise.
13449         [C99-based-standards] (PRIXFAST8): Likewise.
13450         [C99-based-standards] (SCNdFAST8): Likewise.
13451         [C99-based-standards] (SCNiFAST8): Likewise.
13452         [C99-based-standards] (SCNoFAST8): Likewise.
13453         [C99-based-standards] (SCNuFAST8): Likewise.
13454         [C99-based-standards] (SCNxFAST8): Likewise.
13455         [C99-based-standards] (PRId16): Likewise.
13456         [C99-based-standards] (PRIi16): Likewise.
13457         [C99-based-standards] (PRIo16): Likewise.
13458         [C99-based-standards] (PRIu16): Likewise.
13459         [C99-based-standards] (PRIx16): Likewise.
13460         [C99-based-standards] (PRIX16): Likewise.
13461         [C99-based-standards] (SCNd16): Likewise.
13462         [C99-based-standards] (SCNi16): Likewise.
13463         [C99-based-standards] (SCNo16): Likewise.
13464         [C99-based-standards] (SCNu16): Likewise.
13465         [C99-based-standards] (SCNx16): Likewise.
13466         [C99-based-standards] (PRIdLEAST16): Likewise.
13467         [C99-based-standards] (PRIiLEAST16): Likewise.
13468         [C99-based-standards] (PRIoLEAST16): Likewise.
13469         [C99-based-standards] (PRIuLEAST16): Likewise.
13470         [C99-based-standards] (PRIxLEAST16): Likewise.
13471         [C99-based-standards] (PRIXLEAST16): Likewise.
13472         [C99-based-standards] (SCNdLEAST16): Likewise.
13473         [C99-based-standards] (SCNiLEAST16): Likewise.
13474         [C99-based-standards] (SCNoLEAST16): Likewise.
13475         [C99-based-standards] (SCNuLEAST16): Likewise.
13476         [C99-based-standards] (SCNxLEAST16): Likewise.
13477         [C99-based-standards] (PRIdFAST16): Likewise.
13478         [C99-based-standards] (PRIiFAST16): Likewise.
13479         [C99-based-standards] (PRIoFAST16): Likewise.
13480         [C99-based-standards] (PRIuFAST16): Likewise.
13481         [C99-based-standards] (PRIxFAST16): Likewise.
13482         [C99-based-standards] (PRIXFAST16): Likewise.
13483         [C99-based-standards] (SCNdFAST16): Likewise.
13484         [C99-based-standards] (SCNiFAST16): Likewise.
13485         [C99-based-standards] (SCNoFAST16): Likewise.
13486         [C99-based-standards] (SCNuFAST16): Likewise.
13487         [C99-based-standards] (SCNxFAST16): Likewise.
13488         [C99-based-standards] (PRId32): Likewise.
13489         [C99-based-standards] (PRIi32): Likewise.
13490         [C99-based-standards] (PRIo32): Likewise.
13491         [C99-based-standards] (PRIu32): Likewise.
13492         [C99-based-standards] (PRIx32): Likewise.
13493         [C99-based-standards] (PRIX32): Likewise.
13494         [C99-based-standards] (SCNd32): Likewise.
13495         [C99-based-standards] (SCNi32): Likewise.
13496         [C99-based-standards] (SCNo32): Likewise.
13497         [C99-based-standards] (SCNu32): Likewise.
13498         [C99-based-standards] (SCNx32): Likewise.
13499         [C99-based-standards] (PRIdLEAST32): Likewise.
13500         [C99-based-standards] (PRIiLEAST32): Likewise.
13501         [C99-based-standards] (PRIoLEAST32): Likewise.
13502         [C99-based-standards] (PRIuLEAST32): Likewise.
13503         [C99-based-standards] (PRIxLEAST32): Likewise.
13504         [C99-based-standards] (PRIXLEAST32): Likewise.
13505         [C99-based-standards] (SCNdLEAST32): Likewise.
13506         [C99-based-standards] (SCNiLEAST32): Likewise.
13507         [C99-based-standards] (SCNoLEAST32): Likewise.
13508         [C99-based-standards] (SCNuLEAST32): Likewise.
13509         [C99-based-standards] (SCNxLEAST32): Likewise.
13510         [C99-based-standards] (PRIdFAST32): Likewise.
13511         [C99-based-standards] (PRIiFAST32): Likewise.
13512         [C99-based-standards] (PRIoFAST32): Likewise.
13513         [C99-based-standards] (PRIuFAST32): Likewise.
13514         [C99-based-standards] (PRIxFAST32): Likewise.
13515         [C99-based-standards] (PRIXFAST32): Likewise.
13516         [C99-based-standards] (SCNdFAST32): Likewise.
13517         [C99-based-standards] (SCNiFAST32): Likewise.
13518         [C99-based-standards] (SCNoFAST32): Likewise.
13519         [C99-based-standards] (SCNuFAST32): Likewise.
13520         [C99-based-standards] (SCNxFAST32): Likewise.
13521         [C99-based-standards] (PRId64): Likewise.
13522         [C99-based-standards] (PRIi64): Likewise.
13523         [C99-based-standards] (PRIo64): Likewise.
13524         [C99-based-standards] (PRIu64): Likewise.
13525         [C99-based-standards] (PRIx64): Likewise.
13526         [C99-based-standards] (PRIX64): Likewise.
13527         [C99-based-standards] (SCNd64): Likewise.
13528         [C99-based-standards] (SCNi64): Likewise.
13529         [C99-based-standards] (SCNo64): Likewise.
13530         [C99-based-standards] (SCNu64): Likewise.
13531         [C99-based-standards] (SCNx64): Likewise.
13532         [C99-based-standards] (PRIdLEAST64): Likewise.
13533         [C99-based-standards] (PRIiLEAST64): Likewise.
13534         [C99-based-standards] (PRIoLEAST64): Likewise.
13535         [C99-based-standards] (PRIuLEAST64): Likewise.
13536         [C99-based-standards] (PRIxLEAST64): Likewise.
13537         [C99-based-standards] (PRIXLEAST64): Likewise.
13538         [C99-based-standards] (SCNdLEAST64): Likewise.
13539         [C99-based-standards] (SCNiLEAST64): Likewise.
13540         [C99-based-standards] (SCNoLEAST64): Likewise.
13541         [C99-based-standards] (SCNuLEAST64): Likewise.
13542         [C99-based-standards] (SCNxLEAST64): Likewise.
13543         [C99-based-standards] (PRIdFAST64): Likewise.
13544         [C99-based-standards] (PRIiFAST64): Likewise.
13545         [C99-based-standards] (PRIoFAST64): Likewise.
13546         [C99-based-standards] (PRIuFAST64): Likewise.
13547         [C99-based-standards] (PRIxFAST64): Likewise.
13548         [C99-based-standards] (PRIXFAST64): Likewise.
13549         [C99-based-standards] (SCNdFAST64): Likewise.
13550         [C99-based-standards] (SCNiFAST64): Likewise.
13551         [C99-based-standards] (SCNoFAST64): Likewise.
13552         [C99-based-standards] (SCNuFAST64): Likewise.
13553         [C99-based-standards] (SCNxFAST64): Likewise.
13554         [C99-based-standards] (PRIdMAX): Likewise.
13555         [C99-based-standards] (PRIiMAX): Likewise.
13556         [C99-based-standards] (PRIoMAX): Likewise.
13557         [C99-based-standards] (PRIuMAX): Likewise.
13558         [C99-based-standards] (PRIxMAX): Likewise.
13559         [C99-based-standards] (PRIXMAX): Likewise.
13560         [C99-based-standards] (SCNdMAX): Likewise.
13561         [C99-based-standards] (SCNiMAX): Likewise.
13562         [C99-based-standards] (SCNoMAX): Likewise.
13563         [C99-based-standards] (SCNuMAX): Likewise.
13564         [C99-based-standards] (SCNxMAX): Likewise.
13565         [C99-based-standards] (PRIdPTR): Likewise.
13566         [C99-based-standards] (PRIiPTR): Likewise.
13567         [C99-based-standards] (PRIoPTR): Likewise.
13568         [C99-based-standards] (PRIuPTR): Likewise.
13569         [C99-based-standards] (PRIxPTR): Likewise.
13570         [C99-based-standards] (PRIXPTR): Likewise.
13571         [C99-based-standards] (SCNdPTR): Likewise.
13572         [C99-based-standards] (SCNiPTR): Likewise.
13573         [C99-based-standards] (SCNoPTR): Likewise.
13574         [C99-based-standards] (SCNuPTR): Likewise.
13575         [C99-based-standards] (SCNxPTR): Likewise.
13576         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13577         allow.
13578         * conform/data/stdint.h-data: Update comments to clarify
13579         requirements.
13580         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13581         type.
13582         [C99-based standards] (INT8_MAX): Likewise.
13583         [C99-based standards] (INT16_MIN): Likewise.
13584         [C99-based standards] (INT16_MAX): Likewise.
13585         [C99-based standards] (INT32_MIN): Likewise.
13586         [C99-based standards] (INT32_MAX): Likewise.
13587         [C99-based standards] (INT64_MIN): Likewise.
13588         [C99-based standards] (INT64_MAX): Likewise.
13589         [C99-based standards] (UINT8_MAX): Likewise.
13590         [C99-based standards] (UINT16_MAX): Likewise.
13591         [C99-based standards] (UINT32_MAX): Likewise.
13592         [C99-based standards] (UINT64_MAX): Likewise.
13593         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13594         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13595         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13596         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13597         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13598         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13599         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13600         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13601         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13602         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13603         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13604         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13605         [C99-based standards] (INT_FAST8_MIN): Likewise.
13606         [C99-based standards] (INT_FAST8_MAX): Likewise.
13607         [C99-based standards] (INT_FAST16_MIN): Likewise.
13608         [C99-based standards] (INT_FAST16_MAX): Likewise.
13609         [C99-based standards] (INT_FAST32_MIN): Likewise.
13610         [C99-based standards] (INT_FAST32_MAX): Likewise.
13611         [C99-based standards] (INT_FAST64_MIN): Likewise.
13612         [C99-based standards] (INT_FAST64_MAX): Likewise.
13613         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13614         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13615         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13616         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13617         [C99-based standards] (INTPTR_MIN): Likewise.
13618         [C99-based standards] (INTPTR_MAX): Likewise.
13619         [C99-based standards] (UINTPTR_MAX): Likewise.
13620         [C99-based standards] (INTMAX_MIN): Likewise.
13621         [C99-based standards] (INTMAX_MAX): Likewise.
13622         [C99-based standards] (UINTMAX_MAX): Likewise.
13623         [C99-based standards] (PTRDIFF_MIN): Likewise.
13624         [C99-based standards] (PTRDIFF_MAX): Likewise.
13625         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13626         [C99-based standards] (SIZE_MAX): Likewise.
13627         [C99-based standards] (WCHAR_MAX): Likewise.
13628         [C99-based standards] (WINT_MAX): Likewise.
13629         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13630         constraint on value.
13631         [C99-based standards] (WCHAR_MIN): Likewise.
13632         [C99-based standards] (WINT_MIN): Likewise.
13633         [C99-based standards] (*_t): Allow.
13634         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13635         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13636         Include math.h-data and complex.h-data.  Remove all expectations
13637         of math.h and complex.h contents.
13638         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13639         at end of line.
13640         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13641         (struct tm): Expect tag.
13642         [C99-based-standards] (wcstof): Expect function.
13643         [C99-based-standards] (wcstold): Likewise.
13644         [C99-based-standards] (wcstoll): Likewise.
13645         [C99-based-standards] (wcstoull): Likewise.
13646         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13647         macro-int-constant.  Specify type.
13648         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13649         constraint on value.
13650         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13651         Specify type.
13652         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13653         Specify value.
13654         [ISO C standards]: Do not allow headers.
13655         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13656         wcs[abcdefghijklmnopqrstuvwxyz]*.
13657         [ISO C standards] (*_t): Do not allow.
13658         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13659         Expect function.
13660         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13661         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13662         Specify type.
13663         [ISO C standards]: Do not allow headers.
13664         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13665         is[abcdefghijklmnopqrstuvwxyz]*.
13666         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13667         to[abcdefghijklmnopqrstuvwxyz]*.
13668         [ISO C standards] (*_t): Do not allow.
13669         * conform/data/stdalign.h-data: New file.
13670         * conform/data/stdbool.h-data: Likewise.
13671         * conform/data/stdnoreturn.h-data: Likewise.
13673 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13675         [BZ #14815]
13676         * manual/filesys.texi (Directory Entries): Typo fix.
13677         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13679 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13681         * elf/elf.h (EM_AARCH64): New macro.
13682         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13683         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13684         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13685         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13686         (R_AARCH64_TLSDESC): Likewise.
13687         (NT_ARM_TLS): Likewise.
13688         (NT_ARM_HW_BREAK): Likewise.
13689         (NT_ARM_HW_WATCH): Likewise.
13691 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13693         [BZ #14811]
13694         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13695         (__ieee754_powl): Saturate nonzero exponents with absolute value
13696         below 0x1p-79 to +/- 0x1p-79.
13697         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13698         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13699         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13700         nonzero exponents with absolute value below 0x1p-32 to +/-
13701         0x1p-32.
13702         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13703         (__ieee754_powl): Saturate nonzero exponents with absolute value
13704         below 0x1p-79 to +/- 0x1p-79.
13705         * math/libm-test.inc (pow_test): Add more tests.
13707 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13709         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13710         _dl_s390_cap_flags with kernel. Increase string length.
13711         (_dl_s390_platforms): Add z196 and zEC12.
13713 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13715         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13716         Change XOPEN21K to XOPEN2K.
13718 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13720         * string/memmove.c: Use memcpy when possible.
13722 2012-11-06  Andreas Jaeger  <aj@suse.de>
13724         * po/eo.po: Update from translation team.
13726 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13728         [BZ #14793]
13729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13730         exponent and small x and y exponents, scale x or y up.  Increase
13731         by 2 the exponent used in scaling up.
13732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13734         * math/libm-test.inc (fma_test): Add more tests.
13735         (fma_test_towardzero): Likewise.
13736         (fma_test_downward): Likewise.
13737         (fma_test_upward): Likewise.
13739 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13741         [BZ #14805]
13742         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13743         fenv_t *.
13745         [BZ #14801]
13746         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13747         namespace for names of struct fields.
13748         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13749         fenv_t fields.
13750         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13751         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13753 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13755         [BZ #3665]
13756         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13758 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13760         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13761         PTR_DEMANGLE.
13763         [BZ #5246]
13764         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13765         PTR_DEMANGLE.
13767 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13769         [BZ #14797]
13770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13771         definitely overflow as x * y not x * y + z.
13772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13773         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13774         * math/libm-test.inc (fma_test): Add more tests.
13775         (fma_test_towardzero): Likewise.
13776         (fma_test_downward): Likewise.
13777         (fma_test_upward): Likewise.
13779 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13781         [BZ #157]
13783         * include/stub-tag.h: Remove file.
13784         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13785         '#include' of it.
13786         * manual/maint.texi (Porting): Don't reference it.
13787         * Makerules ($(objpfx)stubs): Likewise.
13788         * dirent/closedir.c: Don't include <stub-tag.h>.
13789         * dirent/dirfd.c: Likewise.
13790         * dirent/fdopendir.c: Likewise.
13791         * dirent/getdents.c: Likewise.
13792         * dirent/getdents64.c: Likewise.
13793         * dirent/opendir.c: Likewise.
13794         * dirent/readdir.c: Likewise.
13795         * dirent/readdir64.c: Likewise.
13796         * dirent/readdir64_r.c: Likewise.
13797         * dirent/readdir_r.c: Likewise.
13798         * dirent/rewinddir.c: Likewise.
13799         * dirent/seekdir.c: Likewise.
13800         * dirent/telldir.c: Likewise.
13801         * gmon/profil.c: Likewise.
13802         * grp/setgroups.c: Likewise.
13803         * inet/if_index.c: Likewise.
13804         * io/access.c: Likewise.
13805         * io/chdir.c: Likewise.
13806         * io/chmod.c: Likewise.
13807         * io/chown.c: Likewise.
13808         * io/close.c: Likewise.
13809         * io/dup.c: Likewise.
13810         * io/dup2.c: Likewise.
13811         * io/dup3.c: Likewise.
13812         * io/euidaccess.c: Likewise.
13813         * io/faccessat.c: Likewise.
13814         * io/fchdir.c: Likewise.
13815         * io/fchmod.c: Likewise.
13816         * io/fchmodat.c: Likewise.
13817         * io/fchown.c: Likewise.
13818         * io/fchownat.c: Likewise.
13819         * io/fcntl.c: Likewise.
13820         * io/flock.c: Likewise.
13821         * io/fstatfs.c: Likewise.
13822         * io/fstatfs64.c: Likewise.
13823         * io/fstatvfs.c: Likewise.
13824         * io/fstatvfs64.c: Likewise.
13825         * io/futimens.c: Likewise.
13826         * io/fxstat.c: Likewise.
13827         * io/fxstat64.c: Likewise.
13828         * io/fxstatat.c: Likewise.
13829         * io/fxstatat64.c: Likewise.
13830         * io/getcwd.c: Likewise.
13831         * io/isatty.c: Likewise.
13832         * io/lchmod.c: Likewise.
13833         * io/lchown.c: Likewise.
13834         * io/link.c: Likewise.
13835         * io/linkat.c: Likewise.
13836         * io/lseek.c: Likewise.
13837         * io/lseek64.c: Likewise.
13838         * io/lxstat64.c: Likewise.
13839         * io/mkdir.c: Likewise.
13840         * io/mkdirat.c: Likewise.
13841         * io/mkfifo.c: Likewise.
13842         * io/mkfifoat.c: Likewise.
13843         * io/open.c: Likewise.
13844         * io/open64.c: Likewise.
13845         * io/openat.c: Likewise.
13846         * io/openat64.c: Likewise.
13847         * io/pipe.c: Likewise.
13848         * io/pipe2.c: Likewise.
13849         * io/poll.c: Likewise.
13850         * io/posix_fadvise.c: Likewise.
13851         * io/posix_fadvise64.c: Likewise.
13852         * io/posix_fallocate.c: Likewise.
13853         * io/posix_fallocate64.c: Likewise.
13854         * io/read.c: Likewise.
13855         * io/readlink.c: Likewise.
13856         * io/readlinkat.c: Likewise.
13857         * io/rmdir.c: Likewise.
13858         * io/sendfile.c: Likewise.
13859         * io/sendfile64.c: Likewise.
13860         * io/statfs.c: Likewise.
13861         * io/statfs64.c: Likewise.
13862         * io/statvfs.c: Likewise.
13863         * io/statvfs64.c: Likewise.
13864         * io/symlink.c: Likewise.
13865         * io/symlinkat.c: Likewise.
13866         * io/ttyname.c: Likewise.
13867         * io/ttyname_r.c: Likewise.
13868         * io/umask.c: Likewise.
13869         * io/unlink.c: Likewise.
13870         * io/unlinkat.c: Likewise.
13871         * io/utime.c: Likewise.
13872         * io/utimensat.c: Likewise.
13873         * io/write.c: Likewise.
13874         * io/xmknod.c: Likewise.
13875         * io/xmknodat.c: Likewise.
13876         * io/xstat.c: Likewise.
13877         * io/xstat64.c: Likewise.
13878         * login/getpt.c: Likewise.
13879         * login/grantpt.c: Likewise.
13880         * login/unlockpt.c: Likewise.
13881         * math/e_acoshl.c: Likewise.
13882         * math/e_acosl.c: Likewise.
13883         * math/e_asinl.c: Likewise.
13884         * math/e_atan2l.c: Likewise.
13885         * math/e_atanhl.c: Likewise.
13886         * math/e_coshl.c: Likewise.
13887         * math/e_expl.c: Likewise.
13888         * math/e_fmodl.c: Likewise.
13889         * math/e_gammal_r.c: Likewise.
13890         * math/e_hypotl.c: Likewise.
13891         * math/e_j0l.c: Likewise.
13892         * math/e_j1l.c: Likewise.
13893         * math/e_jnl.c: Likewise.
13894         * math/e_lgammal_r.c: Likewise.
13895         * math/e_log10l.c: Likewise.
13896         * math/e_log2l.c: Likewise.
13897         * math/e_logl.c: Likewise.
13898         * math/e_powl.c: Likewise.
13899         * math/e_rem_pio2l.c: Likewise.
13900         * math/e_sinhl.c: Likewise.
13901         * math/e_sqrtl.c: Likewise.
13902         * math/fclrexcpt.c: Likewise.
13903         * math/fedisblxcpt.c: Likewise.
13904         * math/feenablxcpt.c: Likewise.
13905         * math/fegetenv.c: Likewise.
13906         * math/fegetexcept.c: Likewise.
13907         * math/fegetround.c: Likewise.
13908         * math/feholdexcpt.c: Likewise.
13909         * math/fesetenv.c: Likewise.
13910         * math/fesetround.c: Likewise.
13911         * math/feupdateenv.c: Likewise.
13912         * math/fgetexcptflg.c: Likewise.
13913         * math/fraiseexcpt.c: Likewise.
13914         * math/fsetexcptflg.c: Likewise.
13915         * math/ftestexcept.c: Likewise.
13916         * math/k_cosl.c: Likewise.
13917         * math/k_rem_pio2l.c: Likewise.
13918         * math/k_sinl.c: Likewise.
13919         * math/k_tanl.c: Likewise.
13920         * math/s_asinhl.c: Likewise.
13921         * math/s_atanl.c: Likewise.
13922         * math/s_cbrtl.c: Likewise.
13923         * math/s_erfl.c: Likewise.
13924         * math/s_expm1l.c: Likewise.
13925         * math/s_log1pl.c: Likewise.
13926         * math/s_tanhl.c: Likewise.
13927         * misc/acct.c: Likewise.
13928         * misc/brk.c: Likewise.
13929         * misc/chflags.c: Likewise.
13930         * misc/chroot.c: Likewise.
13931         * misc/fchflags.c: Likewise.
13932         * misc/fgetxattr.c: Likewise.
13933         * misc/flistxattr.c: Likewise.
13934         * misc/fremovexattr.c: Likewise.
13935         * misc/fsetxattr.c: Likewise.
13936         * misc/fsync.c: Likewise.
13937         * misc/ftruncate.c: Likewise.
13938         * misc/futimes.c: Likewise.
13939         * misc/futimesat.c: Likewise.
13940         * misc/getdomain.c: Likewise.
13941         * misc/getdtsz.c: Likewise.
13942         * misc/gethostid.c: Likewise.
13943         * misc/gethostname.c: Likewise.
13944         * misc/getloadavg.c: Likewise.
13945         * misc/getpagesize.c: Likewise.
13946         * misc/getsysstats.c: Likewise.
13947         * misc/getxattr.c: Likewise.
13948         * misc/gtty.c: Likewise.
13949         * misc/ioctl.c: Likewise.
13950         * misc/lgetxattr.c: Likewise.
13951         * misc/listxattr.c: Likewise.
13952         * misc/llistxattr.c: Likewise.
13953         * misc/lremovexattr.c: Likewise.
13954         * misc/lsetxattr.c: Likewise.
13955         * misc/lutimes.c: Likewise.
13956         * misc/madvise.c: Likewise.
13957         * misc/mincore.c: Likewise.
13958         * misc/mlock.c: Likewise.
13959         * misc/mlockall.c: Likewise.
13960         * misc/mmap.c: Likewise.
13961         * misc/mprotect.c: Likewise.
13962         * misc/msync.c: Likewise.
13963         * misc/munlock.c: Likewise.
13964         * misc/munlockall.c: Likewise.
13965         * misc/munmap.c: Likewise.
13966         * misc/preadv.c: Likewise.
13967         * misc/preadv64.c: Likewise.
13968         * misc/ptrace.c: Likewise.
13969         * misc/pwritev.c: Likewise.
13970         * misc/pwritev64.c: Likewise.
13971         * misc/readv.c: Likewise.
13972         * misc/reboot.c: Likewise.
13973         * misc/remap_file_pages.c: Likewise.
13974         * misc/removexattr.c: Likewise.
13975         * misc/revoke.c: Likewise.
13976         * misc/select.c: Likewise.
13977         * misc/setdomain.c: Likewise.
13978         * misc/setegid.c: Likewise.
13979         * misc/seteuid.c: Likewise.
13980         * misc/sethostid.c: Likewise.
13981         * misc/sethostname.c: Likewise.
13982         * misc/setregid.c: Likewise.
13983         * misc/setreuid.c: Likewise.
13984         * misc/setxattr.c: Likewise.
13985         * misc/sstk.c: Likewise.
13986         * misc/stty.c: Likewise.
13987         * misc/swapoff.c: Likewise.
13988         * misc/swapon.c: Likewise.
13989         * misc/sync.c: Likewise.
13990         * misc/syncfs.c: Likewise.
13991         * misc/syscall.c: Likewise.
13992         * misc/truncate.c: Likewise.
13993         * misc/ualarm.c: Likewise.
13994         * misc/usleep.c: Likewise.
13995         * misc/ustat.c: Likewise.
13996         * misc/utimes.c: Likewise.
13997         * misc/vhangup.c: Likewise.
13998         * misc/writev.c: Likewise.
13999         * posix/_exit.c: Likewise.
14000         * posix/alarm.c: Likewise.
14001         * posix/execve.c: Likewise.
14002         * posix/fexecve.c: Likewise.
14003         * posix/fork.c: Likewise.
14004         * posix/fpathconf.c: Likewise.
14005         * posix/getaddrinfo.c: Likewise.
14006         * posix/getegid.c: Likewise.
14007         * posix/geteuid.c: Likewise.
14008         * posix/getgid.c: Likewise.
14009         * posix/getgroups.c: Likewise.
14010         * posix/getlogin.c: Likewise.
14011         * posix/getlogin_r.c: Likewise.
14012         * posix/getpgid.c: Likewise.
14013         * posix/getpid.c: Likewise.
14014         * posix/getppid.c: Likewise.
14015         * posix/getresgid.c: Likewise.
14016         * posix/getresuid.c: Likewise.
14017         * posix/getsid.c: Likewise.
14018         * posix/getuid.c: Likewise.
14019         * posix/glob64.c: Likewise.
14020         * posix/nanosleep.c: Likewise.
14021         * posix/pathconf.c: Likewise.
14022         * posix/pause.c: Likewise.
14023         * posix/posix_madvise.c: Likewise.
14024         * posix/pread.c: Likewise.
14025         * posix/pread64.c: Likewise.
14026         * posix/pwrite.c: Likewise.
14027         * posix/pwrite64.c: Likewise.
14028         * posix/sched_getaffinity.c: Likewise.
14029         * posix/sched_getp.c: Likewise.
14030         * posix/sched_gets.c: Likewise.
14031         * posix/sched_primax.c: Likewise.
14032         * posix/sched_primin.c: Likewise.
14033         * posix/sched_rr_gi.c: Likewise.
14034         * posix/sched_setaffinity.c: Likewise.
14035         * posix/sched_setp.c: Likewise.
14036         * posix/sched_sets.c: Likewise.
14037         * posix/sched_yield.c: Likewise.
14038         * posix/setgid.c: Likewise.
14039         * posix/setlogin.c: Likewise.
14040         * posix/setpgid.c: Likewise.
14041         * posix/setresgid.c: Likewise.
14042         * posix/setresuid.c: Likewise.
14043         * posix/setsid.c: Likewise.
14044         * posix/setuid.c: Likewise.
14045         * posix/sleep.c: Likewise.
14046         * posix/spawni.c: Likewise.
14047         * posix/sysconf.c: Likewise.
14048         * posix/times.c: Likewise.
14049         * posix/wait.c: Likewise.
14050         * posix/wait3.c: Likewise.
14051         * posix/wait4.c: Likewise.
14052         * posix/waitpid.c: Likewise.
14053         * resolv/gai_sigqueue.c: Likewise.
14054         * resource/getpriority.c: Likewise.
14055         * resource/getrlimit.c: Likewise.
14056         * resource/getrusage.c: Likewise.
14057         * resource/nice.c: Likewise.
14058         * resource/setpriority.c: Likewise.
14059         * resource/setrlimit.c: Likewise.
14060         * resource/ulimit.c: Likewise.
14061         * rt/aio_cancel.c: Likewise.
14062         * rt/aio_fsync.c: Likewise.
14063         * rt/aio_read.c: Likewise.
14064         * rt/aio_sigqueue.c: Likewise.
14065         * rt/aio_suspend.c: Likewise.
14066         * rt/aio_write.c: Likewise.
14067         * rt/clock_getres.c: Likewise.
14068         * rt/clock_gettime.c: Likewise.
14069         * rt/clock_nanosleep.c: Likewise.
14070         * rt/clock_settime.c: Likewise.
14071         * rt/lio_listio.c: Likewise.
14072         * rt/mq_close.c: Likewise.
14073         * rt/mq_getattr.c: Likewise.
14074         * rt/mq_notify.c: Likewise.
14075         * rt/mq_open.c: Likewise.
14076         * rt/mq_receive.c: Likewise.
14077         * rt/mq_send.c: Likewise.
14078         * rt/mq_setattr.c: Likewise.
14079         * rt/mq_timedreceive.c: Likewise.
14080         * rt/mq_timedsend.c: Likewise.
14081         * rt/mq_unlink.c: Likewise.
14082         * rt/shm_open.c: Likewise.
14083         * rt/shm_unlink.c: Likewise.
14084         * rt/timer_create.c: Likewise.
14085         * rt/timer_delete.c: Likewise.
14086         * rt/timer_getoverr.c: Likewise.
14087         * rt/timer_gettime.c: Likewise.
14088         * rt/timer_settime.c: Likewise.
14089         * setjmp/__longjmp.c: Likewise.
14090         * setjmp/setjmp.c: Likewise.
14091         * signal/kill.c: Likewise.
14092         * signal/killpg.c: Likewise.
14093         * signal/raise.c: Likewise.
14094         * signal/sigaction.c: Likewise.
14095         * signal/sigaltstack.c: Likewise.
14096         * signal/sigblock.c: Likewise.
14097         * signal/sigignore.c: Likewise.
14098         * signal/sigintr.c: Likewise.
14099         * signal/signal.c: Likewise.
14100         * signal/sigpause.c: Likewise.
14101         * signal/sigpending.c: Likewise.
14102         * signal/sigqueue.c: Likewise.
14103         * signal/sigreturn.c: Likewise.
14104         * signal/sigset.c: Likewise.
14105         * signal/sigsetmask.c: Likewise.
14106         * signal/sigstack.c: Likewise.
14107         * signal/sigsuspend.c: Likewise.
14108         * signal/sigtimedwait.c: Likewise.
14109         * signal/sigvec.c: Likewise.
14110         * signal/sigwait.c: Likewise.
14111         * signal/sigwaitinfo.c: Likewise.
14112         * signal/sysv_signal.c: Likewise.
14113         * socket/accept.c: Likewise.
14114         * socket/accept4.c: Likewise.
14115         * socket/bind.c: Likewise.
14116         * socket/connect.c: Likewise.
14117         * socket/getpeername.c: Likewise.
14118         * socket/getsockname.c: Likewise.
14119         * socket/getsockopt.c: Likewise.
14120         * socket/isfdtype.c: Likewise.
14121         * socket/listen.c: Likewise.
14122         * socket/recv.c: Likewise.
14123         * socket/recvfrom.c: Likewise.
14124         * socket/recvmsg.c: Likewise.
14125         * socket/send.c: Likewise.
14126         * socket/sendmsg.c: Likewise.
14127         * socket/sendto.c: Likewise.
14128         * socket/setsockopt.c: Likewise.
14129         * socket/shutdown.c: Likewise.
14130         * socket/sockatmark.c: Likewise.
14131         * socket/socket.c: Likewise.
14132         * socket/socketpair.c: Likewise.
14133         * stdio-common/ctermid.c: Likewise.
14134         * stdio-common/cuserid.c: Likewise.
14135         * stdio-common/remove.c: Likewise.
14136         * stdio-common/rename.c: Likewise.
14137         * stdio-common/renameat.c: Likewise.
14138         * stdio-common/tempname.c: Likewise.
14139         * stdlib/getcontext.c: Likewise.
14140         * stdlib/makecontext.c: Likewise.
14141         * stdlib/setcontext.c: Likewise.
14142         * stdlib/swapcontext.c: Likewise.
14143         * stdlib/system.c: Likewise.
14144         * streams/fattach.c: Likewise.
14145         * streams/fdetach.c: Likewise.
14146         * streams/getmsg.c: Likewise.
14147         * streams/getpmsg.c: Likewise.
14148         * streams/putmsg.c: Likewise.
14149         * streams/putpmsg.c: Likewise.
14150         * sysdeps/unix/bsd/getpt.c: Likewise.
14151         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14152         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14153         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14155         Likewise.
14156         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14157         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14158         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14159         * sysvipc/msgctl.c: Likewise.
14160         * sysvipc/msgget.c: Likewise.
14161         * sysvipc/msgrcv.c: Likewise.
14162         * sysvipc/msgsnd.c: Likewise.
14163         * sysvipc/semctl.c: Likewise.
14164         * sysvipc/semget.c: Likewise.
14165         * sysvipc/semop.c: Likewise.
14166         * sysvipc/semtimedop.c: Likewise.
14167         * sysvipc/shmat.c: Likewise.
14168         * sysvipc/shmctl.c: Likewise.
14169         * sysvipc/shmdt.c: Likewise.
14170         * sysvipc/shmget.c: Likewise.
14171         * termios/tcdrain.c: Likewise.
14172         * termios/tcflow.c: Likewise.
14173         * termios/tcflush.c: Likewise.
14174         * termios/tcgetattr.c: Likewise.
14175         * termios/tcgetpgrp.c: Likewise.
14176         * termios/tcsendbrk.c: Likewise.
14177         * termios/tcsetattr.c: Likewise.
14178         * termios/tcsetpgrp.c: Likewise.
14179         * time/adjtime.c: Likewise.
14180         * time/clock.c: Likewise.
14181         * time/getitimer.c: Likewise.
14182         * time/gettimeofday.c: Likewise.
14183         * time/setitimer.c: Likewise.
14184         * time/settimeofday.c: Likewise.
14185         * time/stime.c: Likewise.
14186         * time/time.c: Likewise.
14188 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
14190         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14191         /usr/old/bin.
14193         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14194         instead of spaces.
14195         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14197 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
14199         [BZ #14796]
14200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14201         FE_TONEAREST before applying Dekker multiplication and Knuth
14202         addition.  Clear inexact exceptions and check for exact zero
14203         results afterwards.
14204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14205         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14207         * math/libm-test.inc (fma_test): Add more tests.
14208         (fma_test_towardzero): Likewise.
14209         (fma_test_downward): Likewise.
14210         (fma_test_upward): Likewise.
14211         * sysdeps/generic/math_private.h (default_libc_fesetround): New
14212         function.
14213         (libc_fesetround): New macro.
14214         (libc_fesetroundf): Likewise.
14215         (libc_fesetroundl): Likewise.
14216         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14217         function.
14218         (libc_fesetround_387): Likewise.
14219         (libc_fesetroundf): New macro.
14220         (libc_fesetround): Likewise.
14221         (libc_fesetroundl): Likewise.
14222         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14223         function.
14224         (libc_fesetroundf): New macro.
14225         (libc_fesetround): Likewise.
14226         (libc_fesetroundl): Likewise.
14227         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14228         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14229         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14230         libm_hidden_ver.
14231         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14232         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14233         libm_hidden_def.
14234         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14235         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14236         libm_hidden_ver.
14237         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14238         libm_hidden_def.
14240         [BZ #3439]
14241         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14242         integer constant usable in #if and use that to give value to enum
14243         constant.
14244         (FE_DIVBYZERO): Likewise.
14245         (FE_UNDERFLOW): Likewise.
14246         (FE_OVERFLOW): Likewise.
14247         (FE_INVALID): Likewise.
14248         (FE_INVALID_SNAN): Likewise.
14249         (FE_INVALID_ISI): Likewise.
14250         (FE_INVALID_IDI): Likewise.
14251         (FE_INVALID_ZDZ): Likewise.
14252         (FE_INVALID_IMZ): Likewise.
14253         (FE_INVALID_COMPARE): Likewise.
14254         (FE_INVALID_SOFTWARE): Likewise.
14255         (FE_INVALID_SQRT): Likewise.
14256         (FE_INVALID_INTEGER_CONVERSION): Likewise.
14257         (FE_TONEAREST): Likewise.
14258         (FE_TOWARDZERO): Likewise.
14259         (FE_UPWARD): Likewise.
14260         (FE_DOWNWARD): Likewise.
14261         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14262         (FE_DIVBYZERO): Likewise.
14263         (FE_OVERFLOW): Likewise.
14264         (FE_UNDERFLOW): Likewise.
14265         (FE_INEXACT): Likewise.
14266         (FE_TONEAREST): Likewise.
14267         (FE_DOWNWARD): Likewise.
14268         (FE_UPWARD): Likewise.
14269         (FE_TOWARDZERO): Likewise.
14270         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14271         (FE_UNDERFLOW): Likewise.
14272         (FE_OVERFLOW): Likewise.
14273         (FE_DIVBYZERO): Likewise.
14274         (FE_INVALID): Likewise.
14275         (FE_TONEAREST): Likewise.
14276         (FE_TOWARDZERO): Likewise.
14277         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14278         (FE_OVERFLOW): Likewise.
14279         (FE_UNDERFLOW): Likewise.
14280         (FE_DIVBYZERO): Likewise.
14281         (FE_INEXACT): Likewise.
14282         (FE_TONEAREST): Likewise.
14283         (FE_TOWARDZERO): Likewise.
14284         (FE_UPWARD): Likewise.
14285         (FE_DOWNWARD): Likewise.
14286         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14287         (FE_DIVBYZERO): Likewise.
14288         (FE_OVERFLOW): Likewise.
14289         (FE_UNDERFLOW): Likewise.
14290         (FE_INEXACT): Likewise.
14291         (FE_TONEAREST): Likewise.
14292         (FE_DOWNWARD): Likewise.
14293         (FE_UPWARD): Likewise.
14294         (FE_TOWARDZERO): Likewise.
14296 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
14298         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14300 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
14302         * scripts/cross-test-ssh.sh (command): Use newlines to separate
14303         commands.  Quote $PWD.
14304         (blacklist_exports): Don't use remove_newlines.  Replace "declare
14305         -x" by "export".
14306         (remove_newlines): Remove.
14308 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
14310         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14311         * stdlib/stdlib.h (atof): Moved to ...
14312         * include/bits/stdlib-float.h: Here.  New file.
14313         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14314         * stdlib/bits/stdlib-float.h: New file.
14315         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14316         -mno-sse -mno-mmx.
14317         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14318         <xmmintrin.h>.
14320 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14322         * conform/conformtest.pl (@headers): Add fenv.h.
14323         * conform/data/fenv.h-data: New file.
14324         * include/fenv.h [_ISOMAC]: Disable all contents of file except
14325         include of <math/fenv.h>.
14327         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14328         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14329         && !UNIX98].  Enables tests for XOPEN2K8.
14330         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14331         POSIX2008]: Likewise.
14333         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14334         (struct rusage): Do not expect type or its members.
14336         [BZ #3439]
14337         * math/math.h (FP_NAN): Define macro to integer constant usable in
14338         #if and use that to give value to enum constant.
14339         (FP_INFINITE): Likewise.
14340         (FP_ZERO): Likewise.
14341         (FP_SUBNORMAL): Likewise.
14342         (FP_NORMAL): Likewise.
14344 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
14346         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14347         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14348         arguments.
14350 2012-11-02  Roland McGrath  <roland@hack.frob.com>
14352         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14353         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14354         autoconf-time if not.
14355         * configure.in: Remove AC_PREREQ.
14357 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14359         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14360         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14361         of the internal implementation.
14363 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
14365         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14366         except include of <misc/sys/syslog.h>.
14368 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14371         function returns with a NULL context exit with zero.
14373 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14375         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14377 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
14379         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14380         (run_program_cmd): This.
14381         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14382         (tst_langinfo): New variable.  Use it.
14384 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
14386         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14387         floating point opcodes.
14389 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14391         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14392         variable.
14394         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14396         * sysdeps/mach/hurd/powerpc: Remove directory.
14397         * sysdeps/mach/powerpc: Likewise.
14399 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14401         * scripts/check-local-headers.sh: Ignore c++ headers.
14403 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14405         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14406         __libc_cleanup_region_start argument.
14408 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
14410         [BZ #14784]
14411         [BZ #14785]
14412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14413         x * y using scaling, not as x * y + z.
14414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14415         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14416         * math/libm-test.inc (fma_test): Add more tests.
14417         (fma_test_towardzero): Likewise.
14418         (fma_test_downward): Likewise.
14419         (fma_test_upward): Likewise.
14421 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
14423         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14425 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14427         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14428         New variable.
14430 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
14432         * rt/tst-shm.c (worker): Correct checking for mmap failure.
14434 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14437         Fix sort order.
14438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14439         Likewise.
14441 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14444         Fix the order of the list for glibc 2.17.
14445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14446         Likewise.
14448 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14452 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
14454         [BZ #14610]
14455         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14456         for low part of x being zero before using __atanl (y).
14457         * math/libm-test.inc (atan2_test): Add another test.
14459         * manual/install.texi (Configuring and compiling): Document
14460         general use of test-wrapper and test-wrapper-env.
14461         * INSTALL: Regenerated.
14463         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14464         (__fma): Do not extract and scale down low bits on after-rounding
14465         systems when result rounded to normal precision would have normal
14466         exponent.
14467         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14468         (__fmal): Do not extract and scale down low bits on after-rounding
14469         systems when result rounded to normal precision would have normal
14470         exponent.
14471         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14472         (__fmal): Do not extract and scale down low bits on after-rounding
14473         systems when result rounded to normal precision would have normal
14474         exponent.
14475         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14476         macro.
14477         (fma_test): Add more tests.
14478         (fma_test_towardzero): Likewise.
14479         (fma_test_downward): Likewise.
14480         (fma_test_upward): Likewise.
14482 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
14484         * sysdeps/i386/tininess.h: Renamed to ...
14485         * sysdeps/x86/tininess.h: This.
14486         * sysdeps/x86_64/tininess.h: Removed.
14488 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14490         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14491         input.  Use $(build-program-cmd).
14492         ($(objpfx)tst-array1-static.out): Likewise.
14493         ($(objpfx)tst-array2.out): Likewise.
14494         ($(objpfx)tst-array3.out): Likewise.
14495         ($(objpfx)tst-array4.out): Likewise.
14496         ($(objpfx)tst-array5.out): Likewise.
14497         ($(objpfx)tst-array5-static.out): Likewise.
14499 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
14501         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14502         if defined.
14504         * nss/nsswitch.h (nss_interface_function): Provide new
14505         macro for use with NSS functions.
14506         * grp/initgroups.c: Use new macro.
14507         * nss/getXXbyYY.c: Likewise.
14508         * nss/getXXbyYY_r.c: Likewise.
14509         * nss/getXXent.c: Likewise.
14510         * nss/getXXent_r.c: Likewise.
14511         * sysdeps/posix/getaddrinfo.c: Likewise.
14513 2012-10-30  Andreas Jaeger  <aj@suse.de>
14515         * po/ru.po: Update Russion translation from translation project.
14517 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
14519         [BZ #14152]
14520         [BZ #14783]
14521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14522         result and shift together with sticky bit instead of replicating
14523         round-to-nearest rounding.
14524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14526         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
14527         missing underflow exceptions.
14528         (fma_test_towardzero): Add more tests.
14529         (fma_test_downward): Likewise.
14530         (fma_test_upward): Likewise.
14532         [BZ #14047]
14533         * sysdeps/generic/tininess.h: New file.
14534         * sysdeps/i386/tininess.h: Likewise.
14535         * sysdeps/sh/tininess.h: Likewise.
14536         * sysdeps/x86_64/tininess.h: Likewise.
14537         * stdlib/tst-strtod-underflow.c: Likewise.
14538         * stdlib/tst-tininess.c: Likewise.
14539         * stdlib/strtod_l.c: Include <tininess.h>.
14540         (round_and_return): Do not set errno for exact underflow cases.
14541         Force an underflow exception when setting errno for underflow.
14542         Determine underflow based on rounding to normal precision if
14543         TININESS_AFTER_ROUNDING.
14544         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14545         ERANGE for exact underflow cases.
14546         * stdlib/Makefile (tests): Add tst-tininess and
14547         tst-strtod-underflow.
14548         ($(objpfx)tst-tininess): Use $(link-libm).
14549         ($(objpfx)tst-strtod-underflow): Likewise.
14551 2012-10-30  Andreas Jaeger  <aj@suse.de>
14553         [BZ#14767]
14554         * elf/Makefile (tests): Remove conditional for have-initfini-array
14555         since this is now always required and the variable does not exist
14556         anymore.
14557         (tests-static): Likewise.
14558         (modules-names): Likewise.
14560         * po/eo.po: Add Esperanto translation from translation project.
14562         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14563         merged with constructor/destructor.
14564         (init_array): Likewise.
14565         * elf/tst-array2dep.c (fini_array): Likewise.
14566         (init_array): Likewise.
14568 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14570         * manual/message.texi: Delete @cartouche tags.
14572 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14574         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14575         EOPNOTSUPP.
14576         * sysdeps/mach/hurd/fsync.c: Likewise.
14578         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14579         [_POSIX_REALTIME_SIGNALS]: Change condition to
14580         [_POSIX_REALTIME_SIGNALS > 0].
14582 2012-10-27  Andreas Jaeger  <aj@suse.de>
14584         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14585         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14587         [__WORDSIZE != 64]: Likewise.
14589 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14591         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14592         *  iconvdata/tst-tables.sh: Likewise.
14594 2012-10-25  David S. Miller  <davem@davemloft.net>
14596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14597         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14598         of strtoull.
14600         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14601         ifunc-impl-list.c
14602         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14603         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14604         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14605         file.
14607 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14609         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14610         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14611         __getdirentries.
14613 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14614             Jim Blandy  <jimb@codesourcery.com>
14616         * scripts/cross-test-ssh.sh: New file.
14617         * manual/install.texi (Configuring and compiling): Document use of
14618         cross-test-ssh.sh.
14619         * INSTALL: Regenerated.
14621 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14623         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14624         EOPNOTSUPP.
14626 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14628         * Makeconfig (run-program-prefix): Fix comment.
14630 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14631             Jim Blandy  <jimb@codesourcery.com>
14633         * Makeconfig (test-wrapper): New variable,
14634         (test-wrapper-env): Likewise.
14635         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14636         (run-built-tests): Define to yes.
14637         (run-program-prefix): Use $(test-wrapper).
14638         (built-program-cmd): Likewise.
14639         * Rules (make-test-out): Use $(test-wrapper-env) and
14640         $(host-built-program-cmd).
14641         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14642         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14643         tst-pathopt.sh.
14644         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14645         $(test-wrapper-env) to tst-rtld-load-self.sh.
14646         ($(objpfx)order2.out): Use $(test-wrapper).
14647         ($(objpfx)tst-initorder.out): Likewise.
14648         ($(objpfx)tst-initorder2.out): Likewise.
14649         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14650         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14651         (test_wrapper_env): New variable.  Use it to run ld.so.
14652         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14653         Use it to run ld.so.
14654         (test_wrapper_env): Likewise.
14655         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14656         $(test-wrapper) to run-iconv-test.sh.
14657         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14658         (ICONV): Use $test_wrapper.
14659         * posix/Makefile ($(objpfx)globtest.out): Pass
14660         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14661         globtest.sh, not $(run-program-prefix).
14662         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14663         (test_wrapper): Likewise.
14664         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14665         set together with run_via_rtld_prefix.
14666         (run_program_prefix): Define in terms of test_wrapper and
14667         run_via_rtld_prefix.
14669 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14671         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14672         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14673         Targets removed.
14675         [BZ #14743]
14676         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14677         Declare __clock_getres, __clock_gettime, __clock_settime,
14678         __clock_nanosleep, and __clock_getcpuclockid.
14679         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14680         Remove librt_hidden_def (clock_gettime).
14681         * sysdeps/unix/clock_gettime.c: Likewise.
14682         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14683         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14684         * rt/clock_getres.c: Define __clock_getres as an alias.
14685         * sysdeps/posix/clock_getres.c: Likewise.
14686         * rt/clock_settime.c: Define __clock_settime as an alias.
14687         * sysdeps/unix/clock_settime.c: Likewise.
14688         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14689         * sysdeps/unix/clock_nanosleep.c: Likewise.
14690         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14691         * rt/clock-compat.c: New file.
14692         * rt/Makefile (librt-routines): Add clock-compat and move
14693         $(clock-routines) to ...
14694         (routines): ... here, new variable.
14695         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14696         Don't add get_clockfreq here.
14697         * rt/Versions (libc: GLIBC_2.17): New version set.
14698         Add clock_* symbols here.
14699         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14700         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14701         (GLIBC_2.17): Add clock_* symbols.
14702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14704         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14706         Likewise.
14707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14708         Likewise.
14709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14713         * NEWS: Mention the move.
14715         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14716         Use __open, __read, __close rather than their public counterparts.
14717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14718         (__get_clockfreq_via_cpuinfo): Likewise.
14719         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14720         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14722         * config.h.in (HAVE_IFUNC): New #undef.
14723         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14724         was successful.
14725         * configure: Regenerated.
14727 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14729         * configure.in: Move READELF check to start of file.
14730         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14731         libc_cv_asm_gnu_indirect_function in the process.
14732         * configure: Regenerated.
14734 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14736         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14737         send the output to /dev/null.
14738         (libc_cv_cc_with_libunwind): Likewise.
14739         (libc_cv_as_noexecstack): Likewise.
14740         * configure: Regenerate.
14742 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14744         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14746         * posix/globtest.sh (TMPDIR): Do not set.
14747         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14748         (testout): Likewise.
14750 2012-10-24  Andreas Jaeger  <aj@suse.de>
14752         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14753         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14754         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14755         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14756         posix_fadvise64, posix_fallocate64.
14758         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14759         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14760         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14761         Likewise.
14762         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14763         Likewise.
14764         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14767         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14768         <bits/fcntl-linux.h>.
14769         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14771         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14772         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14773         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14774         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14775         [__WORDSIZE != 64]: Likewise.
14777 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14779         * Makeconfig (run-built-tests): New variable.
14780         * Rules [$(cross-compiling) = yes]: Change condition to
14781         [$(run-built-tests) = no].
14782         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14783         to [$(run-built-tests) = yes].
14784         * elf/Makefile [$(cross-compiling) = no]: Likewise
14785         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14786         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14787         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14788         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14789         * io/Makefile [$(cross-compiling) = no]: Likewise.
14790         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14791         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14792         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14793         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14794         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14795         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14796         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14797         * string/Makefile [$(cross-compiling) = no]: Likewise.
14799         * posix/Makefile ($(objpfx)globtest.out): Pass
14800         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14801         $(rtld-installed-name).
14802         * posix/globtest.sh (elf_objpfx): Remove variable.
14803         (rtld_installed_name): Likewise.
14804         (library_path): Likewise.
14805         (run_program_prefix): New variable.  Use for running globtest
14806         binary.
14808 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14809             Joseph Myers  <joseph@codesourcery.com>
14811         * Makeconfig (host-built-program-cmd): New variable.
14812         * elf/Makefile (tst-stackguard1-ARGS): Use
14813         $(host-built-program-cmd).
14814         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14815         (tst-spawn-ARGS): Likewise.
14816         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14818 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14819             Jim Blandy  <jimb@codesourcery.com>
14821         * Makeconfig (run-via-rtld-prefix): New variable.
14822         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14823         (built-program-cmd): Likewise.
14825 2012-10-22  Andreas Jaeger  <aj@suse.de>
14827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14828         __O_RSYNC if it exists, otherwise to O_SYNC.
14830 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14831             Joseph Myers  <joseph@codesourcery.com>
14833         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14834         /dev/null.
14835         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14836         from /dev/null
14837         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14838         /dev/null.
14840 2012-10-22  Andreas Jaeger  <aj@suse.de>
14842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14843         Define always.
14844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14847         bits/fcntl-linux.h.
14849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14850         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14852         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14853         to __O_LARGEFILE.
14854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14855         to __O_LARGEFILE.
14857 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14858             Joseph Myers  <joseph@codesourcery.com>
14860         * config.make.in (NM): New variable.
14862 2012-10-21  Andreas Jaeger  <aj@suse.de>
14864         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14865         definitions and declarations that are provided by
14866         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14868 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14870         [BZ #14683]
14871         * elf/Makefile (tests-static): Add tst-leaks1-static.
14872         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14873         ($(objpfx)tst-leaks1-static): New rule.
14874         ($(objpfx)tst-leaks1-static-mem): Likewise.
14875         (tst-leaks1-static-ENV): New macro.
14876         * elf/dl-open.c (dl_open_worker): Check the main application
14877         only if SHARED is defined.
14878         * elf/tst-leaks1-static.c: New file.
14880 2012-10-20  Andreas Jaeger  <aj@suse.de>
14882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14883         generic values for Linux.
14884         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14885         and declarations that are provided by <bits/fcntl-linux.h> and
14886         include <bits/fcntl-linux.h>.
14887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14890 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14892         * io/fcntl.h: Move include of <bits/types.h> to the top and
14893         include it unconditionally.
14895 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14897         * wcsmbs/Makefile (tests-ifunc): New variable.
14898         (tests): Add $(tests-ifunc).
14899         * wcsmbs/test-wcschr-ifunc.c: New file.
14900         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14901         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14902         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14903         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14904         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14906         * string/Makefile (tests-ifunc): New variable.
14907         (tests): Add $(tests-ifunc).
14908         * string/test-memccpy.c (TEST_NAME): New macro.
14909         * string/test-memchr.c (TEST_NAME): Likewise.
14910         * string/test-memcmp.c (TEST_NAME): Likewise.
14911         * string/test-memcpy.c (TEST_NAME): Likewise.
14912         * string/test-memmem.c (TEST_NAME): Likewise.
14913         * string/test-memmove.c (TEST_NAME): Likewise.
14914         * string/test-memset.c (TEST_NAME): Likewise.
14915         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14916         * string/test-stpcpy.c (TEST_NAME): Likewise.
14917         * string/test-stpncpy.c (TEST_NAME): Likewise.
14918         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14919         * string/test-strcasestr.c (TEST_NAME): Likewise.
14920         * string/test-strcat.c (TEST_NAME): Likewise.
14921         * string/test-strchr.c (TEST_NAME): Likewise.
14922         * string/test-strcmp.c(TEST_NAME): Likewise.
14923         * string/test-strcpy.c (TEST_NAME): Likewise.
14924         * string/test-strcspn.c (TEST_NAME): Likewise.
14925         * string/test-strlen.c (TEST_NAME): Likewise.
14926         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14927         * string/test-strncmp.c (TEST_NAME): Likewise.
14928         * string/test-strncpy.c (TEST_NAME): Likewise.
14929         * string/test-strnlen.c (TEST_NAME): Likewise.
14930         * string/test-strpbrk.c (TEST_NAME): Likewise.
14931         * string/test-strrchr.c (TEST_NAME): Likewise.
14932         * string/test-strspn.c (TEST_NAME): Likewise.
14933         * string/test-strstr.c (TEST_NAME): Likewise.
14934         * string/test-bcopy-ifunc.c: New file.
14935         * string/test-bzero-ifunc.c: Likewise.
14936         * string/test-memccpy-ifunc.c: Likewise.
14937         * string/test-memchr-ifunc.c: Likewise.
14938         * string/test-memcmp-ifunc.c: Likewise.
14939         * string/test-memcpy-ifunc.c: Likewise.
14940         * string/test-memmem-ifunc.c: Likewise.
14941         * string/test-memmove-ifunc.c: Likewise.
14942         * string/test-mempcpy-ifunc.c: Likewise.
14943         * string/test-memset-ifunc.c: Likewise.
14944         * string/test-rawmemchr-ifunc.c: Likewise.
14945         * string/test-stpcpy-ifunc.c: Likewise.
14946         * string/test-stpncpy-ifunc.c: Likewise.
14947         * string/test-strcasecmp-ifunc.c: Likewise.
14948         * string/test-strcasestr-ifunc.c: Likewise.
14949         * string/test-strcat-ifunc.c: Likewise.
14950         * string/test-strchr-ifunc.c: Likewise.
14951         * string/test-strchrnul-ifunc.c: Likewise.
14952         * string/test-strcmp-ifunc.c: Likewise.
14953         * string/test-strcpy-ifunc.c: Likewise.
14954         * string/test-strcspn-ifunc.c: Likewise.
14955         * string/test-strlen-ifunc.c: Likewise.
14956         * string/test-strncasecmp-ifunc.c: Likewise.
14957         * string/test-strncat-ifunc.c: Likewise.
14958         * string/test-strncmp-ifunc.c: Likewise.
14959         * string/test-strncpy-ifunc.c: Likewise.
14960         * string/test-strnlen-ifunc.c: Likewise.
14961         * string/test-strpbrk-ifunc.c: Likewise.
14962         * string/test-strrchr-ifunc.c: Likewise.
14963         * string/test-strspn-ifunc.c: Likewise.
14964         * string/test-strstr-ifunc.c: Likewise.
14966         * debug/Makefile (tests-ifunc): New variable.
14967         (tests): Add $(tests-ifunc).
14968         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14969         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14970         * debug/test-stpcpy_chk-ifunc.c: New file.
14971         * debug/test-strcpy_chk-ifunc.c: Likewise.
14973 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14975         [BZ #13601]
14976         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14977         header is not read in.
14979 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14981         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14982         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14983         directly.  Pass built executable to script as
14984         $(built-program-cmd).
14985         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14986         $testprogram without using LD_LIBRARY_PATH and $ldso.
14988         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14989         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14990         $(rtld-installed-name).
14991         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14992         (rtld_installed_name): Likewise.
14993         (library_path): Likewise.
14994         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14995         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14996         $(run-program-prefix) to tst-tables.sh.
14997         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14998         it to run tst-table-from and tst-table-to.
14999         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15000         Pass it to tst-table.sh.
15001         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15002         $(run-program-prefix) to tst-gettext.sh.
15003         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15004         tst-translit.sh.
15005         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15006         tst-gettext2.sh.
15007         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
15008         to run tst-gettext.
15009         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
15010         to run tst-gettext2.
15011         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
15012         to run tst-translit.
15013         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15014         $(run-program-prefix) to tst-mtrace.sh.
15015         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
15016         to run tst-mtrace.
15017         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15018         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15019         $(rtld-installed-name).
15020         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15021         (rtld_installed_name): Likewise.
15022         (run_program_prefix): New variable.  Use it to run wordexp-test.
15024         * Makeconfig (ARCH): Remove all definitions.
15025         (machine): Likewise.
15026         [ARCH]: Remove conditional code.
15027         [!objdir]: Give error.
15028         [!objdir] (objpfx): Remove.
15029         [!objdir] (common-objpfx): Likewise.
15030         [!objdir] (common-objdir): Likewise.
15031         * configure.in (config_makefile): Remove.  Hardcode Makefile in
15032         AC_CONFIG_FILES call.
15033         * configure: Regenerated.
15035         [BZ #13888]
15036         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15037         or TMPDIR.
15038         (testout): Likewise.
15040         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15041         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15042         $(rtld-installed-name).
15043         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15044         (rtld_installed_name): Likwise.
15045         (runit): Remove function.
15046         (run_getconf): New variable,  Use it for running getconf binary.
15048 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
15050         [BZ #14716]
15051         * string/test-memmem.c (check_result): New function.
15052         (do_one_test): Use it.
15053         (check1): New function.
15054         (test_main): Use it.
15056 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
15058         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15060 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
15062         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15063         (_G_LSEEK64): Likewise.
15064         (_G_MMAP64): Likewise.
15065         (_G_FSTAT64): Likewise.
15066         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15067         (_G_LSEEK64): Likewise.
15068         (_G_MMAP64): Likewise.
15069         (_G_FSTAT64): Likewise.
15070         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15071         unconditional.  Call __mmap64 directly.
15072         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15073         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
15074         __lseek64 directly.
15075         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15076         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
15077         __mmap64 directly.
15078         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15079         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15080         __lseek64 directly.
15081         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15082         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
15083         __lseek64 directly.
15084         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15085         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
15086         __lseek64 directly.
15087         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15088         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
15089         __fxstat64 directly.
15090         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15091         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15092         unconditional.
15093         (freopen64) [!_G_OPEN64]: Remove conditional code.
15094         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15095         unconditional.
15096         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15097         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15098         unconditional.
15099         (ftello64) [!_G_LSEEK64]: Remove conditional code.
15100         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15101         unconditional.
15102         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15103         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15104         unconditional.
15105         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15106         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15107         unconditional.
15108         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15109         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15110         unconditional.
15111         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15112         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15113         unconditional.
15114         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15116 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15118         [BZ #12140]
15119         * manual/memory.texi (Malloc Tunable Parameters): Add note
15120         about free list pointers overwriting some perturb bytes.
15121         Wording suggested by Roland McGrath.
15123 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
15125         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15126         (lgamma_test): Likewise.
15127         (tgamma_test): Likewise.
15129 2012-10-16  Florian Weimer  <fweimer@redhat.com>
15131         [BZ #14700]
15132         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15133         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15135 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
15137         * NEWS: Mention BZ #14716.
15138         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15139         when removing AVAILABLE1_USES_J macro.
15141 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15143         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15144         (__bswap_64): __uint64_t for unsigned 64-bit int.
15146 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
15148         * include/string.h (memmem): Declare libc hidden alias.
15149         * string/memmem.c (memmem): Define libc hidden alias.
15150         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15151         __read, __close instead of open, read, close.
15153 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
15155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15156         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15157         global and hidden.
15158         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15159         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15160         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15161         Likewise.
15162         (__rawmemchr_sse2): Likewise.
15163         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15164         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15165         (__strchr_sse2): Likewise.
15166         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15167         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15168         (__strcasecmp_sse2): Likewise.
15169         (__strncasecmp_sse2): Likewise.
15170         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15171         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15172         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15173         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15174         (__strrchr_sse2): Likewise.
15175         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15176         ifunc-impl-list.c.
15177         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15178         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15179         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15180         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15181         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15182         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15183         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15184         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15185         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15186         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15187         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15188         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15189         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15190         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15191         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15192         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15193         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15194         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15195         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15196         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15197         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15198         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15199         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15200         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15201         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15202         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15203         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15204         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15205         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15206         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15208         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15209         global and hidden.
15210         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15211         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15212         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15213         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15214         Likewise.
15215         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15216         Likewise.
15217         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15218         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15219         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15220         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15221         ifunc-impl-list.c.
15222         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15223         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15224         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15225         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15226         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15227         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15228         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15229         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15230         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15231         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15232         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15233         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15234         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15235         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15236         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15237         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15238         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15239         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15240         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15241         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15242         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15243         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15244         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15245         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15247         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15248         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15249         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15250         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15251         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15252         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15253         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15254         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15255         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15256         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15257         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15258         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15259         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15260         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15261         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15262         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15264         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15265         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15266         * include/ifunc-impl-list.h: New file.
15267         * misc/ifunc-impl-list.c: Likewise.
15268         * misc/Makefile (routines): Add ifunc-impl-list.
15269         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15270         * string/test-string.h: Include <ifunc-impl-list.h>.
15271         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15272         impl_array): New variables.
15273         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15274         are defined.
15275         (test_init): Call __libc_ifunc_impl_list to initialize
15276         func_list if TEST_IFUNC and TEST_NAME are defined.
15278         * string/Makefile (strop-tests): Add bcopy and bzero.
15279         * string/test-bcopy.c: New file.
15280         * string/test-bzero.c: Likewise.
15281         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15282         defined.
15283         * string/test-memset.c: Support bzero test if TEST_BZERO is
15284         defined.
15285         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15286         __libc_memmove.
15287         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15288         __libc_memset.
15289         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15290         of memset.
15292 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
15294         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15295         * configure: Regenerated.
15297         * Makeconfig (+link-static-before-libc): Don't include
15298         $(link-static-libc).
15300         * libio/libio.h (_IO_pos_t): Remove.
15302 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15304         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
15305         McGrath.
15307 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15309         * crypt/crypt-entry.c: Include fips-private.h.
15310         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15311         * crypt/md5c-test.c (main): Tolerate disabled MD5.
15312         * sysdeps/unix/sysv/linux/fips-private.h: New file.
15313         * sysdeps/generic/fips-private.h: New file, dummy fallback.
15315 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
15317         * crypt/crypt-private.h: Include stdbool.h.
15318         (_ufc_setup_salt_r): Return bool.
15319         * crypt/crypt-entry.c: Include errno.h.
15320         (__crypt_r): Return NULL with EINVAL for bad salt.
15321         * crypt/crypt_util.c (bad_for_salt): New.
15322         (_ufc_setup_salt_r): Check that salt is long enough and within
15323         the specified alphabet.
15324         * crypt/badsalttest.c: New file.
15325         * crypt/Makefile (tests): Add it.
15326         ($(objpfx)badsalttest): New.
15328 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
15330         * NEWS: Add entry for BZ #14602.
15332 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15334         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15335         type-generic.
15336         * math/libm-test.inc: Update comment listing what functions and
15337         macros are tested.
15338         (isgreater_test): New function.
15339         (isgreaterequal_test): Likewise.
15340         (isless_test): Likewise.
15341         (islessequal_test): Likewise.
15342         (islessgreater_test): Likewise.
15343         (isunordered_test): Likewise.
15344         (main): Call the new functions.
15346 2012-10-09  Roland McGrath  <roland@hack.frob.com>
15348         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15349         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15350         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15351         * sysdeps/i386/configure: Regenerated.
15352         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15353         * sysdeps/mach/configure: Regenerated.
15354         * sysdeps/mach/hurd/configure: Regenerated.
15355         * sysdeps/powerpc/configure: Regenerated.
15356         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15357         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15358         * sysdeps/s390/s390-32/configure: Regenerated.
15359         * sysdeps/s390/s390-64/configure: Regenerated.
15360         * sysdeps/sh/configure: Regenerated.
15361         * sysdeps/sparc/configure: Regenerated.
15362         * sysdeps/unix/sysv/linux/configure: Regenerated.
15363         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15364         * sysdeps/x86_64/configure: Regenerated.
15366         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15367         defined.  Don't check if MAP is NULL.
15369 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
15371         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15372         (_G_stat64): Likewise.
15373         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15374         (_G_stat64): Likewise.
15375         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15376         instead of struct _G_stat64.
15377         * libio/fileops.c (mmap_remap_check): Likewise.
15378         (decide_maybe_mmap): Likewise.
15379         (_IO_new_file_seekoff): Likewise.
15380         (_IO_file_stat): Likewise.
15381         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15382         _G_off64_t.
15383         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15384         instead of struct _G_stat64.
15385         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15387 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
15389         [BZ #14602]
15390         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15391         Replace with ...
15392         (CHECK_EOL): New macro.
15393         (two_way_short_needle): Check beginning of haystack for EOL.  Use
15394         CHECK_EOL.
15395         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15396         Replace with CHECK_EOL.
15397         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15398         Replace with CHECK_EOL.
15400 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
15402         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15403         type-generic.
15404         * math/libm-test.inc: Update comment listing what functions and
15405         macros are tested.
15406         (finite_test): New function.
15407         (isinf_test): Likewise.
15408         (isnan_test): Likewise.
15409         (fpclassify_test): Test subnormal input.
15410         (isfinite_test): Likewise.
15411         (isnormal_test): Likewise.
15412         (main): Call the new functions.
15414 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
15416         [BZ #14660]
15417         * Makerules (%.dynsym): Force C locale when running
15418         $(OBJDUMP) --dynamic-syms.
15420 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
15422         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15423         <stdint.h>.
15425 2012-10-06  David S. Miller  <davem@davemloft.net>
15427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15428         upper 32-bits of the length value in %o2 since we use branch-on-register
15429         tests which consider the entire 64-bit register.
15431 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
15433         * string/test-strstr.c (check2): Add a test for page boundary.
15435 2012-10-05  David S. Miller  <davem@davemloft.net>
15437         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15438         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15439         file.
15440         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15441         sysdep_routines.
15442         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15443         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15444         and bzero when HWCAP_SPARC_CRYPTO is present.
15446 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
15448         [BZ #14602]
15449         * string/test-strstr.c (check2): New function.
15450         (test_main): Call check2.
15452         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15453         and bug-strchr1.
15454         * string/bug-strcasestr1.c (do_test): Moved to ...
15455         * string/test-strcasestr.c (check1): Here.  New function.
15456         (do_one_test): Break out result checking code into ...
15457         (check_result): This.  New function.
15458         (do_one_test): Call check_result.
15459         (test_main): Call check1.
15460         * string/bug-strchr1.c (do_test): Moved to ...
15461         * string/test-strchr.c (check1): Here.  New function.
15462         (do_one_test): Break out result checking code into ...
15463         (check_result): This.  New function.
15464         (do_one_test): Call check_result.
15465         (test_main): Call check1.
15466         * string/bug-strstr1.c (main): Moved to ...
15467         * string/test-strstr.c (check1): Here.  New function.
15468         (do_one_test): Break out result checking code into ...
15469         (check_result): This.  New function.
15470         (do_one_test): Call check_result.
15471         (test_main): Call check1.
15472         * string/bug-strcasestr1.c: Removed.
15473         * string/bug-strchr1.c: Likewise.
15474         * string/bug-strstr1.c: Likewise.
15476         * elf/Makefile (dl-routines): Add hwcaps.
15477         * elf/dl-support.c (_dl_important_hwcaps): Removed.
15478         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15479         (_dl_important_hwcaps): Moved to ...
15480         * elf/dl-hwcaps.c: Here.  New file.
15481         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15483         [BZ #14557]
15484         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15485         if IS_IN_rtld isn't defined.
15487         * elf/dl-support.c (_dl_sysinfo_map): New.
15488         Include "get-dynamic-info.h" and "setup-vdso.h".
15489         (_dl_non_dynamic_init): Call setup_vdso.
15490         * elf/dynamic-link.h: Don't include <assert.h>.
15491         (elf_get_dynamic_info): Moved to ...
15492         * elf/get-dynamic-info.h: Here.  New file.
15493         * elf/dynamic-link.h: Include "get-dynamic-info.h".
15494         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15495         * elf/setup-vdso.h: Here.  New file.
15496         * elf/rtld.c: Include "setup-vdso.h".
15497         (dl_main): Call setup_vdso.
15499 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
15501         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15502         creal in comment listing functions tested.  List finite, isinf,
15503         isnan, isless, islessequal, isgreater, isgreaterequal,
15504         islessgreater, isunordered, lgamma_r and pow10 as functions and
15505         macros not tested.  Mention which functions not tested are aliases
15506         for other functions.  Fix typo.  Note that signs of NaNs are not
15507         tested.
15509         * scripts/config.guess: Update from config.git.
15510         * scripts/config.sub: Likewise.
15512 2012-10-04  Roland McGrath  <roland@hack.frob.com>
15514         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15515         * misc/madvise.c (madvise): Renamed to __madvise.
15516         Make madvise a weak alias.
15517         * include/sys/mman.h: Declare __madvise.
15518         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15519         * sysdeps/unix/syscalls.list
15520         (madvise): Make __madvise the strong name, and madvise a weak alias.
15521         * sysdeps/unix/sysv/linux/syscalls.list
15522         (madvise, mmap): Remove redundant entries.
15523         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15524         * malloc/malloc.c (mtrim): Likewise.
15525         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15527 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15529         * sysdeps/mach/hurd/dl-cache.c: File removed.
15530         * config.h.in (USE_LDCONFIG): New #undef.
15531         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15532         * configure: Regenerated.
15533         * elf/Makefile (dl-routines): Add dl-cache only under
15534         [$(use-ldconfig) = yes].
15535         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15536         cache on [USE_LDCONFIG].
15537         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15538         [USE_LDCONFIG].
15539         * elf/rtld.c (dl_main): Likewise.
15541 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
15543         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15544         _SC_LEVEL4_CACHE_LINESIZE.
15546 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15548         * sysdeps/unix/bsd/confstr.h: File removed.
15550 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15552         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15553         sys/sdt-config.h.
15555 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15557         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15558         Make 'mapoff' field ElfW(Off) rather than off_t.
15560 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15562         * nscd/Makefile: Remove nscd-cflags and all its users.
15563         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15564         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15566         [BZ #10631]
15567         * malloc.c (malloc_printerr): Clarify error message.
15569 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15571         [BZ #14648]
15572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15573         Set bit_FMA_Usable if FMA is supported.
15574         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15575         macro.
15576         (bit_FMA4_Usable): Updated.
15577         (index_FMA_Usable): New macro.
15578         (CPUID_FMA): Likewise
15579         (HAS_FMA): Defined with bit_FMA_Usable.
15581 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15583         * bits/types.h (__swblk_t): Type removed.
15584         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15585         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15587         (__SWBLK_T_TYPE): Likewise.
15588         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15589         (__SWBLK_T_TYPE): Likewise.
15590         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15591         (__SWBLK_T_TYPE): Likewise.
15592         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15593         (__SWBLK_T_TYPE): Likewise.
15595 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15596             Honza Horak <hhorak@redhat.com>
15598         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15599         (xdr_mapname): Use YPMAXMAP as maxsize.
15600         (xdr_peername): Use YPMAXPEER as maxsize.
15601         (xdr_keydat): Use YPAXRECORD as maxsize.
15602         (xdr_valdat): Use YPMAXRECORD as maxsize.
15604 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15606         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15608         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15609         * csu/init-first.c: ... here.
15610         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15611         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15612         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15613         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15614         * sysdeps/i386/init-first.c: File removed.
15615         * sysdeps/sh/init-first.c: File removed.
15617 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15619         [BZ #14645]
15620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15621         if x * y might underflow to zero and z is zero.
15622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15623         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15624         * math/libm-test.inc (min_subnorm_value): New variable.
15625         (fma_test): Add more tests.
15626         (fma_test_towardzero): Likewise.
15627         (fma_test_downward): Likewise
15628         (fma_test_upward): Likewise.
15629         (initialize): Set min_subnorm_value.
15631 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15633         [BZ #14638]
15634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15635         0 + 0.
15636         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15637         mode for addition resulting in exact zero.
15638         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15639         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15640         exact 0 + 0.
15641         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15643         * math/libm-test.inc (fma_test): Add more tests.
15644         (fma_test_towardzero): New function.
15645         (fma_test_downward): Likewise.
15646         (fma_test_upward): Likewise.
15647         (main): Call the new functions.
15649 2012-09-28  David S. Miller  <davem@davemloft.net>
15651         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15653 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15655         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15656         instead of SIGALRM.
15658         * sysdeps/gnu/_G_config.h: Moved to ...
15659         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15660         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15661         * sysdeps/generic/_G_config.h: ... here.
15663         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15665         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15667         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15668         Conditionalize target on [libnss_test1.so-version].
15670         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15672         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15673         (elfobjdir): Move out of conditionals.
15675         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15676         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15677         (__nss_lookup_function): Conditionalize label remove_from_tree on
15678         [!DO_STATIC_NSS || SHARED], matching its only use.
15680 2012-09-28  David S. Miller  <davem@davemloft.net>
15682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15683         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15684         file.
15685         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15686         sysdep_routines.
15687         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15688         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15689         when HWCAP_SPARC_CRYPTO is present.
15691 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15693         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15695 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15697         [BZ #6530]
15698         * stdio-common/vfprintf.c (process_string_arg): Revert
15699         2000-07-22 change.
15701 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15703         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15704         for testcase.
15705         * stdio-common/tst-sprintf.c: Include <locale.h>
15706         (main): Test sprintf's handling of incomplete multibyte
15707         characters.
15709 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15711         * elf/dl-runtime.c (VERSYMIDX): Removed.
15712         * elf/dl-version.c (VERSYMIDX): Likewise.
15713         * elf/do-rel.h (VERSYMIDX): Likewise.
15714         (VALIDX): Likewise.
15715         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15716         * elf/rtld.c (VALIDX): Likewise.
15717         (ADDRIDX): Likewise.
15718         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15719         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15720         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15721         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15722         (VALIDX): Likewise.
15723         (ADDRIDX): Likewise.
15725 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15727         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15729 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15731         [BZ #11438]
15732         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15733         to global scope.
15734         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15735         addresses are in the same scope as 192.0.2/24.
15736         * posix/gai.conf: Document new scope table defaults.
15738 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15740         [BZ #5298]
15741         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15742         for ftell.  Compute offsets from write pointers instead.
15743         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15745 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15747         [BZ #14543]
15748         * libio/Makefile (tests): New test case tst-fseek.
15749         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15750         combination works in wide mode.
15751         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15752         state when the external buffer state changes.
15754 2012-09-27  David S. Miller  <davem@davemloft.net>
15756         [BZ #14376]
15757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15758         pass reloc->r_addend in as the 'high' argument to
15759         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15763 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15765         * rt/tst-aio2.c: Include <pthread.h>.
15766         * rt/tst-aio3.c: Likewise.
15768 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15770         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15772 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15774         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15775         contents on [SHARED].
15777 2012-09-26  Marek Polacek  <polacek@redhat.com>
15779         [BZ #14530]
15780         [BZ #13741]
15781         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15782         for C++ and GCC <4.3 as well as for non GCC compilers.
15784 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15788 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15790         * Makefile.in (all, install): Declare with .PHONY.
15791         Reported by Michael Hope <michael.hope@linaro.org>.
15793 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15795         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15796         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15797         system header.
15798         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15799         Likewise.
15800         (sydep_routines): Add the new and the internal functions.
15801         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15802         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15804         (GLIBC_2.17): Add the new function.
15805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15806         (GLIBC_2.17): Likewise.
15807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15808         (GLIBC_2.17): Likewise.
15809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15810         (GLIBC_2.17): Likewise.
15811         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15813 2012-09-25  Alan Modra  <amodra@gmail.com>
15815         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15816         Add release barrier before setting once_control to say
15817         initialisation is done.  Add hints on lwarx.  Use macro in
15818         place of isync.
15819         (clear_once_control): Add release barrier.
15821 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15823         [BZ #13629]
15824         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15825         specially.
15826         * math/s_clog10.c (__clog10): Likewise.
15827         * math/s_clog10f.c (__clog10f): Likewise.
15828         * math/s_clog10l.c (__clog10l): Likewise.
15829         * math/s_clogf.c (__clogf): Likewise.
15830         * math/s_clogl.c (__clogl): Likewise.
15831         * math/Makefile (libm-calls): Add x2y2m1.
15832         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15833         (__x2y2m1): Likewise.
15834         (__x2y2m1l): Likewise.
15835         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15836         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15837         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15838         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15839         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15840         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15841         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15842         * sysdeps/i386/fpu/libm-test-ulps: Update.
15843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15845         [BZ #14621]
15846         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15847         int as type of variable DEPTH.
15848         (glob): Use size_t instead of int as type of variables NEWCOUNT
15849         and OLD_PATHC.
15851 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15853         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15854         Add s_sincosf-sse2.
15855         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15856         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15857         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15858         macros for using routine as __sincosf_ia32.
15859         Use macro for function declaration and weak_alias.
15860         * sysdeps/i386/fpu/libm-test-ulps: Update.
15862         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15865         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15866         subnormal argument.
15867         * math/s_cexpf.c (__cexpf): Likewise.
15868         * math/s_csinf.c (__csinf): Likewise.
15869         * math/s_csinhf.c (__csinhf): Likewise.
15870         * math/s_ctanf.c (__ctanf): Likewise.
15871         * math/s_ctanhf.c (__ctanhf): Likewise.
15872         * math/s_ccosh.c (__ccoshf): Likewise.
15873         * math/s_cexp.c (__cexpl): Likewise.
15874         * math/s_csin.c (__csin): Likewise.
15875         * math/s_csinh.c (__csinh): Likewise.
15876         * math/s_ctan.c (__ctan): Likewise.
15877         * math/s_ctanh.c (ctanh): Likewise.
15878         * math/s_ccoshl.c (__ccoshl): Likewise.
15879         * math/s_cexpl.c (__cexpl): Likewise.
15880         * math/s_csinl.c (__csinl): Likewise.
15881         * math/s_csinhl.c (__csinhl): Likewise.
15882         * math/s_ctanl.c (__ctanl): Likewise.
15883         * math/s_ctanhl.c (__ctanhl): Likewise.
15885 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15887         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15888         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15889         (_IO_off_t): Define to __off_t, not _G_off_t.
15890         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15891         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15892         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15893         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15894         type of __dummy and __dummy2 fields.
15895         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15896         (_G_ssize_t): Likewise.
15897         (_G_off_t): Likewise.
15898         (_G_pid_t): Likewise.
15899         (_G_uid_t): Likewise.
15900         (_G_wchar_t): Likewise.
15901         (_G_wint_t): Likewise.
15902         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15903         (_G_ssize_t): Likewise.
15904         (_G_off_t): Likewise.
15905         (_G_pid_t): Likewise.
15906         (_G_uid_t): Likewise.
15907         (_G_wchar_t): Likewise.
15908         (_G_wint_t): Likewise.
15909         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15910         (_G_ssize_t): Likewise.
15911         (_G_off_t): Likewise.
15912         (_G_pid_t): Likewise.
15913         (_G_uid_t): Likewise.
15914         (_G_wchar_t): Likewise.
15915         (_G_wint_t): Likewise.
15917 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15919         * malloc/arena.c: Include malloc-sysdep.h.
15920         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15921         is sufficient to shrink the heap or an unmap is needed.
15922         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15923         new function check_may_shrink_heap.
15924         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15925         new function check_may_shrink_heap.
15927 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15929         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15930         comments.
15932 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15934         * catgets/test-gencat.sh: Add "set -e".
15935         * elf/tst-pathopt.sh: Likewise.
15936         * grp/tst_fgetgrent.sh: Likewise.
15937         * iconvdata/run-iconv-test.sh: Likewise.
15938         * intl/tst-gettext.sh: Likewise.
15939         * intl/tst-gettext2.sh: Likewise.
15940         * intl/tst-gettext4.sh: Likewise.
15941         * intl/tst-gettext6.sh: Likewise.
15942         * intl/tst-translit.sh: Likewise.
15943         * io/ftwtest-sh: Likewise.
15944         * libio/test-freopen.sh: Likewise.
15945         * malloc/tst-mtrace.sh: Likewise.
15946         * posix/globtest.sh: Likewise.
15947         * posix/tst-getconf.sh: Likewise.
15948         * posix/wordexp-tst.sh: Likewise.
15949         * stdio-common/tst-printf.sh: Likewise.
15950         * stdio-common/tst-unbputc.sh: Likewise.
15951         * stdlib/tst-fmtmsg.sh: Likewise.
15952         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15953         * catgets/Makefile: Do not specify -e option when running
15954         testsuite shell scripts.
15955         * elf/Makefile: Likewise.
15956         * grp/Makefile: Likewise.
15957         * iconvdata/Makefile: Likewise.
15958         * intl/Makefile: Likewise.
15959         * io/Makefile: Likewise.
15960         * libio/Makefile: Likewise.
15961         * malloc/Makefile: Likewise.
15962         * posix/Makefile: Likewise.
15963         * stdio-common/Makefile: Likewise.
15964         * stdlib/Makefile: Likewise.
15965         * sysdeps/x86_64/Makefile: Likewise.
15967         * io/ftwtest-sh: Add copyright header.
15968         * posix/globtest.sh: Likewise.
15969         * posix/tst-getconf.sh: Likewise.
15970         * posix/wordexp-tst.sh: Likewise.
15971         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15973 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15975         [BZ #13679]
15976         * Makeconfig (+link): Defined as $(+link-static) if
15977         $(build-shared) isn't yes.
15978         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15979         isn't yes.
15980         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15982         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15984         [BZ #14562]
15985         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15986         new chunk size with MALLOC_ALIGN_MASK.
15988 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15990         [BZ #5044]
15991         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15992         <rounding-mode.h>.
15993         (__printf_fphex): Determine rounding using get_rounding_mode and
15994         round_away.
15995         * stdio-common/tst-printf-round.c (struct hex_test): New
15996         structure.
15997         (hex_tests): New variable.
15998         (test_hex_in_one_mode): New function.
15999         (do_test): Also run tests for hex float output.
16001 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
16003         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16004         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16005         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16006         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16007         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16008         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16009         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16010         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16012 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
16014         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16015         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16016         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16017         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16019 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
16021         [BZ #14579]
16022         * elf/rtld.c (dl_main): Limit the check for self loading to normal
16023         mode only.
16024         * elf/tst-rtld-load-self.sh: New test.
16025         * elf/Makefile: Run it.
16027 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
16029         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16030         (tst-writev-ENV): Remove.
16031         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16033 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
16035         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16037 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
16039         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16040         unconditional.
16041         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16042         Likewise.
16043         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16044         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16045         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16046         Likewise.
16048 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
16050         [BZ #14587]
16051         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16052         * config.make.in (have-cpp-asm-debuginfo): Removed.
16053         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16054         * configure: Regenerated.
16056 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
16058         [BZ #5044]
16059         * stdio-common/printf_fp.c: Include <stdbool.h> and
16060         <rounding-mode.h>.
16061         (___printf_fp): Determine rounding using get_rounding_mode and
16062         round_away.
16063         * stdio-common/tst-printf-round.c: New file.
16064         * stdio-common/Makefile (tests): Add tst-printf-round.
16065         (link-libm): New variable.
16066         ($(objpfx)tst-printf-round): Depend in $(link-libm).
16068 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
16070         [BZ #14576]
16071         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16072         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16073         Likewise.
16074         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16075         Likewise.
16077 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
16079         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16080         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16081         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16082         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16084 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
16086         [BZ #14518]
16087         * include/rounding-mode.h: New file.
16088         * sysdeps/generic/get-rounding-mode.h: Likewise.
16089         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16090         * stdlib/strtod_l.c: Include <rounding-mode.h>.
16091         (MAX_VALUE): New macro.
16092         (MIN_VALUE): Likewise.
16093         (overflow_value): New function.
16094         (underflow_value): Likewise.
16095         (round_and_return): Use overflow_value and underflow_value to
16096         determine return values in overflow and underflow cases.  Use
16097         round_away to determine rounding depending on rounding mode.
16098         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16099         determine return values in overflow and underflow cases.
16100         * stdlib/tst-strtod-round.c: Include <fenv.h>.
16101         (struct test_results): New structure.
16102         (struct test): Use struct test_results to store expected results
16103         for all rounding modes.
16104         (TEST): Include expected results for all rounding modes.
16105         (test_in_one_mode): New function.
16106         (do_test): Use test_in_one_mode to compute and check results.
16107         Check results for all rounding modes.
16108         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16109         $(link-libm).
16111 2012-12-09  Allan McRae  <allan@archlinux.org>
16113         * sysdeps/i386/fpu/libm-test-ulps: Update
16115 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
16117         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16118         (_G_int32_t): Likewise.
16119         (_G_uint16_t): Likewise.
16120         (_G_uint32_t): Likewise.
16121         (_G_HAVE_BOOL): Likewise.
16122         (_G_HAVE_ATEXIT): Likewise.
16123         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16124         (_G_HAVE_IO_FILE_OPEN): Likewise.
16125         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16126         (_G_int32_t): Likewise.
16127         (_G_uint16_t): Likewise.
16128         (_G_uint32_t): Likewise.
16129         (_G_HAVE_BOOL): Likewise.
16130         (_G_HAVE_ATEXIT): Likewise.
16131         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16132         (_G_HAVE_IO_FILE_OPEN): Likewise.
16133         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16134         (_G_int32_t): Likewise.
16135         (_G_uint16_t): Likewise.
16136         (_G_uint32_t): Likewise.
16137         (_G_HAVE_BOOL): Likewise.
16138         (_G_HAVE_ATEXIT): Likewise.
16139         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16140         (_G_HAVE_IO_FILE_OPEN): Likewise.
16142 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
16144         * csu/libc-tls.c: Update copyright years.
16146 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
16148         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16149         [!_G_USING_THUNKS]: Remove conditional code.
16150         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16151         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16153         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16154         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16155         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16156         (_G_VTABLE_LABEL_PREFIX): Likewise.
16157         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16158         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16159         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16160         (_G_VTABLE_LABEL_PREFIX): Likewise.
16161         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16162         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16163         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16164         (_G_VTABLE_LABEL_PREFIX): Likewise.
16165         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16167 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
16169         * libio/Makefile: Include ../Makeconfig before tests.
16170         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16171         only if $(build-shared) is yes.
16173         * iconv/gconv_db.c: Update copyright years.
16175 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16177         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16178         unwind info if defined PIC. Fix special cases description.
16179         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16181         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16182         DP_HI_MASK entry.
16183         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16185 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
16187         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16189         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16190         is NULL.
16192         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16193         (LDLIBS-tst-chk4): This.
16194         (LDFLAGS-tst-chk5): Renamed to ...
16195         (LDLIBS-tst-chk5): This.
16196         (LDFLAGS-tst-chk6): Renamed to ...
16197         (LDLIBS-tst-chk6): This.
16198         (LDFLAGS-tst-lfschk4): Renamed to ...
16199         (LDLIBS-tst-lfschk4): This.
16200         (LDFLAGS-tst-lfschk5): Renamed to ...
16201         (LDLIBS-tst-lfschk5): This.
16202         (LDFLAGS-tst-lfschk6): Renamed to ...
16203         (LDLIBS-tst-lfschk6): This.
16205         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16206         on $(common-objpfx)soversions.mk.
16208 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
16210         [BZ #10014]
16211         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16212         example host name.
16214 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16216         * malloc/arena.c (arena_get_retry): New function that gets
16217         another arena for the caller to try its request on.
16218         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16219         current arena cannot fulfill the request.
16220         (__libc_memalign): Likewise.
16221         (__libc_memalign): Likewise.
16222         (__libc_pvalloc): Likewise.
16223         (__libc_calloc): Likewise.
16225 2012-09-05  John Tobey  <john.tobey@gmail.com>
16227         [BZ #13542]
16228         * manual/arith.texi (Operations on Complex): Fix description
16229         of carg branch cut.
16231 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16233         [BZ #10014]
16234         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16235         host name.
16237         [BZ #10038]
16238         * manual/memory.texi (Memory): Make order of menu items match
16239         order of sections.
16241 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16243         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16244         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
16245         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16247 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16249         * csu/libc-tls.c (static_dtv): Renamed to ...
16250         (_dl_static_dtv): This.  Make it global.
16251         (_dl_initial_dtv): Removed.
16252         (__libc_setup_tls): Updated.
16253         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16254         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16255         DL_INITIAL_DTV.
16257 2012-09-06  Petr Machata  <pmachata@redhat.com>
16259         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16260         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16261         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16262         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16264 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16266         [BZ #14545]
16267         * csu/libc-tls.c (_dl_initial_dtv): New variable.
16268         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16269         freeing dtv[-1].
16271 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16273         [BZ #14544]
16274         * Makeconfig (link-static-before-libc): Replace $(+prector)
16275         with $(+prectorT).
16276         (link-static-after-libc): Replace $(+postctor) with
16277         $(+postctorT).
16278         (link-bounded): Replace $(+prector)/$(+postctor) with
16279         $(+prectorT)/$(+postctorT).
16280         (+prectorT): New macro.
16281         (+postctorT): Likewise.
16283 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
16285         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16286         (round_str): Handle values above the maximum for IBM long double
16287         as inexact.
16288         * stdlib/tst-strtod-round.c (tests): Regenerated.
16290 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16292         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16293         assembler flag.
16294         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16295         zarch_nohighgprs around the zarch optimized routines.
16296         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16297         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16298         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16299         for zarch.
16301 2012-09-05  David S. Miller  <davem@davemloft.net>
16303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16305         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16306         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16307         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16308         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16309         entries.
16311 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16313         * malloc/arena.c: Fold copyright years.
16314         * malloc/mcheck.c, malloc/memusage.c: Likewise.
16316 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16318         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16320 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16322         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
16324 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16326         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16327         change internal state upon failure.
16329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
16331         * malloc/mcheck.c (mcheck_check_all): Fix typo.
16332         * malloc/memusage.c (mmap): Likewise.
16333         (mmap64, mremap): Likewise.  Adjust name in comment.
16335 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16337         * libio/fileops.c: Fix typos in comments.
16338         * libio/oldfileops.c: Likewise.
16339         * libio/wfileops.c: Likewise.
16341 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16343         [BZ #1349]
16344         * malloc/Makefile (tests): Add tst-malloc-usable test case.
16345         (tst-malloc-usable-ENV): Set environment for test case.
16346         * malloc/hooks.c (malloc_check_get_size): New function to get
16347         requested size.
16348         * malloc/malloc.c (musable): Use malloc_check_get_size.
16349         * malloc/tst-malloc-usable.c: New test case.
16351 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16353         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16355 2012-09-05  Allan McRae  <allan@archlinux.org>
16357         [BZ #13966]
16358         * configure.in (CXX_SYSINCLUDES): Use compiler output to
16359         determine header location.
16360         * configure: Regenerated.
16362 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16364         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16365         float format.
16366         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16367         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16368         format.
16369         (test): Regenerate.
16371 2012-09-04  David S. Miller  <davem@davemloft.net>
16373         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16374         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16375         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16377 2012-09-04  Florian Weimer  <fweimer@redhat.com>
16379         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16380         failures.
16382         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16384 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
16386         [BZ #9914]
16387         * libio/iogetdelim.c: Include <limits.h>.
16388         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16389         + len + 1 would overflow.
16391 2012-09-03  Andreas Jaeger  <aj@suse.de>
16393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16394         * sysdeps/i386/fpu/libm-test-ulps: Update.
16396 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16398         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16399         Add s_sinf-sse2, s_conf-sse2.
16401         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16402         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16403         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16404         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16406         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16407         for using routine as __sinf_ia32.
16408         Use macro for function declaration and weak_alias.
16409         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16410         for using routine as __cosf_ia32.
16411         Use macro for function declaration and weak_alias.
16413         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16414         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16416         * sysdeps/x86_64/fpu/s_sinf.S: New file.
16417         * sysdeps/x86_64/fpu/s_cosf.S: New file.
16418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16420         * math/libm-test.inc (cos_test): Add more test cases.
16421         (sin_test): Likewise.
16422         (sincos_test): Likewise.
16424 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16426         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16427         (IFUNC_RESOLVE): Make pointers to the specialized implementations
16428         hidden.
16429         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16431 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
16433         [BZ #14538]
16434         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16435         first element of the GOT.
16436         (elf_machine_load_address): Return the difference between
16437         the runtime address of _DYNAMIC and elf_machine_dynamic ().
16439 2012-09-01  Allan McRae  <allan@archlinux.org>
16441         [BZ #13412]
16442         * configure.in (AWK): Require gawk version 3.0 or later.
16443         * configure: Regenerated.
16445 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
16447         * sysdeps/unix/sysv/linux/kernel-features.h
16448         (__ASSUME_POSIX_CPU_TIMERS): Remove.
16449         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16450         [__NR_clock_getres]: Make code unconditional.
16451         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16452         (clock_getcpuclockid): Remove code left unreachable by removal of
16453         conditionals.
16454         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16455         code unconditional.
16456         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16457         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16458         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16459         Make code unconditional.
16460         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16461         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16462         * sysdeps/unix/sysv/linux/clock_settime.c
16463         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16464         conditional code.
16465         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16466         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16468 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
16470         [BZ #14476]
16471         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16472         scripts/test-installation.pl.
16474         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16475         and $ld_so_version if it is set.
16477 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16479         [BZ #14516]
16480         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16481         failure if reading from procfs failed.
16482         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16484 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16486         * sysdeps/unix/sysv/linux/kernel-features.h
16487         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16488         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16489         Remove conditional code.
16490         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16491         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16492         Remove conditional code.
16493         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16494         * sysdeps/unix/sysv/linux/i386/fxstat.c
16495         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16496         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16497         * sysdeps/unix/sysv/linux/i386/fxstatat.c
16498         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16499         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16500         * sysdeps/unix/sysv/linux/i386/lxstat.c
16501         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16502         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16503         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16504         Remove conditional code.
16505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16506         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16507         Remove conditional code.
16508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16509         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16510         <kernel-features.h>.
16511         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16512         Remove.
16513         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16514         Remove conditional code.
16515         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16516         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16517         Remove conditional.
16519 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
16521         [BZ #5400]
16522         * NEWS: Add fixed bug number.
16524 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
16526         [BZ #14519]
16527         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16528         underflowing exponent in case of negative sign.
16529         * stdlib/tst-strtod-round-data: Add more tests.
16530         * stdlib/tst-strtod-round.c (tests): Regenerated.
16532         [BZ #3479]
16533         * stdlib/strtod_l.c (NDIG): Remove.
16534         (HEXNDIG): Likewise.
16535         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16536         smallest representable value.
16537         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16538         lie within an exact representation of 1/2 ulp of the result.
16539         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16540         unconditionally.
16541         (TENS_P9_IDX): Define unconditionally.
16542         (TENS_P9_SIZE): Likewise.
16543         (TENS_P10_IDX): Likewise.
16544         (TENS_P10_SIZE): Likewise.
16545         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16546         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16547         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16548         entries for 10^2^13 and 10^2^14.
16549         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16550         (TENS_P13_IDX): Define.
16551         (TENS_P13_SIZE): Likewise.
16552         (TENS_P14_IDX): Likewise.
16553         (TENS_P14_SIZE): Likewise.
16554         (_fpioconst_pow10): Change array size to
16555         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16556         unconditional.
16557         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16558         1024]: Add entries for 10^2^13 and 10^2^14.
16559         [LAST_POW10 > _LAST_POW10]: Remove #error.
16560         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16561         (_fpioconst_pow10): Change array size to
16562         FPIOCONST_POW10_ARRAY_SIZE.
16563         * stdlib/gen-fpioconst.c: New file.
16564         * stdlib/gen-tst-strtod-round.c: Likewise.
16565         * stdlib/tst-strtod-round-data: Likewise.
16566         * stdlib/tst-strtod-round.c: Likewise.
16567         * stdlib/Makefile (tests): Add tst-strtod-round.
16569         [BZ #14459]
16570         * stdlib/strtod_l.c: Include <stdint.h>.
16571         (NDEBUG): Do not define.
16572         (round_and_return): Change EXPONENT parameter to type intmax_t.
16573         Rearrange calculations to avoid internal overflow possibilities.
16574         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16575         Rearrange calculations to avoid internal overflow possibilities.
16576         Assert that number fits inside MPNSIZE limbs.
16577         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16578         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16579         calculations and add assertions to avoid internal overflow
16580         possibilities.  Add casts to avoid signed/unsigned operations.
16581         * stdlib/tst-strtod-overflow.c: New file.
16582         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16584 2012-08-25  Marek Polacek  <polacek@redhat.com>
16586         * time/time.h: Fix some typos in comments.
16588 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16590         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16591         * posix/tst-rfc3484-2.c: Likewise.
16592         * posix/tst-rfc3484-3.c: Likewise.
16594 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16596         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16597         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16599 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16601         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16602         #include of fxstatat64.c.
16604 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16606         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16607         * shadow/getspent_r.c: Likewise.
16608         * shadow/getspnam.c: Likewise.
16609         * shadow/getspnam_r.c: Likewise.
16610         * gshadow/getsgent.c: Likewise.
16611         * gshadow/getsgent_r.c: Likewise.
16612         * gshadow/getsgnam.c: Likewise.
16613         * gshadow/getsgnam_r.c: Likewise.
16614         * inet/getnetbyad.c: Likewise.
16615         * inet/getnetbyad_r.c: Likewise.
16616         * inet/getnetbynm.c: Likewise.
16617         * inet/getnetbynm_r.c: Likewise.
16618         * inet/getnetent.c: Likewise.
16619         * inet/getnetent_r.c: Likewise.
16620         * inet/getproto.c: Likewise.
16621         * inet/getproto_r.c: Likewise.
16622         * inet/getprtent.c: Likewise.
16623         * inet/getprtent_r.c: Likewise.
16624         * inet/getprtname.c: Likewise.
16625         * inet/getprtname_r.c: Likewise.
16626         * inet/getrpcbyname.c: Likewise.
16627         * inet/getrpcbyname_r.c: Likewise.
16628         * inet/getrpcbynumber.c: Likewise.
16629         * inet/getrpcbynumber_r.c: Likewise.
16630         * inet/getrpcent.c: Likewise.
16631         * inet/getrpcent_r.c: Likewise.
16632         * inet/getaliasent.c: Likewise.
16633         * inet/getaliasent_r.c: Likewise.
16634         * inet/getaliasname.c: Likewise.
16635         * inet/getaliasname_r.c: Likewise.
16636         * nscd/getgrgid_r.c: Likewise.
16637         * nscd/getgrnam_r.c: Likewise.
16638         * nscd/gethstbyad_r.c: Likewise.
16639         * nscd/gethstbynm3_r.c: Likewise.
16640         * nscd/getpwnam_r.c: Likewise.
16641         * nscd/getpwuid_r.c: Likewise.
16642         * nscd/getsrvbynm_r.c: Likewise.
16643         * nscd/getsrvbypt_r.c: Likewise.
16644         * nscd/gai.c: Likewise.
16646         * configure.in (build_nscd): New substituted variable, set
16647         by --disable-build-nscd and defaults to $use_nscd.
16648         * configure: Regenerated.
16649         * config.make.in (build-nscd): New substituted variable.
16650         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16651         Change conditional to require [$(build-nscd) = yes] as well.
16652         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16654         [BZ# 13696]
16655         * configure.in (use_nscd): New substituted variable, set by
16656         --disable-nscd.  If enabled, define USE_NSCD.
16657         * configure: Regenerated.
16658         * config.h.in: Add USE_NSCD.
16659         * config.make.in (use-nscd): New substituted variable.
16660         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16661         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16662         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16663         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16664         (CFLAGS-getgrnam_r.c): Likewise.
16665         (CFLAGS-initgroups.c): Likewise.
16666         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16667         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16668         Variables removed.
16669         * inet/getnetgrent_r.c
16670         (nscd_setnetgrent): New function, broken out of ...
16671         (setnetgrent): ... here.  Call it.
16672         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16673         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16674         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16675         * nscd/Makefile (routines, aux): Move definitions after include of
16676         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16677         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16678         Conditionalize on [USE_NSCD].
16679         (is_nscd, nscd_init_cb): Likewise.
16680         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16681         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16682         * nss/nss_db/db-init.c: Likewise.
16683         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16684         [USE_NSCD].
16685         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16686         (make_request): Use it.
16687         (cache_valid_p): New function.
16688         (__check_pf): Use it.
16689         * NEWS: Add item for --disable-nscd.
16691 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16693         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16694         to support sed >= 4.2.1-20-ga9bf076.
16695         * configure: Regenerated.
16697 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16699         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16700         Conditionalize whole body on [IREL].
16702 2012-08-22  Jeff Law <law@redhat.com>
16704         [BZ #14505]
16705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16706         if the family is PF_UNSPEC.
16708 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16710         * Makerules (lib-version): Rename from V.
16711         (install-lib-nosubdir): Change V to lib-version.
16713 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16715         [BZ #14252]
16716         * powerpc32/power6/wcschr.c: New file.
16717         * powerpc32/power6/wcscpy.c: New file.
16718         * powerpc32/power6/wcsrchr.c: New file.
16719         * powerpc64/power6/wcschr.c: New file.
16720         * powerpc64/power6/wcscpy.c: New file.
16721         * powerpc64/power6/wcsrchr.c: New file.
16723 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16725         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16726         (two_way_short_needle): Use it.
16727         * string/strstr.c (AVAILABLE1_USES_J): Define.
16728         * string/strcasestr.c: Likewise.
16730         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16731         array references.
16732         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16734         [BZ #11607]
16735         * NEWS: Add an entry.
16736         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16737         define their defaults.
16738         (two_way_short_needle): Detect end-of-string on-the-fly.
16739         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16740         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16741         * string/bug-strcasestr1.c: New test.
16742         * string/Makefile: Run it.
16744 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16746         [BZ #11607]
16747         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16748         the first character.
16750 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16752         * csu/elf-init.c (__libc_csu_irel): Function removed.
16753         * csu/libc-start.c (apply_irel): New function.
16754         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16756 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16758         * sysdeps/unix/sysv/linux/kernel-features.h
16759         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16760         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16761         <kernel-features.h>.
16762         [__NR_fadvise64_64]: Make code unconditional.
16763         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16764         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16765         !__NR_fadvise64_64)]: Likewise.
16766         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16767         !__NR_fadvise64_64))]: Likewise.
16768         [__NR_fadvise64]: Make code unconditional.
16769         [!__NR_fadvise64]: Remove conditional code.
16770         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16771         <kernel-features.h>.
16772         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16773         unconditional.
16774         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16775         conditional code.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16777         not include <kernel-features.h>.
16778         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16779         unconditional.
16780         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16781         conditional code.
16782         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16783         include <kernel-features.h>.
16784         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16785         unconditional.
16786         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16787         conditional code.
16789 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16791         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16792         slight instruction rearrangements per scrollpipe analysis.
16793         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16795 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16797         * manual/syslog.texi (syslog; vsyslog, closelog):
16798         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16799         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16801         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16802         DSOCAPS to match condition on defining it.
16804 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16806         * sysdeps/unix/sysv/linux/kernel-features.h
16807         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16809         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16810         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16812         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16813         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16815         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16816         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16818         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16819         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16821         * sysdeps/unix/sysv/linux/kernel-features.h
16822         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16823         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16824         unconditional.
16825         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16826         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16827         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16828         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16829         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16830         Make code unconditional.
16831         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16832         (__mmap64) [!__NR_mmap2]: Likewise.
16833         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16834         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16835         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16836         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16837         [__NR_mmap2]: Make code unconditional.
16838         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16839         (__mmap64) [!__NR_mmap2]: Likewise.
16841 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16843         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16845 2012-08-18  Andreas Jaeger  <aj@suse.de>
16847         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16849 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16851         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16852         * include/unistd.h (__have_sock_cloexec): Likewise.
16853         (__have_pipe2): Likewise.
16854         (__have_dup3): Likewise.
16856 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16858         [BZ #9685]
16859         * include/unistd.h (__have_pipe2): Change define into an extern int.
16860         (__have_dup3): Likewise.
16861         * socket/have_sock_cloexec.c: Include fcntl.h.
16862         (__have_pipe2): New variable.
16863         (__have_dup3): Likewise.
16865 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16867         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16869 2012-08-17  Marek Polacek  <polacek@redhat.com>
16871         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16872         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16874 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16876         * configure.in: Add AC_SUBST for sysheaders.
16877         * configure: Regenerated.
16878         * config.make.in (sysheaders): New substituted variable.
16880         * sysdeps/unix/mkfifo.c: Moved ...
16881         * sysdeps/posix/mkfifo.c: ... here.
16882         * sysdeps/unix/mkfifoat.c: Moved ...
16883         * sysdeps/posix/mkfifoat.c: ... here.
16885         * sysdeps/unix/utime.c: Moved ...
16886         * sysdeps/posix/utime.c: ... here.
16888         * sysdeps/unix/time.c: Moved ...
16889         * sysdeps/posix/time.c: ... here.
16890         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16891         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16893         * sysdeps/unix/nice.c: Moved ...
16894         * sysdeps/posix/nice.c: ... here.
16896         * sysdeps/unix/alarm.c: Moved ...
16897         * sysdeps/posix/alarm.c: ... here.
16899         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16901 2012-08-17  Jeff Law <law@redhat.com>
16903         * intl/Makefile (codeset_mo): New variable.
16904         ($(codeset_mo)): New target.
16905         (tst-codeset.out): Depend on that.  Remove explicit rule.
16906         (tst-gettext3.out, tst-gettext5.out): Likewise.
16907         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16908         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16909         * intl/tst-codeset.sh: Remove.
16910         * intl/tst-gettext3.sh: Likewise.
16911         * intl/tst-gettext5.sh: Likewise.
16913 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16915         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16916         * sysdeps/unix/syscalls.list: ... here.
16918         * sysdeps/posix/getaddrinfo.c
16919         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16920         (gaiconf_init, gaiconf_reload): Use them.
16921         [!_STATBUF_ST_NSEC]
16922         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16923         Define using time_t rather than struct timespec.
16925         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16926         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16927         Macros removed.
16928         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16929         [!NO_THREADS].
16930         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16931         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16932         Likewise.
16934         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16935         __libc_cleanup_push argument.
16937         * bits/param.h: New file.
16938         * misc/sys/param.h: New file.
16939         * include/sys/param.h: New file.
16940         * misc/Makefile (headers): Add bits/param.h.
16941         * sysdeps/generic/sys/param.h: File removed.
16942         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16943         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16944         * sysdeps/mach/hurd/bits/param.h: New file.
16945         * sysdeps/mach/hurd/sys/param.h: File removed.
16947         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16948         last change.
16950         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16951         [_IO_MTSAFE_IO].
16952         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16953         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16954         New macros.
16956         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16957         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16958         rather than -D_IO_MTSAFE_IO conditionally.
16959         * stdio-common/Makefile (CPPFLAGS): Likewise.
16960         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16961         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16962         Use $(libio-mtsafe).
16963         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16964         of -D_IO_MTSAFE_IO.
16965         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16966         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16967         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16968         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16969         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16970         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16971         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16972         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16973         (CFLAGS-fread_u_chk.c): Likewise.
16974         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16975         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16976         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16977         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16978         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16979         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16980         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16981         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16982         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16984         * libio/Makefile: Test [$(libc-reentrant) = yes]
16985         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16987         * Makeconfig
16988         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16989         * sysdeps/pthread/configure: File removed.
16990         * sysdeps/pthread/Makeconfig: New file.
16991         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16992         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16994 2012-08-16  Gary Benson  <gbenson@redhat.com>
16996         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16997         unmapping the first object in a namespace.
16999 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17001         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17002         (__internal_setnetgrent): ... this.  Add internal_function to
17003         definition.  Add libc_hidden_def.
17004         (setnetgrent): Update caller.
17005         (internal_endnetgrent): Renamed to ...
17006         (__internal_endnetgrent): ... this.  Add internal_function to
17007         definition.  Add libc_hidden_def.
17008         (endnetgrent): Update caller.
17009         (internal_getnetgrent_r): Renamed to ...
17010         (__internal_getnetgrent_r): ... this.  Add internal_function to
17011         definition.  Add libc_hidden_def.
17012         (__getnetgrent_r): Update caller.
17013         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
17015 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17017         * stdlib/longlong.h: Update from GCC.
17019 2012-08-16  Roland McGrath  <roland@hack.frob.com>
17021         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17022         on _QL, which is set by umul_ppmm but never used.
17023         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17024         variables, which are set by GMP macros but never used.
17025         * stdio-common/_itowa.c (_itowa): Likewise.
17026         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17027         * stdlib/mod_1.c (mpn_mod_1): Likewise.
17029 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
17031         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17032         struct La_sh_regs is not constant.
17033         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17034         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17035         and struct La_sparc64_regs are not constant.
17037 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
17039         * sysdeps/unix/sysv/linux/kernel-features.h
17040         (__ASSUME_POSIX_TIMERS): Remove.
17041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17042         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17043         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17044         Make code unconditional.
17045         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17046         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17047         Make code unconditional.
17048         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17049         * sysdeps/unix/sysv/linux/clock_nanosleep.c
17050         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17051         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17052         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17053         Make code unconditional.
17054         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17055         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17056         (__libc_missing_posix_timers): Remove.
17058 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17060         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17061         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17063         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17065         * elf/dl-sym.c: Include <stdlib.h>.
17067         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17068         constants, which avoids warnings in 32-bit builds.
17070         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17071         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17073         * misc/lseek.c: File moved to ...
17074         * io/lseek.c: ... here.
17076         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17078         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17079         shifting LEN more than 31 bits at once.
17081 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17083         [BZ #14195]
17084         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17085         segmentation fault for a case of two empty input strings.
17086         * string/test-strncasecmp.c (check1): Renamed to...
17087         (bz12205): ...this.
17088         (bz14195): Add new testcase for two empty input strings and N > 0.
17089         (test_main): Call new testcase, adapt for renamed function.
17091 2012-08-15  Andreas Jaeger  <aj@suse.de>
17093         [BZ #14090]
17094         * crypt/md5test2.c: New test, based on test supplied by Serge
17095         Belyshev <belyshev@depni.sinp.msu.ru>.
17096         * crypt/Makefile (xtests): Add md5test-giant..
17097         * crypt/Makefile ($(objpfx)md5test-giant): Add.
17099 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
17101         [BZ #14090]
17102         * crypt/md5.c (md5_process_block): Don't assume the buffer
17103         length is less than 2**32.
17104         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17105         length is less than 2**64.
17107 2012-08-15  Roland McGrath  <roland@hack.frob.com>
17109         * string/str-two-way.h: Include <sys/param.h>.
17110         (MAX): Macro removed.
17112         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17113         Move #define and #undef of memmove to just before and after
17114         including <string.h>.
17116         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17117         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17118         and after including <string.h>.  Move declarations of
17119         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17120         to before #include "string/memmove.c".
17122         * include/dirent.h: Declare __getdirentries.
17124         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17125         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17127 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
17129         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17130         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17131         * sysdeps/i386/configure: Regenerated.
17132         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17133         STABS_CURRENT_FILE, and STABS_FUN.
17134         (END): Remove call to STABS_FUN_END.
17135         (STABS_CURRENT_FILE1): Delete.
17136         (STABS_CURRENT_FILE): Likewise.
17137         (STABS_FUN): Likewise.
17138         (STABS_FUN_END): Likewise.
17139         (STABS_FUN2): Likewise.
17140         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17141         * sysdeps/x86_64/configure: Regenerated.
17143 2012-08-14  Roland McGrath  <roland@hack.frob.com>
17145         * elf/dl-open.c: Include <atomic.h>.
17146         * elf/dl-lookup.c: Likewise.
17148 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
17150         * sysdeps/unix/sysv/linux/kernel-features.h
17151         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17152         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17153         unconditionally.
17154         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17155         unconditionally.
17156         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17157         condition on __ASSUME_CLONE_THREAD_FLAGS.
17159 2012-08-14  Andreas Jaeger  <aj@suse.de>
17161         * sysdeps/i386/fpu/libm-test-ulps: Update.
17163 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
17165         * include/atomic.h (atomic_exchange_and_add): Split into ...
17166         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17167         New atomic macros.
17169 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
17171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17173 2012-08-13  Jeff Law <law@redhat.com>
17175         * manual/stdio.texi (snprintf): Clarify handling of the trailing
17176         null byte in the output string.
17178 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
17180         * sysdeps/unix/sysv/linux/kernel-features.h
17181         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17182         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17183         (__ASSUME_ARG_MAX_STACK_BASED): Define.
17184         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17185         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17186         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
17187         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17189 2012-08-09  Jeff Law <law@redhat.com>
17191         [BZ #13939]
17192         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17193         When avoid_arena is set, don't retry in the that arena.  Pick the
17194         next one, whatever it might be.
17195         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17196         (arena_lock): Pass in new parameter to arena_get2.
17197         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17198         arena_get2.
17199         (__libc_malloc): Unify retrying after main arena failure with
17200         __libc_memalign version.
17201         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17203 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17205         [BZ #14166]
17206         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17207         to __redirect_strstr.
17208         (__strstr_sse42): Use typeof __redirect_strstr.
17209         (__strstr_ia32): Likewise.
17210         (__libc_strstr): New prototype.
17211         (strstr): Renamed to ...
17212         (__libc_strstr): This.
17213         (strstr): New strong alias of __libc_strstr.
17214         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17215         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17216         __redirect_time.
17217         Include <time.h>.
17218         (__libc_time): New prototype.
17219         (time_ifunc): Replace time with __libc_time.
17220         (time): New strong alias and hidden definition of __libc_time.
17221         (__GI_time): Remove strong alias.
17222         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17223         Include <stddef.h>.
17224         (memmove): Redefined to __redirect_memmove.
17225         (__memmove_sse2): Use typeof __redirect_memmove.
17226         (__memmove_ssse3): Likewise.
17227         (__memmove_ssse3_back): Likewise.
17228         (__libc_memmove): New prototype.
17229         (memmove): Renamed to ...
17230         (__libc_memmove): This.
17231         (memmove): New strong alias of __libc_memmove.
17233 2012-08-08  Mark Salter  <msalter@redhat.com>
17235         * elf/elf.h
17236         (R_MN10300_TLS_GD): Define.
17237         (R_MN10300_TLS_LD): Likewise.
17238         (R_MN10300_TLS_LDO): Likewise.
17239         (R_MN10300_TLS_GOTIE): Likewise.
17240         (R_MN10300_TLS_IE): Likewise.
17241         (R_MN10300_TLS_LE): Likewise.
17242         (R_MN10300_TLS_DTPMOD): Likewise.
17243         (R_MN10300_TLS_DTPOFF): Likewise.
17244         (R_MN10300_TLS_TPOFF): Likewise.
17245         (R_MN10300_SYM_DIFF): Likewise.
17246         (R_MN10300_ALIGN): Likewise.
17247         (R_MN10300_NUM): Update.
17249 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
17251         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17252         Remove.
17254 2012-08-08  Roland McGrath  <roland@hack.frob.com>
17256         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17258         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17259         sysdeps/unix -> sysdeps/posix move.
17260         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17262 2012-08-07      Allan McRae     <allan@archlinux.org>
17264         [BZ #14303]
17265         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17266         (SUNOS_CPP): Likewise.
17267         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17268         not found.
17269         (open_input): Call CPP using execvp.
17271 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17273         * sysdeps/unix/sysv/linux/kernel-features.h
17274         (__ASSUME_PROT_GROWSUPDOWN): Remove.
17275         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17276         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17277         (__ASSUME_WAITID_SYSCALL): Likewise.
17278         * sysdeps/unix/sysv/linux/dl-execstack.c
17279         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17280         code unconditional.
17281         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17282         conditional code.
17283         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17284         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17285         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17286         code.
17287         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17288         unconditional.
17289         [__ASSUME_WAITID_SYSCALL]: Likewise.
17290         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17292 2012-08-07  Roland McGrath  <roland@hack.frob.com>
17294         * sysdeps/unix/closedir.c: Renamed to ...
17295         * sysdeps/posix/closedir.c: ... here.
17296         * sysdeps/unix/dirfd.c: Renamed to ...
17297         * sysdeps/posix/dirfd.c: ... here.
17298         * sysdeps/unix/dirstream.h: Renamed to ...
17299         * sysdeps/posix/dirstream.h: ... here.
17300         * sysdeps/unix/fdopendir.c: Renamed to ...
17301         * sysdeps/posix/fdopendir.c: ... here.
17302         * sysdeps/unix/opendir.c: Renamed to ...
17303         * sysdeps/posix/opendir.c: ... here.
17304         * sysdeps/unix/readdir.c: Renamed to ...
17305         * sysdeps/posix/readdir.c: ... here.
17306         * sysdeps/unix/readdir_r.c: Renamed to ...
17307         * sysdeps/posix/readdir_r.c: ... here.
17308         * sysdeps/unix/rewinddir.c: Renamed to ...
17309         * sysdeps/posix/rewinddir.c: ... here.
17310         * sysdeps/unix/seekdir.c: Renamed to ...
17311         * sysdeps/posix/seekdir.c: ... here.
17312         * sysdeps/unix/telldir.c: Renamed to ...
17313         * sysdeps/posix/telldir.c: ... here.
17314         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17315         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17316         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17317         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17319         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17320         * bits/fcntl.h: ... here.
17322         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17323         not 0.
17324         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17325         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17326         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17327         (struct flock): Move l_start, l_len to the beginning.
17328         Use __pid_t for l_pid.
17329         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17330         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17331         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17332         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17333         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17334         [__USE_LARGEFILE64] (struct flock64): New type.
17335         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17337         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17338         * bits/dirent.h: ... here.
17340         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17341         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17343 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
17345         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17346         Change from 2.6.0 to 2.6.16.
17347         * sysdeps/unix/sysv/linux/configure: Regenerated.
17348         * sysdeps/unix/sysv/linux/kernel-features.h
17349         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17350         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17351         version.
17352         (__ASSUME_UTIMES): Likewise.
17353         (__ASSUME_CLONE_STOPPED): Remove.
17354         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17355         architectures, not kernel version.
17356         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17357         (__ASSUME_NO_CLONE_DETACHED): Likewise.
17358         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17359         (__ASSUME_WAITID_SYSCALL): Likewise.
17360         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17361         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17362         * README: State 2.6.16 as minimum Linux kernel version.  Do not
17363         refer to older versions.
17365 2012-08-06  Roland McGrath  <roland@hack.frob.com>
17367         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17368         Define alphasort64 as an alias.
17369         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17370         Define versionsort64 as an alias.
17371         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17372         Define scandir64 as an alias.
17373         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17374         Define scandirat64 as an alias.
17375         * dirent/alphasort64.c (alphasort64):
17376         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17377         * dirent/versionsort64.c: Likewise.
17378         * dirent/scandir64.c: Likewise.
17379         * dirent/scandirat64.c: Likewise.
17380         * sysdeps/wordsize-64/alphasort.c: File removed.
17381         * sysdeps/wordsize-64/alphasort64.c: File removed.
17382         * sysdeps/wordsize-64/scandir.c: File removed.
17383         * sysdeps/wordsize-64/scandir64.c: File removed.
17384         * sysdeps/wordsize-64/scandirat.c: File removed.
17385         * sysdeps/wordsize-64/scandirat64.c: File removed.
17386         * sysdeps/wordsize-64/versionsort.c: File removed.
17387         * sysdeps/wordsize-64/versionsort64.c: File removed.
17388         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17389         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17390         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17391         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17392         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17393         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17394         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17395         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17397         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17398         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17399         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17400         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17401         [defined __arch64__ || defined __sparcv9]
17402         (__INO_T_MATCHES_INO64_T): New macro.
17403         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17404         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17405         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17406         * sysdeps/unix/sysv/linux/bits/dirent.h
17407         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17408         (_DIRENT_MATCHES_DIRENT64): New macro.
17410         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17411         Define lockf64 as an alias.
17412         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17413         Define fseeko64 as an alias.
17414         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17415         Define ftello64 as an alias.
17416         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17417         Define _IO_fgetpos64 and fgetpos64 as aliases.
17418         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17419         Define _IO_fsetpos64 and fsetpos64 as aliases.
17420         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17421         Conditionalize body on this.
17422         * libio/fseeko64.c: Likewise.
17423         * libio/ftello64.c: Likewise.
17424         * libio/iofgetpos64.c: Likewise.
17425         * libio/iofsetpos64.c: Likewise.
17426         * sysdeps/wordsize-64/lockf.c: File removed.
17427         * sysdeps/wordsize-64/lockf64.c: File removed.
17428         * sysdeps/wordsize-64/fseeko.c: File removed.
17429         * sysdeps/wordsize-64/fseeko64.c: File removed.
17430         * sysdeps/wordsize-64/ftello.c: File removed.
17431         * sysdeps/wordsize-64/ftello64.c: File removed.
17432         * sysdeps/wordsize-64/iofgetpos.c: File removed.
17433         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17434         * sysdeps/wordsize-64/iofsetpos.c: File removed.
17435         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17436         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17437         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17438         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17439         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17440         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17441         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17442         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17443         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17444         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17445         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17447         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17448         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17449         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17450         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17451         [defined __arch64__ || defined __sparcv9]
17452         (__OFF_T_MATCHES_OFF64_T): New macro.
17453         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17454         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17455         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17456         (__OFF_T_MATCHES_OFF64_T): New macro.
17458 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17460         * stdlib/secure-getenv.c (__secure_getenv): Replace
17461         GLIBC_2_16 with GLIBC_2_17.
17463 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
17465         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17466         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17468 2012-08-03  David S. Miller  <davem@davemloft.net>
17470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17472 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17474         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17475         Remove.
17476         (__ASSUME_CORRECT_SI_PID): Likewise.
17477         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17478         (__ASSUME_TMPFS_NAME): Likewise.
17479         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17480         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17481         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17482         (HAVE_AUX_SECURE): Make definition unconditional.
17483         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17484         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17486 2012-08-03  Roland McGrath  <roland@hack.frob.com>
17488         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17489         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17490         * sysdeps/mach/hurd/eloop-threshold.h: New file.
17491         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17492         __eloop_threshold instead of SYMLOOP_MAX.
17494         * sysdeps/generic/eloop-threshold.h: New file.
17495         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17496         of MAXSYMLINKS.
17497         * elf/chroot_canon.c (chroot_canon): Likewise.
17499 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
17501         [BZ #13717]
17502         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17503         Change to 2.6.0 everywhere.
17504         * sysdeps/unix/sysv/linux/configure: Regenerated.
17505         * sysdeps/unix/sysv/linux/kernel-features.h
17506         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17507         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17508         kernel versions.
17509         (__ASSUME_POSIX_TIMERS): Define unconditionally.
17510         (__ASSUME_FUTEX_REQUEUE): Remove.
17511         (__ASSUME_STATFS64): Define unconditionally.
17512         (__ASSUME_AT_SECURE): Likewise.
17513         (__ASSUME_CORRECT_SI_PID): Likewise.
17514         (__ASSUME_TGKILL): Define without depending on kernel version for
17515         i386.
17516         (__ASSUME_UTIMES): Likewise.
17517         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17518         kernel version.
17519         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17520         (__ASSUME_TMPFS_NAME): Likewise.
17521         * README: Update reference to Linux kernel versions.
17523 2012-08-02  Marek Polacek  <polacek@redhat.com>
17525         [BZ# 14150]
17526         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
17527         libc_cv_asm_type_prefix with %.
17528         * configure: Regenerated.
17529         * include/libc-symbols.h: Remove comment about
17530         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17531         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17532         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17533         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17534         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17535         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17536         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17537         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17538         * elf/tst-unique2mod1.c: Likewise.
17539         * elf/tst-unique1mod2.c: Likewise.
17540         * elf/tst-unique1mod1.c: Likewise.
17541         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17542         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17543         Replace ASM_TYPE_DIRECTIVE with .type.
17544         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17545         * sysdeps/i386/sysdep.h: Likewise.
17546         * sysdeps/x86_64/sysdep.h: Likewise.
17547         * sysdeps/sh/sysdep.h: Likewise.
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17549         Do not define ASM_TYPE_DIRECTIVE.
17550         * sysdeps/powerpc/sysdep.h: Likewise.
17551         * sysdeps/powerpc/powerpc32/sysdep.h:
17552         Replace ASM_TYPE_DIRECTIVE with .type.
17553         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17554         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17555         * sysdeps/i386/fpu/e_powf.S: Likewise.
17556         * sysdeps/i386/fpu/e_expl.S: Likewise.
17557         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17558         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17559         * sysdeps/i386/fpu/e_pow.S: Likewise.
17560         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17561         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17562         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17563         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17564         * sysdeps/i386/fpu/e_log2.S: Likewise.
17565         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17566         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17567         * sysdeps/i386/fpu/e_powl.S: Likewise.
17568         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17569         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17570         * sysdeps/i386/fpu/e_logl.S: Likewise.
17571         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17572         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17573         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17574         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17575         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17576         * sysdeps/i386/fpu/e_log.S: Likewise.
17577         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17578         * sysdeps/i386/fpu/e_logf.S: Likewise.
17579         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17580         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17581         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17582         * sysdeps/i386/fpu/e_log10.S: Likewise.
17583         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17584         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17585         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17586         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17587         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17588         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17589         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17590         * sysdeps/i386/i686/strtok.S: Likewise.
17591         * sysdeps/i386/i386-mcount.S: Likewise.
17592         * sysdeps/i386/strtok.S: Likewise.
17593         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17594         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17595         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17596         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17597         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17598         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17599         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17600         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17601         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17602         * sysdeps/x86_64/_mcount.S: Likewise.
17603         * sysdeps/x86_64/strtok.S: Likewise.
17604         * sysdeps/sh/_mcount.S: Likewise.
17606 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17608         * libio/iofopen.c: Include <fcntl.h>.
17609         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17610         (_IO_fopen64, fopen64): Define as aliases.
17611         * libio/iofopen64.c: Include <fcntl.h>.
17612         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17613         Conditionalize body on this.
17614         * sysdeps/wordsize-64/iofopen.c: File removed.
17615         * sysdeps/wordsize-64/iofopen64.c: File removed.
17617 2012-08-01  Marek Polacek  <polacek@redhat.com>
17619         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17620         Use dlfcn directly instead of a variable.
17621         (binfmt-subdir): Do not define.
17622         (dlfcn): Likewise.
17624 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17626         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17627         Remove all definitions.
17628         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17629         <kernel-features.h>.
17630         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17631         (miss_F_GETOWN_EX): Remove all definitions.
17632         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17633         macro definition.
17634         [!__ASSUME_FCNTL64]: Remove conditional code.
17635         [__ASSUME_FCNTL64]: Make code unconditional.
17636         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17637         <kernel-features.h>.
17638         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17639         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17640         (lockf64) [__NR_fcntl64]: Make code unconditional.
17641         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17643         * sysdeps/unix/sysv/linux/kernel-features.h
17644         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17645         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17646         Make code unconditional.
17647         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17648         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17650         [__NR_vfork]: Make code unconditional.
17651         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17652         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17654         [__NR_vfork]: Make code unconditional.
17655         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17656         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17658 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17660         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17661         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17663         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17664         Define mkstemp64 as an alias.
17665         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17666         Define mkstemps64 as an alias.
17667         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17668         Define mkostemp64 as an alias.
17669         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17670         Define mkostemps64 as an alias.
17671         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17672         Conditionalize body on this.
17673         * misc/mkostemp64.c: Likewise.
17674         * misc/mkostemps64.c: Likewise.
17675         * misc/mkstemps64.c: Likewise.
17676         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17677         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17678         * sysdeps/wordsize-64/mkostemp.c: File removed.
17679         * sysdeps/wordsize-64/mkstemp.c: File removed.
17680         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17681         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17682         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17683         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17685         [BZ #14138]
17686         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17687         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17688         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17689         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17691         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17692         compat_symbol macros from <shlib-compat.h> rather than the underlying
17693         default_symbol_version and symbol_version macros, so that DEFAULT
17694         lines in shlib-versions are respected.
17695         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17697 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17699         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17700         Declare with warn_unused_result.
17701         (setgid, setregid, setegid, setresgid): Likewise.
17702         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17703         Likewise.
17704         * WUR-REPORT: Remove set*id functions.
17706 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17708         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17710 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17712         [BZ #10191]
17713         * include/sys/socket.h (__libc_accept, __libc_accept4):
17714         Add attribute_hidden.
17715         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17717         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17718         use of PTR_MANGLE.
17719         * inet/getnetgrent_r.c (setup): Likewise.
17721         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17723 2012-07-31  David S. Miller  <davem@davemloft.net>
17725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17727 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17729         [BZ #13629]
17730         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17731         value between 1.0 and 2.0 and smaller part has absolute value less
17732         than 1.0.
17733         * math/s_clog10.c (__clog10): Likewise.
17734         * math/s_clog10f.c (__clog10f): Likewise.
17735         * math/s_clog10l.c (__clog10l): Likewise.
17736         * math/s_clogf.c (__clogf): Likewise.
17737         * math/s_clogl.c (__clogl): Likewise.
17738         * math/libm-test.inc (clog_test): Add more tests.
17739         (clog10_test): Likewise.
17740         * sysdeps/i386/fpu/libm-test-ulps: Update.
17741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17743 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17745         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17746         Exit with zero in case no suitable GID is found, and write a
17747         message to standard error.
17749 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17751         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17752         rather than to 1.
17753         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17754         (MAXPATHLEN): Removed.
17755         (NOGROUP, NODEV): New macros.
17756         (setbit, clrbit, isset, isclr): New macros.
17757         (howmany, roundup, powerof2): New macros.
17758         (DEV_BSIZE): New macro.
17760         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17761         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17763         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17764         definition on [!__NO_LONG_DOUBLE_MATH].
17766         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17767         PTR_MANGLE and PTR_DEMANGLE.
17769         * socket/accept4.c (accept4): Rename to __libc_accept4.
17770         Define accept4 as a weak alias.
17772         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17773         on [_DIRENT_HAVE_D_TYPE].
17774         * io/ftw.c (ftw_dir): Likewise.
17776         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17778         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17780         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17781         Use the BSD numbers rather than the arbitrary ones we had.
17782         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17783         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17784         (SIGXCPU, SIGXFSZ): New macros.
17785         (_NSIG): Now 32.
17787         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17788         initializer on [_LIBC_REENTRANT].
17790         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17791         definitions inside [_POSIX_MAPPED_FILES].
17793         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17795         * dirent/opendir.c: Include <fcntl.h>.
17797         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17798         (__libc_getspecific): Likewise.
17799         (__libc_key_create): Likewise.
17801         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17802         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17803         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17804         (tmpfile64): Define as alias.
17805         * sysdeps/wordsize-64/tmpfile.c: File removed.
17806         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17810         * stdio-common/vfscanf.c: Include <stdbool.h>.
17811         * nss/makedb.c: Likewise.
17812         * stdio-common/_i18n_number.h: Likewise.
17813         * argp/argp-help.c: Likewise.
17814         * posix/wordexp.c: Likewise.
17815         * sysdeps/posix/spawni.c: Likewise.
17816         * nss/nss_files/files-initgroups.c: Likewise.
17817         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17818         * nss/nss_files/files-initgroups.c: Likewise.
17819         * nss/nss_db/db-netgrp.c: Likewise.
17820         * nss/nss_db/db-initgroups.c: Likewise.
17821         * io/fchmodat.c: Include <sys/stat.h>.
17823         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17824         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17826         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17827         [HAVE_MMAP].
17829         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17830         Add multiple inclusion protection.
17832 2012-07-27  David S. Miller  <davem@davemloft.net>
17834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17836 2012-07-27  Gary Benson  <gbenson@redhat.com>
17838         [BZ #14298]
17839         * elf/rtld.c: Include <stap-probe.h>.
17840         (dl_main): Added static probes "init_start" and "init_complete".
17841         * elf/dl-load.c: Include <stap-probe.h>.
17842         (lose): Take new parameter "nsid".
17843         Added static probe "map_failed".
17844         (_dl_map_object_from_fd): Pass namespace id to lose.
17845         Added static probe "map_start".
17846         (open_verify): Pass namespace id to lose.
17847         * elf/dl-open.c: Include <stap-probe.h>.
17848         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17849         and "reloc_complete".
17850         * elf/dl-close.c: Include <stap-probe.h>.
17851         (_dl_close_worker): Added static probes "unmap_start" and
17852         "unmap_complete".
17853         * elf/rtld-debugger-interface.txt: New file documenting the above.
17855 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17857         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17858         rather than a string variable.
17859         * sunrpc/rpc_main.c (h_output): Likewise.
17860         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17862 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17864         * inet/check_native.c: New file.
17866 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17868         [BZ #13629]
17869         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17870         if larger part has absolute value 1.0.
17871         * math/s_clog10.c (__clog10): Likewise.
17872         * math/s_clog10f.c (__clog10f): Likewise.
17873         * math/s_clog10l.c (__clog10l): Likewise.
17874         * math/s_clogf.c (__clogf): Likewise.
17875         * math/s_clogl.c (__clogl): Likewise.
17876         * math/libm-test.inc (clog_test): Add more tests.
17877         (clog10_test): Likewise.
17878         * sysdeps/i386/fpu/libm-test-ulps: Update.
17879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17881         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17882         (pltexit): Likewise.
17883         (La_regs): Likewise.
17884         (La_retval): Likewise.
17885         (int_retval): Likewise.
17886         Update #error for removed macros to refer only to definitions in
17887         tst-audit.h.
17888         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17889         macro.
17890         (pltexit): Likewise.
17891         (La_regs): Likewise.
17892         (La_retval): Likewise.
17893         (int_retval): Likewise.
17894         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17895         macro.
17896         (pltexit): Likewise.
17897         (La_regs): Likewise.
17898         (La_retval): Likewise.
17899         (int_retval): Likewise.
17900         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17901         macro.
17902         (pltexit): Likewise.
17903         (La_regs): Likewise.
17904         (La_retval): Likewise.
17905         (int_retval): Likewise.
17906         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17907         macro.
17908         (pltexit): Likewise.
17909         (La_regs): Likewise.
17910         (La_retval): Likewise.
17911         (int_retval): Likewise.
17912         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17913         macro.
17914         (pltexit): Likewise.
17915         (La_regs): Likewise.
17916         (La_retval): Likewise.
17917         (int_retval): Likewise.
17918         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17919         macro.
17920         (pltexit): Likewise.
17921         (La_regs): Likewise.
17922         (La_retval): Likewise.
17923         (int_retval): Likewise.
17924         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17925         macro definitions in tst-audit.h.
17926         * sysdeps/i386/tst-audit.h: New file.
17927         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17928         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17929         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17930         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17931         * sysdeps/sh/tst-audit.h: Likewise.
17932         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17933         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17934         * sysdeps/x86_64/tst-audit.h: Likewise.
17936 2012-07-26  Andreas Jaeger  <aj@suse.de>
17938         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17939         ptrace.
17941         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17942         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17943         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17944         PTRACE_O_MASK.
17945         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17946         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17947         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17949         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17950         value.
17952         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17953         _sigsys.
17954         (si_call_addr, si_syscall, si_arch): Define new macro.
17955         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17956         _sigsys.
17957         (si_call_addr, si_syscall, si_arch): Define new marcro.
17958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17959         _sigsys.
17960         (si_call_addr, si_syscall, si_arch): Define new macro.
17961         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17962         _sigsys.
17963         (si_call_addr, si_syscall, si_arch): Define new macro.
17965 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17967         [BZ #13717]
17968         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17969         Change to 2.4.21 where previously 2.4.1.
17970         * sysdeps/unix/sysv/linux/configure: Regenerated.
17971         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17972         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17973         Linux kernel version.
17974         (__ASSUME_STD_AUXV): Remove.
17975         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17976         kernel version.
17977         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17978         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17979         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17980         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17981         (__ASSUME_NETLINK_SUPPORT): Likewise.
17982         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17983         (__no_netlink_support): Remove conditional definition.
17984         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17985         Remove.
17986         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17987         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17988         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17989         (if_nameindex_ioctl): Remove.
17990         (if_nameindex_netlink): Do not handle __no_netlink_support.
17991         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17992         code.
17993         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17994         Remove conditional code.
17995         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17996         code.
17997         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17998         unconditional.
17999         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18000         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18001         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18002         Remove.
18003         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18004         [!__ASSUME_STD_AUXV]: Remove conditional code.
18005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18006         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18007         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18009         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18010         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18011         code.
18012         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18014         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18015         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18016         conditional code.
18017         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18019         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18020         code.
18021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18022         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18023         conditional code.
18024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18025         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18026         code unconditional.
18027         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18028         conditional code.
18029         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18030         unconditional.
18031         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18032         conditional code.
18033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18034         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18035         unconditional.
18036         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18037         conditional code.
18038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18039         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18040         code unconditional.
18041         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18042         conditional code.
18043         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18044         unconditional.
18045         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18046         conditional code.
18047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18048         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18049         code unconditional.
18050         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18051         conditional code.
18052         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18053         unconditional.
18054         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18055         conditional code.
18057 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
18059         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18060         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18061         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18062         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18063         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18064         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18065         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18066         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18067         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18068         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18069         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18070         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18071         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18072         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18073         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18074         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18075         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18076         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18077         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18079         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18080         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18081         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18083 2012-07-25  Florian Weimer  <fweimer@redhat.com>
18085         * Versions.def: Add GLIBC_2.17.
18086         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18087         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18088         Introduce __libc_secure_getenv.
18089         * stdlib/Versions (2.17): Add secure_getenv
18090         (GLIBC_PRIVATE): Add __libc_secure_getenv.
18091         * stdlib/secure-getenv.c: Rename __secure_getenv to
18092         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
18093         symbol __secure_getenv for GLIBC_2.0.
18094         * stdlib/tst-secure-getenv.c: New.
18095         * stdlib/Makefile (tests): Add testcase.
18096         * manual/startup.texi (Environment Access): Document
18097         secure_getenv.
18098         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18099         __libc_secure_getenv.
18100         * inet/ruserpass.c (ruserpass): Likewise.
18101         * malloc/mtrace.c (mtrace): Likewise.
18102         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18103         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18104         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18105         * sysdeps/posix/tempname.c: Likewise.  Evaluate
18106         HAVE_SECURE_GETENV.
18107         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18108         __secure_getenv to __libc_secure_getenv.
18109         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18111         Likewise.
18112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18113         Likewise.
18114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18116         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18122 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
18124         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18125         (struct La_i86_retval): Likewise.
18126         (struct La_x86_64_regs): Likewise.
18127         (struct La_x86_64_retval): Likewise.
18128         (struct La_x32_regs): Likewise.
18129         (struct La_x32_retval): Likewise.
18130         (struct La_ppc32_regs): Likewise.
18131         (struct La_ppc32_retval): Likewise.
18132         (struct La_ppc64_regs): Likewise.
18133         (struct La_ppc64_retval): Likewise.
18134         (struct La_sh_regs): Likewise.
18135         (struct La_sh_retval): Likewise.
18136         (struct La_s390_32_regs): Likewise.
18137         (struct La_s390_32_retval): Likewise.
18138         (struct La_s390_64_regs): Likewise.
18139         (struct La_s390_64_retval): Likewise.
18140         (struct La_sparc32_regs): Likewise.
18141         (struct La_sparc32_retval): Likewise.
18142         (struct La_sparc64_regs): Likewise.
18143         (struct La_sparc64_retval): Likewise.
18144         (struct audit_ifaces): Remove architecture-specific pltenter and
18145         pltexit members.
18146         * sysdeps/i386/ldsodefs.h: New file.
18147         * sysdeps/powerpc/ldsodefs.h: Likewise.
18148         * sysdeps/s390/ldsodefs.h: Likewise.
18149         * sysdeps/sh/ldsodefs.h: Likewise.
18150         * sysdeps/sparc/ldsodefs.h: Likewise.
18151         * sysdeps/x86_64/ldsodefs.h: Likewise.
18153 2012-07-25  Marek Polacek  <polacek@redhat.com>
18155         [BZ #6808]
18156         * math/libm-test.inc (yn_test): Add another test.
18157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18158         to ERANGE when the result is +-Inf.
18159         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18161         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18162         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18164 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
18166         * conform/data/time.h-data (NULL): Use macro-constant.  Require
18167         equal to 0.
18168         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
18169         clock_t.
18170         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
18172 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
18174         * configure.in <sysdeps resolving>: Correct printing
18175         Implies_before.
18176         * configure: Regenerate.
18178 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
18180         * math/w_ilogb.c: Include <limits.h>.
18181         * math/w_ilogbl.c: Likewise.
18183 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18185         * manual/lang.texi (__va_copy): Document primarily as ISO C99
18186         va_copy.  Document allowing for unavailable va_copy only as
18187         pre-C99 compatibility.
18188         * manual/string.texi (Copying and Concatenation): Use va_copy
18189         instead of __va_copy in concat example.
18191 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
18193         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18194         (__sendto): Use create_address_port.  Initialize APORT and deallocate
18195         it if not null.
18197         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18198         with O_NOLINK passed to __file_name_lookup.
18200         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18201         with O_NOLINK passed to __file_name_lookup.
18203         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18204         negative N or less than NGIDS.
18206         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18207         type to string_t.  Set ERANGE as errno and return it if NAME is not big
18208         enough.  Use memcpy instead of strncpy.
18210 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
18212         * elf/Makefile (check-data): Remove.
18213         (localplt.data): New vpath directive.
18214         ($(objpfx)check-localplt.out): Use localplt.data from vpath
18215         instead of $(check-data).
18216         * scripts/data/localplt-generic.data: Move to ...
18217         * sysdeps/generic/localplt.data: ... here.
18218         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18219         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18220         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18222         ... here.
18223         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18225         ... here.
18226         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18228         ... here.
18229         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18231         ... here.
18232         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18234         ... here.
18235         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18237         ... here.
18239 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18241         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18242         PPC32 and PPC64 files.
18243         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18244         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18246 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18248         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18249         __makecontext_ret to ...
18250         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18251         ... here and call exit if uc_link is NULL.  New file.
18252         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18253         __makecontext_ret.S.
18254         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18255         __makecontext_ret to ...
18256         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18257         ... here and call exit if uc_link is NULL.  New file.
18258         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18259         __makecontext_ret.S.
18261 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18263         * elf/elf.h (R_390_IRELATIVE): New definition.
18264         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18265         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
18266         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18267         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18268         (elf_machine_lazy_rel): Likewise.
18269         * sysdeps/s390/dl-irel.h: New file.
18270         * sysdeps/s390/s390-64/memcpy.S: New asm code.
18271         * sysdeps/s390/s390-64/memset.S: New asm code.
18272         * sysdeps/s390/s390-64/memcmp.S: New asm code.
18273         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18274         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18275         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18276         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18277         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18278         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18279         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18280         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18281         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18282         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18283         * sysdeps/s390/s390-32/memcpy.S: New asm code.
18284         * sysdeps/s390/s390-32/memset.S: New asm code.
18285         * sysdeps/s390/s390-32/memcmp.S: New asm code.
18287 2012-07-17  Marek Polacek  <polacek@redhat.com>
18289         [BZ #14349]
18290         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18291         * sysdeps/s390/s390-64/configure.in: Likewise.
18292         * sysdeps/sparc/configure.in: Likewise.
18293         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18294         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18295         * sysdeps/i386/configure.in: Likewise.
18296         * sysdeps/x86_64/configure.in: Likewise.
18297         * sysdeps/sh/configure.in: Likewise.
18298         * sysdeps/s390/s390-32/configure: Regenerated.
18299         * sysdeps/s390/s390-64/configure: Likewise.
18300         * sysdeps/x86_64/configure: Likewise.
18301         * sysdeps/sh/configure: Likewise.
18302         * sysdeps/powerpc/powerpc64/configure: Likewise.
18303         * sysdeps/powerpc/powerpc32/configure: Likewise.
18304         * sysdeps/sparc/configure: Likwise.
18305         * sysdeps/i386/configure: Likewise.
18307         * elf/dl-open.c: Comment fixes.
18309 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
18311         * Makefile [CXX] (check-data): Remove.
18312         [CXX] (c++-types.data): New vpath directive.
18313         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18314         vpath.  Do not allow for C++ type data being missing.
18315         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18316         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18317         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18318         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18319         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18320         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18321         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18323         ... here.
18324         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18326         ... here.
18327         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18329         ... here.
18330         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18332         ... here.
18333         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18335         ... here.
18336         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18338         ... here.
18339         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18341         ... here.
18342         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18345         * elf/tls-macros.h (TLS_LE): Move architecture-specific
18346         definitions to architecture-specific files.
18347         (TLS_IE): Likewise.
18348         (TLS_LD): Likewise.
18349         (TLS_GD): Likewise.
18350         * sysdeps/i386/tls-macros.h: New file.
18351         * sysdeps/powerpc/tls-macros.h: Likewise.
18352         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18353         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18354         * sysdeps/sh/tls-macros.h: Likewise.
18355         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18356         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18357         * sysdeps/x86_64/tls-macros.h: Likewise.
18359 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18361         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18362         zero value for regular exit case.
18364         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18365         (__start_context): Preserve zero value for regular exit case.
18367 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
18368             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18370         * manual/setjmp.texi (setcontext): Clarify normal process
18371         termination when uc_link is the null pointer.
18372         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18373         exit call.
18375 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
18377         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18378         preprocessor.  Test for each exception mask separately.
18380 2012-07-16  Andreas Jaeger  <aj@suse.de>
18382         * po/ru.po: Update from translation team.
18384 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
18386         * conform/data/string.h-data (NULL): Use macro-constant.  Require
18387         equal to 0.
18388         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18389         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18390         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18391         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18394 2012-07-13  Andreas Jaeger  <aj@suse.de>
18396         * po/fr.po: Update from translation team.
18398 2012-07-12  Marek Polacek  <polacek@redhat.com>
18400         [BZ #14173]
18401         * math/libm-test.inc (yn_test): Add test for BZ #14173.
18402         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18403         loop condition.
18405 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
18407         [BZ #13717]
18408         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18409         Change to 2.4.1 where previously 2.4.0.
18410         * sysdeps/unix/sysv/linux/configure: Regenerated.
18411         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18412         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18413         version.
18414         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18415         (__ASSUME_AT_CLKTCK): Remove.
18416         (__ASSUME_AT_PAGESIZE): Likewise.
18417         (__ASSUME_AT_XID): Likewise.
18418         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18419         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18420         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18421         unconditionally.
18422         (HAVE_AUX_PAGESIZE): Likewise.
18423         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18424         [__ASSUME_AT_CLKTCK]: Make code unconditional.
18425         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18427 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
18429         [BZ #14307]
18430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18431         the temporary buffer used to invoke __gethostbyname2_r,
18432         __gethostbyaddr_r and gethostbyname4_r to make room for struct
18433         host_data / struct gaih_addrtuple.
18434         * resolv/nss_dns/dns-host.c (global scope): Move definition of
18435         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18436         header file nss/nsswitch.h.
18437         * nss/nsswitch.h (global scope): Add definition of implementation
18438         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18439         resolv/nss_dns/dns-host.c).
18441 2012-07-11  Andreas Jaeger  <aj@suse.de>
18443         * po/fr.po: Update from translation team.
18445         * po/sv.po: Update from translation team
18446         * po/fr.po: Another update from translation team.
18448 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18450         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18451         for subnormals or multiply small sinh result by itself.
18452         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18455 2012-07-11  David S. Miller  <davem@davemloft.net>
18457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18459 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
18461         [BZ #14347]
18462         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18463         (INTERNAL_MARK): Shift it here.
18465 2012-07-10  Marek Polacek  <polacek@redhat.com>
18467         [BZ #14151]
18468         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
18469         libc_cv_asm_global_directive with .globl.
18470         * configure: Regenerated.
18471         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18472         with .globl.
18473         * sysdeps/i386/configure: Regenerated.
18474         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18475         with .globl.
18476         * sysdeps/x86_64/configure: Regenerated.
18477         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18478         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18479         * elf/tst-unique2mod2.c: Likewise.
18480         * elf/tst-unique2mod1.c: Likewise.
18481         * elf/tst-unique1mod2.c: Likewise.
18482         * elf/tst-unique1mod1.c: Likewise.
18483         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18484         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18485         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18486         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18487         * sysdeps/mach/sysdep.h: Likewise.
18488         * sysdeps/i386/sysdep.h: Likewise.
18489         * sysdeps/i386/i386-mcount.S: Likewise.
18490         * sysdeps/x86_64/_mcount.S: Likewise.
18491         * sysdeps/x86_64/sysdep.h: Likewise.
18492         * sysdeps/sh/_mcount.S: Likewise.
18493         * sysdeps/sh/sysdep.h: Likewise.
18494         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18495         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18496         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18497         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18498         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18499         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18500         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18501         * locale/localeinfo.h: Likewise.
18502         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18503         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18505 2012-07-09  Roland McGrath  <roland@hack.frob.com>
18507         [BZ #14336]
18508         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18509         system".
18510         * manual/message.texi (The Uniforum approach): Likewise.
18511         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18512         (glibc iconv Implementation): Likewise.
18514 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
18516         [BZ #14337]
18517         * math/s_clog.c (__clog): Avoid scaling a value down where that
18518         could result in underflow.
18519         * math/s_clog10.c (__clog10): Likewise.
18520         * math/s_clog10f.c (__clog10f): Likewise.
18521         * math/s_clog10l.c (__clog10l): Likewise.
18522         * math/s_clogf.c (__clogf): Likewise.
18523         * math/s_clogl.c (__clogl): Likewise.
18524         * math/libm-test.inc (clog_test): Add more tests.
18525         (clog10_test): Likewise.
18526         * sysdeps/i386/fpu/libm-test-ulps: Update.
18527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18529 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
18531         [BZ #14283]
18532         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18533         by 7 not 8 to examine high bit of fractional part.
18535         [BZ #14042]
18536         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18537         for call to __mcount_internal.
18538         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18539         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18540         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18542 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
18544         [BZ #14154]
18545         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18546         approximation for values within 0x1p-13f of an odd multiple of
18547         pi/4.
18548         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18549         exception.  Add more tests.
18550         * sysdeps/i386/fpu/libm-test-ulps: Update.
18552         [BZ #6778]
18553         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18554         inputs and return -1 for them.  Do not check for +Inf in case not
18555         reachable for +Inf.
18556         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18557         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18558         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18559         and return -1 for them.  Do not check for +Inf in case not
18560         reachable for +Inf.
18561         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18562         define.
18563         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18564         and return -1 for them.  Do not check for +Inf in case not
18565         reachable for +Inf.
18566         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18567         spurious underflow.
18568         * sysdeps/i386/fpu/libm-test-ulps: Update.
18569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18571 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18573         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18575 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18577         [BZ #14157]
18578         [BZ #14331]
18579         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18580         could result in spurious underflow.  Scale down values above
18581         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18582         * math/s_csqrtf.c (__csqrtf): Likewise.
18583         * math/s_csqrtl.c (__csqrtl): Likewise.
18584         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18585         spurious underflow.
18586         * sysdeps/i386/fpu/libm-test-ulps: Update.
18587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18589 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18591         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18592         xopen-msg.sed.
18593         * catgets/xopen-msg.awk: New file.
18594         * catgets/xopen-msg.sed: Removed.
18596         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18597         po2text.sed.
18598         * intl/po2test.awk: New file.
18599         * intl/po2test.sed: Removed.
18601 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18603         [BZ #14328]
18604         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18605         or multiply small sinh result by itself.
18606         * math/s_ctanf.c (__ctanf): Likewise.
18607         * math/s_ctanh.c (__ctanh): Likewise.
18608         * math/s_ctanhf.c (__ctanhf): Likewise.
18609         * math/s_ctanhl.c (__ctanhl): Likewise.
18610         * math/s_ctanl.c (__ctanl): Likewise.
18611         * math/libm-test.inc (ctan_test_tonearest): New function.
18612         (ctan_test_towardzero): Likewise.
18613         (ctan_test_downward): Likewise.
18614         (ctan_test_upward): Likewise.
18615         (ctanh_test_tonearest): Likewise.
18616         (ctanh_test_towardzero): Likewise.
18617         (ctanh_test_downward): Likewise.
18618         (ctanh_test_upward): Likewise.
18619         (main): Call these new functions.
18620         * sysdeps/i386/fpu/libm-test-ulps: Update.
18621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18623 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18625         * .gitignore: Delete /ports entry.
18627 2012-07-03  Andreas Jaeger  <aj@suse.de>
18629         * po/bg.po: Update from translation team.
18630         * po/cs.po: Likewise.
18631         * po/de.po: Likewise.
18632         * po/hr.po: Likewise.
18633         * po/nl.pl: Likewise.
18634         * po/pl.po: Likewise.
18635         * po/vi.po: Likewise.
18637 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18639         * Makeconfig [!+link] (+link-before-libc): New variable.
18640         [!+link] (+link-after-libc): Likewise.
18641         [!+link] (+link-tests): Likewise.
18642         [!+link] (+link): Define in terms of $(+link-before-libc) and
18643         $(+link-after-libc).
18644         [!+link-static] (+link-static-before-libc): New variable.
18645         [!+link-static] (+link-static-after-libc): Likewise.
18646         [!+link-static] (+link-static-tests): Likewise.
18647         [!+link-static] (+link-static): Define in terms of
18648         $(+link-static-before-libc) and $(+link-static-after-libc).
18649         [build-shared] (link-libc-before-gnulib): New variable.
18650         [build-shared] (link-libc-tests): Likewise.
18651         [build-shared] (link-libc): Define in terms of
18652         $(link-libc-before-gnulib).
18653         [!build-shared] (link-libc-tests): New variable.
18654         (link-libc-static-tests): New variable.
18655         [!gnulib] (gnulib-arch): New variable.
18656         [!gnulib] (gnulib-tests): Likewise.
18657         [!gnulib] (static-gnulib-arch): Likewise.
18658         [!gnulib] (static-gnulib-tests): Likewise.
18659         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18660         Define with "=" instead of ":=".
18661         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18662         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18663         * Rules (binaries-all-notests): New variable.
18664         (binaries-all-tests): Likewise.
18665         (binaries-static-notests): Likewise.
18666         (binaries-static-tests): Likewise.
18667         (binaries-all): Define using $(binaries-all-notests) and
18668         $(binaries-all-tests).
18669         (binaries-static): Define using $(binaries-static-notests) and
18670         $(binaries-static-tests).
18671         (binaries-shared-tests): New variable.
18672         (binaries-shared-notests): Likewise.
18673         (binaries-shared): Remove variable.
18674         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18675         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18676         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18677         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18678         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18679         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18680         * elf/Makefile (sln-modules): New variable.
18681         (extra-objs): Add $(sln-modules:=.o).
18682         (ldconfig-modules): Add static-stubs.
18683         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18684         * elf/static-stubs.c: New file.
18686         [BZ #14283]
18687         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18688         by 7 not 8 to examine high bit of fractional part.  Use volatile
18689         variables when splitting into final array of floats if
18690         __FLT_EVAL_METHOD__ != 0.
18691         * math/libm-test.inc (cos_test): Add another test.
18692         (sin_test): Likewise.
18693         * sysdeps/i386/fpu/libm-test-ulps: Update.
18695         [BZ #14273]
18696         * math/libm-test.inc (cosh_test): Add more tests.
18698         * version.h (RELEASE): Set to "development".
18699         (VERSION): Set to "2.16.90".
18701 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18703         * NEWS: Update copyright. Remove last-updated date.
18704         Mention math library bug fixes and timezone data changes.
18705         * README: Mention GNU/Hurd, x32, and HPPA support status.
18707 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18709         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18711 2012-06-27  Andreas Jaeger  <aj@suse.de>
18713         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18715 2012-06-25  Andreas Jaeger  <aj@suse.de>
18717         * sysdeps/s390/fpu/libm-test-ulps: Update.
18719 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18720             Thomas Schwinge  <thomas@codesourcery.com>
18722         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18723         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18725         fanotify_mark.
18727 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18729         * sysdeps/mach/start.c: Remove file.
18730         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18731         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18732         * sysdeps/sh/init-first.c: Likewise.
18734         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18735         registers for frame unwinding purposes, add CFI directives.
18736         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18737         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18738         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18739         Likewise.
18741         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18742         __fortify_fail returning.
18743         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18745         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18746         sysdeps/sh/____longjmp_chk.S.
18747         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18748         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18749         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18750         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18752         * sysdeps/sh/abort-instr.h: New file.
18753         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18754         process in case exit returns.
18756         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18757         initialize the GOT register before use.
18759         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18760         calculation of ARGC > 4.
18762         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18763         meaningful names to some local labels.
18765 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18766             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18768         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18769         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18770         (__arch_compare_and_exchange_val_16_acq): Likewise.
18771         (__arch_compare_and_exchange_val_32_acq): Likewise.
18772         (atomic_exchange_and_add): Fix gUSA sequence.
18773         (atomic_add): Likewise.
18774         (atomic_add_negative): Likewise.
18775         (atomic_add_zero): Likewise.
18776         (atomic_bit_test_set): Likewise.
18778 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18780         [BZ #13579]
18781         * include/link.h (struct link_map): Add l_free_initfini.
18782         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18783         l_initfini.
18784         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18785         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18786         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18787         set.
18789 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18791         * configure.in: Use AC_LANG_SOURCE.
18792         * configure: Regenerate.
18794 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18796         * configure.in (libc_cv_localstatedir): New substituted variable.
18797         * configure: Regenerated.
18798         * config.make.in (localstatedir): New variable, substituted from
18799         libc_cv_localstatedir.
18800         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18801         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18802         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18803         * sysdeps/gnu/configure: Regenerated.
18805 2012-06-21  Jeff Law  <law@redhat.com>
18807         [BZ #14277]
18808         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18809         free.  Simplify list management for _LIBC case.
18811 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18813         [BZ #14273]
18814         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18815         Clear sign bit of 64-bit integer value before comparing against
18816         overflow value.
18818         * sysdeps/mach/configure: Regenerated.
18820 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18822         [BZ #14278]
18823         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18825 2012-06-21  Jeff Law  <law@redhat.com>
18827         [BZ #13882]
18828         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18829         uint16_t for elements in the "seen" array to avoid char overflows.
18830         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18831         * elf/dl-open.c (dl_open_worker): Likewise.
18833 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18835         * scripts/list-sources.sh: Scan PORTS for translations.
18836         * po/libc.pot: Regenerated.
18838 2012-06-21  Andreas Jaeger  <aj@suse.de>
18840         [BZ #12194]
18841         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18842         warning.
18843         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18844         * bits/byteswap-16.h (__bswap_16): Likewise.
18845         * bits/byteswap.h (__bswap_constant_16): Likewise.
18847 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18849         [BZ #14117]
18850         * sysdeps/i386/fpu_control.h: Removed.
18851         * sysdeps/x86_64/fpu_control.h: Moved to ...
18852         * sysdeps/x86/fpu_control.h: Here.
18854         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18855         (_FPU_SETCW): Likewise.
18857 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18859         [BZ #14117]
18860         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18861         * sysdeps/x86/fpu/bits/mathinline.h: This.
18862         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18864         [BZ #14050]
18865         [BZ #14117]
18866         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18867         functions if __x86_64__ is defined.
18869 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18871         * string/endian.h: Add !__ASSEMBLER__ condition for including
18872         conversion interfaces.
18874 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18876         [BZ #14241]
18877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18878         of ABS(x) in calculating zero to negative powers other than odd
18879         integers.
18880         * math/libm-test.inc (pow_test): Add more tests.
18882 2012-06-15  Andreas Jaeger  <aj@suse.de>
18884         * manual/contrib.texi (Contributors): Update entry of Liubov
18885         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18886         Machado Filho.
18888 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18890         * string/string.h: Add __wur to GNU version of strerror_r.
18892 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18894         [BZ #14229]
18895         * string/Makefile (tests): Add tst-strtok_r.
18896         * string/tst-strtok_r.c: New file.
18897         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18898         RAX_LP/RDX_LP on SAVE_PTR.
18900 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18902         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18904 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18906         * libm_test.inc (csqrt_test): Allow more spurious underflow
18907         exceptions.
18908         (j0_test): Likewise.
18909         (j1_test): Likewise.
18910         (y0_test): Likewise.
18911         (y1_test): Likewise.
18913 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18915         * po/Makefile (libc.pot): Use UTF-8 charset.
18917 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18919         [BZ #14210]
18920         Suppress sign-conversion warning from FD_SET.
18921         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18922         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18923         not unsigned long int.
18924         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18926 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18928         [BZ #14050]
18929         [BZ #14117]
18930         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18931         __extern_always_inline instead of __extern_inline.
18932         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18933         (__signbit): Likewise.
18934         (__signbitl): Support C++ namespace.
18935         (lrintf): New inline function.
18936         (lrint): Likewise.
18937         (llrintf): Likewise.
18938         (llrint): Likewise.
18939         (fmaxf): Likewise.
18940         (fmax): Likewise.
18941         (fminf): Likewise.
18942         (fmin): Likewise.
18943         (rint): Likewise.
18944         (rintf): Likewise.
18945         (ceil): Likewise.
18946         (ceilf): Likewise.
18947         (floor): Likewise.
18948         (floorf): Likewise.
18949         (nearbyint): Likewise.
18950         (nearbyintf): Likewise.
18952 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18955         non-default versions.
18957 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18959         [BZ #14218]
18960         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18962 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18964         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18965         (FE_UPWARD, FE_DOWNWARD): Don't define.
18966         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18967         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18969         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18970         reading it.
18971         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18972         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18974 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18976         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18977         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18978         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18979         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18981 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18983         [BZ #14117]
18984         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18985         * sysdeps/i386/fpu/Implies: New file.
18986         * sysdeps/x86_64/fpu/Implies: Likewise.
18987         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18988         * sysdeps/x86/fpu/bits/fenv.h: This.
18990         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18991         __SSE_MATH__.
18993 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18995         [BZ #14134]
18996         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18997         character 0xffff that matches the last element of the
18998         conversion table.
19000 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19002         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19003         fmodl commit.
19005 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19008         values higher than 25.6283.
19010 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19013         subnormal exponent extraction and add some __builtin_expect.
19014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19015         Fix for subnormal mantissa calculation.
19017 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
19019         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19020         cpu2 is -1 and errno is not ENOSYS.
19022 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
19024         [BZ #14117]
19025         * sysdeps/i386/i486/bits/string.h: Renamed to ...
19026         * sysdeps/x86/bits/string.h: This.
19027         * sysdeps/x86_64/bits/string.h: Removed.
19029         * sysdeps/i386/i486/bits/string.h: Define inline functions only
19030         if not compiling for x86-64, but compiling for >= i486.
19032         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19033         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19035         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19036         New macro from Linux kernel 3.4.0.
19037         (FP_XSTATE_MAGIC2): Likewise.
19038         (FP_XSTATE_MAGIC2_SIZE): Likewise.
19039         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19040         (struct _fpx_sw_bytes): New struct.
19041         (struct _xsave_hdr): Likewise.
19042         (struct _ymmh_state): Likewise.
19043         (struct _xstate): Likewise.
19045         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19046         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19047         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19048         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19049         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19050         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19052         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19053         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19054         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19055         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19056         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19057         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19059 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19061         [BZ #13743]
19062         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19063         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19064         (sysdep_headers): Include sys/platform/ppc.h.
19065         * sysdeps/powerpc/test-gettimebase.c: Test for
19066         __ppc_get_timebase() to catch future ISA opcode/insn changes.
19067         * manual/Makefile (appendices): Include platform.texi.
19068         * manual/contrib.texi (Contributors): Update @node pointers.
19069         * manual/maint.texi (Maintenance): Likewise.
19070         (Platform): New node.
19071         * manual/platform.texi: New file.  Document the new features.
19073 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19074             Jakub Jelinek  <jakub@redhat.com>
19076         [BZ #14188]
19077         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19078         where __builtin_expect is unavailable.
19080 2012-06-03  David S. Miller  <davem@davemloft.net>
19082         * stdlib/longlong.h: Updated from GCC.
19084 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
19086         [BZ #14042]
19087         * sysdeps/powerpc/powerpc32/mcount.c: New file.
19088         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19089         __mcount_internal.
19090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19091         (GLIBC_2.16): Likewise.
19093 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19095         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19097 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19100         (default-abi): New variable.
19101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19102         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19103         variable.
19104         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19105         Likewise.
19106         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19107         Likewise.
19108         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19109         Likewise.
19111         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19112         definition.  Document in comment.
19114 2012-06-01  David S. Miller  <davem@davemloft.net>
19116         * stdlib/longlong.h: Updated from GCC.
19118 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19120         [BZ #14117]
19121         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19122         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19123         sys/debugreg.h sys/io.h here.
19124         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19125         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19126         sys/io.h.
19127         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19128         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19129         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19130         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19131         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19132         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19134         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19135         Define only if __x86_64__ is defined.
19137 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
19139         [BZ #14048]
19140         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19141         Use int64_t for variable i.
19142         * math/libm-test.inc (fmod_test): Add more tests.
19144         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19145         z computation is not scheduled after fetestexcept.
19146         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19147         Use math_force_eval instead of asm to ensure calculation scheduled
19148         before exception test.
19149         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19150         Ensure a1 + u.d computation is not scheduled after fetestexcept.
19152 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
19154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19155         computation is not scheduled after fetestexcept.
19157 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
19159         [BZ #14117]
19160         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19161         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19163 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19165         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19166         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19168 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19170         [BZ #14117]
19171         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19172         <bits/wordsize.h>.
19173         (__WCHAR_MIN): Support __WORDSIZE == 64.
19174         (__WCHAR_MAX): Likewise.
19176         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19177         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19179         [BZ #14183]
19180         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19181         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19183         [BZ #14117]
19184         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19185         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19187         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19188         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19190         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19191         Defined to 1 if __x86_64__ isn't defined.
19192         (_STAT_VER_LINUX_OLD): New.
19193         (st_atime): Remove duplicate.
19194         (st_mtime): Likewise.
19195         (st_ctime): Likewise.
19197 2012-05-31  David S. Miller  <davem@davemloft.net>
19199         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19200         entries.
19202 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
19204         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19205         gen-libm-test.pl.
19207         [BZ #14132]
19208         * elf/dl-reloc.c: Include <_itoa.h>.
19209         (_dl_reloc_bad_type): Remove use of INTUSE.
19210         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19211         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19212         * stdio-common/psiginfo.c (psiginfo): Likewise.
19213         * stdio-common/psignal.c (psignal): Likewise.
19214         * string/strsignal.c (strsignal): Likewise.
19215         * include/signal.h (_sys_siglist): Declare hidden proto.
19216         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
19217         INTVARDEF with libc_hidden_data_def.
19218         * stdio-common/itoa-udigits.c: Likewise.
19219         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19220         (_itoa_lower_digits_internal): Remove declaration.
19221         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19222         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19223         (_sys_sigabbrev_internal): Remove aliases.
19224         (_sys_siglist): Define hidden alias.
19226 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
19228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19229         bits/sysctl.h.
19231 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
19233         [BZ #14117]
19234         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19235         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19237         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19238         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19239         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19240         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19241         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19242         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19244         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19245         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19246         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19248         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19249         with __addr.
19250         (insw): Likewise.
19251         (insl): Likewise.
19252         (outsb): Likewise.
19253         (outsw): Likewise.
19254         (outsl): Likewise.
19256         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19257         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19258         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19260         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19261         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19263         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19264         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19265         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19267         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19268         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19270         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19271         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19273         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19274         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19275         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19277         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19278         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19279         to ...
19280         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19282         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19283         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19284         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19286         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19287         for x86-64.
19288         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19290 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
19292         * math/math.h (M_El): Use two more decimal places.
19293         (M_LOG2El): Likewise.
19294         (M_LOG10El): Likewise.
19295         (M_LN2l): Likewise.
19296         (M_LN10l): Likewise.
19297         (M_PIl): Likewise.
19298         (M_PI_2l): Likewise.
19299         (M_PI_4l): Likewise.
19300         (M_1_PIl): Likewise.
19301         (M_2_PIl): Likewise.
19302         (M_2_SQRTPIl): Likewise.
19303         (M_SQRT2l): Likewise.
19304         (M_SQRT1_2l): Likewise.
19306 2012-05-31  David S. Miller  <davem@davemloft.net>
19308         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19309         values between float registers.
19310         * sysdeps/sparc/sparc64/memset.S: Likewise.
19311         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19313 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
19315         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19316         -D_FORTIFY_SOURCE=1.
19317         (CPPFLAGS-tst-longjmp_chk.c): Define.
19318         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19319         (CPPFLAGS-tst-longjmp_chk2.c): Define.
19320         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19321         CFLAGS-tst-wchar-h.c.
19323 2012-05-31  Marek Polacek  <polacek@redhat.com>
19325         [BZ #14132]
19326         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19327         __endmntent_internal): Remove declaration.
19328         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19329         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19330         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19332 2012-05-30  David S. Miller  <davem@davemloft.net>
19334         * sysdeps/sparc/sparc32/soft-fp/q_util.c
19335         (___Q_simulate_exceptions): Use real FP ops rather than writing
19336         into the %fsr.
19337         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19338         Likewise.
19340 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19342         [BZ #14117]
19343         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19344         * sysdeps/x86/bits/xtitypes.h: This.
19346         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19347         * sysdeps/x86/bits/wordsize.h: This.
19349         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19350         * sysdeps/x86/bits/huge_vall.h: This.
19352         * sysdeps/i386/bits/select.h: Removed.
19353         * sysdeps/x86_64/bits/select.h: Renamed to ...
19354         * sysdeps/x86/bits/select.h: This.
19356         * sysdeps/i386/bits/setjmp.h: Removed.
19357         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19358         * sysdeps/x86/bits/setjmp.h: This.
19360         * sysdeps/i386/bits/mathdef.h: Removed.
19361         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19362         * sysdeps/x86/bits/mathdef.h: This.
19364 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
19366         [BZ #14132]
19367         * include/sys/socket.h (__connect_internal)
19368         (__libc_sa_len_internal): Remove declaration.
19369         (__connect, __libc_sa_len): Declare hidden_proto.
19370         (SA_LEN): Remove use of INTUSE.
19371         * socket/connect.c: Add libc_hidden_def.
19372         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19373         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19374         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19375         alias.
19376         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19378         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19379         of adding _internal alias.
19381 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19383         [BZ #14117]
19384         * sysdeps/i386/bits/link.h: Removed.
19385         * sysdeps/i386/bits/linkmap.h: Likewise.
19386         * sysdeps/x86_64/bits/link.h: Renamed to ...
19387         * sysdeps/x86/bits/link.h: This.
19388         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19389         * sysdeps/x86/bits/linkmap.h: This.
19391         * sysdeps/i386/bits/endian.h: Removed.
19392         * sysdeps/x86_64/bits/endian.h: Renamed to ...
19393         * sysdeps/x86/bits/endian.h: This.
19395         * sysdeps/i386/bits/byteswap.h: Removed.
19396         * sysdeps/i386/bits/byteswap-16.h: Likewise.
19397         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19398         * sysdeps/x86/bits/byteswap.h: This.
19399         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19400         * sysdeps/x86/bits/byteswap-16.h: This.
19401         * sysdeps/i386/Implies: Add x86.
19402         * sysdeps/x86_64/Implies: Likewise.
19404 2012-05-30  David S. Miller  <davem@davemloft.net>
19406         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19407         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19408         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19409         (FP_TRAPPING_EXCEPTIONS): Define.
19410         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19411         (FP_TRAPPING_EXCEPTIONS): Define.
19412         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19413         subnormals only when inexact has been signalled or underflow
19414         exceptions are enabled.
19415         (_FP_PACK_CANONICAL): Likewise.
19417 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19419         [BZ #14183]
19420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19421         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19423 2012-05-30  Richard Henderson  <rth@twiddle.net>
19425         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19426         with #ifndef NOT_IN_libc.
19428         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
19429         marked to avoid plt entry.
19431 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
19433         [BZ #14112]
19434         * Makeconfig (default-abi): New macro.
19435         (abi-includes): Likewise.
19436         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
19437         $(abi-$(default-abi)-lib-soname) for soname if defined.
19438         ($(common-objpfx)gnu/lib-names.stmp): Generate from
19439         abi-variants.
19440         * Makefile (installed-stubs): Likewise.
19441         * include/stubs-biarch.h: Removed.
19442         * scripts/lib-names.awk: Only handle one library at a time.
19443         * scripts/soversions.awk: Remove WORDSIZE support.
19444         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19445         entries.
19446         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19447         Removed.
19448         (syscall-list-default-condition): Likewise.
19449         (syscall-list-default-condition): Likewise.
19450         (syscall-list-includes): Likewise.
19451         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19452         syscall-list-* with abi-*.  Handle undefined abi-variants.
19453         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19454         * sysdeps/unix/sysv/linux/i386/Implies: New file.
19455         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19456         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19457         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19458         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19459         Removed.
19460         (syscall-list-32-options): Likewise.
19461         (syscall-list-32-condition): Likewise.
19462         (syscall-list-64-options): Likewise.
19463         (syscall-list-64-condition): Likewise.
19464         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19465         macro.
19466         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19467         Renamed to ...
19468         (abi-*): This.
19469         (abi-64-ld-soname): New macro.
19470         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19471         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19472         Renamed to ...
19473         (abi-*): This.
19474         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19475         * sysdeps/x86_64/x32/shlib-versions: Likewise.
19477 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
19479         * sysdeps/unix/sysv/linux/kernel-features.h
19480         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19481         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19482         include <kernel-features.h>.
19483         [!__NR_ftruncate64]: Remove conditional code.
19484         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19485         [__NR_ftruncate64]: Make code unconditional.
19486         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19487         * sysdeps/unix/sysv/linux/truncate64.c: Do not
19488         include <kernel-features.h>.
19489         [!__NR_ftruncate64]: Remove conditional code.
19490         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19491         [__NR_ftruncate64]: Make code unconditional.
19492         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19494         include <kernel-features.h>.
19495         [!__NR_ftruncate64]: Remove conditional code.
19496         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19497         [__NR_ftruncate64]: Make code unconditional.
19498         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19500         include <kernel-features.h>.
19501         [!__NR_ftruncate64]: Remove conditional code.
19502         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19503         [__NR_ftruncate64]: Make code unconditional.
19504         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19506         * configure.in (libc_cv_fpie): Weaken to a compile test using
19507         LIBC_TRY_CC_OPTION.
19508         * configure: Regenerated.
19510 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19516         Refreshed.
19517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19523         Refreshed.
19525 2012-05-27  David S. Miller  <davem@davemloft.net>
19527         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19528         (___Q_zero): New.
19529         (__Q_simulate_exceptions): Return void.  Change to simulate
19530         exceptions by writing into the %fsr.
19531         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19532         (__Qp_handle_exceptions): Likewise.
19533         (numbers): Delete.
19534         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19535         __Qp_handle_exceptions.
19536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19537         __Qp_handle_exceptions.
19538         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19539         as unused and give dummy FP_RND_NEAREST initializer.
19540         (FP_INHIBIT_RESULTS): Define.
19541         (___Q_simulate_exceptions): Update declaration.
19542         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19543         formatting.
19544         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19545         as unused and give dummy FP_RND_NEAREST initializer.
19546         (__Qp_handle_exceptions): Update declaration.
19547         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19548         formatting.
19550 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19552         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19553         the temporary FPU control word.
19554         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19555         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19556         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19557         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19558         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19559         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19560         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19562         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19563         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19564         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19566 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19568         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19569         fields.
19571 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19573         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19574         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19575         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19576         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19577         Likewise.
19578         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19579         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19580         Likewise.
19582 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19584         * po/h.po: Update from translation team.
19586 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19588         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19590         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19591         handling of denormals.
19592         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19593         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19594         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19595         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19596         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19599         Likewise.
19601 2012-05-26  Marek Polacek  <polacek@redhat.com>
19603         [BZ #14152]
19604         * math/libm-test.inc (fma_test): Don't always expect underflow
19605         exception.
19607 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19609         [BZ #12416]
19610         * elf/tst-execstack.c: Include stackinfo.h.
19611         (do_test): Adjust test case to ensure that pthread_getattr_np
19612         behaviour remains the same after marking stack executable.
19614 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19616         * sysdeps/unix/sysv/linux/kernel-features.h
19617         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19618         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19619         kernel-features.h.
19620         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19621         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19622         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19623         kernel-features.h.
19624         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19625         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19627 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19629         * configure.in: Define the default includes to being none.
19630         * configure: Regenerated.
19632 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19634         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19635         * sysdeps/x86_64/setjmp.S: Likewise.
19636         * sysdeps/i386/bsd-setjmp.S: Likewise.
19637         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19638         * sysdeps/i386/setjmp.S: Likewise.
19639         * sysdeps/i386/__longjmp.S: Likewise.
19640         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19641         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19643         * include/stap-probe.h: New file.
19644         * configure.in: Handle --enable-systemtap.
19645         * configure: Regenerated.
19646         * config.h.in (USE_STAP_PROBE): New #undef.
19647         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19648         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19649         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19651 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19653         [BZ #13717]
19654         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19655         to 2.4.0 where earlier.
19656         * sysdeps/unix/sysv/linux/configure: Regenerated.
19657         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19658         <kernel-features.h>.
19659         [__ASSUME_32BITUIDS]: Make code unconditional.
19660         [!__ASSUME_32BITUIDS]: Remove conditional code.
19661         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19662         <kernel-features.h>.
19663         [__ASSUME_32BITUIDS]: Make code unconditional.
19664         [!__ASSUME_32BITUIDS]: Remove conditional code.
19665         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19666         [__ASSUME_32BITUIDS]: Make code unconditional.
19667         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19668         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/i386/semctl.c: Do not include
19705         <kernel-features.h>.
19706         [__ASSUME_32BITUIDS]: Make code unconditional.
19707         [!__ASSUME_32BITUIDS]: Remove conditional code.
19708         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19709         <kernel-features.h>.
19710         [__NR_setresgid] (__setresgid): Do not declare.
19711         [__ASSUME_32BITUIDS]: Make code unconditional.
19712         [!__ASSUME_32BITUIDS]: Remove conditional code.
19713         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19714         <kernel-features.h>.
19715         [__NR_setresuid] (__setresuid): Do not declare.
19716         [__ASSUME_32BITUIDS]: Make code unconditional.
19717         [!__ASSUME_32BITUIDS]: Remove conditional code.
19718         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19719         <kernel-features.h>.
19720         [__ASSUME_32BITUIDS]: Make code unconditional.
19721         [!__ASSUME_32BITUIDS]: Remove conditional code.
19722         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19723         <kernel-features.h>.
19724         [__ASSUME_32BITUIDS]: Make code unconditional.
19725         [!__ASSUME_32BITUIDS]: Remove conditional code.
19726         * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.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/i386/setregid.c: Do not include
19735         <kernel-features.h>.
19736         [__ASSUME_32BITUIDS]: Make code unconditional.
19737         [!__ASSUME_32BITUIDS]: Remove conditional code.
19738         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19739         <kernel-features.h>.
19740         [__ASSUME_32BITUIDS]: Make code unconditional.
19741         [!__ASSUME_32BITUIDS]: Remove conditional code.
19742         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19743         <kernel-features.h>.
19744         [__ASSUME_32BITUIDS]: Make code unconditional.
19745         [!__ASSUME_32BITUIDS]: Remove conditional code.
19746         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19747         <kernel-features.h>.
19748         [__ASSUME_32BITUIDS]: Make code unconditional.
19749         [!__ASSUME_32BITUIDS]: Remove conditional code.
19750         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19751         <kernel-features.h>.
19752         [__ASSUME_32BITUIDS]: Make code unconditional.
19753         [!__ASSUME_32BITUIDS]: Remove conditional code.
19754         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19755         <kernel-features.h>.
19756         [__ASSUME_32BITUIDS]: Make code unconditional.
19757         [!__ASSUME_32BITUIDS]: Remove conditional code.
19758         * sysdeps/unix/sysv/linux/kernel-features.h
19759         (__ASSUME_SETRESUID_SYSCALL): Remove.
19760         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19761         (__ASSUME_32BITUIDS): Likewise.
19762         (__ASSUME_LDT_WORKS): Likewise.
19763         (__ASSUME_O_DIRECTORY): Likewise.
19764         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19765         architecture but not kernel version.
19766         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19767         (__ASSUME_MMAP2_SYSCALL): Likewise.
19768         (__ASSUME_STAT64_SYSCALL): Likewise.
19769         (__ASSUME_IPC64): Likewise.
19770         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19771         <kernel-features.h>.
19772         [__ASSUME_32BITUIDS]: Make code unconditional.
19773         [!__ASSUME_32BITUIDS]: Remove conditional code.
19774         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19775         <kernel-features.h>.
19776         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19777         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19778         132096]: Remove conditional code.
19779         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19780         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19781         <kernel-features.h>.
19782         [__ASSUME_32BITUIDS]: Make code unconditional.
19783         [!__ASSUME_32BITUIDS]: Remove conditional code.
19784         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19785         <kernel-features.h>.
19786         [__ASSUME_32BITUIDS]: Make code unconditional.
19787         [!__ASSUME_32BITUIDS]: Remove conditional code.
19788         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19789         <kernel-features.h>.
19790         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19791         unconditional.
19792         (__setresgid): Do not declare.
19793         [__ASSUME_32BITUIDS]: Make code unconditional.
19794         [!__ASSUME_32BITUIDS]: Remove conditional code.
19795         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19796         <kernel-features.h>.
19797         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19798         unconditional.
19799         (__setresuid): Do not declare.
19800         [__ASSUME_32BITUIDS]: Make code unconditional.
19801         [!__ASSUME_32BITUIDS]: Remove conditional code.
19802         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19803         <kernel-features.h>.
19804         [__ASSUME_32BITUIDS]: Make code unconditional.
19805         [!__ASSUME_32BITUIDS]: Remove conditional code.
19806         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19807         <kernel-features.h>.
19808         [__ASSUME_32BITUIDS]: Make code unconditional.
19809         [!__ASSUME_32BITUIDS]: Remove conditional code.
19811 2012-05-25  Richard Henderson  <rth@twiddle.net>
19813         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19814         dl_hwcap to ifunc resolver.
19815         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19816         elf_ifunc_invoke.
19817         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19818         dl_hwcap to ifunc resolver.
19819         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19821 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19823         [BZ #14153]
19824         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19825         for |x| <= 2**-26, not 2**-57.
19826         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19827         exception.
19829 2012-05-24  Jeff Law  <law@redhat.com>
19831         * stdio-common/Makefile (tests): Add bug25.
19832         * stdio-common/bug25.c: New test.
19834 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19836         [BZ #13576]
19837         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19838         multiple of MALLOC_ALIGNMENT in size.
19839         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19841 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19843         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19844         Require >= 256.
19845         (FILENAME_MAX): Use macro-int-constant.
19846         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19847         (_IOFBF): Use macro-int-constant.
19848         (_IOLBF): Likewise.
19849         (_IONBF): Likewise.
19850         (SEEK_CUR): Likewise.
19851         (SEEK_END): Likewise.
19852         (SEEK_SET): Likewise.
19853         (TMP_MAX): Likewise.
19854         (EOF): Use macro-int-constant.  Require < 0.
19855         (NULL): Use macro-constant.  Require == 0.
19856         (stdin): Require type to be FILE *.
19857         (stdout): Likewise.
19858         (stderr): Likewise.
19859         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19860         macro-int-constant.
19861         (EXIT_SUCCESS): Likewise.
19862         (NULL): Use macro-constant.  Require == 0.
19863         (RAND_MAX): Use macro-int-constant.
19864         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19865         [C99-based standards] (strtof): Require function.
19866         [C99-based standards] (strtold): Likewise.
19867         [C99-based standards] (strtoll): Likewise.
19868         [C99-based standards] (strtoull): Likewise.
19869         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19870         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19871         [ISO || ISO99 || ISO11] (math.h): Likewise.
19872         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19873         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19876 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19878         [BZ #14132]
19879         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19880         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19881         * intl/dgettext.c (DCGETTEXT): Likewise.
19882         * intl/gettext.c (DCGETTEXT): Likewise.
19883         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19884         * posix/regex_internal.h (gettext): Likewise.
19885         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19886         Remove declaration.
19887         * include/argz.h (__argz_count_internal)
19888         (__argz_stringify_internal): Remove declaration.
19889         (__argz_count, __argz_stringify): Declare hidden proto.
19890         * intl/dcgettext.c: Remove use of INTDEF.
19891         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19892         * string/argz-stringify.c: Likewise.
19893         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19894         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19895         Declare hidden proto.
19896         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19897         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19898         Declare hidden proto.
19899         * include/stdio.h (__asprintf_internal): Don't declare.
19900         (__asprintf): Don't define as macro.  Declare hidden proto.
19901         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19902         (__fsetlocking): Declare hidden proto.
19903         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19904         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19905         hidden proto.
19906         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19907         (_IO_setlinebuf): Remove use of INTUSE.
19908         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19909         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19910         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19911         Remove declaration.
19912         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19913         (_IO_do_flush): Remove use of INTUSE.
19914         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19915         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19916         (_IO_adjust_column, _IO_least_wmarker)
19917         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19918         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19919         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19920         (_IO_default_doallocate, _IO_wdefault_doallocate)
19921         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19922         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19923         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19924         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19925         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19926         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19927         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19928         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19929         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19930         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19931         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19932         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19933         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19934         proto.
19935         (_IO_flush_all_internal, _IO_adjust_column_internal)
19936         (_IO_default_uflow_internal, _IO_default_finish_internal)
19937         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19938         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19939         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19940         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19941         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19942         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19943         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19944         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19945         (_IO_file_close_internal, _IO_file_close_it_internal)
19946         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19947         (_IO_file_init_internal, _IO_file_attach_internal)
19948         (_IO_file_fopen_internal, _IO_file_read_internal)
19949         (_IO_file_sync_internal, _IO_file_seek_internal)
19950         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19951         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19952         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19953         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19954         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19955         (_IO_list_all_internal, _IO_link_in_internal)
19956         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19957         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19958         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19959         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19960         (_IO_do_write_internal, _IO_padn_internal)
19961         (_IO_getline_info_internal, _IO_getline_internal)
19962         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19963         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19964         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19965         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19966         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19967         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19968         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19969         with libc_hidden_ver, remove use of INTUSE.
19970         * libio/genops.c: Likewise.
19971         * libio/freopen.c: Likewise.
19972         * libio/freopen64.c: Likewise.
19973         * libio/iofclose.c: Likewise.
19974         * libio/iofdopen.c: Likewise.
19975         * libio/iofflush.c: Likewise.
19976         * libio/iofflush_u.c: Likewise.
19977         * libio/iofgets.c: Likewise.
19978         * libio/iofgets_u.c: Likewise.
19979         * libio/iofopen.c: Likewise.
19980         * libio/iofopncook.c: Likewise.
19981         * libio/iofread.c: Likewise.
19982         * libio/iofread_u.c: Likewise.
19983         * libio/ioftell.c: Likewise.
19984         * libio/iofwrite.c: Likewise.
19985         * libio/iogetline.c: Likewise.
19986         * libio/iogets.c: Likewise.
19987         * libio/iogetwline.c: Likewise.
19988         * libio/iopadn.c: Likewise.
19989         * libio/iopopen.c: Likewise.
19990         * libio/ioseekoff.c: Likewise.
19991         * libio/ioseekpos.c: Likewise.
19992         * libio/iosetbuffer.c: Likewise.
19993         * libio/iosetvbuf.c: Likewise.
19994         * libio/ioungetc.c: Likewise.
19995         * libio/ioungetwc.c: Likewise.
19996         * libio/iovdprintf.c: Likewise.
19997         * libio/iovsprintf.c: Likewise.
19998         * libio/iovsscanf.c: Likewise.
19999         * libio/memstream.c: Likewise.
20000         * libio/obprintf.c: Likewise.
20001         * libio/oldfileops.c: Likewise.
20002         * libio/oldiofclose.c: Likewise.
20003         * libio/oldiofdopen.c: Likewise.
20004         * libio/oldiofopen.c: Likewise.
20005         * libio/oldiopopen.c: Likewise.
20006         * libio/oldstdfiles.c: Likewise.
20007         * libio/putc.c: Likewise.
20008         * libio/setbuf.c: Likewise.
20009         * libio/setlinebuf.c: Likewise.
20010         * libio/stdfiles.c: Likewise.
20011         * libio/strops.c: Likewise.
20012         * libio/vasprintf.c: Likewise.
20013         * libio/vscanf.c: Likewise.
20014         * libio/vsnprintf.c: Likewise.
20015         * libio/vswprintf.c: Likewise.
20016         * libio/wfiledoalloc.c: Likewise.
20017         * libio/wfileops.c: Likewise.
20018         * libio/wgenops.c: Likewise.
20019         * libio/wmemstream.c: Likewise.
20020         * libio/wstrops.c: Likewise.
20021         * libio/__fpurge.c: Likewise.
20022         * libio/__fsetlocking.c: Likewise.
20023         * assert/assert.c: Likewise.
20024         * debug/fgets_chk.c: Likewise.
20025         * debug/fgets_u_chk.c: Likewise.
20026         * debug/fread_chk.c: Likewise.
20027         * debug/fread_u_chk.c: Likewise.
20028         * debug/gets_chk.c: Likewise.
20029         * debug/obprintf_chk.c: Likewise.
20030         * debug/vasprintf_chk.c: Likewise.
20031         * debug/vdprintf_chk.c: Likewise.
20032         * debug/vsnprintf_chk.c: Likewise.
20033         * debug/vsprintf_chk.c: Likewise.
20034         * malloc/mtrace.c: Likewise.
20035         * misc/error.c: Likewise.
20036         * misc/syslog.c: Likewise.
20037         * stdio-common/asprintf.c: Likewise.
20038         * stdio-common/fxprintf.c: Likewise.
20039         * stdio-common/getw.c: Likewise.
20040         * stdio-common/isoc99_fscanf.c: Likewise.
20041         * stdio-common/isoc99_scanf.c: Likewise.
20042         * stdio-common/isoc99_vfscanf.c: Likewise.
20043         * stdio-common/isoc99_vscanf.c: Likewise.
20044         * stdio-common/isoc99_vsscanf.c: Likewise.
20045         * stdio-common/printf-prs.c: Likewise.
20046         * stdio-common/printf_fp.c: Likewise.
20047         * stdio-common/printf_fphex.c: Likewise.
20048         * stdio-common/printf_size.c: Likewise.
20049         * stdio-common/putw.c: Likewise.
20050         * stdio-common/scanf.c: Likewise.
20051         * stdio-common/sprintf.c: Likewise.
20052         * stdio-common/tmpfile.c: Likewise.
20053         * stdio-common/vfprintf.c: Likewise.
20054         * stdio-common/vfscanf.c: Likewise.
20055         * stdlib/strfmon_l.c: Likewise.
20056         * sunrpc/openchild.c: Likewise.
20057         * sunrpc/xdr_stdio.c: Likewise.
20058         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20059         * sysdeps/mach/hurd/tmpfile.c: Likewise.
20061 2012-05-24  Roland McGrath  <roland@hack.frob.com>
20063         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20065         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20066         in the third column, to generate for the shared library an IFUNC
20067         that uses _dl_vdso_vsym.
20068         * Makerules (COMPILE.c, compile-stdin.c): New variables.
20069         * Makeconfig (object-suffixes-noshared): New variable.
20071         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20072         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20073         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20074         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20076         [BZ #14132]
20077         * include/sys/time.h (__gettimeofday): Remove macro.
20078         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20079         * time/gettimeofday.c (__gettimeofday): Remove #undef.
20080         Remove INTDEF.
20081         (__gettimeofday): Add libc_hidden_def.
20082         (gettimeofday): Add libc_hidden_weak.
20083         * sysdeps/mach/gettimeofday.c: Likewise.
20084         * sysdeps/posix/gettimeofday.c: Likewise.
20085         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20086         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20088         (__gettimeofday_internal): Remove strong_alias.
20089         (__gettimeofday): Add libc_hidden_def.
20090         (gettimeofday): Add libc_hidden_weak.
20091         * sysdeps/unix/syscalls.list (gettimeofday):
20092         Remove __gettimeofday_internal alias.
20094 2012-05-24  Daniel Jacobowitz  <drow@false.org>
20095             H.J. Lu  <hongjiu.lu@intel.com>
20097         [BZ #12495]
20098         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20099         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20100         (largebin_index_32_big): New.
20101         (largebin_index): Use it for 16-byte alignment.
20102         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
20103         correction with front_misalign.
20105 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20109         Likewise.
20110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20111         Likewise.
20112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20113         Likewise.
20114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20115         Likewise.
20116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20117         Likewise.
20118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20119         Likewise.
20120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20121         Likewise.
20122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20123         Likewise.
20124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20125         Likewise.
20126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20127         Likewise.
20128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20129         Likewise.
20130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20131         Likewise.
20133         * scripts/data/c++-types-x32-linux-gnu.data: New file.
20134         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20136 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
20138         [BZ #10846]
20139         [BZ #14036]
20140         * math/libm-test.inc (exp_test): Add test from bug 14036.
20141         (pow_test): Add test from bug 10846.
20143         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20144         and other flags.
20145         (special_function): Do not include flags in test name.
20146         (parse_args): Likewise.
20147         * sysdeps/i386/fpu/libm-test-ulps: Update.
20148         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20149         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20153         * math/gen-libm-test.pl (%beautify): Add entries for underflow
20154         exceptions.
20155         * math/libm-test.inc ("Philosophy"): Update comment about
20156         exception testing.
20157         (UNDERFLOW_EXCEPTION): New macro.
20158         (UNDERFLOW_EXCEPTION_OK): Likewise.
20159         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20160         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20161         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20162         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20163         (INVALID_EXCEPTION_OK): Update value.
20164         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20165         (OVERFLOW_EXCEPTION_OK): Likewise.
20166         (IGNORE_ZERO_INF_SIGN): Likewise.
20167         (test_exceptions): Handle underflow exceptions.
20168         (acos_test): Update for underflow exception expectations.
20169         (cexp_test): Likewise.
20170         (clog_test): Likewise.
20171         (clog10_test): Likewise.
20172         (csqrt_test): Likewise.
20173         (ctan_test): Likewise.
20174         (ctanh_test): Likewise.
20175         (exp_test): Likewise.
20176         (exp10_test): Likewise.
20177         (exp2_test): Likewise.
20178         (expm1_test): Likewise.
20179         (fma_test): Likewise.
20180         (j0_test): Likewise.
20181         (jn_test): Likewise.
20182         (nexttoward_test): Likewise.
20183         (pow_test): Likewise.
20184         (scalbn_test): Likewise.
20185         (scalbln_test): Likewise.
20186         (tan_test): Likewise.
20187         (y1_test): Likewise.
20188         * sysdeps/i386/fpu/libm-test-ulps: Update.
20189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20191 2012-05-23  David S. Miller  <davem@davemloft.net>
20193         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20194         (__libc_sigaction): Remove unused local variables.
20196 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20198         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20200 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
20202         mktime: avoid signed integer overflow
20203         * time/mktime.c (__mktime_internal): Do not mishandle the case
20204         where diff == INT_MIN.
20206         mktime: simplify computation of average
20207         * time/mktime.c (ranged_convert): Use new time_t_avg function
20208         instead of rolling our own (probably-slower) code.
20210         mktime: do not assume signed right shift propagates sign bit
20211         * time/mktime.c (isdst_differ): New static function.
20212         (__mktime_internal): No need to normalize tm_isdst now.
20213         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20214         tm_isdst values.
20216         mktime: merge another wrapv change from gnulib
20217         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20218         from some compilers.
20220         mktime: remove incorrect attempt at unusual arithmetics
20221         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20222         The code didn't really work on such machines anyway.
20223         (TYPE_MINIMUM): Assume two's complement.
20224         (twos_complement_arithmetic): Verify that long_int and time_t
20225         are two's complement (or unsigned, in the latter case).
20227         mktime: check signed shifts on long_int and time_t, too
20228         * time/mktime.c (SHR): Check that shifts work as desired
20229         on the types long_int and time_t too, as SHR is used on
20230         such types.
20232         mktime: do not assume 'long' is wide enough
20233         * time/mktime.c (verify): Move decl up.
20234         (long_int): New type.
20235         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20236         to remove assumption in the code that 'long' is wide enough to
20237         store year values.  This assumption is not true on x32 and on
20238         some non-glibc platforms.
20240         mktime: merge wrapv change from gnulib
20241         * time/mktime.c (WRAPV): New macro.
20242         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20243         (guess_time_tm, __mktime_internal): Do not assume that signed
20244         integer overflow wraps around; modern compilers generate code
20245         where this assumption is no longer valid.
20247 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20249         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20250         Replace "jmp L(pseudo_end)" with "ret".
20251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20252         Likewise.
20254 2012-05-23  Andreas Jaeger  <aj@suse.de>
20256         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20257         * sysdeps/unix/sysv/linux/poll.c: Remove file.
20259 2012-05-23  Andreas Jaeger  <aj@suse.de>
20260             Maximilian Attems  <max@stro.at>
20262         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20263         New macros.
20265 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
20267         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20268         code so that pseudo_end is just ret and the stack pointer is
20269         correct also for static library in error case.
20271 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
20273         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20274         move to syscalls.list.
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20280         * manual/install.texi (Running make install): Do not mention Linux
20281         kernel version for which pt_chown is not needed.
20282         (Linux): Do not mention problems with nscd with 2.0 kernels.
20283         * INSTALL: Regenerated.
20285 2012-05-23  Andreas Jaeger  <aj@suse.de>
20287         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20288         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20289         macro.
20290         * sysdeps/unix/sysv/linux/s390/bits/mman.h
20291         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20292         * sysdeps/unix/sysv/linux/sh/bits/mman.h
20293         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20294         * sysdeps/unix/sysv/linux/i386/bits/mman.h
20295         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20296         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20297         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20298         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20299         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20300         * sysdeps/unix/sysv/linux/bits/in.h
20301         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20303 2012-05-22  Roland McGrath  <roland@hack.frob.com>
20305         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20306         (PREPARE_VERSION): Just use assert instead, it will be elided
20307         under [NDEBUG] anyway.
20309 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20311         * sysdeps/unix/sysv/linux/Makefile: Include
20312         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20313         (sysdep_routines): Remove sysctl.
20314         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20315         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20316         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20317         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20318         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20320 2012-05-22  Andreas Jaeger  <aj@suse.de>
20322         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20323         that pseudo_end is just ret and the stack pointer is correct also
20324         for static library in error case.
20326 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20328         [BZ #14122]
20329         * nss/nsswitch.c (defconfig_entries): New variable.
20330         (__nss_database_lookup): Don't leak defconfig entries.
20331         (nss_parse_service_list): Don't leak on error paths.
20332         (free_database_entries): New function.
20333         (free_defconfig): New function.
20334         (free_mem): Move common code to free_database_entries.
20336 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20338         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20339         Add arch_prctl.
20340         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20342         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20343         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20345         New macro.
20346         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20347         (INTERNAL_SYSCALL_TYPES): Likewise.
20348         (LOAD_ARGS_TYPES_[1-6]): Likewise.
20349         (LOAD_REGS_TYPES_[1-6]): Likewise.
20350         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20351         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20353 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20355         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20356         copysignl for GLIBC_2_0.
20357         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20358         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20360         logbl for GLIBC_2_0.
20361         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20362         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20364 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20366         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20367         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20369         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20370         Use "neg %eax".
20372         * time/mktime.c: Update copyright years.
20374 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20376         mktime: merge comment-quoting-style change from gnulib
20377         * time/mktime.c: Quote 'like this' in comments.
20378         The GNU coding standards suggest that we no longer quote `like this',
20379         as "`" and "'" are typically rendered asymmetrically nowadays.
20380         The typical gnulib style is to quote 'like this' when quoting
20381         code, and "like this" when quoting English.
20383         * time/mktime.c (compile-command): Add "-I.".
20385         mktime: merge mktime-internal.h change from gnulib
20386         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20388         mktime: merge time_r change from gnulib
20389         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20391         mktime: merge DEBUG change from gnulib
20392         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20393         case system <time.h> has a #define.
20395         mktime: merge <sys/types.h> change from gnulib
20396         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20397         since <time.t> is now guaranteed to define time_t.
20399         mktime: merge HAVE_CONFIG_H change from gnulib
20400         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20402 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20405         Use "neg %eax".
20407         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20408         __rlim_t cast.
20409         (struct rusage): Use anonymous union to pad each field to
20410         __syscall_slong_t.
20412 2012-05-21  David S. Miller  <davem@davemloft.net>
20414         * Makefules (o-iterator): Remove .s cases.
20415         (compile-command.s): Delete.
20416         (COMPILE.s): Delete.
20417         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20419 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
20421         * configure.in (libc_cv_predef_stack_protector): Only consider
20422         "foobar" and "__stack_chk_fail" lines in libc_undefs.
20423         * configure: Regenerated.
20425 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20428         New macro.  Use R*LP on int and pointer.
20429         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20430         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20431         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20432         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20434         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20435         [__WORDSIZE_TIME64_COMPAT32] instead of
20436         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20437         (struct utmp): Likewise.
20438         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20439         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20440         Renamed to ...
20441         (__WORDSIZE_TIME64_COMPAT32): This.
20442         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20443         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20444         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20445         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20446         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20447         (__WORDSIZE_TIME64_COMPAT32): New macro.
20449 2012-05-21  Andreas Jaeger  <aj@suse.de>
20451         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20452         only if [SHARED]. Add prototype for __wcschr_ia32.
20454 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20456         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20457         of %rbp unmolested in the jmp_buf while mangling the low bits.
20458         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20459         unmolested high bits of %rbp while demangling the low bits.
20460         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20462 2012-05-21  Andreas Jaeger  <aj@suse.de>
20464         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20465         * sunrpc/svc_simple.c: Use it for registerrpc.
20466         * sunrpc/xcrypt.c: Use it for passwd2des.
20468         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20470 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20472         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20473         Don't define if [__SYSCALL_WORDSIZE != 32].
20474         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20475         New macro.
20477 2012-05-21  Bruno Haible  <bruno@clisp.org>
20478             Andreas Jaeger  <aj@suse.de>
20480         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20481         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20482         inptr and inend for must_buffer_ch.
20483         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20484         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20485         * stdio-common/Makefile (tests): Remove bug15.
20486         (bug15-ENV): Remove macro.
20487         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20488         anymore.
20490 2012-05-19  Andreas Jaeger  <aj@suse.de>
20491             Roland McGrath  <roland@hack.frob.com>
20493         * manual/contrib.texi: Completely rewritten. It contains now an
20494         alphabetical list of contributors and their contributions.
20496 2012-05-21  Richard Henderson  <rth@twiddle.net>
20498         * misc/getauxval.c (__getauxval): Use unsigned long int.
20499         * misc/sys/auxv.h: Include <sys/cdefs.h>.
20500         (getauxval): Use unsigned long int.
20502 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
20504         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20506 2012-05-21  Roland McGrath  <roland@hack.frob.com>
20508         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20509         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20510         __alignof__ (long double).
20512 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20516 2012-05-20  Richard Henderson  <rth@twiddle.net>
20518         * misc/getauxval.c: New file.
20519         * misc/sys/auxv.h: New file.
20520         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20521         (routines): Add getauxval.
20522         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20523         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20524         * elf/dl-sysdep.c (_dl_auxv): Remove.
20525         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20526         * elf/dl-support.c (_dl_auxv): New variable.
20527         (_dl_aux_init): Initialize it.
20528         * manual/startup.texi (Auxiliary Vector): New node.
20529         * sysdeps/generic/bits/hwcap.h: New file.
20530         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20531         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
20532         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20533         * sysdeps/sparc/sysdep.h: ... here.  Include it.
20534         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20535         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20537         Update.
20538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20541         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20547 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20551 2012-05-19  David S. Miller  <davem@davemloft.net>
20553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20555 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20557         [BZ #14123]
20558         * math/s_ccosh.c: Include <float.h>
20559         (__ccosh): Avoid internal overflow calculating sinh and cosh
20560         values before multiplying by sin and cos values.
20561         * math/s_ccoshf.c: Likewise.
20562         * math/s_ccoshl.c: Likewise.
20563         * math/s_csin.c: Likewise.
20564         * math/s_csinf.c: Likewise.
20565         * math/s_csinl.c: Likewise.
20566         * math/s_csinh.c: Likewise.
20567         * math/s_csinhf.c: Likewise.
20568         * math/s_csinhl.c: Likewise.
20569         * math/libm-test.inc (ccos_test): Add more tests.
20570         (ccosh_test): Likewise.
20571         (csin_test): Likewise.
20572         (csinh_test): Likewise.
20573         * sysdeps/i386/fpu/libm-test-ulps: Update.
20574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20576 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20578         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20579         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20581         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20583 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20585         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20586         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20587         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20588         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20589         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20590         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20591         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20592         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20593         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20594         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20595         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20596         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20597         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20598         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20599         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20600         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20601         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20602         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20603         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20604         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20605         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20606         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20607         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20608         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20609         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20610         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20611         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20612         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20613         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20614         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20615         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20617 2012-05-18  Andreas Jaeger  <aj@suse.de>
20619         * csu/.gitignore: Delete.
20621 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20623         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20624         (timex): Use __syscall_slong_t.
20626 2012-05-18  Andreas Jaeger  <aj@suse.de>
20627             Carlos O'Donell  <carlos_odonell@mentor.com>
20629         * manual/install.texi (Configuring and compiling): Update
20630         description about files modified in the source directory.
20631         * INSTALL: Regenerated.
20633 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20635         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20636         value.  Use "or" to set return value to -1.
20637         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20638         negate return value.
20640 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20642         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20643         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20644         failure if the compiler has Graphite support disabled.
20645         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20646         Likewise.
20647         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20648         CFLAGS-memmove.c): Likewise.
20649         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20650         Likewise.
20652 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20654         * sysdeps/x86_64/x32/_itoa.h: New file.
20656         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20657         getdents system call only if kernel and user dirents have the
20658         same d_ino and d_off.
20660         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20661         LLONG_MAX != LONG_MAX.
20662         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20663         (_fitoa_word): Likewise.
20665         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20666         years.
20667         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20668         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20669         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20671         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20672         include <bits/wordsize.h>.  Check __x86_64__ instead of
20673         __WORDSIZE.
20674         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20675         if __x86_64__ is defined.  Use anonymous union on fpstate.
20677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20678         anonymous union.
20680 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20682         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20683         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20684         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20685         Refer to _rtld_local_ro instead of _rtld_global_ro.
20686         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20687         Likewise.
20688         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20689         Likewise.
20690         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20691         Likewise.
20692         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20693         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20694         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20696         * sysdeps/powerpc/powerpc32/dl-machine.c
20697         (__elf_machine_runtime_setup) [PROF]: Don't reference
20698         _dl_prof_resolve.
20700 2012-05-18  Andreas Jaeger  <aj@suse.de>
20702         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20703         function only available for GCCs before 3.4 since GCC 3.4
20704         introduced a builtin.
20705         (lrint): Likewise.
20706         (llrintf): Likewise.
20707         (llrint): Likewise.
20708         (fmaxf): Likewise.
20709         (fmax): Likewise.
20710         (fminf): Likewise.
20711         (fmin): Likewise.
20712         (rint): Likewise.
20713         (rintf): Likewise.
20714         (nearbyint): Likewise.
20715         (nearbyintf): Likewise.
20716         (ceil): Likewise.
20717         (ceilf): Likewise.
20718         (floor): Likewise.
20719         (floorf): Likewise.
20721 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20723         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20724         on both fields and cast pointer to __syscall_ulong_t.
20726         * bits/types.h (__fsword_t): New type.
20727         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20728         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20729         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20730         (__FSWORD_T_TYPE): Likewise.
20731         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20732         (__FSWORD_T_TYPE): Likewise.
20733         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20734         (__FSWORD_T_TYPE): Likewise.
20735         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20736         (__FSWORD_T_TYPE): Likewise.
20737         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20738         __SWORD_TYPE with __fsword_t.
20739         (statfs64): Likewise.
20741 2012-05-17  David S. Miller  <davem@davemloft.net>
20743         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20745 2012-05-17  Andreas Jaeger  <aj@suse.de>
20747         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20748         warning.
20750 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20752         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20754 2012-05-17  Andreas Jaeger  <aj@suse.de>
20756         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20757         when it is used.
20759 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20761         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20763 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20765         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20766         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20768 2012-05-17  Andreas Jaeger  <aj@suse.de>
20769             Carlos O'Donell  <carlos_odonell@mentor.com>
20771         [BZ #14059]
20772         * sysdeps/x86_64/multiarch/init-arch.h
20773         (bit_YMM_Usable): Rename to...
20774         (bit_AVX_Usable): ... this.
20775         (bit_FMA4_Usable): New macro.
20776         (bit_XMM_state): New macro.
20777         (bit_YMM_state): New macro.
20778         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20779         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20780         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20781         (CPUID_OSXSAVE): New macro.
20782         (CPUID_AVX): New macro.
20783         (CPUID_FMA4): New macro.
20784         (index_YMM_Usable): Rename to...
20785         (index_AVX_Usable): ... this.
20786         (HAS_AVX): Use HAS_ARCH_FEATURE.
20787         (HAS_FMA4): Likewise.
20788         (HAS_YMM_USABLE): Remove.
20789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20790         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20791         are present.
20792         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20793         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20794         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20795         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20796         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20798 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20800         * math/libm-test.c: Support platforms without multiple rounding modes.
20801         * math/bug-nextafter.c: Support platforms without FP exceptions.
20802         * math/bug-nexttoward.c: Likewise.
20803         * math/test-fenv.c: Likewise.
20804         * math/test-misc.c: Likewise.
20805         * stdlib/bug-getcontext.c: Likewise.
20807 2012-05-17  Andreas Jaeger  <aj@suse.de>
20809         * manual/examples/search.c (critter_cmp): Change signature to
20810         avoid warnings.
20811         * manual/string.texi (Collation Functions): Likewise.
20813 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20815         * bits/types.h: Fold copyright years.
20816         * bits/typesizes.h: Likewise.
20817         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20818         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20819         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20821         * time/time.h: Likewise.
20823 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20825         [BZ #208]
20826         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20827         in instead of returning them.  Return void.
20828         (__libc_mallinfo): Accumulate over all arenas.
20829         (__malloc_stats): Adjust for change in int_mallinfo interface.
20831 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20833         [BZ #10375]
20834         * configure.in (NM): Add AC_CHECK_TOOL for it.
20835         (libc_extra_cflags): New substituted variable.
20836         Check for -fstack-protector being used implicitly.
20837         * configure: Regenerated.
20838         * config.make.in (config-extra-cflags): New variable,
20839         gets @libc_extra_cflags@.
20840         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20842         [BZ #10375]
20843         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20844         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20845         * configure: Regenerated.
20846         * config.make.in (CPPUNDEFS): New substituted variable.
20847         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20848         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20849         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20851 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20853         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20854         (mq_attr): Use __syscall_slong_t.
20856 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20858         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20859         Check __x86_64__ instead of __WORDSIZE.
20860         (_STAT_VER_LINUX): Likewise.
20861         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20862         __syscall_ulong_t and __syscall_slong_t.
20863         (stat64): Likewise.
20865 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20867         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20869 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20871         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20873 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20875         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20876         __syscall_ulong_t.
20878         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20879         include <bits/wordsize.h>.  Check __x86_64__ instead of
20880         __WORDSIZE.
20881         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20882         defined.
20883         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20885         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20886         include <bits/wordsize.h>.  Check __x86_64__ instead of
20887         __WORDSIZE.
20888         (user_regs_struct): Use "__extension__ unsigned long long"
20889         instead of "unsigned long" if __x86_64__ is defined.
20890         (user): Likewise.  Pad after pointer field if __ILP32__ is
20891         defined.
20893 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20895         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20896         versions 5 to 9.
20897         * configure: Regenerated.
20898         * manual/install.texi (texinfo): Increase version requirement to
20899         4.5 or later.
20900         * INSTALL: Regenerated.
20902         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20904 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20906         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20908         * sysdeps/x86_64/x32/ffs.c: New file.
20910         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20911         __syscall_ulong_t.
20912         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20913         defined.  Use __syscall_ulong_t.
20914         (shminfo): Use __syscall_ulong_t.
20915         (shm_info): Likewise.
20917         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20918         __syscall_ulong_t.
20920         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20921         <bits/wordsize.h>.
20922         (msgqnum_t): Use __syscall_ulong_t.
20923         (msglen_t): Likewise.
20924         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20925         __syscall_ulong_t.
20927         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20928         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20930         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20932         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20933         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20935         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20936         __syscall_slong_t.
20938         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20939         include <bits/wordsize.h>.  Check __x86_64__ instead of
20940         __WORDSIZE.
20942         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20943         "unsigned long long int" if __x86_64__ is defined.
20944         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20946         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20947         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20948         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20950         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20951         <stdint.h>.
20952         (GET_PC): Cast to uintptr_t first.
20953         (GET_FRAME): Likewise.
20954         (GET_STACK): Likewise.
20956         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20957         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20958         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20959         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20960         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20961         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20962         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20963         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20964         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20965         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20966         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20967         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20968         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20969         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20970         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20971         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20972         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20973         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20974         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20975         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20976         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20977         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20978         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20979         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20980         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20981         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20982         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20983         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20984         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20986 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20988         * Makerules (+depfiles): Also collect depfiles from .oS in
20989         $(extra-objs).
20990         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20991         .oS, $(libnldbl-routines)).
20993         * Makerules (native-compile-mkdep-flags): Define.
20994         * sunrpc/Makefile (extra-objs): Add $(addprefix
20995         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20996         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20997         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20998         calling $(make-target-directory).
21000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21002         * bits/types.h (__snseconds_t): Removed.
21003         * time/time.h (struct timespec): Replace __snseconds_t with
21004         __syscall_slong_t.
21005         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21006         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21007         Likewise.
21008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21009         (__SNSECONDS_T_TYPE): Likewise.
21010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21011         (__SNSECONDS_T_TYPE): Likewise.
21012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21013         (__SNSECONDS_T_TYPE): Likewise.
21015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21017         * sysdeps/mach/hurd/bits/typesizes.h
21018         (__SYSCALL_SLONG_TYPE): New macro.
21019         (__SYSCALL_ULONG_TYPE): Likewise.
21021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21023         * bits/types.h (__syscall_slong_t): New type.
21024         (__syscall_ulong_t): Likewise.
21026         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21027         (__SYSCALL_ULONG_TYPE): Likewise.
21028         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21029         (__SYSCALL_SLONG_TYPE): Likewise.
21030         (__SYSCALL_ULONG_TYPE): Likewise.
21031         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21032         (__SYSCALL_SLONG_TYPE): Likewise.
21033         (__SYSCALL_ULONG_TYPE): Likewise.
21034         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21035         (__SYSCALL_SLONG_TYPE): Likewise.
21036         (__SYSCALL_ULONG_TYPE): Likewise.
21038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21040         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21041         Add sigaltstack-offsets.sym.
21042         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21043         <sigaltstack-offsets.h>.
21044         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
21045         longjmp_msg pointer.
21046         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
21047         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21048         signal stack.
21049         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21051 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21053         * elf/stackguard-macros.h: Remove file.
21054         * sysdeps/generic/stackguard-macros.h: New file.
21055         * sysdeps/i386/stackguard-macros.h: Likewise.
21056         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21057         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21058         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21059         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21060         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21061         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21062         * sysdeps/x86_64/stackguard-macros.h: Likewise.
21063         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21064         <elf/stackguard-macros.h>.
21066         [BZ #14109]
21067         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21068         __aligned__ in attribute.
21069         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21070         (gregset_t): Likewise.
21072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21074         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21075         * sysdeps/x86_64/64/Implies-after: Here.  New file.
21076         * sysdeps/x86_64/x32/Implies-after: New file.
21078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21080         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21081         and access return value for _dl_profile_fixup.  Use R10_LP to
21082         load frame size.
21084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21086         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21090         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21091         * sysdeps/x86_64/x32/sysdep.h: New file.
21093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21095         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21096         * sysdeps/x86_64/setjmp.S: Likewise.
21098 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21100         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21101         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21102         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21103         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21104         remove unused global constant.
21106 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
21108         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21109         include of <not-cancel.h>.
21111 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21113         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21115 2012-05-15  Jeff Law  <law@redhat.com>
21116             Andreas Jaeger  <aj@suse.de>
21118         [BZ #13594]
21119         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21120         out from...
21121         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21122         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21123         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21124         code changing __hst_map_handle.map.
21126 2012-05-15  Roland McGrath  <roland@hack.frob.com>
21128         * configure.in (sysnames): Look for Implies-before and Implies-after
21129         files.
21130         * configure: Regenerated.
21132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21134         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21135         8-byte data alignment with LP_SIZE alignment.
21137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21139         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21140         into R10_LP.
21142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21144         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21148         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21149         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21150         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21151         Likewise.
21152         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21156         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21157         (stackinfo_sub_sp): Likewise.
21159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21161         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21162         RAX_LP.
21164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21166         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21167         into R*_LP.
21169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21171         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21172         sizes into R*_LP.
21174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21176         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21180         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21181         into R11_LP and load __x86_64_shared_cache_size_half into
21182         R8_LP.
21184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
21186         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21187         R8_LP.
21189 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21192         logb for POWER7.
21193         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21194         logbf for POWER7.
21195         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21196         logbl for POWER7.
21197         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21198         powerpc32/power7/fpu/s_logb.c via #include.
21199         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21200         powerpc32/power7/fpu/s_logbf.c via #include.
21201         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21202         powerpc32/power7/fpu/s_logbl.c via #include.
21204 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
21206         * README.libm: Remove file.
21208 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21210         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21211         count for x32.  Use R*_LP and omit operand-size suffix.
21213 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21215         * shlib-versions: Move x86_64-.*-linux.* entries to ...
21216         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
21217         * sysdeps/x86_64/x32/shlib-versions: New file.
21219 2012-05-14  Roland McGrath  <roland@hack.frob.com>
21221         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21222         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21223         Use _dl_fatal_printf instead.
21225 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21227         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21228         set if not set by the user.  Do not allow for being unset.
21229         * sysdeps/unix/sysv/linux/configure: Regenerated.
21231 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21233         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21234         the `q' suffix from lea and replace .quad with ASM_ADDR.
21236 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21239         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
21240         instead of $17.
21241         (PTR_DEMANGLE): Likewise.
21243 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21245         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21246         (LP_OP): Likewise.
21247         (ASM_ADDR): Likewise.
21248         (RAX_LP): Likewise.
21249         (RBP_LP): Likewise.
21250         (RBX_LP): Likewise.
21251         (RCX_LP): Likewise.
21252         (RDI_LP): Likewise.
21253         (RSI_LP): Likewise.
21254         (RSP_LP): Likewise.
21255         (R8_LP): Likewise.
21256         (R9_LP): Likewise.
21257         (R10_LP): Likewise.
21258         (R10_LP): Likewise.
21259         (R11_LP): Likewise.
21260         (R12_LP): Likewise.
21261         (R13_LP): Likewise.
21262         (R14_LP): Likewise.
21263         (R15_LP): Likewise.
21265 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21267         * sysdeps/x86_64/x32/dl-machine.h: New file.
21269 2012-05-14  Andreas Jaeger  <aj@suse.de>
21271         * manual/Makefile (subdir): Remove export of subdir.
21272         (all): Remove target.
21273         (.PHONY): Remove all from list.
21274         (mkinstalldirs): Remove.
21275         (.PHONY): Remove installdirs from list.
21276         ($(inst_infodir)/libc.info): Use make-target-directory.
21277         (installdirs): Remove.
21278         (subdir_%): Remove.
21279         (glibc-targets): Remove.
21280         (lib): Remove.
21281         (stubs): Remove.
21282         ($(objpfx)stubs ../po/manual.pot): Remove.
21283         ($(objpfx)stamp%): Remove.
21284         (make-target-directory): Remove.
21285         (subdir_install): Remove.
21286         (routines): Remove.
21287         (aux): Remove.
21288         (sources): Remove.
21289         (objects): Remove.
21290         (headers): Remove.
21292         [BZ #13750]
21293         * manual/.gitignore: Remove, it's not needed anymore.
21294         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21295         all files in it.
21296         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21297         directory.
21298         (texis): Renamed to $(objpfx)texis.
21299         (texis-path): New, contains path to generated files.
21300         (chapters.%): Use texis-path for complete path, add extra argument
21301         libc-texinfo.sh.
21302         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21303         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21304         (summary,texi, stamp-summary): Use complete path of
21305         files. Generate files in build dir.
21306         (dir-add.texi): Build in build dir.
21307         (libm-err.texi,stamp-libm-err): Likewise.
21308         (version.texi, stamp-version): Likewise.
21309         (.%c.texi): Likewise.
21310         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21311         (mostlyclean): Remove target.
21312         (realclean): Remove target.
21313         (generated): Add new variable with contents from mostlyclean and
21314         realclean, remove entries duplicated in common-mostlyclean, add
21315         stamp-libm-err and stamp-version.
21316         (generated-dirs): Add libc directory.
21317         ($(inst_infodir)/libc.info): Install files from build dir.
21319         * manual/install.texi (Configuring and compiling): Adjust since
21320         the info files are not part of the tar ball anymore.
21322 2012-05-14  Andreas Jaeger  <aj@suse.de>
21324         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21325         variable.
21327 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
21329         [BZ #13717]
21330         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21331         to 2.2.0 where earlier.
21332         * sysdeps/unix/sysv/linux/configure: Regenerated.
21333         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21334         Remove conditional code.
21335         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21336         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21337         Remove conditional code.
21338         [!__NR_lchown]: Likewise.
21339         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21340         [__NR_lchown]: Likewise.
21341         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21342         comment referencing __ASSUME_LCHOWN_SYSCALL.
21343         * sysdeps/unix/sysv/linux/i386/sigaction.c
21344         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21345         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21346         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21347         Remove conditional code.
21348         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21349         (__protocol_available): Remove #if 0 code.
21350         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21351         conditional code.
21352         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21353         * sysdeps/unix/sysv/linux/kernel-features.h
21354         (__ASSUME_GETCWD_SYSCALL): Don't define.
21355         (__ASSUME_REALTIME_SIGNALS): Likewise.
21356         (__ASSUME_PREAD_SYSCALL): Likewise.
21357         (__ASSUME_PWRITE_SYSCALL): Likewise.
21358         (__ASSUME_POLL_SYSCALL): Likewise.
21359         (__ASSUME_LCHOWN_SYSCALL): Likewise.
21360         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21361         non-SPARC.
21362         (__ASSUME_SIOCGIFNAME): Don't define.
21363         (__ASSUME_MSG_NOSIGNAL): Likewise.
21364         (__ASSUME_SENDFILE): Define unconditionally.
21365         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21366         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21367         conditional code.
21368         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21369         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21370         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21371         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21372         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21373         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21374         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21376         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21377         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21379         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21380         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21382         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21383         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21385         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21386         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21388         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21389         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21391         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21392         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21394         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21395         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21397         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21398         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21399         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21400         Remove conditional code.
21401         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21402         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21403         Remove conditional code.
21404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21405         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21406         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21407         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21408         Remove conditional code.
21409         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21410         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21411         Remove conditional code.
21412         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21413         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21414         Remove conditional code.
21415         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21416         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21417         Remove conditional code.
21418         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21419         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21420         Remove conditional code.
21421         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21422         * sysdeps/unix/sysv/linux/sh/pwrite64.c
21423         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21425         * sysdeps/unix/sysv/linux/sigaction.c
21426         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21427         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21428         * sysdeps/unix/sysv/linux/sigpending.c
21429         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21430         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21431         * sysdeps/unix/sysv/linux/sigprocmask.c
21432         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21433         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21434         * sysdeps/unix/sysv/linux/sigsuspend.c
21435         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21436         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21437         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21438         (__libc_missing_rt_sigs): Remove.
21439         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21440         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21441         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21442         Remove conditional code.
21443         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21444         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21445         return 1.
21446         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21447         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21448         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21449         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21451 2012-05-14  Andreas Jaeger  <aj@suse.de>
21453         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21454         it's not used in glibc.
21455         (__coshm1): Likewise.
21456         (__acosh1p): Likewise.
21457         (__sgn): Likewise.
21459         * manual/string.texi (Copying and Concatenation): Add missing
21460         variable in concat example.
21461         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21463 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21465         [BZ #14103]
21466         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21467         __builtin_clzl with __builtin_clzll.
21469 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
21471         [BZ #14104]
21472         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21473         libc_freeres_ptr.
21475 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21477         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21478         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21479         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21480         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21482 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
21484         * NEWS: Update ia64 info.
21486 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21488         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21489         used as bcopy.
21491 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
21493         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21494         * sysdeps/unix/syscalls.list (dup3): Likewise.
21495         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21496         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21498 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21500         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21501         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21503 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21505         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21506         thread pointer.
21507         (TLS_IE): Use mov/add instead of movq/addq to load thread
21508         pointer.
21509         (TLS_GD_PREFIX): New.
21510         (TLS_GD): Use it.
21512 2012-05-11  David S. Miller  <davem@davemloft.net>
21514         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21515         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21516         (_FPU_SETCW): Likewise.
21518 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21520         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21521         is 32-byte aligned.
21523 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
21525         [BZ #11837]
21526         * iconvdata/gb18030.c: Update tables.
21527         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
21528         characters specially.
21529         (BODY for TO_LOOP): Add encoding of missing ranges.
21531 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
21533         [BZ #13673]
21534         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21535         * sysdeps/mach/hurd/dup3.c: Likewise.
21536         * sysdeps/mach/hurd/readlinkat.c: Likewise.
21537         * sysdeps/powerpc/memmove.c:: Likewise.
21539 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21541         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21542         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21544 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21546         * elf/elf.h (R_X86_64_RELATIVE64): New.
21547         (R_X86_64_NUM): Updated.
21548         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21549         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21550         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21551         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21552         tst-quad1pie tst-quad2pie
21553         (modules-names): Add tst-quadmod1 tst-quadmod2.
21554         ($(objpfx)tst-quad1): New dependency.
21555         ($(objpfx)tst-quad2): Likewise.
21556         ($(objpfx)tst-quad1pie): Likewise.
21557         ($(objpfx)tst-quad2pie): Likewise.
21558         * sysdeps/x86_64/tst-quad1.c: New file.
21559         * sysdeps/x86_64/tst-quad1pie.c: New file.
21560         * sysdeps/x86_64/tst-quad2.c: Likewise.
21561         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21562         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21563         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21564         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21565         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21567 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21569         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21570         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21571         * streams/stropts.h (t_scalar_t): Define type.
21573         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21574         (_PATH_PRESERVE): Set to "/var/lib".
21575         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21577         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21578         instead of int.
21580         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21581         if __dir_mkfile succeeded.
21583         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21584         checking for _hurd_dtablesize.  Unlock it right after having
21585         finished _hurd_dtable allocation.
21587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21589         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21590         * sysdeps/mach/hurd/configure: Regenerated.
21591         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21592         special-casing to...
21593         * sysdeps/gnu/configure.in: ... this new file.
21594         * sysdeps/unix/sysv/linux/configure: Regenerated.
21595         * sysdeps/gnu/configure: New generated file.
21597         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21598         for Linux: use nsec instead of usec, as well as:
21599         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21600         members of type struct timespec.
21601         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21602         New macros.
21603         (struct stat64): Likewise.
21604         (_STATBUF_ST_NSEC): New macro.
21605         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21607         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21608         __strtoul_internal rather than strtoul.
21610 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21612         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21613         and reject them.
21615 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21617         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21618         which preserves existing values.
21619         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21621 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21623         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21624         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21625         greater than FD_SETSIZE.
21627 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21629         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21630         allocated, call __vm_protect to finish enabling the existing space, and
21631         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21632         allocate the remainder.
21634 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21636         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21637         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21639 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21641         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21642         sysdeps/mach/hurd/readlink.c.
21644         * posix/tst-sysconf.c (posix_options): Only use
21645         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21646         _POSIX_SYNCHRONIZED_IO when they are defined
21647         * sysdeps/mach/hurd/bits/posix_opt.h:
21648         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21649         (_XOPEN_REALTIME): Undefine macro.
21650         (_XOPEN_REALTIME_THREADS): Undefine macro.
21651         (_XOPEN_SHM): Undefine macro.
21652         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21653         macro to -1.
21654         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21655         macro to -1.
21656         (_POSIX_ASYNC_IO): Undefine macro.
21657         (_POSIX_PRIORITIZED_IO): Undefine macro.
21658         (_POSIX_SPIN_LOCKS): Define macro to -1.
21660         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21661         SA_NODEFER, SA_RESETHAND.
21662         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21663         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21664         F_DUPFD_CLOEXEC.
21666 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21668         * elf/Makefile (pldd-modules): Define unconditionally.
21670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21672         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21676         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21677         Return ENOENT when name is empty.
21678         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21682         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21684         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21688         Fix mlock in all cases except non-readable pages.
21689         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21690         instead of VM_PROT_ALL as parameter to __vm_wire function.
21692         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21693         (__mkdir): When path is `/', just fail with EEXIST.
21694         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21696 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21698         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21699         <sys/uio.h> (for writev).
21700         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21701         and <sys/param.h> (for MIN).
21703 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21705         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21706         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21707         if interrupted.
21709 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21711         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21712         Depend on against $(link-rpcuserlibs).
21714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21716         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21717         (__libc_stack_end): Do not use attribute_relro.
21718         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21719         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21720         to libthread-provided value.
21721         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21722         attribute_relro.
21724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21726         [BZ #3748]
21727         * bits/libc-lock.h (__libc_once_get): New macro.
21728         * sysdeps/mach/bits/libc-lock.h: Likewise.
21729         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21730         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21731         instead of using implementation details.
21733         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21734         * libio/freopen.c: Likewise.
21735         * libio/freopen64.c: Likewise.
21736         * misc/syslog.c: Likewise.
21737         * nscd/connections.c: Likewise.
21738         * nscd/netgroupcache.c: Likewise.
21739         * sysdeps/posix/getcwd.c: Likewise.
21741 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21743         * math/w_ilogbf.c: Add #include <limits.h>.
21745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21747         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21748         path instead of returning without unlocking.
21750         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21751         immediate-write ioctls.
21752         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21754 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21756         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21757         __builtin_frame_address instead of making assumptions about the
21758         location of the return address relative to DATA.  Force early load of
21759         the return address.
21760         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21761         __builtin_frame_address.
21763         dup3 for GNU Hurd.
21764         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21765         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21766         implement dup3 and do some further code clean-ups.
21767         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21768         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21770 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21772         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21774         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21775         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21776         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21777         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21778         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21779         d->port.lock.
21781         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21782         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21783         when handler == SIG_ERR, not when handler != SIG_ERR.
21785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21787         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21788         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21789         definitions.
21791         accept4 for GNU Hurd.
21792         * include/sys/socket.h (__libc_accept4): New prototype.
21793         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21794         to implement __libc_accept4.
21795         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21796         __libc_accept4.
21797         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21799         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21800         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21801         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21802         signal-defines.sym.
21804 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21806         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21808 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21810         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21811         assertion on O_CLOEXEC flag.
21812         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21813         * hurd/intern-fd.c: Likewise.
21814         * hurd/port2fd.c: Likewise.
21816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21818         [BZ #3906]
21819         * bits/in.h (IPV6_PKTINFO): Define new macro.
21820         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21822 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21824         [BZ #13954]
21825         [BZ #13955]
21826         [BZ #13956]
21827         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21829         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21830         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21831         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21832         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21833         * math/libm-test.inc (logb_test) : Additional logb tests.
21835 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21836             Andreas Jaeger  <aj@suse.de>
21838         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21839         * configure: Regenerated.
21840         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21841         * config.make.in (link-obsolete-rpc): New substituted variable.
21842         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21843         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21844         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21845         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21846         so that libc.a contains the symbols.
21847         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21848         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21849         * sunrpc/auth_none.c: Likewise.
21850         * sunrpc/auth_unix.c: Likewise.
21851         * sunrpc/authdes_prot.c: Likewise.
21852         * sunrpc/authuxprot.c: Likewise.
21853         * sunrpc/clnt_gen.c: Likewise.
21854         * sunrpc/clnt_perr.c: Likewise.
21855         * sunrpc/clnt_raw.c: Likewise.
21856         * sunrpc/clnt_simp.c: Likewise.
21857         * sunrpc/clnt_tcp.c: Likewise.
21858         * sunrpc/clnt_udp.c: Likewise.
21859         * sunrpc/clnt_unix.c: Likewise.
21860         * sunrpc/des_crypt.c: Likewise.
21861         * sunrpc/des_soft.c: Likewise.
21862         * sunrpc/get_myaddr.c: Likewise.
21863         * sunrpc/key_call.c: Likewise.
21864         * sunrpc/key_prot.c: Likewise.
21865         * sunrpc/netname.c: Likewise.
21866         * sunrpc/pm_getmaps.c: Likewise.
21867         * sunrpc/pm_getport.c: Likewise.
21868         * sunrpc/pmap_clnt.c: Likewise.
21869         * sunrpc/pmap_prot.c: Likewise.
21870         * sunrpc/pmap_prot2.c: Likewise.
21871         * sunrpc/pmap_rmt.c: Likewise.
21872         * sunrpc/publickey.c: Likewise.
21873         * sunrpc/rpc_cmsg.c: Likewise.
21874         * sunrpc/rpc_common.c: Likewise.
21875         * sunrpc/rpc_dtable.c: Likewise.
21876         * sunrpc/rpc_prot.c: Likewise.
21877         * sunrpc/rpc_thread.c: Likewise.
21878         * sunrpc/rtime.c: Likewise.
21879         * sunrpc/svc.c: Likewise.
21880         * sunrpc/svc_auth.c: Likewise.
21881         * sunrpc/svc_raw.c: Likewise.
21882         * sunrpc/svc_run.c: Likewise.
21883         * sunrpc/svc_tcp.c: Likewise.
21884         * sunrpc/svc_udp.c: Likewise.
21885         * sunrpc/svc_unix.c: Likewise.
21886         * sunrpc/svcauth_des.c: Likewise.
21887         * sunrpc/xcrypt.c: Likewise.
21888         * sunrpc/xdr.c: Likewise.
21889         * sunrpc/xdr_array.c: Likewise.
21890         * sunrpc/xdr_float.c: Likewise.
21891         * sunrpc/xdr_intXX_t.c: Likewise.
21892         * sunrpc/xdr_mem.c: Likewise.
21893         * sunrpc/xdr_rec.c: Likewise.
21894         * sunrpc/xdr_ref.c: Likewise.
21895         * sunrpc/xdr_sizeof.c: Likewise.
21896         * sunrpc/xdr_stdio.c: Likewise.
21898 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21900         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21901         change.  Update copyright years.
21903 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21905         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21907 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21908             Joseph Myers  <joseph@codesourcery.com>
21909             Paul Pluzhnikov  <ppluzhnikov@google.com>
21911         [BZ #14012]
21912         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21913         requiring rpcgen.
21914         [cross-compiling] (extra-libs): Likewise.
21915         [cross-compiling] (extra-libs-others): Likewise.
21916         [cross-compiling] (librpcsvc-routines): Likewise.
21917         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21918         [cross-compiling] (omit-deps): Likewise.
21919         (sunrpc-CPPFLAGS): New variable.
21920         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21921         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21922         (cross-rpcgen-objs): New variable.
21923         (extra-objs): Append $(cross-rpcgen-objs).
21924         ($(cross-rpcgen-objs)): New rule.
21925         ($(objpfx)cross-rpcgen): Likewise.
21926         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21927         comment.
21928         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21929         ($(objpfx)x%.stmp): Likewise.
21930         * sunrpc/proto.h [IS_IN_build] (_): Define.
21931         [IS_IN_build] (_libc_intl_domainname): Likewise.
21933 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21935         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21936         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21937         and R_X86_64_TPOFF64.
21939 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21941         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21942         sysdeps/unix/sysv/syscalls.list.
21943         (stime): Likewise.
21944         (utime): Likewise.
21945         * sysdeps/unix/sysv/syscalls.list: Remove file.
21947 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21949         [BZ #3440]
21950         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21951         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21952         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21953         (__LC_IDENTIFICATION): Make these macros useful in #if
21954         expressions, as required by C99.
21956 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21958         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21959         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21960         after this.
21962 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21964         * stdlib/longlong.h: Updated from GCC.
21966 2012-05-09  Andreas Jaeger  <aj@suse.de>
21968         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21969         default is first entry.
21970         (run_mode): Set type.
21971         (main): Remove informal message about syslog.
21972         (options): Fix typo.
21974         [BZ #14053]
21975         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21976         to asm.
21977         (lrint): Likewise.
21978         (llrintf): Likewise.
21979         (llrint): Likewise.
21980         (rint): Likewise.
21981         (rintf): Likewise.
21982         (nearbyint): Likewise.
21983         (nearbyintf): Likewise.
21985 2012-05-09  Andreas Jaeger  <aj@suse.de>
21986             Pedro Alves  <palves@redhat.com>
21988         * nscd/nscd.c (run_mode): Use enum.
21989         (main): Cleanup coding style issue.
21991 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21992             Andreas Jaeger  <aj@suse.de>
21994         * nscd/nscd.c (go_background): Replaced with...
21995         (run_mode): ... this.
21996         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21997         (options): Add -F --foreground.
21998         (main): Implement it.
21999         (parse_opt): Parse it.
22001 2012-05-09  Andreas Jaeger  <aj@suse.de>
22003         [BZ #14083]
22004         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22005         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22006         -Wconversion warning.
22007         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22008         Likewise.
22010 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
22012         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
22013         == 0.
22014         (LC_ALL): Use macro-int-constant.
22015         (LC_COLLATE): Likewise.
22016         (LC_CTYPE): Likewise.
22017         (LC_MESSAGES): Likewise.
22018         (LC_MONETARY): Likewise.
22019         (LC_NUMERIC): Likewise.
22020         (LC_TIME): Likewise.
22021         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22022         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22024         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22025         Specify type.
22026         [C99-based standards] (float_t): Expect type.
22027         [C99-based standards] (double_t): Expect type.
22028         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
22029         type.
22030         [C99-based standards] (HUGE_VALL): Likewise.
22031         [C99-based standards] (INFINITY): Likewise.
22032         [C99-based standards] (NAN): Likewise.
22033         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22034         [C99-based standards] (FP_NAN): Likewise.
22035         [C99-based standards] (FP_NORMAL): Likewise.
22036         [C99-based standards] (FP_SUBNORMAL): Likewise.
22037         [C99-based standards] (FP_ZERO): Likewise.
22038         [C99-based standards] (FP_FAST_FMA): Use
22039         optional-macro-int-constant.  Specify type.  Require == 1.
22040         [C99-based standards] (FP_FAST_FMAF): Likewise.
22041         [C99-based standards] (FP_FAST_FMAL): Likewise.
22042         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22043         [C99-based standards] (FP_ILOGBNAN): Likewise.
22044         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22045         Specify type.
22046         [C99-based standards] (MATH_ERREXCEPT): Likewise.
22047         [C99-based standards] (math_errhandling): Specify type.
22048         [ISO99 || ISO11] (signgam): Do not allow.
22049         [non-C99-based standards] (copysignf): Do not allow.
22050         [non-C99-based standards] (exp2f): Likewise.
22051         [non-C99-based standards] (log2f): Likewise.
22052         [non-C99-based standards] (modff): Allow.
22053         [non-C99-based standards] (erff): Do not allow.
22054         [non-C99-based standards] (erfcf): Likewise.
22055         [non-C99-based standards] (gammaf): Likewise.
22056         [non-C99-based standards] (hypotf): Likewise.
22057         [non-C99-based standards] (j0f): Likewise.
22058         [non-C99-based standards] (j1f): Likewise.
22059         [non-C99-based standards] (jnf): Likewise.
22060         [non-C99-based standards] (lgammaf): Likewise.
22061         [non-C99-based standards] (tgammaf): Likewise.
22062         [non-C99-based standards] (y0f): Likewise.
22063         [non-C99-based standards] (y1f): Likewise.
22064         [non-C99-based standards] (ynf): Likewise.
22065         [non-C99-based standards] (isnanf): Likewise.
22066         [non-C99-based standards] (acoshf): Likewise.
22067         [non-C99-based standards] (asinhf): Likewise.
22068         [non-C99-based standards] (atanhf): Likewise.
22069         [non-C99-based standards] (cbrtf): Likewise.
22070         [non-C99-based standards] (expm1f): Likewise.
22071         [non-C99-based standards] (ilogbf): Likewise.
22072         [non-C99-based standards] (log1pf): Likewise.
22073         [non-C99-based standards] (logbf): Likewise.
22074         [non-C99-based standards] (nextafterf): Likewise.
22075         [non-C99-based standards] (remainderf): Likewise.
22076         [non-C99-based standards] (rintf): Likewise.
22077         [non-C99-based standards] (scalbf): Likewise.
22078         [non-C99-based standards] (copysignl): Likewise.
22079         [non-C99-based standards] (exp2l): Likewise.
22080         [non-C99-based standards] (log2l): Likewise.
22081         [non-C99-based standards] (modfl): Allow.
22082         [non-C99-based standards] (erfl): Do not allow.
22083         [non-C99-based standards] (erfcl): Likewise.
22084         [non-C99-based standards] (gammal): Likewise.
22085         [non-C99-based standards] (hypotl): Likewise.
22086         [non-C99-based standards] (j0l): Likewise.
22087         [non-C99-based standards] (j1l): Likewise.
22088         [non-C99-based standards] (jnl): Likewise.
22089         [non-C99-based standards] (lgammal): Likewise.
22090         [non-C99-based standards] (tgammal): Likewise.
22091         [non-C99-based standards] (y0l): Likewise.
22092         [non-C99-based standards] (y1l): Likewise.
22093         [non-C99-based standards] (ynl): Likewise.
22094         [non-C99-based standards] (isnanl): Likewise.
22095         [non-C99-based standards] (acoshl): Likewise.
22096         [non-C99-based standards] (asinhl): Likewise.
22097         [non-C99-based standards] (atanhl): Likewise.
22098         [non-C99-based standards] (cbrtl): Likewise.
22099         [non-C99-based standards] (expm1l): Likewise.
22100         [non-C99-based standards] (ilogbl): Likewise.
22101         [non-C99-based standards] (log1pl): Likewise.
22102         [non-C99-based standards] (logbl): Likewise.
22103         [non-C99-based standards] (nextafterl): Likewise.
22104         [non-C99-based standards] (remainderl): Likewise.
22105         [non-C99-based standards] (rintl): Likewise.
22106         [non-C99-based standards] (scalbl): Likewise.
22107         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22108         [non-C99-based standards] (FP_*): Do not allow.
22109         [C99-based standards] (FP_*): Change to
22110         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22111         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22112         allow.
22113         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22114         (SIG_ERR): Likewise.
22115         [X/Open-based standards] (SIG_HOLD): Likewise.
22116         (SIG_IGN): Likewise.
22117         (SIGABRT): Use macro-int-constant.  Specify type.  Require
22118         positive value.
22119         (SIGFPE): Likewise.
22120         (SIGILL): Likewise.
22121         (SIGINT): Likewise.
22122         (SIGSEGV): Likewise.
22123         (SIGTER): Likewise.
22124         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22125         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22126         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22127         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22128         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22129         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22130         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22131         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22132         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22133         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22134         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22135         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22136         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22137         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22138         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22139         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22140         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22141         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22142         [X/Open-based standards] (SIGTRAP): Likewise.
22143         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22144         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22145         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22146         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22147         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22148         allow.
22150 2012-05-08  Ian Wienand  <ianw@vmware.com>
22152         [BZ #14080]
22153         * time/tzset.c (__tzset_parse_tz): Update default rules for
22154         daylight time changes in the Energy Policy Act of 2005.
22156 2012-05-09  Andreas Jaeger  <aj@suse.de>
22158         [BZ #13983]
22159         * elf/ldconfig.c (parse_conf): Change string to make clear that
22160         ldconfig only issued a warning if ld.so.conf does not exist.
22162 2012-05-08  David S. Miller  <davem@davemloft.net>
22164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22165         movxtod instead of popping the value on the stack.
22167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22169 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
22171         * config.h.in: Add HAVE_ARM_PCS_VFP.
22173 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
22175         [BZ #13979]
22176         * include/features.h: Warn if user requests __FORTIFY_SOURCE
22177         checking but the checks are disabled for any reason.
22179 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22181         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22182         and ELF64_R_TYPE with ELFW(R_TYPE).
22184 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
22186         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22187         (ulimit): Likewise.
22189         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22190         (settimeofday): Likewise.
22192 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
22194         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
22195         a struct th_u2 inside the union, and move tu_block/tu_code into
22196         a new th_u3 union of tu_block/tu_code inside of that.  Move
22197         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
22198         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
22199         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22200         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22201         (th_stuff): Change to th_u1.tu_stuff.
22202         (th_data): Define.
22203         (th_msg): Change to th_u1.th_u2.tu_data.
22205 2012-05-07  David S. Miller  <davem@davemloft.net>
22207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22209         [BZ #14074]
22210         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22211         (SETUP_PIC_REG): Use it.
22212         (SETUP_PIC_REG_LEAF): Use it.
22214 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
22216         [BZ #13885]
22217         [BZ #13923]
22218         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22219         USE_AS_EXPM1L.
22220         (EXPL_FINITE): Likewise.
22221         (FLDLOG): Likewise.
22222         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22223         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22224         e_expl.S.
22225         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22226         USE_AS_EXPM1L.
22227         (EXPL_FINITE): Likewise.
22228         (FLDLOG): Likewise.
22229         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22230         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22231         e_expl.S.
22232         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
22233         test of -max_value argument for long double.
22234         * sysdeps/i386/fpu/libm-test-ulps: Update.
22235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22237 2012-05-06  David S. Miller  <davem@davemloft.net>
22239         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22240         quad soft-float symbols whose references which are compiler
22241         generated.
22242         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22244 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
22246         [BZ #13884]
22247         [BZ #13914]
22248         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22249         USE_AS_EXP10L.
22250         (EXPL_FINITE): Likewise.
22251         (FLDLOG): Likewise.
22252         (c0): Likewise.
22253         (c1): Likewise.
22254         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22255         Adjust comments for base varying.
22256         (__expl_finite): Change alias to EXPL_FINITE.
22257         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22258         e_expl.S.
22259         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22260         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22261         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22262         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22263         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22264         USE_AS_EXP10L.
22265         (EXPL_FINITE): Likewise.
22266         (FLDLOG): Likewise.
22267         (c0): Likewise.
22268         (c1): Likewise.
22269         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
22270         Adjust comments for base varying.
22271         (__expl_finite): Change alias to EXPL_FINITE.
22272         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
22273         tests for bugs.
22274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22276         [BZ #14064]
22277         * math/libm-test.inc (check_float_internal): Correct ulp
22278         calculation for subnormal expected results.
22280 2012-05-06  Andreas Jaeger  <aj@suse.de>
22282         * Makeconfig (+math-flags): New, set to -frounding-math.
22283         (+cflags): Add +math-flags so that all of glibc gets compiled with
22284         it.
22286         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22288 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
22290         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22291         Disable one test.
22293         [BZ #13787]
22294         [BZ #13922]
22295         [BZ #14036]
22296         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22297         (__ieee754_expl): Allow for and saturate large arguments.
22298         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22299         (u_threshold): Likewise.
22300         (__exp): Call __ieee754_exp before checking for overflow and
22301         underflow.
22302         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22303         (u_threshold): Likewise.
22304         (__expf): Call __ieee754_expf before checking for overflow and
22305         underflow.
22306         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22307         (u_threshold): Likewise.
22308         (__expl): Call __ieee754_expl before checking for overflow and
22309         underflow.
22310         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22311         (__ieee754_expl): Allow for and saturate large arguments.
22312         * math/libm-test.inc (exp_test): Add another test.  Do not allow
22313         missing overflow exception on overflow.
22314         (expm1_test): Do not allow missing overflow exception on overflow.
22316         * sysdeps/i386/fpu/e_expl.c: Move to ...
22317         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
22318         rather than using inline asm.
22319         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22320         * sysdeps/x86_64/fpu/e_expl.S: Copy from
22321         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22323         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22324         (nice): Likewise.
22325         (poll): Likewise.
22326         (signal): Likewise.
22327         (time): Likewise.
22328         (times): Likewise.
22330 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22332         * sysdeps/unix/syscalls.list (adjtime): Add entry from
22333         sysdeps/unix/common/syscalls.list.
22334         (fchmod): Likewise.
22335         (fchown): Likewise.
22336         (ftruncate): Likewise.
22337         (getrusage): Likewise.
22338         (gettimeofday): Likewise.
22339         (setpgid): Likewise.
22340         (setregid): Likewise.
22341         (setreuid): Likewise.
22342         (sigaction): Likewise.
22343         (truncate): Likewise.
22344         (vhangup): Likewise.
22345         * sysdeps/unix/common/syscalls.list: Remove file.
22346         * sysdeps/unix/bsd/Implies: Don't include unix/common.
22347         * sysdeps/unix/sysv/linux/Implies: Likewise.
22349 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
22351         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22353         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22354         Moved to ...
22355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22356         Here.
22357         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22358         to ...
22359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22360         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22361         to ...
22362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22363         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22364         to ...
22365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22366         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22367         to ...
22368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22369         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22370         to ...
22371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22372         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22373         to ...
22374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22375         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22376         to ...
22377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22378         Here.
22379         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22380         to ...
22381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22382         Here.
22383         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22384         to ...
22385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22386         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22387         Moved to ...
22388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22389         Here.
22390         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22391         to ...
22392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22394 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22396         * sysdeps/unix/common/bits/dirent.h: Remove file.
22397         * sysdeps/unix/common/bits/fcntl.h: Likewise.
22399         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22400         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22401         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22402         * sysdeps/unix/bsd/isatty.c: Likewise.
22403         * sysdeps/unix/bsd/tcdrain.c: Likewise.
22404         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22405         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22407 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22409         [BZ #13563]
22410         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22411         long double comparison inaccuracies.
22412         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22415 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
22417         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22418         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22420 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
22422         [BZ #14049]
22423         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22424         nonzero digits before rounding a hex value.
22425         * stdlib/tst-strtod.c (tests): Add another test.
22427 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22429         * sysdeps/s390/fpu/libm-test-ulps: Update.
22431 2012-05-03  Andreas Jaeger  <aj@suse.de>
22433         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22434         does not get optimized out.
22435         (malloc_opt_barrier): New.
22437 2012-05-03  Andreas Jaeger  <aj@suse.de>
22438             Roland McGrath  <roland@hack.frob.com>
22440         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22441         intermediate file deletion.
22442         (generated): Add .symlist files.
22444 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
22446         [BZ #13775]
22447         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22448         Redirect under this condition.
22449         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22450         [__USE_GNU] (__dprintf_chk): Not under this condition.
22451         [__USE_GNU] (__vdprintf_chk): Likewise.
22452         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22453         under this condition.
22454         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22455         [__USE_XOPEN2K8] (dprintf): Define under this condition.
22456         [__USE_XOPEN2K8] (vdprintf): Likewise.
22457         [__USE_GNU] (__dprintf_chk): Not under this condition.
22458         [__USE_GNU] (__vdprintf_chk): Likewise.
22459         [__USE_GNU] (dprintf): Likewise.
22460         [__USE_GNU] (vdprintf): Likewise.
22462 2012-05-03  Roland McGrath  <roland@hack.frob.com>
22464         * elf/Makefile (common-generated): Set this instead of generated for
22465         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
22466         $(all-built-dso)-derived lists.
22468 2012-05-03  Andreas Jaeger  <aj@suse.de>
22470         * sysdeps/i386/fpu/libm-test-ulps: Update.
22472         * FAQ: Removed.
22473         * FAQ.in: Likewise.
22474         * scripts/gen-FAQ.pl: Likewise.
22475         * manual/install.texi (Installation): Point to online location of
22476         FAQ.
22477         * Makefile (files-for-dist): Remove FAQ.
22478         (FAQ): Remove.
22480 2012-05-02  Allan McRae  <allan@archlinux.org>
22482         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22483         (LDFLAGS-reldepmod5.so): Likewise.
22484         (LDFLAGS-reldep6mod1.so): Likewise.
22485         (LDFLAGS-reldep6mod4.so): Likewise.
22486         (LDFLAGS-reldep8mod3.so): Likewise.
22487         (LDFLAGS-unload4mod1.so): Likewise.
22488         (LDFLAGS-unload4mod2.so): Likewise.
22489         (LDFLAGS-tst-initorder): Likewise.
22490         (LDFLAGS-tst-initordera2.so): Likewise.
22491         (LDFLAGS-tst-initordera3.so): Likewise.
22492         (LDFLAGS-tst-initordera4.so): Likewise.
22493         (LDFLAGS-tst-initorderb2.so): Likewise.
22494         (LDFLAGS-noload): Likewise.
22495         (LDFLAGS-next): Likewise.
22496         (LDFLAGS-order2mod1.so): Likewise.
22497         (LDFLAGS-order2mod2.so): Likewise.
22498         (LDFLAGS-tst-initorder2): Likewise.
22499         (LDFLAGS-tst-initorder2a.so): Likewise.
22500         (LDFLAGS-tst-initorder2b.so): Likewise.
22501         (LDFLAGS-tst-initorder2c.so): Likewise.
22502         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22504 2012-05-02  David S. Miller  <davem@davemloft.net>
22506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22508 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22510         [BZ #14055]
22511         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22513 2012-05-02  Andreas Jaeger  <aj@suse.de>
22515         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22516         since we manipulate rounding mode.
22517         (CPPFLAGS-test-idouble.c): Likewise.
22518         (CPPFLAGS-test-ifloat.c): Likewise.
22519         (CFLAGS-test-ldouble.c): Likewise.
22520         (CFLAGS-test-double.c): Likewise.
22521         (CFLAGS-test-float.c): Likewise.
22522         (CFLAGS-test-misc.c): Likewise.
22523         (CFLAGS-test-test-fenv.c): Likewise.
22525 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22527         [BZ #2550]
22528         [BZ #2570]
22529         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22530         comparisons to determine direction to adjust input.
22532 2012-05-01  Roland McGrath  <roland@hack.frob.com>
22534         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22535         output to the target.
22537         * scripts/localplt.awk: New file.
22538         * elf/Makefile ($(objpfx)check-localplt): Target removed.
22539         (check-localplt-CFLAGS): Variable removed.
22540         ($(all-built-dso:=.jmprel)): New static pattern rule.
22541         (generated): Add those targets.
22542         (localplt-built-dso): New variable.
22543         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22545         * elf/check-localplt.c: File removed.
22547         * scripts/check-execstack.awk: New file.
22548         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22549         (check-execstack-CFLAGS): Variable removed.
22550         ($(objpfx)check-execstack.h): Target removed.
22551         ($(objpfx)execstack-default): New target.
22552         (generated): Add that instead of check-execstack.h.
22553         ($(all-built-dso:=.phdr)): New static pattern rule.
22554         (generated): Add those targets.
22555         * elf/check-execstack.c: File removed.
22557         * scripts/check-textrel.awk: New file.
22558         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22559         (check-textrel-CFLAGS): Variable removed.
22560         (all-built-dso): Use := to define.o
22561         ($(all-built-dso:=.dyn)): New static pattern rule.
22562         (generated): Add those targets.
22563         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22564         * config.make.in (READELF): New substituted variable.
22565         * elf/check-textrel.c: File removed.
22567 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22569         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22570         allow.
22571         * conform/data/ctype.h-data [C99-based standards] (isblank):
22572         Expect function.
22573         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22574         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22575         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22576         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22577         Specify type.  Require positive value.
22578         (EILSEQ): Likewise.
22579         (ERANGE): Likewise.
22580         [ISO || POSIX] (EILSEQ): Do not expect.
22581         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22582         Specify type.  Require positive value.
22583         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22584         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22585         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22586         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22587         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22588         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22589         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22590         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22591         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22592         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22593         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22594         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22595         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22596         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22597         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22598         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22599         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22600         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22601         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22602         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22603         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22604         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22605         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22606         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22607         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22608         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22609         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22610         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22611         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22612         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22613         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22614         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22615         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22616         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22617         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22618         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22619         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22620         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22621         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22622         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22623         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22624         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22625         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22626         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22627         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22628         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22629         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22630         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22631         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22632         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22633         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22634         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22635         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22636         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22637         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22638         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22639         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22640         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22641         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22642         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22643         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22644         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22645         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22646         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22647         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22648         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22649         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22650         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22651         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22652         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22653         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22654         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22655         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22656         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22657         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22658         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22659         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22660         Require >= 2.
22661         (FLT_ROUNDS): Expect as macro, not constant.
22662         (FLT_MANT_DIG): Use macro-int-constant.
22663         (DBL_MANT_DIG): Likewise.
22664         (LDBL_MANT_DIG): Likewise.
22665         (FLT_DIG): Likewise.
22666         (DBL_DIG): Likewise.
22667         (LDBL_DIG): Likewise.
22668         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22669         (DBL_MIN_EXP): Likewise.
22670         (LDBL_MIN_EXP): Likewise.
22671         (FLT_MAX_EXP): Use macro-int-constant.
22672         (DBL_MAX_EXP): Likewise.
22673         (LDBL_MAX_EXP): Likewise.
22674         (FLT_MAX_10_EXP): Likewise.
22675         (DBL_MAX_10_EXP): Likewise.
22676         (LDBL_MAX_10_EXP): Likewise.
22677         (FLT_MAX): Use macro-constant.
22678         (DBL_MAX): Likewise.
22679         (LDBL_MAX): Likewise.
22680         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22681         (DBL_EPSILON): Likewise.
22682         (LDBL_EPSILON): Likewise.
22683         (FLT_MIN): Likewise.
22684         (DBL_MIN): Likewise.
22685         (LDBL_MIN): Likewise.
22686         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22687         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22688         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22689         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22690         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22691         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22692         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22693         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22694         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22695         [ISO11] (FLT_TRUE_MIN): Likewise.
22696         [ISO11] (LDBL_TRUE_MIN): Likewise.
22697         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22698         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22699         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22700         (SCHAR_MAX): Likewise.
22701         (UCHAR_MAX): Likewise.
22702         (CHAR_MIN): Likewise.
22703         (CHAR_MAX): Likewise.
22704         (MB_LEN_MAX): Use macro-int-constant.
22705         (SHRT_MIN): Use macro-int-constant.  Specify type.
22706         (SHRT_MAX): Likewise.
22707         (USHRT_MAX): Likewise.
22708         (INT_MAX): Likewise.
22709         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22710         bound negative.
22711         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22712         bound with "U".
22713         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22714         bound with "L".
22715         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22716         bound negative.  Suffix upper bound with "L".
22717         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22718         bound with "UL".
22719         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22720         Specify type.
22721         [C99-based standards] (LLONG_MAX): Likewise.
22722         [C99-based standards] (ULLONG_MAX): Likewise.
22723         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22724         == 0.
22725         [ISO11] (max_align_t): Require type.
22726         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22728         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22729         from $CFLAGS, without defining away __attribute__ calls.
22730         (checknamespace): Use $CFLAGS_namespace.
22732         * conform/conformtest.pl (@keywords): Only include C99 keywords
22733         for standards based on C99 or C11.
22735         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22736         Disable tests.
22737         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22738         UNIX98]: Likewise.
22740         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22741         usability of symbols in #if.
22743         * conform/conformtest.pl: If macro or constant types start
22744         "promoted:", expect the symbol to be of the following type
22745         promoted by the integer promotions.
22747         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22748         in one place.  Also handle "macro-constant".
22750         * conform/conformtest.pl: Only accept expected macro values with
22751         "==".  Parse all "macro" lines in one place.
22752         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22754         * conform/conformtest.pl: Handle braced types on "constant" lines
22755         instead of handling "typed-constant".
22756         * conform/data/signal.h-data: Use "constant" instead of
22757         "typed-constant".
22759         * conform/conformtest.pl: Handle "optional-" at start of lines in
22760         one place rather than duplicating several cases.  Handle each
22761         format of "macro" line with initial "optional-".
22763         * conform/conformtest.pl: Only accept expected constant or
22764         optional-constant values with "==".  Parse all "constant" lines in
22765         one place.  Parse all "optional-constant" lines in one place.
22766         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22767         * conform/data/fmtmsg.h-data: Likewise.
22768         * conform/data/netinet/in.h-data: Likewise.
22769         * conform/data/tar.h-data: Likewise.
22770         * conform/data/limits.h-data: Use "==" form on "constant" and
22771         "optional-constant" lines.
22773         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22774         Use -std=c99 for XOPEN2K.
22775         (@knownproblems): Remove.
22776         (newtoken): Don't check %isknown.
22778         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22779         Do not expect macro.
22780         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22781         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22782         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22783         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22784         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22785         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22786         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22787         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22788         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22789         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22790         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22791         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22792         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22793         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22794         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22795         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22796         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22797         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22798         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22799         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22800         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22801         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22802         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22803         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22804         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22805         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22806         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22807         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22808         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22809         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22810         [XPG3] (acosh): Likewise.
22811         [XPG3] (asinh): Likewise.
22812         [XPG3] (atanh): Likewise.
22813         [XPG3] (cbrt): Likewise.
22814         [XPG3] (expm1): Likewise.
22815         [XPG3] (ilogb): Likewise.
22816         [XPG3] (log1p): Likewise.
22817         [XPG3] (logb): Likewise.
22818         [XPG3] (nextafter): Likewise.
22819         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22820         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22821         [XPG3] (remainder): Likewise.
22822         [XPG3] (rint): Likewise.
22823         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22824         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22825         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22826         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22827         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22828         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22829         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22830         [UNIX98 || XOPEN2K] (scalb): Expect.
22831         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22832         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22833         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22834         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22835         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22836         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22837         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22838         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22839         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22840         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22841         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22842         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22843         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22844         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22845         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22846         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22847         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22848         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22849         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22850         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22851         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22852         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22853         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22854         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22855         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22856         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22857         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22858         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22859         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22860         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22861         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22862         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22863         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22864         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22865         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22866         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22867         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22868         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22869         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22870         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22871         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22872         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22873         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22874         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22875         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22876         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22877         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22878         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22879         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22880         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22881         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22882         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22883         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22884         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22885         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22886         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22887         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22888         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22889         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22890         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22891         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22892         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22893         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22894         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22895         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22896         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22897         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22898         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22899         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22900         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22901         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22902         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22903         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22904         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22905         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22906         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22907         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22908         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22909         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22910         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22911         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22912         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22913         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22914         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22915         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22916         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22917         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22918         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22919         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22920         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22921         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22922         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22923         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22924         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22925         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22926         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22927         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22928         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22929         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22930         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22931         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22932         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22933         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22934         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22935         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22936         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22937         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22938         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22939         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22940         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22941         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22942         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22943         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22944         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22945         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22946         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22947         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22948         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22949         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22950         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22951         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22952         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22953         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22954         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22955         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22956         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22957         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22958         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22959         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22960         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22961         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22962         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22963         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22964         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22965         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22966         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22967         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22969         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22970         _XOPEN_SOURCE_EXTENDED for XPG4.
22972         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22974         * Makeconfig (localtime): Remove variable.
22975         (inst_localtime-file): Likewise.
22977 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22980         Update.
22981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22982         Update.
22983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22984         Update.
22985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22986         Update.
22987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22988         Update.
22989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22990         Update.
22991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22992         Update.
22993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22994         Update.
22995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22996         Update.
22998 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
23000         [BZ #2550]
23001         [BZ #2570]
23002         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23003         comparisons to determine direction to adjust input.
23004         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23005         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23006         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23007         Likewise.
23008         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23009         Likewise.
23010         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23011         Likewise.
23012         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23013         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23014         Likewise.
23015         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23016         Likewise.
23017         * math/libm-test.inc (nexttoward_test): Add more tests.
23019 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23021         [BZ #14040]
23022         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23023         in version GLIBC_2.1, not GLIBC_2.0.
23024         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23025         Likewise.
23027 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
23029         [BZ #13942]
23030         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23031         (1 - x) * (1 + x).
23032         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23033         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23034         * math/libm-test.inc (acos_test): Add more tests.
23035         (asin_test): Likewise.
23036         * sysdeps/i386/fpu/libm-test-ulps: Update.
23037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23039         [BZ #14034]
23040         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23041         of square root.
23042         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23043         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23044         * math/libm-test.inc (acos_test_tonearest): New function.
23045         (acos_test_towardzero): Likewise.
23046         (acos_test_downward): Likewise.
23047         (acos_test_upward): Likewise.
23048         (asin_test_tonearest): Likewise.
23049         (asin_test_towardzero): Likewise.
23050         (asin_test_downward): Likewise.
23051         (asin_test_upward): Likewise.
23052         (main): Call the new functions.
23053         * sysdeps/i386/fpu/libm-test-ulps: Update.
23054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23056         [BZ #13884]
23057         [BZ #13924]
23058         * math/e_exp10.c: Include <float.h>.
23059         (__ieee754_exp10): Handle underflow here rather than multiplying
23060         large negative argument by M_LN10.
23061         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23062         of __ieee754_expf.
23063         * math/e_exp10l.c: Include <float.h>.
23064         (__ieee754_exp10l): Handle underflow here rather than multiplying
23065         large negative argument by M_LN10l.
23066         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
23067         spurious overflow exception on underflow.
23069 2012-04-29  Marek Polacek  <polacek@redhat.com>
23071         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23072         (__fortify_function): New macro.
23073         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23074         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23075         __extern_always_inline.
23076         * libio/bits/stdio2.h: Likewise.
23077         * libio/bits/stdio.h: Likewise.
23078         * string/string.h: Likewise.
23079         * string/bits/string3.h: Likewise.
23080         * include/stdio.h: Likewise.
23081         * stdlib/bits/stdlib.h: Likewise.
23082         * stdlib/stdlib.h: Likewise.
23083         * rt/bits/mqueue2.h: Likewise.
23084         * rt/mqueue.h: Likewise.
23085         * posix/bits/unistd.h: Likewise.
23086         * posix/unistd.h: Likewise.
23087         * io/bits/poll2.h: Likewise.
23088         * io/bits/fcntl2.h: Likewise.
23089         * io/fcntl.h: Likewise.
23090         * io/sys/poll.h: Likewise.
23091         * misc/bits/syslog.h: Likewise.
23092         * misc/bits/syslog-ldbl.h: Likewise.
23093         * misc/sys/syslog.h: Likewise.
23094         * socket/bits/socket2.h: Likewise.
23095         * socket/sys/socket.h: Likewise.
23096         * debug/tst-chk1.c: Likewise.
23097         * wcsmbs/bits/wchar2.h: Likewise.
23098         * wcsmbs/bits/wchar-ldbl.h: Likewise.
23099         * wcsmbs/wchar.h: Likewise.
23101 2012-04-29  Andreas Jaeger  <aj@suse.de>
23103         * Makerules (tests): Remove enable-check-abi protection.
23104         (check-abi-warn): Remove.
23105         (check-abi-%): Remove check-abi-warn usage.
23107         * configure.in: Remove check-abi configure option.
23108         * configure: Regenerated.
23109         * config.make.in (enable-check-abi): Remove.
23111 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
23113         [BZ #14033]
23114         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23115         double functions to double *_finite functions.
23117         [BZ #13941]
23118         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23119         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23120         LDBL_MIN_EXP.
23121         * stdio-common/Makefile (tests): Add tst-sprintf3.
23122         * stdio-common/tst-sprintf3.c: New file.
23124         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23125         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23127 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23129         * conform/conformtest.pl: Remove duplicate typed-constant
23130         handling.
23132 2012-04-28  David S. Miller  <davem@davemloft.net>
23134         * Makerules (%.abilist): Add vpath on sysdep_dirs.
23135         (check-abi-%): Remove AWK script prerequisite and explicit
23136         abilist directory.
23137         (check-abi): Rewrite to just diff the symlist with the abilist.
23138         (config-tls, config-abi-config): Delete, no longer used.
23139         (update-abi-%): Remove AWK script and explicit abilist directory.
23140         (update-abi): Rewrite to simply compare and conditionally copy the
23141         symlist and the sysdep abilist file.  Remove update-abi-config
23142         checks.
23143         * abilist/ld.abilist: Remove.
23144         * abilist/libBrokenLocale.abilist: Remove.
23145         * abilist/libanl.abilist: Remove.
23146         * abilist/libcrypt.abilist: Remove.
23147         * abilist/libdl.abilist: Remove.
23148         * abilist/librt.abilist: Remove.
23149         * abilist/libthread_db.abilist: Remove.
23150         * abilist/libutil.abilist: Remove.
23151         * scripts/extract-abilist.awk: Remove.
23152         * scripts/merge-abilist.awk: Remove.
23153         * sysdeps/generic/libcidn.abilist: New file.
23154         * sysdeps/generic/libnss_compat.abilist: New file.
23155         * sysdeps/generic/libnss_db.abilist: New file.
23156         * sysdeps/generic/libnss_dns.abilist: New file.
23157         * sysdeps/generic/libnss_files.abilist: New file.
23158         * sysdeps/generic/libnss_hesiod.abilist: New file.
23159         * sysdeps/generic/libnss_nis.abilist: New file.
23160         * sysdeps/generic/libnss_nisplus.abilist: New file.
23161         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23162         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23163         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23164         file.
23165         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23166         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23167         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23168         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23169         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23170         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23171         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23172         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23173         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23174         file.
23175         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23176         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23177         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23178         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23179         file.
23180         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23181         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23182         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23183         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23184         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23185         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23186         file.
23187         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23188         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23189         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23190         file.
23191         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23193         New file.
23194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23195         New file.
23196         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23197         New file.
23198         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23199         New file.
23200         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23201         New file.
23202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23203         New file.
23204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23205         New file.
23206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23207         New file.
23208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23209         New file.
23210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23211         New file.
23212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23213         New file.
23214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23215         New file.
23216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23217         New file.
23218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23219         file.
23220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23221         New file.
23222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23223         New file.
23224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23225         file.
23226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23227         New file.
23228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23229         New file.
23230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23231         file.
23232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23233         New file.
23234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23235         New file.
23236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23237         New file.
23238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23239         New file.
23240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23241         New file.
23242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23243         New file.
23244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23246         file.
23247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23248         New file.
23249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23250         file.
23251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23252         file.
23253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23254         file.
23255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23256         file.
23257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23258         file.
23259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23260         New file.
23261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23262         file.
23263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23264         file.
23265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23266         New file.
23267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23268         file.
23269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23271         file.
23272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23273         New file.
23274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23275         file.
23276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23277         file.
23278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23279         file.
23280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23281         file.
23282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23283         file.
23284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23285         New file.
23286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23287         file.
23288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23289         file.
23290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23291         New file.
23292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23293         file.
23294         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23295         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23296         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23297         file.
23298         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23299         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23300         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23301         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23302         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23303         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23304         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23305         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23306         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23307         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23310         file.
23311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23312         New file.
23313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23314         file.
23315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23316         file.
23317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23318         file.
23319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23320         file.
23321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23322         file.
23323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23324         New file.
23325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23326         New file.
23327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23328         file.
23329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23330         New file.
23331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23332         file.
23333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23335         file.
23336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23337         New file.
23338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23339         file.
23340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23341         file.
23342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23343         file.
23344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23345         file.
23346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23347         file.
23348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23349         New file.
23350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23351         New file.
23352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23353         file.
23354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23355         New file.
23356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23357         file.
23359 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
23361         * conform/conformtest.pl: Fix typo in handling typed-constant from
23362         allow-header.
23364 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23366         * README: Cut down references to pre-2.6 Linux kernels and
23367         Linuxthreads.  Update lists of configurations in libc and ports
23368         and sort alphabetically.  Say "or newer" with Linux kernel version
23369         requirements.
23371         * config.h.in [IS_IN_build]: Allow compiling without optimization.
23373 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23375         [BZ #887]
23376         * math/libm-test.inc (logb_test_downward): New test to expose
23377         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23378         rounding mode.
23380 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
23382         [BZ #14027]
23383         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23384         to be done.
23385         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23386         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23388 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
23390         * sysdeps/unix/i386/brk.S: Remove file.
23391         * sysdeps/unix/i386/dl-brk.S: Likewise.
23392         * sysdeps/unix/i386/pipe.S: Likewise.
23393         * sysdeps/unix/i386/sigreturn.S: Likewise.
23394         * sysdeps/unix/i386/syscall.S: Likewise.
23395         * sysdeps/unix/i386/vfork.S: Likewise.
23396         * sysdeps/unix/i386/wait.S: Likewise.
23398         * sysdeps/unix/common/tcsendbrk.c: Move to ...
23399         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23401         * configure.in (arm*-none*): Do not allow without
23402         --enable-hacker-mode.
23403         (netbsd*): Remove case setting base_os.
23404         (386bsd*): Likewise.
23405         (freebsd*): Likewise.
23406         (bsdi*): Likewise.
23407         (osf*): Likewise.
23408         (sunos*): Likewise.
23409         (ultrix*): Likewise.
23410         (newsos*): Likewise.
23411         (dynix*): Likewise.
23412         (*bsd*): Likewise.
23413         (sysv*): Likewise.
23414         (isc*): Likewise.
23415         (esix*): Likewise.
23416         (sco*): Likewise.
23417         (minix*): Likewise.
23418         (irix4*): Likewise.
23419         (irix6*): Likewise.
23420         (solaris[2-9]*): Likewise.
23421         (none): Likewise.
23422         * configure: Regenerated.
23424 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23426         [BZ #11521]
23427         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23428         overflow or cancellation in calculating denominator.
23429         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23430         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23431         down expression to avoid unexpected rounding in newer GCCs.
23432         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23434 2012-04-26  David S. Miller  <davem@davemloft.net>
23436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23437         long-double compat symbols.
23438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23452 2012-04-25  David S. Miller  <davem@davemloft.net>
23454         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23455         HWCAP_* values only after the memory barriers have been defined.
23456         (atomic_full_barrier): Define.
23457         (atomic_read_barrier): Define.
23458         (atomic_write_barrier): Define.
23460 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23462         * shlib-versions: Add libgcc_s version information.
23463         * sysdeps/generic/libgcc_s.h: Remove.
23464         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23465         libgcc_s.h.
23466         * sysdeps/gnu/unwind-resume.c: Likewise.
23467         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23469 2012-04-25  David S. Miller  <davem@davemloft.net>
23471         * sysdeps/unix/sparc/brk.S: Delete.
23472         * sysdeps/unix/sparc/dl-brk.S: Delete.
23473         * sysdeps/unix/sparc/pipe.S: Delete.
23474         * sysdeps/unix/sparc/sysdep.S: Delete.
23475         * sysdeps/unix/sparc/sysdep.h: Delete.
23476         * sysdeps/unix/sparc/vfork.S: Delete.
23477         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23478         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23479         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23480         ret_ERRVAL, r0, r1, MOVE): Define.
23481         (JUMPTARGET): Remove.
23482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23483         sysdeps/unix/sparc/sysdep.h
23484         (ENTRY, END): Remove.
23485         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23487 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
23489         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23490         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23491         -DIS_IN_build.
23493         * timezone/README: Update upstream location and email address for
23494         tzcode and tzdata.
23495         * timezone/zdump.c: Update from tzcode 2012b.
23496         * timezone/zic.c: Likewise.
23498         * configure.in (libc_cv_as_needed): Remove test.
23499         * configure: Regenerated.
23500         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23501         conditional definition.
23502         [$(have-as-needed) != yes] (no-as-needed): Likewise.
23503         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23504         * config.make.in (have-as-needed): Remove variable.
23506 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23507             Paul Pluzhnikov  <ppluzhnikov@google.com>
23509         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23510         strings correctly.
23512 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
23514         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23515         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23516         * sysdeps/sh/strlen.S: Likewise.
23518 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23520         * sysdeps/unix/fork.S: Remove file.
23521         * sysdeps/unix/i386/fork.S: Likewise.
23522         * sysdeps/unix/sparc/fork.S: Likewise.
23524         * sysdeps/unix/system.c: Remove file.
23525         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23527         * sysdeps/unix/getegid.S: Remove file.
23528         * sysdeps/unix/geteuid.S: Likewise.
23530 2012-04-24  Roland McGrath  <roland@hack.frob.com>
23532         * scripts/check-localplt.awk: New file.
23533         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23534         of diff.
23535         * scripts/data/localplt-generic.data: Add a comment.
23537         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23538         NODE when __dir_mkfile failed.
23539         * sysdeps/mach/hurd/symlinkat.c: Likewise.
23540         Reported by Ludovic Courtès <ludo@gnu.org>.
23542 2012-04-24  Andreas Jaeger  <aj@suse.de>
23544         * Makerules (common-clean): Also remove gen-as-const-headers
23545         files.
23547 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23549         * Makerules (native-compile): Do not change working directory for
23550         build.  Use $(OUTPUT_OPTION) in command.
23551         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23553 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23555         [BZ #13886]
23556         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23557         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23558         * math/libm-test.inc (floor_test): Add more tests.
23559         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23561 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23563         * sysdeps/unix/getdents.c: Remove file.
23564         * sysdeps/unix/sysv/getdents.c: Likewise.
23565         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23567         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23568         sysdeps/unix/mman/syscalls.list.
23569         (mmap): Likewise.
23570         (mprotect): Likewise.
23571         (msync): Likewise.
23572         (munmap): Likewise.
23573         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23574         * sysdeps/unix/mman/syscalls.list: Remove.
23575         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23577         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23578         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23579         * configure: Regenerated.
23580         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23581         $(libgcc_s_suffix).
23582         * config.make.in (libgcc_s_suffix): Remove variable.
23584 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23586         * sysdeps/unix/sysv/gethostname.c: Move to ...
23587         * sysdeps/posix/gethostname.c: ... here.
23589         * sysdeps/unix/execve.S: Remove file.
23591         * sysdeps/unix/_exit.S: Remove file.
23593 2012-04-23  Andreas Jaeger  <aj@suse.de>
23595         [BZ #13739]
23596         * manual/Makefile: Remove make dist support, there's no
23597         need for a stand-alone documentation tar ball.
23598         (TEXI2DVI): Define always, it's not in Makeconfig.
23599         (dist): Removed.
23600         (tar-it): Removed.
23601         (edition): Removed.
23602         (glibc-doc-$(edition).tar): Removed
23603         (%.Z): Removed.
23604         (%.gz): Removed.
23605         (%.uu): Removed.
23606         (ETAGS): Remove, it's in Makeconfig.
23607         (move-if-change): Remove, it's in Makeconfig.
23609 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23611         [BZ #13970]
23612         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23613         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23614         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23615         (strtod_l, strtof_l, strtold_l): Remove __wur.
23616         It is not necessarily an error to ignore strtol's return value.
23617         One can reliably look at the stored endptr to decide whether
23618         the number had valid syntax.
23620 2012-04-21  Andreas Jaeger  <aj@suse.de>
23622         [BZ #13739]
23623         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23625 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23627         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23628         * sysdeps/unix/sysv/Versions: Remove file.
23630 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23632         [BZ #13927]
23633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23635 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23637         [BZ #7064]
23638         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23639         version from __vm86.
23641 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23643         * sysdeps/unix/common/lxstat.c: Remove file.
23644         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23646         * sysdeps/unix/sysv/Makefile: Remove file.
23648         * sysdeps/unix/sysv/direct.h: Remove file.
23650         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23651         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23652         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23653         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23654         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23655         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23656         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23658         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23660         * sysdeps/unix/xmknod.c: Remove file.
23661         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23663         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23665         * sysdeps/unix/sysv/i386/time.S: Remove file.
23667         * sysdeps/unix/fxstat.c: Remove file.
23668         * sysdeps/unix/xstat.c: Likewise.
23669         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23671         * sysdeps/unix/sysv/sigaction.c: Remove file.
23673         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23674         (sysdep_headers): Remove variable.
23675         [termio.h not in sysdep_headers] (generated): Likewise.
23676         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23677         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23678         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23679         * sysdeps/unix/sysv/tcflow.c: Likewise.
23680         * sysdeps/unix/sysv/tcflush.c: Likewise.
23681         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23682         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23683         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23684         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23685         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23687         * sysdeps/unix/siglist.c: Remove file.
23689         * sysdeps/unix/getppid.S: Remove file.
23691         * sysdeps/unix/mkdir.c: Remove file.
23692         * sysdeps/unix/rmdir.c: Likewise.
23694 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23696         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23697         ERR_MAX value.
23698         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23699         errlist-compat value.
23701 2012-04-18  David S. Miller  <davem@davemloft.net>
23703         * sysdeps/generic/memcopy.h (reg_char): Delete.
23704         * debug/strcat_chk.c: Use char, not reg_char.
23705         * debug/strcpy_chk.c: Likewise.
23706         * debug/strncat_chk.c: Likewise.
23707         * debug/strncpy_chk.c: Likewise.
23708         * string/memchr.c: Likewise.
23709         * string/memrchr.c: Likewise.
23710         * string/rawmemchr.c: Likewise.
23711         * string/strcat.c: Likewise.
23712         * string/strchr.c: Likewise.
23713         * string/strchrnul.c: Likewise.
23714         * string/strcmp.c: Likewise.
23715         * string/strcpy.c: Likewise.
23716         * string/strncat.c: Likewise.
23717         * string/strncmp.c: Likewise.
23718         * string/strncpy.c: Likewise.
23720 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23722         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23723         __builtin_memcopy is called when src and dest ranges are known to not
23724         overlap.
23726 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23728         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23729         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23730         fwd_align_merge macro call.
23731         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23732         bwd_align_merge macro call.
23733         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23735 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23737         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23738         bwd_align_merge macros.
23739         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23740         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23741         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23743 2012-04-18  David S. Miller  <davem@davemloft.net>
23745         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23747 2012-04-18  Andreas Jaeger  <aj@suse.de>
23749         [BZ# 6794]
23750         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23751         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23752         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23754         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23755         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23756         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23758         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23759         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23760         Adjust for changed ldbl-128 files.
23762         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23763         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23764         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23766 2012-04-17  David S. Miller  <davem@davemloft.net>
23768         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23770 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23772         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23773         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23774         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23775         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23776         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23777         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23779 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23781         [BZ #6794]
23782         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23783         * math/libm-test.inc: Add ilogb errno and exception tests.
23784         * math/w_ilogb.c: New file: ilogb wrapper.
23785         * math/w_ilogbf.c: New file: ilogbf wrapper.
23786         * math/w_ilogbl.c: New file: ilogbl wrapper.
23787         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23788         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23789         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23790         exception being thrown with 0.0 as argument.
23791         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23792         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23793         exception being thrown with 0.0 as argument.
23794         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23795         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23796         exception being thrown with 0.0 as argument.
23797         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23798         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23799         exception being thrown with 0.0 as argument.
23800         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23801         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23802         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23803         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23804         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23805         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23806         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23807         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23808         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23810 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23812         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23813         with altivec.
23815 2012-04-16  Marek Polacek  <polacek@redhat.com>
23817         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23819 2012-04-16  Marek Polacek  <polacek@redhat.com>
23821         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23822         operands of fdivp instruction.
23824 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23826         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23827         * elf/tst-auditmod3b.c: Likewise.
23828         * elf/tst-auditmod4b.c: Likewise.
23829         * elf/tst-auditmod5b.c: Likewise.
23830         * elf/tst-auditmod6b.c: Likewise.
23831         * elf/tst-auditmod6c.c: Likewise.
23832         * elf/tst-auditmod7b.c: Likewise.
23833         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23834         * sysdeps/x86_64/preconfigure.in: Likewise.
23835         * sysdeps/x86_64/preconfigure: Regenerated.
23837 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23839         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23840         __ILP32__.
23842 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23844         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23845         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23847 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23849         [BZ #13973]
23850         * locale/iso-639.def: Fix gl language name. Spotted by
23851         Yaron Shahrabani.
23853 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23855         [BZ #2074]
23856         * libio/libio.h (__io_write_fn): Update comment.
23858 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23860         [BZ #2074]
23861         * stdio.texi (Hook Functions): The user provided writer function
23862         is not allowed to return -1.
23864 2012-04-11  David S. Miller  <davem@davemloft.net>
23866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23868 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23870         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23871         Add a leading slash to rtkaio.
23873 2012-04-11  Jim Meyering  <meyering@redhat.com>
23875         [BZ #11959]
23876         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23877         It is not necessarily an error to ignore fwrite's return
23878         value.  One can reliably use ferror to test for errors after
23879         the fact.
23881 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23883         * bits/types.h (__snseconds_t): New type.
23884         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23886         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23887         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23888         (__SNSECONDS_T_TYPE): Likewise.
23889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23890         (__SNSECONDS_T_TYPE): Likewise.
23891         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23892         (__SNSECONDS_T_TYPE): Likewise.
23894 2012-04-10  Andreas Jaeger  <aj@suse.de>
23896         [BZ #2636]
23897         * manual/time.texi (Processor Time): Return type of times is
23898         elapsed real time since an arbitrary point in the past.
23899         (CPU Time): Move CLK_TCK from here...
23900         (Processor Time): ...to here.  Correct description.
23901         * manual/conf.texi (Constants for Sysconf): Correct description of
23902         _SC_CLK_TCK.
23904 2012-04-10  David S. Miller  <davem@davemloft.net>
23906         [BZ #13967]
23907         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23908         where the is a gap between DT_REL(A) and DT_JMPREL.
23910 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23912         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23913         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23914         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23916 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23918         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23919         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23920         (dl_main): Handle --inhibit-cache.
23921         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23922         _dl_inhibit_cache.
23923         * elf/dl-load.c (_dl_map_object): Use it.
23924         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23926 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23928         [BZ #13872]
23929         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23930         (__ieee754_powl): Saturate large exponents rather than testing for
23931         overflow of y*log2(x).
23932         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23933         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23934         exceptions.
23936         [BZ #11521]
23937         * math/s_ctan.c: Include <float.h>.
23938         (__ctan): Avoid internal overflow or cancellation in calculating
23939         denominator.
23940         * math/s_ctanf.c: Likewise.
23941         * math/s_ctanl.c: Likewise.
23942         * math/s_ctanh.c: Likewise.
23943         * math/s_ctanhf.c: Likewise.
23944         * math/s_ctanhl.c: Likewise.
23945         * math/libm-test.inc (ctan_test): Add more tests.
23946         (ctanh_test): Likewise.
23947         * sysdeps/i386/fpu/libm-test-ulps: Update.
23948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23950 2012-04-09  Andreas Jaeger  <aj@suse.de>
23952         [BZ #6894]
23953         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23954         is an optional BSD extension.
23956         [BZ #10254]
23957         * manual/stdio.texi (Opening Streams): Document additional fopen
23958         parameters.
23960 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23962         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23963         %eax without telling the compiler.
23965 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23967         [BZ # 13963]
23968         * manual/install.texi: Use sourceware.org.
23970 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23972         [BZ #13873]
23973         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23974         (__ieee754_pow): Generate overflow and underflow using huge*huge
23975         and tiny*tiny rather than just returning constant infinity or zero
23976         for large exponents.
23977         * math/libm-test.inc (pow_test): Require overflow exceptions for
23978         applicable cases of large exponents.
23980         [BZ #706]
23981         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23982         (__ieee754_pow): Use iterative multiplication algorithm only for
23983         integer exponents with absolute value below 1024.  Check for odd
23984         integer exponents when using algorithm for real exponents.
23985         * math/libm-test.inc (pow_test): Add more tests.
23986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23988 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23990         [BZ #13705]
23991         * math/libm-test.inc (exp_test): Do not allow overflow exception
23992         on underflow test.
23994 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23996         [BZ #13705]
23997         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23998         instead of __kernel_standard_f.
24000 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
24002         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24003         * sysdeps/x86_64/memset_chk.S: Likewise.
24005 2012-04-08  Andreas Jaeger  <aj@suse.de>
24007         [BZ #10153]
24008         * manual/startup.texi (Environment Access): Describe return value
24009         for putenv and setenv.
24011         [BZ #6895]
24012         * manual/filesys.texi (Directory Entries): Add description for
24013         DT_LNK.
24015         [BZ #6890]
24016         * manual/filesys.texi (Directory Entries): Clarify that it's file
24017         system not operating system in the description of DT_UNKNOWN.
24019         [BZ #6578]
24020         * manual/syslog.texi (closelog): Fix reference, it's openlog.
24022 2012-04-08  Stephen Compall  <s11@member.fsf.org>
24024         [BZ #6649]
24025         * manual/llio.texi (Opening and Closing Files): Add cross
24026         reference to explain mode argument.
24028 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
24030         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24031         * sysdeps/x86_64/memset_chk.S: Likewise.
24033 2012-04-07  David S. Miller  <davem@davemloft.net>
24035         * elf/elf.h (R_SPARC_WDISP10): Define.
24036         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24037         R_SPARC_SIZE32.
24038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24039         R_SPARC_SIZE64 and R_SPARC_H34.
24041 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
24043         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24044         conditions and remove no longer applicable assertion.
24046 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24048         * bits/byteswap.h: Include <features.h>.
24049         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24050         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24052 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
24054         * bits/byteswap.h (__bswap_16): Removed.
24055         Include <bits/byteswap-16.h> to get __bswap_16.
24056         * sysdeps/i386/bits/byteswap.h: Likewise.
24057         * sysdeps/s390/bits/byteswap.h: Likewise.
24058         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24059         * bits/byteswap-16.h: New file.
24060         * sysdeps/i386/bits/byteswap-16.h: Likewise.
24061         * sysdeps/s390/bits/byteswap-16.h: Likewise.
24062         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24063         * string/Makefile (headers): Add bits/byteswap-16.h.
24065 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24067         [BZ #13895]
24068         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24069         extra indirection.
24070         * nss/Makefile (tests-static, tests): Add tst-nss-static.
24071         * nss/tst-nss-static.c: New.
24073 2012-04-06  Robert Millan  <rmh@gnu.org>
24075         [BZ #6486]
24076         * manual/llio.texi (File Position Primitive): lseek
24077         refers to WHENCE when it really means OFFSET.
24079 2012-04-06  Andreas Jaeger  <aj@suse.de>
24081         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24082         strncmp declarations.
24084         * abilist/libc.abilist: Add __poll and __ppoll.
24086 2012-04-05  David S. Miller  <davem@davemloft.net>
24088         * scripts/check-local-headers.sh: Accept a host triplet in the
24089         path matched by the exclude regexp.
24091         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24092         definition.
24093         * sysdeps/powerpc/powerpc32/dl-machine.h
24094         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24095         * sysdeps/s390/s390-32/dl-machine.h
24096         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24097         * sysdeps/sparc/sparc32/dl-machine.h
24098         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24099         * sysdeps/sparc/sparc64/dl-machine.h
24100         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24102         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24103         lazy binding.
24104         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24105         undefined symbol errors.
24107         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24108         DT_NEEDED entries.
24110 2012-04-05  Michael Matz  <matz@suse.de>
24112         [BZ #13592]
24113         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24115 2012-04-05  Andreas Jaeger  <aj@suse.de>
24117         [BZ #13908]
24118         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24119         comment.
24121 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24123         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24124         which ROUND is no valid rounding mode.
24126 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24128         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24129         read again.
24130         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24132 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24134         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24135         an exception using FPU order intentionally.
24137 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24139         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24140         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24141         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24142         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24144 2012-04-05  Simon Josefsson  <simon@josefsson.org>
24146         [BZ #12340]
24147         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24148         EINVAL when BUFLEN is too smal.
24150 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24152         [BZ #13553]
24153         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24154         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24156 2012-04-03  Andreas Jaeger  <aj@suse.de>
24158         [BZ #13938]
24159         * manual/setjmp.texi (System V contexts): Fix sentence.
24161         [BZ #13926]
24162         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24163         New macro for this case.
24164         [!__GNUC__] (__bswap_64): New inline function for this case.
24165         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24166         * bits/byteswap.h: Likewise.
24167         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24168         ull, guard with __GLIBC_HAVE_LONG_LONG.
24170         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24171         __GLIBC_HAVE_LONG_LONG.
24173         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24174         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24176 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24178         [BZ #13691]
24179         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24180         inptr and inend, rather than using last_ch.
24182 2012-04-02  David S. Miller  <davem@davemloft.net>
24184         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24185         * stdio-common/printf-parse.h (read_int): Change return type to
24186         'int', return -1 on INT_MAX overflow.
24187         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24188         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
24189         overflows INT_MAX.  Check for overflow of in-format-string precision
24190         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
24191         SIZE_MAX not INT_MAX for integer overflow test.
24192         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24193         skip the construct in the format string but do not record anything.
24194         * stdio-common/bug22.c: Adjust to test both width/prevision
24195         INT_MAX overflow as well as total length INT_MAX overflow.  Check
24196         explicitly for proper errno values.
24198 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24200         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24201         CHAR_MAX.
24202         * string/test-strcmp.c [! WIDE]: Likewise.
24203         * time/tst-mktime2.c: Likewise for INT_MAX.
24204         * string/test-string.h: #include <sys/param.h> for MIN.
24206         * csu/init-first.c (__libc_init_first): Call __ctype_init.
24207         * sysdeps/i386/init-first.c (init): Likewise.
24208         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24209         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24210         * sysdeps/sh/init-first.c (init): Likewise.
24212 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
24214         * po/ru.po: Update from translation team.
24215         * po/vi.po: Likewise.
24217 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24219         * resolv/nss_dns/dns-host.c: Merge copyright years.
24221 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24223         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24224         Optimize memcpy with prefetch if
24225         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
24226         src, dst pointers have unequal 16 byte alignments.
24228 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24230         [BZ #13928]
24231         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24232         from a CNAME entry and return the minimum ttl for the query.
24233         (gaih_getanswer_slice): Likewise.
24235 2012-03-30  Jeff Law  <law@redhat.com>
24237         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24238         due to long keys.
24239         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24240         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24242         * resolv/nss_dns/dns-host.c: Update copyright year.
24244 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
24246         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24247         requests to save a system call.  Fix check that all bytes are sent.
24249         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24250         comments for sendmmsg.
24252 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24254         [BZ #13691]
24255         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24256         with only 1 character between 0x0041 and 0x01b0.
24257         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24258         * wcsmbs/tst-mbsnrtowcs.c: New file.
24260 2012-03-29  David S. Miller  <davem@davemloft.net>
24262         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24263         small copies by hand.
24265 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24267         [BZ #13761]
24268         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24269         _nss_compat_initgroups_dyn): Fall back to malloc/free
24270         for large group memberships.
24272 2012-03-28  David S. Miller  <davem@davemloft.net>
24274         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24275         that branches into memcpy.
24276         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24277         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24278         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24279         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24280         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24281         bits.
24282         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24283         implementation too.
24284         * sysdeps/sparc/mempcpy.S: New file.
24286         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24287         the IFUNC routine in the libc case.
24288         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24290         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24291         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24292         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24293         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24294         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24295         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24296         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24297         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24299         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24300         loop to 256 bytes instead of 64 bytes and fix test signedness.
24302         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24303         * sysdeps/sparc/sparc32/Makefile: rather than here...
24304         * sysdeps/sparc/sparc64/Makefile: and here.
24306 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
24308         * malloc/mallocbug.c: Avoid warnings about unused variables.
24310 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24312         [BZ #13760]
24313         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24314         in the right place. Discard and retry query if response is
24315         larger than input buffer size.
24317 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
24319         [BZ #369]
24320         [BZ #2678]
24321         [BZ #3866]
24322         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24323         x for large integer exponent.
24324         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24325         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
24326         sign of result as needed afterwards.
24327         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24328         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24329         result for underflowing pow the same as for overflow.
24330         (__kernel_standard_l): Handle powl overflow and underflow here
24331         rather than calling __kernel_standard.
24332         * math/libm-test.inc (pow_test): Add more tests.
24334         [BZ #3868]
24335         [BZ #13879]
24336         [BZ #13910]
24337         [BZ #13911]
24338         [BZ #13912]
24339         [BZ #13913]
24340         [BZ #13915]
24341         [BZ #13916]
24342         [BZ #13917]
24343         [BZ #13918]
24344         [BZ #13919]
24345         [BZ #13920]
24346         [BZ #13921]
24347         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24348         * sysdeps/ieee754/k_standard.c: Include <float.h>.
24349         (__kernel_standard_l): New function.
24350         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24351         __kernel_standard.
24352         * math/w_acosl.c (__acosl): Likewise.
24353         * math/w_asinl.c (__asinl): Likewise.
24354         * math/w_atan2l.c (__atan2l): Likewise.
24355         * math/w_atanhl.c (__atanhl): Likewise.
24356         * math/w_coshl.c (__coshl): Likewise.
24357         * math/w_exp10l.c (__exp10l): Likewise.
24358         * math/w_exp2l.c (__exp2l): Likewise.
24359         * math/w_fmodl.c (__fmodl): Likewise.
24360         * math/w_hypotl.c (__hypotl): Likewise.
24361         * math/w_j0l.c (__j0l, __y0l): Likewise.
24362         * math/w_j1l.c (__j1l, __y1l): Likewise.
24363         * math/w_jnl.c (__jnl, __ynl): Likewise.
24364         * math/w_lgammal.c (__lgammal): Likewise.
24365         * math/w_log10l.c (__log10l): Likewise.
24366         * math/w_log2l.c (__log2l): Likewise.
24367         * math/w_logl.c (__logl): Likewise.
24368         * math/w_powl.c (__powl): Likewise.
24369         * math/w_remainderl.c (__remainderl): Likewise.
24370         * math/w_scalbl.c (sysv_scalbl): Likewise.
24371         * math/w_sinhl.c (__sinhl): Likewise.
24372         * math/w_sqrtl.c (__sqrtl): Likewise.
24373         * math/w_tgammal.c (__tgammal): Likewise.
24374         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24375         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24376         * math/libm-test.inc (acos_test): Add more tests.
24377         (acosh_test): Likewise.
24378         (asin_test): Likewise.
24379         (atanh_test): Likewise.
24380         (exp_test): Likewise.
24381         (exp10_test): Likewise.
24382         (exp2_test): Likewise.
24383         (expm1_test): Likewise.
24384         (lgamma_test): Likewise.
24385         (log_test): Likewise.
24386         (log10_test): Likewise.
24387         (log1p_test): Likewise.
24388         (log2_test): Likewise.
24389         (pow_test): Do not allow some spurious overflow exceptions.
24390         (sqrt_test): Add more tests.
24391         (tgamma_test): Likewise.
24392         (y0_test): Likewise.
24393         (y1_test): Likewise.
24394         (yn_test): Likewise.
24396 2012-03-27  Anton Blanchard  <anton@samba.org>
24398         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24399         MAP_HUGETLB.
24400         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24401         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24402         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24404 2012-03-27  David S. Miller  <davem@davemloft.net>
24406         * conform/Makefile: Run run-conformtest.sh using $(BASH).
24408         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24409         have-as-vis3 check.
24411 2012-03-27  Andreas Jaeger  <aj@suse.de>
24413         * sysdeps/x86_64/elf/configure.in: Moved to ...
24414         * sysdeps/x86_64/configure.in: ... here.
24415         * sysdeps/x86_64/elf/start.S: Moved to ...
24416         * sysdeps/x86_64/start.S: ... here.
24417         * sysdeps/x86_64/elf/configure: Delete.
24419         * sysdeps/x86_64/configure.in: Merge contents from
24420         sysdeps/i386/configure.in (without i686 check).
24422         * sysdeps/i386/elf/Versions: Merge into ...
24423         * sysdeps/i386/Versions: ... this.
24424         * sysdeps/i386/elf/Versions: Delete file.
24425         * sysdeps/i386/elf/start.S: Moved to ...
24426         * sysdeps/i386/start.S: ...here.
24427         * sysdeps/i386/elf/configure.in: Merge into...
24428         * sysdeps/i386/configure.in: ...here.
24429         * sysdeps/i386/elf/configure.in: Delete file.
24430         * sysdeps/i386/elf/configure: Delete file.
24432         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24433         * debug/backtracesyms.c: ... here.
24434         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24435         * debug/backtracesymsfd.c: ... here.
24436         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24437         * sysdeps/generic/ifunc-sel.h: ... here.
24439         * sysdeps/unix/i386/start.c: Delete file.
24440         * sysdeps/unix/sparc/start.c: Delete file.
24441         * sysdeps/unix/start.c: Delete file.
24443         * sysdeps/sh/elf/configure.in: Moved to ...
24444         * sysdeps/sh/configure.in: ... here.
24445         * sysdeps/sh/elf/start.S: Moved to ...
24446         * sysdeps/sh/start.S: ... here.
24447         * sysdeps/sh/elf/configure: Delete file.
24449         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24450         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24451         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24452         * sysdeps/powerpc/powerpc64/entry.h: ... here.
24453         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24454         * sysdeps/powerpc/powerpc64/start.S: here.
24455         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24456         * sysdeps/powerpc/powerpc64/Makefile: ... this.
24457         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24458         * sysdeps/powerpc/powerpc64/configure.in: ... this.
24459         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24461         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24462         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24463         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24464         * sysdeps/powerpc/powerpc32/start.S: ... here.
24465         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24466         * sysdeps/powerpc/powerpc32/configure.in: ... this.
24467         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24469         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24470         * sysdeps/powerpc/ifunc-sel.h: ... here.
24471         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24472         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24474         * sysdeps/sparc/elf/configure.in: Moved to ...
24475         * sysdeps/sparc/configure.in: ... here.
24476         * sysdeps/sparc/elf/configure: Delete file.
24477         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24478         * sysdeps/sparc/sparc32/start.S: ... here.
24479         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24480         * sysdeps/sparc/sparc64/start.S: ... here.
24481         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24482         * sysdeps/sparc/sparc32/Makefile: ... this.
24483         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24484         * sysdeps/sparc/sparc64/Makefile: ... this.
24486         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24487         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24488         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24489         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24490         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24491         * sysdeps/s390/s390-32/setjmp.S: ... here.
24492         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24493         * sysdeps/s390/s390-32/configure.in: ... here.
24494         * sysdeps/s390/s390-32/elf/configure: Delete file.
24495         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24496         * sysdeps/s390/s390-32/start.S: ... here.
24498         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24499         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24500         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24501         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24502         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24503         * sysdeps/s390/s390-64/setjmp.S: ... here.
24504         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24505         * sysdeps/s390/s390-64/configure.in: ... here
24506         * sysdeps/s390/s390-64/elf/configure: Delete file.
24507         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24508         * sysdeps/s390/s390-64/start.S: ... here.
24509         * sysdeps/s390/s390-64/elf/configure: Delete.
24511         * configure.in: Remove support for elf directories in sysdeps.
24513         * configure: Regenerated.
24514         * sysdeps/i386/configure: Regenerated.
24515         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24516         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24517         * sysdeps/s390/s390-32/configure: Regenerated.
24518         * sysdeps/s390/s390-64/configure: Regenerated.
24519         * sysdeps/sh/configure: Regenerated.
24520         * sysdeps/sparc/configure: Regenerated.
24521         * sysdeps/x86_64/configure: Regenerated.
24523 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
24525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24527         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24528         denormal result into account.
24530 2012-03-25  Roland McGrath  <roland@hack.frob.com>
24532         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24533         Reported by Allan McRae <allan@archlinux.org>.
24535 2012-03-23  Jeff Law  <law@redhat.com>
24537         * nss/getnssent.c (__nss_getent): Fix typo.
24539 2012-03-23  David S. Miller  <davem@davemloft.net>
24541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24543 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
24545         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24546         to pad to uint64_t for each field.
24547         (dl_tls_index): Replace unsigned long with uint64_t.
24549 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24550         Paul Pluzhnikov  <ppluzhnikov@google.com>
24552         [BZ #6528]
24553         * grp/Makefile (otherlibs): Don't set it.
24554         * inet/Makefile (otherlibs): Likewise.
24555         * login/Makefile (otherlibs): Likewise.
24556         * nscd/Makefile (otherlibs): Likewise.
24557         * posix/Makefile (otherlibs): Likewise.
24558         * pwd/Makefile (otherlibs): Likewise.
24559         * rt/Makefile (otherlibs): Likewise.
24560         * sunrpc/Makefile (otherlibs): Likewise.
24561         * nss/Makefile (otherlibs): Likewise.
24562         Add libnss_files to routines and static-only-routines.
24563         ($(objpfx)getent): Remove rule.
24564         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24565         static-only-routines.
24567 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24569         [BZ #13892]
24570         * math/s_cexp.c: Include <float.h>.
24571         (__cexp): Handle exp result overflowing not necessarily
24572         overflowing both real and imaginary parts of result.
24573         * math/s_cexpf.c: Likewise.
24574         * math/s_cexpl.c: Likewise.
24575         * math/libm-test.inc (cexp_test): Add more tests.
24576         * sysdeps/i386/fpu/libm-test-ulps: Update.
24577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24579 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24581         * include/link.h (ELFW): New macro.
24582         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24583         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24585 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24587         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24588         with uint64_t.
24590 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24592         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24593         declaration.
24594         (struct La_x32_retval): Likewise.
24596 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24598         * sysdeps/x86_64/preconfigure.in: New file.
24599         * sysdeps/x86_64/preconfigure: New generated file.
24601 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24603         [BZ #13824]
24604         * math/e_exp2l.c: Include <float.h>.
24605         (__ieee754_exp2l): Handle overflow and underflow cases
24606         separately.  Only pass fractional part of argument to
24607         __ieee754_expl.
24608         * math/libm-test.inc (exp2_test): Add more tests.
24610         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24611         negating x to take absolute value.
24612         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24613         Likewise.
24614         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24615         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24616         Likewise.
24617         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24618         computing low part if x was negated.
24619         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24621 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24623         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24624         la_x32_gnu_pltexit.
24625         (pltexit): Cast int_retval to ptrdiff_t.
24626         * elf/tst-auditmod3b.c: Likewise.
24627         * elf/tst-auditmod4b.c: Likewise.
24628         * elf/tst-auditmod5b.c: Likewise.
24629         * elf/tst-auditmod6b.c: Likewise.
24630         * elf/tst-auditmod6c.c: Likewise.
24631         * elf/tst-auditmod7b.c: Likewise.
24633         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24634         and x32_gnu_pltexit.
24636         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24637         __ELF_NATIVE_CLASS.
24638         (La_x32_regs): New macro.
24639         (La_x32_retval): Likewise.
24640         (la_x32_gnu_pltenter): New function prototype.
24641         (la_x32_gnu_pltexit): Likewise.
24643 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24645         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24646         exponent.
24648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24650         * configure.in (libc_cv_cc_nofma): Check for option to disable
24651         generation of FMA instructions.
24652         * configure: Regenerate.
24653         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24654         * sysdeps/ieee754/dbl-64/Makefile: New file.
24655         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24656         Remove brandred-fma4.
24657         (CFLAGS-brandred-fma4.c): Remove.
24658         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24659         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24660         define.
24661         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24662         define.
24664 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24666         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24667         LLONG_MAX != LONG_MAX.
24668         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24669         (_fitoa_word): Likewise.
24670         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24671         LLONG_MAX != LONG_MAX.
24672         * stdio-common/_itowa.h: Include <_itoa.h>.
24673         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24674         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24675         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24676         only if not defined.
24677         (_ITOA_WORD_TYPE): Likewise.
24678         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24679         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24681 2012-03-21  David S. Miller  <davem@davemloft.net>
24683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24685 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24687         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24688         of x86_64 when setting libc_cv_slibdir, libdir and
24689         libc_cv_localedir.
24690         * sysdeps/unix/sysv/linux/configure: Regenerated.
24692 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24694         * manual/lang.texi (Old Varargs): Remove section.
24695         (How Variadic): Update menu.
24696         (va_start): Do not mention varargs.h.
24698 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24699             Joseph Myers  <joseph@codesourcery.com>
24701         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24702         link test.
24703         * configure: Regenerated.
24705 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24707         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24708         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24709         conformtest.pl
24711 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24713         * NOTES: Remove.
24714         * Makefile (files-for-dist): Remove NOTES.
24715         (NOTES): Remove rule.
24716         * README: Don't refer to NOTES.
24717         * manual/creature.texi: Don't include macros.texi.
24718         * manual/intro.texi (creature.texi): Remove comment referring to
24719         NOTES.
24721         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24722         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24723         * configure: Regenerated.
24724         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24725         LIBC_TRY_CC_OPTION.
24726         (libc_cv_as_i686): Likewise.
24727         (libc_cv_cc_avx): Likewise.
24728         (libc_cv_cc_sse2avx): Likewise.
24729         (libc_cv_cc_fma4): Likewise.
24730         (libc_cv_cc_novzeroupper): Likewise.
24731         * sysdeps/i386/configure: Regenerated.
24733         [BZ #13883]
24734         * sysdeps/i386/fpu/s_cexp.S: Remove.
24735         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24736         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24737         * math/libm-test.inc (cexp_test): Add more tests.
24738         * sysdeps/i386/fpu/libm-test-ulps: Update.
24739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24741 2012-03-21  Allan McRae  <allan@archlinux.org>
24743         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24745 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24747         [BZ #13871]
24748         * math/w_exp2.c: Do not include <float.h>.
24749         (o_threshold, u_threshold): Remove.
24750         (__exp2): Calculate result before checking finiteness and calling
24751         __kernel_standard.
24752         * math/w_exp2f.c: Likewise.
24753         * math/w_exp2l.c: Likewise.
24754         * math/libm-test.inc (exp2_test): Require overflow exception for
24755         1e6 input.
24757         [BZ #3866]
24758         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24759         range of signed 64-bit integers before using fistpll.  Remove
24760         checks for whether integers fit in mantissa bits.
24761         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24762         the range of signed 32-bit integers before using fistpl.  Remove
24763         checks for whether integers fit in mantissa bits.
24764         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24765         (__ieee754_powl): Test for y outside the range of signed 64-bit
24766         integers before using fistpll.  Reduce 64-bit values to 63-bit
24767         ones as needed.
24768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24769         divide-by-zero is raised for zero to large negative powers.
24770         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24771         (__ieee754_powl): Test for y outside the range of signed 64-bit
24772         integers before using fistpll.  Reduce 64-bit values to 63-bit
24773         ones as needed.
24774         * math/libm-test.inc (pow_test): Add more tests.
24776 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24778         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24779         <stdio-common/_itoa.h>.
24780         * debug/segfault.c: Likewise.
24781         * elf/dl-cache.c: Likewise.
24782         * elf/dl-minimal.c: Likewise.
24783         * elf/dl-misc.c: Likewise.
24784         * elf/dl-sysdep.c: Likewise.
24785         * elf/dl-version.c: Likewise.
24786         * elf/rtld.c: Likewise.
24787         * hurd/hurdsock.c: Likewise.
24788         * hurd/lookup-retry.c: Likewise.
24789         * malloc/malloc.c: Likewise.
24790         * malloc/mtrace.c: Likewise.
24791         * nscd/nscd_getgr_r.c: Likewise.
24792         * nscd/nscd_getpw_r.c: Likewise.
24793         * nscd/nscd_getserv_r.c: Likewise.
24794         * posix/getopt_init.c: Likewise.
24795         * posix/wordexp.c: Likewise.
24796         * stdio-common/_itoa.c: Likewise.
24797         * stdio-common/printf_fphex.c: Likewise.
24798         * stdio-common/vfprintf.c: Likewise.
24799         * string/_strerror.c: Likewise.
24800         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24801         * sysdeps/i386/i686/hp-timing.h: Likewise.
24802         * sysdeps/mach/_strerror.c: Likewise.
24803         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24804         * sysdeps/mach/hurd/sethostid.c: Likewise.
24805         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24806         * sysdeps/mach/xpg-strerror.c: Likewise.
24807         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24808         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24809         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24810         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24811         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24812         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24813         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24814         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24815         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24816         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24817         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24818         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24819         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24820         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24821         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24822         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24823         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24824         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24825         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24826         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24827         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24829         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24831         * stdio-common/_itoa.h: Moved to ...
24832         * sysdeps/generic/_itoa.h: Here.
24834         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24836         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24837         instead of "_itoa.h" and "_itowa.h".
24838         * stdio-common/vfprintf.: Likewise.
24840 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24842         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24843         <bits/wordsize.h>.
24844         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24845         (__signbit): Likwise.
24846         (llrintf): Likwise.
24847         (llrint): Likwise.
24849 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24851         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24852         __WORDSIZE != 64.
24854 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24856         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24857         OVERFLOW_EXCEPTION_OK.
24858         * math/libm-test.inc ("Philosophy"): Update comment about
24859         exception testing.
24860         (OVERFLOW_EXCEPTION): Define.
24861         (OVERFLOW_EXCEPTION_OK): Likewise.
24862         (INVALID_EXCEPTION_OK): Renumber.
24863         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24864         (IGNORE_ZERO_INF_SIGN): Likewise.
24865         (test_exceptions): Handle FE_OVERFLOW.
24866         (exp10_test): Expect overflow exceptions.
24867         (exp2_test): Likewise.
24868         (expm1_test): Likewise.
24869         (nextafter_test): Likewise.
24870         (pow_test): Likewise.
24871         (scalbn_test): Likewise.
24872         (scalbln_test): Likewise.
24874 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24876         * sysdeps/x86_64/bits/atomic.h
24877         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24878         64bit integer.
24879         (atomic_exchange_acq): Likewise.
24880         (__arch_exchange_and_add_body): Likewise.
24881         (__arch_add_body): Likewise.
24882         (atomic_add_negative): Likewise.
24883         (atomic_add_zero): Likewise.
24885 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24887         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24888         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24890 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24892         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24893         Check __x86_64__ instead of __WORDSIZE.
24895 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24897         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24899 2012-03-19  David S. Miller  <davem@davemloft.net>
24901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24903         * sysdeps/sparc/fpu/fenv_private.h: New file.
24904         * sysdeps/sparc/fpu/math_private.h: Use it.
24905         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24906         Remove.
24907         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24908         (libc_feholdexcept_setroundl): Remove.
24909         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24910         Remove.
24911         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24912         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24914 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24916         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24917         int64_t instead of long int.
24918         (INSERT_WORDS64): Likwise.
24920 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24922         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24923         _Unwind_GetCFA return to _Unwind_Ptr first.
24925 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24927         [BZ #13629]
24928         * math/s_clog.c: Include <float.h>.
24929         (__clog): Scale large or subnormal inputs.
24930         * math/s_clogf.c: Likewise.
24931         * math/s_clogl.c: Likewise.
24932         * math/s_clog10.c: Include <float.h>.
24933         (M_LOG10_2): Define.
24934         (__clog10): Scale large or subnormal inputs.
24935         * math/s_clog10f.c: Likewise.
24936         * math/s_clog10l.c: Likewise.
24937         * math/libm-test.inc (clog_test): Add more tests.
24938         (clog10_test): Likewise.
24939         * sysdeps/i386/fpu/libm-test-ulps: Update.
24940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24942         [BZ #11451]
24943         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24944         x and y.
24945         * math/libm-test.inc (atan2_test): Add another test.
24947         * Makerules (common-objdir-compile): Remove.
24948         * sysdeps/unix/Makefile (config-generated): Do not add
24949         $(unix-generated) to variable.
24950         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24951         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24952         Remove rule.
24953         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24954         Likewise.
24955         [generic bits/local_lim.h] (before-compile): Do not append to
24956         variable.
24957         [generic bits/local_lim.h] (common-generated): Likewise.
24958         [generic sys/param.h] (before-compile): Do not append to variable.
24959         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24960         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24961         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24962         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24963         include.
24964         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24965         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24966         [generic sys/param.h] ($(addprefix
24967         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24968         [generic sys/param.h] (common-generated): Do not append to
24969         variable.
24970         [generic sys/param.h] (sysdep_headers): Likewise.
24971         [generic bits/errno.h] (before-compile): Do not append to
24972         variable.
24973         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24974         rule.
24975         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24976         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24977         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24978         [generic bits/errno.h] (common-generated): Do not append to
24979         variable.
24980         [generic bits/ioctls.h] (before-compile): Do not append to
24981         variable.
24982         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24983         rule.
24984         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24985         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24986         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24987         rule.
24988         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24989         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24990         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24991         [generic bits/ioctls.h] (common-generated): Do not append to
24992         variable.
24993         [generic sys/syscall.h] (syscall.h): Remove variable.
24994         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24995         rule.
24996         [generic sys/syscall.h] (before-compile): Do not append to
24997         variable.
24998         [generic sys/syscall.h] (common-generated): Likewise.
24999         * sysdeps/unix/errnos-tmpl.c: Remove file.
25000         * sysdeps/unix/errnos.awk: Likewise.
25001         * sysdeps/unix/ioctls-tmpl.c: Likewise.
25002         * sysdeps/unix/ioctls.awk: Likewise.
25003         * sysdeps/unix/mk-local_lim.c: Likewise.
25004         * sysdeps/unix/snarf-ioctls: Likewise.
25006 2012-03-19  Richard Henderson  <rth@twiddle.net>
25008         * sysdeps/i386/fpu/fenv_private.h: New file.
25009         * sysdeps/i386/fpu/math_private.h: Use it.
25010         (math_opt_barrier, math_force_eval): Remove.
25011         (libc_feholdexcept_setround_53bit): Remove.
25012         (libc_feupdateenv_53bit): Remove.
25013         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25014         (math_opt_barrier, math_force_eval): Remove.
25015         (libc_feholdexcept): Remove.
25016         (libc_feholdexcept_setround): Remove.
25017         (libc_fetestexcept, libc_fesetenv): Remove.
25018         (libc_feupdateenv_test): Remove.
25019         (libc_feupdateenv, libc_feholdsetround): Remove.
25020         (libc_feresetround): Remove.
25022         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25023         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25025         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25026         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25027         (libc_feupdateenv_testl): New.
25028         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25029         (libc_feupdateenv_testf): New.
25030         (libc_feupdateenv): Use libc_feupdateenv_test.
25031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25032         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25034         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25035         (libc_feholdsetroundf, libc_feholdsetroundl): New.
25036         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25037         (libc_feresetround_noex): New.
25038         (libc_feresetround_noexf): New.
25039         (libc_feresetround_noexl): New.
25040         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25041         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25042         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25043         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25044         SET_RESTORE_ROUND.
25045         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25046         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25047         (__cos): Likewise.
25048         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25049         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25050         SET_RESTORE_ROUND_NOEX.
25051         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25052         SET_RESTORE_ROUND_NOEXF.
25053         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25054         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25055         (libc_feholdsetroundf): New.
25056         (libc_feresetround, libc_feresetroundf): New.
25058         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25059         (libc_feholdexcept_setround_53bit): Convert from macro to function.
25060         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
25062         * sysdeps/generic/math_private.h: Include <fenv.h>.
25063         (default_libc_feholdexcept): New.
25064         (default_libc_feholdexcept_setround): New.
25065         (default_libc_fesetenv, default_libc_feupdateenv): New.
25066         (libc_feholdexcept): Only define if undefined.
25067         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25068         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25069         (libc_feholdexcept_setroundl): Likewise.
25070         (libc_feholdexcept_setround_53bit): Likewise.
25071         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25072         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25073         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25074         (libc_feupdateenv_53bit): Likewise.
25075         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25076         (libc_feholdexcept): Convert from macro to inline function.
25077         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25078         (libc_fesetenv, libc_feupdateenv): Likewise.
25080         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25081         not previously defined.
25082         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25083         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25084         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25085         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25086         * sysdeps/ieee754/flt-32/math_private.h: New file.
25087         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25088         math_private.h below SET_FLOAT_WORD.
25089         (__isnan, __isinf_ns, __finite): Remove.
25090         (__isnanf, __isinf_nsf, __finitef): Remove.
25092 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
25094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25096 2012-03-17  David S. Miller  <davem@davemloft.net>
25098         [BZ #6471]
25099         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25100         for 2.16.
25102 2012-03-16  David S. Miller  <davem@davemloft.net>
25104         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25105         warnings.
25107         [BZ #6471]
25108         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25109         properly.
25110         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25111         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25112         sysdep_routines when subdir is sysvipc.
25113         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25114         __getshmlba helper.
25116         * sysdeps/sparc/fpu/libm-test/ulps: Update.
25118 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25120         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25121         [__LP64__].
25123 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25125         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25126         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25127         (__lround): Renamed to ...
25128         (__llround): This.  Replace long int with long long int.
25129         Define lround functions as aliases of llround functions.
25130         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25132 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25134         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25135         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
25136         adresses to uintptr_t.  Replace "long int" and "unsigned long
25137         int" with "greg_t" on va_arg.
25139 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25141         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25142         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25144         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25145         Move e_machine check before EI_CLASS check.  Handle x32
25146         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25147         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25148         SKIP_EM_IA_64 and include
25149         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25151         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25152         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25153         (add_system_dir): New macro.
25155         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25156         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25158 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25160         [BZ #2551]
25161         [BZ #2552]
25162         [BZ #2553]
25163         [BZ #2554]
25164         [BZ #2562]
25165         [BZ #2563]
25166         [BZ #2565]
25167         [BZ #2566]
25168         [BZ #2576]
25169         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25170         (y0): Likewise.
25171         * math/w_j0f.c (j0f): Likewise.
25172         (y0f): Likewise.
25173         * math/w_j0l.c (__j0l): Likewise.
25174         (__y0l): Likewise.
25175         * math/w_j1.c (j1): Likewise.
25176         (y1): Likewise.
25177         * math/w_j1f.c (j1f): Likewise.
25178         (y1f): Likewise.
25179         * math/w_j1l.c (__j1l): Likewise.
25180         (__y1l): Likewise.
25181         * math/w_jn.c (jn): Likewise.
25182         (yn): Likewise.
25183         * math/w_jnf.c (jnf): Likewise.
25184         (ynf): Likewise.
25185         * math/w_jnl.c (__jnl): Likewise.
25186         (__ynl): Likewise.
25187         * math/libm-test.inc (j0_test): Add more tests.
25188         (j1_test): Likewise.
25189         (jn_test): Likewise.  Add trailing semicolon to existing test.
25190         (y0_test): Likewise.
25191         (y1_test): Likewise.
25192         * sysdeps/i386/fpu/libm-test-ulps: Update.
25193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195         [BZ #13851]
25196         [BZ #13854]
25197         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25198         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25199         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25200         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25201         (__tanl): Set errno for infinite argument.
25202         * sysdeps/i386/fpu/mptan.c: Remove.
25203         * sysdeps/i386/fpu/s_tan.S: Likewise.
25204         * sysdeps/i386/fpu/s_tanl.S: Likewise.
25205         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25206         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25207         * math/libm-test.inc (tan_test): Add more tests and enable more
25208         tests for double and long double.
25209         * sysdeps/i386/fpu/libm-test-ulps: Update.
25210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25212 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
25214         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25215         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25217 2012-03-16  Roland McGrath  <roland@hack.frob.com>
25219         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25220         * configure.in: Use it for both main tree and add-ons.
25221         * configure: Regenerated.
25223 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25225         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25227 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
25229         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25230         in comment.
25232         [BZ #13851]
25233         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25234         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25235         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25236         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25237         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25238         infinite argument.
25239         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25240         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25241         != 0 for prec == 2.
25242         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25243         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25244         * sysdeps/i386/fpu/s_cosl.S: Likewise.
25245         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25246         * sysdeps/i386/fpu/s_sinl.S: Likewise.
25247         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25248         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25249         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25250         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25251         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25252         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25253         * math/libm-test.inc (cos_test): Add more tests and enable more
25254         tests for long double.
25255         (sin_test): Likewise.
25256         (sincos_test): Likewise.
25257         * sysdeps/i386/fpu/libm-test-ulps: Update.
25258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25260 2012-03-16  David S. Miller  <davem@davemloft.net>
25262         * sysdeps/sparc/fpu/math_private.h: New file.
25264 2012-03-15  David S. Miller  <davem@davemloft.net>
25266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25267         file.
25268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25270         file.
25271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25276         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25277         sysdep routines.
25278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25280         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25281         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25283         * sysdeps/sparc/sparc-ifunc.h: New file.
25284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25285         sparc-ifunc.h
25286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25288         Likewise.
25289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25290         Likewise.
25291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25295         Likewise.
25296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25301         Likewise.
25302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25303         Likewise.
25304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25310         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25322         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25323         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25324         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25325         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25326         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25329 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25331         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25332         scaling.
25333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25335 2012-03-15  Andreas Jaeger  <aj@suse.de>
25337         [BZ #13852]
25338         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25339         ieee754/flt-32 implementation for sin, cos and sincos.
25340         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25341         * sysdeps/i386/fpu/s_cosf.S: Likewise.
25342         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25343         * sysdeps/i386/fpu/s_sinf.S: Likewise.
25344         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25345         ieee754/flt-32 implementation for tan.
25347         * math/libm-test.inc (cos_test): Enable some large input tests for
25348         float as well
25349         (sin_test): Likewise.
25350         (sincos_test): Likewise.
25351         (tan_test): Add tests for large input.
25353         * sysdeps/i386/fpu/libm-test-ulps: Update.
25355 2012-03-15  Andreas Jaeger  <aj@suse.de>
25357         [BZ #13658]
25358         * math/libm-test.inc (cos_test): Add more test cases.
25359         (sin_test): Likewise.
25360         (sincos_test): Likewise.
25362 2012-03-15  Andreas Jaeger  <aj@suse.de>
25364         [BZ #13837]
25365         * math/libm-test.inc (cos_test): Add a test case for large input
25366         value.
25367         (sin_test): Likewise.
25368         (sincos_test): Likewise.
25370 2012-03-15  Andreas Jaeger  <aj@suse.de>,
25371         Joseph Myers  <joseph@codesourcery.com>
25373         [BZ #13658]
25374         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25375         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25376         * sysdeps/i386/fpu/branred.c: Likewise.
25377         * sysdeps/i386/fpu/dosincos.c: Likewise.
25378         * sysdeps/i386/fpu/mpa.c: Likewise.
25379         * sysdeps/i386/fpu/s_cos.S: Likewise.
25380         * sysdeps/i386/fpu/s_sin.S: Likewise.
25381         * sysdeps/i386/fpu/s_sincos.S: Likewise.
25382         * sysdeps/i386/fpu/sincos32.c: Likewise.
25384         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25385         Define.
25386         (libc_feupdateenv_53bit): Define.
25387         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25388         Define.
25389         (libc_feupdateenv_53bit): Define.
25391         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25392         53 bit (without extend i386 double precision).
25394         * math/libm-test.inc (sincos_test): Add tests for large input.
25395         (sin): Likewise.
25396         (cos): Likewise.
25398         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25400 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
25402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25404 2012-03-15  David S. Miller  <davem@davemloft.net>
25406         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25407         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25408         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25409         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25422         file.
25423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25425         file.
25426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25428         file.
25429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25431         file.
25432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25433         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25434         fmin/fmax sysdep routines.
25435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25437 2012-03-14  David S. Miller  <davem@davemloft.net>
25439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25443         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25447         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25451         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25459         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25460         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25463         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25464         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25465         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25467         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25468         routines.
25469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25470         file.
25471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25473         file.
25474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25476         file.
25477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25479         file.
25480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25482         file.
25483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25485         file.
25486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25487         file.
25488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25489         file.
25490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25491         file.
25492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25493         New file.
25494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25495         file.
25496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25497         file.
25498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25500         file.
25501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25503         file.
25504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25506         file.
25507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25509         VIS3 routines.
25511         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25512         New file.
25514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25516         * sysdeps/sparc/configure.in: New file.
25517         * sysdeps/sparc/configure: Generate.
25518         * configure.in (libc_cv_sparc_as_vis3): Substitute.
25519         * configure: Regenerate.
25520         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25521         * config.make.in (have-as-vis3): New.
25522         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25523         available use -Av9d instead of -Av9a.
25524         * sysdeps/sparc/sparc64/Makefile: Likewise.
25525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25527         New file.
25528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25529         file.
25530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25531         New file.
25532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25533         file.
25534         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25535         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25536         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25537         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25540         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25541         fzeros/fnegs to load 0x80000000 into a float register instead of
25542         using the stack.
25543         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25545 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25548         bits/syscall.h.
25549         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25550         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25551         ($(inst_includedir)/bits/syscall.h): Remove rule.
25552         ($(objpfx)bits/syscall.d): Include instead of
25553         $(objpfx)syscall-list.d.
25554         (generated): Change syscall-list.h and syscall-list.d to
25555         bits/syscall.h and bits/syscall.d.
25557 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25559         [BZ #13846]
25560         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25562 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25564         [BZ #13841]
25565         * math/s_csqrt.c: Include <float.h>.
25566         (__csqrt): Scale large or subnormal inputs.
25567         * math/s_csqrtf.c: Likewise.
25568         * math/s_csqrtl.c: Likewise.
25569         * math/libm-test.inc (csqrt_test): Add more tests.
25570         * sysdeps/i386/fpu/libm-test-ulps: Update.
25571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25573         [BZ #13840]
25574         * math/libm-test.inc (hypot_test): Add more tests.
25576 2012-03-13  David S. Miller  <davem@davemloft.net>
25578         [BZ #13840]
25579         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25580         double-precision for the calculation instead of scaling.
25582 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25584         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25585         manipulate bits before adding and subtracting TWO52[sx].
25586         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25587         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25588         Likewise.
25589         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25591 2012-03-13  David S. Miller  <davem@davemloft.net>
25593         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25594         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25595         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25596         rtld-global-offsets.h
25597         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25599         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25600         large parameters.
25602         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25604         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25605         'err' in the ifdef scope in which it is actually used.
25607         * nss/nss_db/db-init.c: Include string.h
25609 2012-03-12  David S. Miller  <davem@davemloft.net>
25611         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25612         masking out of the most significant byte of random value used.
25613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25614         Fix coding style in previous change.
25616         * sysdeps/unix/sysv/linux/kernel-features.h
25617         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25618         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25619         expression.
25620         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25621         later.
25623 2012-03-11  David S. Miller  <davem@davemloft.net>
25625         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25626         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25627         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25628         for 'resultvar' otherwise things get truncated on 64-bit.
25630         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25631         Fix masking out of the most significant byte of random value used.
25633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25635 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25639 2012-03-09  David S. Miller  <davem@davemloft.net>
25641         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25642         variables with appropriate CPP guards.
25643         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25644         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25645         on resulting framesize and the management of the outregs buffer for pltexit.
25646         Preserve floating point return values across _dl_call_pltexit call.
25647         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25648         framesize and the management of the outregs buffer for pltexit.
25649         Preserve floating point return values across _dl_call_pltexit
25650         call.
25651         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25652         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25653         (print_exit): Fix format string for return register value.
25655 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25657         * sunrpc/Makefile (others): Add rpcgen.
25658         ($(objpfx)rpcgen): Remove special build rule and dependency on
25659         libc.
25660         * sunrpc/rpcgen.c: New file.
25662 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25664         [BZ #13673]
25665         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25666         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25667         * sysdeps/i386/crti.S: Likewise.
25668         * sysdeps/i386/crtn.S: Likewise.
25669         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25670         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25671         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25672         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25673         * sysdeps/sh/crti.S: Likewise.
25674         * sysdeps/sh/crtn.S: Likewise.
25675         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25677         [BZ #13673]
25678         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25679         with URL.
25680         * locale/programs/locfile-kw.gperf: Likewise.
25681         * locale/programs/charmap-kw.h: Regenerated.
25682         * locale/programs/locfile-kw.h: Likewise.
25684         [BZ #13673]
25685         * intl/plural.y: Replace FSF snail mail address with URL.
25686         * intl/plural.c: Regenerated.
25688 2012-03-09  Richard Henderson  <rth@twiddle.net>
25690         * include/math_private.h: Remove file.
25691         * math/math_private.h: Move file ...
25692         * sysdeps/generic/math_private.h: ... here.
25694         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25695         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25696         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25698         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25699         and <math_private.h>.
25700         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25701         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25702         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25703         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25704         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25705         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25706         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25707         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25708         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25709         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25710         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25711         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25712         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25713         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25714         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25715         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25716         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25717         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25718         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25719         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25720         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25721         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25722         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25723         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25724         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25725         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25726         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25727         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25728         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25729         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25730         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25731         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25732         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25733         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25734         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25735         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25736         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25737         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25738         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25739         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25740         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25741         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25742         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25743         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25744         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25745         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25746         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25747         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25748         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25749         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25750         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25751         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25752         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25753         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25754         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25755         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25756         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25757         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25758         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25759         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25760         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25761         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25762         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25763         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25764         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25765         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25766         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25767         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25768         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25769         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25770         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25771         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25772         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25773         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25774         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25775         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25776         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25777         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25778         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25779         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25780         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25781         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25782         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25783         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25784         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25785         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25787         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25788         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25789         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25790         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25791         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25792         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25793         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25794         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25795         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25796         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25797         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25798         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25799         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25800         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25801         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25802         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25803         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25804         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25805         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25806         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25807         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25808         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25809         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25810         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25811         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25812         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25813         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25814         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25815         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25816         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25817         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25818         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25819         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25820         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25821         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25822         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25823         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25824         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25825         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25826         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25827         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25828         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25829         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25830         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25831         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25832         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25833         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25834         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25835         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25836         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25837         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25838         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25839         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25840         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25841         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25842         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25843         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25844         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25845         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25846         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25847         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25848         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25849         * sysdeps/ieee754/k_standard.c: Likewise.
25850         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25851         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25852         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25853         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25854         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25855         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25856         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25857         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25858         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25859         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25860         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25861         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25862         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25863         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25864         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25865         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25866         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25867         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25868         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25869         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25870         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25871         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25872         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25873         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25874         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25875         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25876         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25877         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25878         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25879         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25880         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25881         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25882         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25883         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25884         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25885         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25886         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25887         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25888         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25889         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25890         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25891         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25892         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25893         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25894         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25895         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25896         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25897         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25898         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25899         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25900         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25901         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25902         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25903         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25904         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25905         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25906         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25907         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25908         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25909         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25910         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25911         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25912         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25913         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25914         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25915         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25916         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25917         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25918         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25919         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25920         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25922         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25923         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25924         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25925         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25926         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25927         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25928         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25929         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25930         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25931         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25932         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25933         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25934         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25935         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25936         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25937         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25938         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25939         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25940         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25941         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25942         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25943         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25944         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25945         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25946         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25947         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25948         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25949         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25950         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25951         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25952         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25953         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25954         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25955         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25956         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25957         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25958         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25959         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25960         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25961         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25962         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25963         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25964         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25965         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25966         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25967         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25968         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25969         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25970         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25971         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25972         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25973         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25974         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25975         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25976         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25977         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25978         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25979         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25980         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25981         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25982         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25983         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25984         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25985         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25986         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25987         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25988         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25989         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25990         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25991         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25992         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25993         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25994         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25995         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25996         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25997         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25998         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25999         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26000         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26001         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26002         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26003         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26004         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26005         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26006         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26007         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26008         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26009         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26010         * sysdeps/ieee754/s_lib_version.c: Likewise.
26011         * sysdeps/ieee754/s_matherr.c: Likewise.
26012         * sysdeps/ieee754/s_signgam.c: Likewise.
26013         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26014         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26015         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26016         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26017         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26018         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26019         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26020         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26021         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26022         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26023         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26024         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26025         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26026         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26027         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26028         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26029         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26030         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26031         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26032         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26033         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26035 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26037         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26038         * sunrpc/rpc_main.c: Likewise.
26039         * sunrpc/rpc_svcout.c: Likewise.
26041 2012-03-09  David S. Miller  <davem@davemloft.net>
26043         * include/math_private.h: New file.
26045 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
26047         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26048         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26049         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26050         from <bits/socket_type.h>.
26051         (enum __socket_type): Don't define here.
26052         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26054         bits/socket_type.h.
26056         [BZ #13566]
26057         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26058         checking __USE_GNU.
26060         * Makerules ($(inst_includedir)/%.h): New rule.
26061         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26062         (install-others): Remove variable setting.
26063         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26065 2012-03-08  Richard Henderson  <rth@twiddle.net>
26067         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26068         from macro to inline function; merge with the
26069         !__LIBC_INTERNAL_MATH_INLINES version.
26070         (__ieee754_sqrtf): Likewise.
26072         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26073         to inline function.
26074         (__rintf, __floor, __floorf): Likewise.
26076         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26077         macro to inline function.
26078         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26080         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26081         not <math/math_private.h>.
26083 2012-03-08  David S. Miller  <davem@davemloft.net>
26085         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26086         copyright year.
26087         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26089 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
26091         * resolv/gai_misc.c (handle_requests): Fix struct timespec
26092         normalization.
26093         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26094         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26096 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
26098         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
26099         be defined individually, they must be defined as a block.  Define
26100         S for printing a string instead of hidint the different by using a
26101         macro for adding the 'l'.
26102         * stdio-common/tst-fphex-wide.c: Adjust.
26104 2012-03-07  Marek Polacek  <polacek@redhat.com>
26106         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26108 2012-03-08  Marek Polacek  <polacek@redhat.com>
26110         [BZ #13806]
26111         * stdio-common/Makefile (tests): Add tst-fphex-wide.
26112         * stdio-common/tst-fphex.c: Define a few macros to make the
26113         test reusable.  Use them.
26114         * stdio-common/tst-fphex-wide.c: New file.
26116 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
26118         [BZ #6911]
26119         * manual/macros.texi (gnusystems): New macro.
26120         (nongnusystems): Likewise.
26121         (gnulinuxhurdsystems): Likewise.
26122         (gnuhurdsystems): Likewise..
26123         (gnulinuxsystems): Likewise.
26124         * manual/charset.texi: Use new macros or @theglibc{} to refer to
26125         variants of the GNU system, not "GNU system".
26126         * manual/conf.texi: Likewise.
26127         * manual/errno.texi: Likewise.  Update example of errno macro
26128         expansion.
26129         * manual/filesys.texi: Likewise.
26130         (getumask): Document as specific to GNU/Hurd.
26131         * manual/install.texi: Likewise.  Reword some references to
26132         GNU/Linux.
26133         * manual/intro.texi: Likewise.
26134         * manual/io.texi: Likewise.
26135         (File Name Portability): Detail which constraints are inapplicable
26136         to all GNU systems and which are only inapplicable to GNU/Hurd.
26137         * manual/job.texi: Likewise.
26138         * manual/llio.texi: Likewise.
26139         (O_NOCTTY): Document as present on GNU/Linux.
26140         * manual/maint.texi: Likewise.
26141         * manual/memory.texi: Likewise.
26142         * manual/pattern.texi: Likewise.
26143         * manual/pipe.texi: Likewise.
26144         * manual/process.texi: Likewise.
26145         * manual/resource.texi: Likewise.
26146         (RUSAGE_CHILDREN): Remove statement about specifying a particular
26147         child on GNU/Hurd.
26148         * manual/setjmp.texi: Likewise.
26149         * manual/signal.texi: Likewise.
26150         * manual/startup.texi: Likewise.
26151         * manual/stdio.texi: Likewise.
26152         * manual/terminal.texi: Likewise.
26153         (ONLCR): Document as POSIX.
26154         (OXTABS): Document availability on GNU/Linux as XTABS.
26155         (ONOEOT): Document availability separately from other bits.
26156         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26157         * manual/time.texi: Likewise.
26158         * manual/users.texi: Likewise.
26159         * INSTALL: Regenerated.
26160         * sysdeps/gnu/errlist.c: Regenerated.
26162         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26163         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26164         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
26165         puts.
26166         * configure: Regenerated.
26168 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
26170         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26171         default includes instead of AC_HEADER_CHECK.
26172         * sysdeps/i386/configure: Regenerated.
26174         [BZ #10716]
26175         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26176         * math/s_cacoshf.c (__cacoshf): Likewise.
26177         * math/s_cacoshl.c (__cacoshl): Likewise.
26178         * math/s_casinh.c (__casinh): Set signs of result from argument.
26179         * math/s_casinhf.c (__casinhf): Likewise.
26180         * math/s_casinhl.c (__casinhl): Likewise.
26181         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26182         (casinh_test): Add more tests.
26183         * sysdeps/i386/fpu/libm-test-ulps: Update.
26184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26186 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
26188         * po/zh_TW.po: Update from translation team.
26190         * login/Makefile (distribute): Remove variable.
26191         * catgets/Makefile: Likewise.
26192         * mach/Makefile: Likewise.
26193         * malloc/Makefile: Likewise.
26194         * misc/Makefile: Likewise.
26195         * iconv/Makefile: Likewise.
26196         * nscd/Makefile: Likewise.
26197         * hurd/Makefile: Likewise.
26198         * manual/Makefile: Likewise.
26199         * locale/Makefile: Likewise.
26200         * intl/Makefile: Likewise.
26201         * conform/Makefile: Likewise.
26202         * nss/Makefile: Likewise.
26203         * time/Makefile: Likewise.
26204         * soft-fp/Makefile: Likewise.
26205         * dirent/Makefile: Likewise.
26206         * gmon/Makefile: Likewise.
26207         * po/Makefile: Likewise.
26208         * rt/Makefile: Likewise.
26209         * socket/Makefile: Likewise.
26210         * math/Makefile: Likewise.
26211         * signal/Makefile: Likewise.
26212         * debug/Makefile: Likewise.
26213         * elf/Makefile: Likewise.
26214         * timezone/Makefile: Likewise.
26215         * stdlib/Makefile: Likewise.
26216         * iconvdata/Makefile: Likewise.
26217         * sunrpc/Makefile: Likewise.
26218         * io/Makefile: Likewise.
26219         * argp/Makefile: Likewise.
26220         * inet/Makefile: Likewise.
26221         * hesiod/Makefile: Likewise.
26222         * grp/Makefile: Likewise.
26223         * csu/Makefile: Likewise.
26224         * wctype/Makefile: Likewise.
26225         * crypt/Makefile: Likewise.
26226         * libio/Makefile: Likewise.
26227         * string/Makefile: Likewise.
26228         * nis/Makefile: Likewise.
26229         * resolv/Makefile: Likewise.
26230         * stdio-common/Makefile: Likewise.
26231         * wcsmbs/Makefile: Likewise.
26232         * dlfcn/Makefile: Likewise.
26233         * posix/Makefile: Likewise.
26235         [BZ #6959]
26236         * timezone/Makefile: Don't install timezone files, just the programs
26237         and scripts.
26239 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
26241         * nss/databases.def: Add missing gshadow entry.
26243         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
26245 2012-03-06  Marek Polacek  <polacek@redhat.com>
26247         [BZ #13726]
26248         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26249         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26250         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26251         * stdio-common/tst-long-dbl-fphex.c: New file.
26253 2012-03-06  David S. Miller  <davem@davemloft.net>
26255         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26256         (set_obp_int): New function.
26257         (get_obp_int): New function.
26258         (__get_clockfreq_via_dev_openprom): Likewise.
26259         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26260         Avoid unused variable warnings on 'val' and use builtin_expect.
26261         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26262         __builtin_expect.
26263         (INLINE_CLONE_SYSCALL): Likewise.
26265 2012-03-05  David S. Miller  <davem@davemloft.net>
26267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26269 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
26271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26273         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26274         only for |x| >= 40.
26275         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26277 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26279         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26280         Replace gettimeofday with __vdso_gettimeofday.
26282         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26283         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26284         __vdso_clock_gettime and __vdso_getcpu.
26286         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26287         time with __vdso_time.
26289 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26291         * manual/lang.texi (size_t): Note types to which size_t may be
26292         equivalent with the GNU C Library, but do not describe when
26293         differences between them are significant.
26295 2012-03-05  Andreas Jaeger  <aj@suse.de>
26297         * sysdeps/i386/fpu/libm-test-ulps: Update.
26299 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
26301         [BZ #3976]
26302         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26303         (__ieee754_pow): Save and restore rounding mode and use
26304         round-to-nearest for main computations.
26305         * math/libm-test.inc (pow_test_tonearest): New function.
26306         (pow_test_towardzero): Likewise.
26307         (pow_test_downward): Likewise.
26308         (pow_test_upward): Likewise.
26309         (main): Call the new functions.
26310         * sysdeps/i386/fpu/libm-test-ulps: Update.
26311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26313         [BZ #3976]
26314         * math/libm-test.inc (cosh_test_tonearest): New function.
26315         (cosh_test_towardzero): Likewise.
26316         (cosh_test_downward): Likewise.
26317         (cosh_test_upward): Likewise.
26318         (sinh_test_tonearest): Likewise.
26319         (sinh_test_towardzero): Likewise.
26320         (sinh_test_downward): Likewise.
26321         (sinh_test_upward): Likewise.
26322         (main): Call the new functions.
26323         * sysdeps/i386/fpu/libm-test-ulps: Update.
26324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26326 2012-03-05  Tom de Vries  <tom@codesourcery.com>
26328         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26329         default stack guard is set in last bytes.
26330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26332 2012-03-05  Kees Cook  <keescook@chromium.org>
26334         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26336         [BZ #13656]
26337         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26338         possibly allocate from heap instead of stack.
26339         * stdio-common/bug-vfprintf-nargs.c: New file.
26340         * stdio-common/Makefile (tests): Add nargs overflow test.
26342 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
26344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26346 2012-03-03  Marek Polacek  <polacek@redhat.com>
26348         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26349         * math/math_private.h: Likewise.
26350         * stdlib/tst-strtod.c: Likewise.
26351         * sysdeps/i386/i486/bits/atomic.h: Likewise.
26352         * sysdeps/x86_64/bits/atomic.h: Likewise.
26354 2012-03-02  David S. Miller  <davem@davemloft.net>
26356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26360         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26361         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26362         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26363         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26365 2012-03-02  Roland McGrath  <roland@hack.frob.com>
26367         [BZ #13792]
26368         * manual/examples/README: New file, says the example source files
26369         can be used under GPL>=2.
26370         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26371         line containing just "*/".
26372         * manual/examples/add.c: Add copyright header (GPL>=2).
26373         * manual/examples/argp-ex1.c: Likewise.
26374         * manual/examples/argp-ex2.c: Likewise.
26375         * manual/examples/argp-ex3.c: Likewise.
26376         * manual/examples/argp-ex4.c: Likewise.
26377         * manual/examples/atexit.c: Likewise.
26378         * manual/examples/db.c: Likewise.
26379         * manual/examples/dir.c: Likewise.
26380         * manual/examples/dir2.c: Likewise.
26381         * manual/examples/execinfo.c: Likewise.
26382         * manual/examples/filecli.c: Likewise.
26383         * manual/examples/filesrv.c: Likewise.
26384         * manual/examples/fmtmsgexpl.c: Likewise.
26385         * manual/examples/genpass.c: Likewise.
26386         * manual/examples/inetcli.c: Likewise.
26387         * manual/examples/inetsrv.c: Likewise.
26388         * manual/examples/isockad.c: Likewise.
26389         * manual/examples/longopt.c: Likewise.
26390         * manual/examples/memopen.c: Likewise.
26391         * manual/examples/memstrm.c: Likewise.
26392         * manual/examples/mkfsock.c: Likewise.
26393         * manual/examples/mkisock.c: Likewise.
26394         * manual/examples/mygetpass.c: Likewise.
26395         * manual/examples/pipe.c: Likewise.
26396         * manual/examples/popen.c: Likewise.
26397         * manual/examples/rprintf.c: Likewise.
26398         * manual/examples/search.c: Likewise.
26399         * manual/examples/select.c: Likewise.
26400         * manual/examples/setjmp.c: Likewise.
26401         * manual/examples/sigh1.c: Likewise.
26402         * manual/examples/sigusr.c: Likewise.
26403         * manual/examples/stpcpy.c: Likewise.
26404         * manual/examples/strdupa.c: Likewise.
26405         * manual/examples/strftim.c: Likewise.
26406         * manual/examples/strncat.c: Likewise.
26407         * manual/examples/subopt.c: Likewise.
26408         * manual/examples/swapcontext.c: Likewise.
26409         * manual/examples/termios.c: Likewise.
26410         * manual/examples/testopt.c: Likewise.
26411         * manual/examples/testpass.c: Likewise.
26412         * manual/examples/timeval_subtract.c: Likewise.
26414         [BZ #13792]
26415         * manual/time.texi (Elapsed Time): Move timeval_subtract example
26416         function to ...
26417         * manual/timeval_subtract.c.texi: ... here, new file.
26419 2012-03-02  David S. Miller  <davem@davemloft.net>
26421         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26423 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
26425         [BZ #3976]
26426         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26427         (__sin): Save and restore rounding mode and use round-to-nearest
26428         for all computations.
26429         (__cos): Save and restore rounding mode and use round-to-nearest
26430         for all computations.
26431         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26432         <fenv.h>.
26433         (tan): Save and restore rounding mode and use round-to-nearest for
26434         all computations.
26435         * math/libm-test.inc (cos_test_tonearest): New function.
26436         (cos_test_towardzero): Likewise.
26437         (cos_test_downward): Likewise.
26438         (cos_test_upward): Likewise.
26439         (sin_test_tonearest): Likewise.
26440         (sin_test_towardzero): Likewise.
26441         (sin_test_downward): Likewise.
26442         (sin_test_upward): Likewise.
26443         (tan_test_tonearest): Likewise.
26444         (tan_test_towardzero): Likewise.
26445         (tan_test_downward): Likewise.
26446         (tan_test_upward): Likewise.
26447         (main): Call the new functions.
26448         * sysdeps/i386/fpu/libm-test-ulps: Update.
26449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26451         [BZ #10135]
26452         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26453         small n, then large n, before computing and testing k+n.
26454         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26455         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26456         Likewise.
26457         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26458         Likewise.
26459         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26460         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26461         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26462         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26463         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26464         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26465         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26466         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26467         * math/libm-test.inc (scalbn_test): Add more tests.
26468         (scalbln_test): Likewise.
26470         * manual/filesys.texi (mode_t): Describe constraints on size and
26471         signedness, not exact equivalence to a particular type.
26472         (ino_t): Likewise.
26473         (ino64_t): Likewise.
26474         (dev_t): Likewise.
26475         (nlink_t): Likewise.
26476         (blkcnt_t): Likewise.
26477         (blkcnt64_t): Likewise.
26478         * manual/llio.texi (off_t): Likewise.
26480         [BZ #3976]
26481         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26482         (__ieee754_exp): Save and restore rounding mode and use
26483         round-to-nearest for all computations.
26484         * math/libm-test.inc (exp_test_tonearest): New function.
26485         (exp_test_towardzero): Likewise.
26486         (exp_test_downward): Likewise.
26487         (exp_test_upward): Likewise.
26488         (main): Call the new functions.
26489         * sysdeps/i386/fpu/libm-test-ulps: Update.
26490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26492 2012-03-01  Chris Demetriou  <cgd@google.com>
26494         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26495         have predictable order.
26497 2012-03-01  David S. Miller  <davem@davemloft.net>
26499         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26501         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26502         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26503         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26504         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26506         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26507         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26508         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26510         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26511         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26512         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26513         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26514         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26518         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26519         * sysdeps/sparc/fpu/libm-test-ulps: to here.
26520         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26522         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26523         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26524         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26525         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26526         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26527         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26528         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26529         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26530         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26531         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26532         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26533         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26534         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26535         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26536         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26537         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26538         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26539         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26540         * sysdeps/sparc/elf/configure: Regenerated.
26542 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
26544         * configure.in (AS, LD): Require binutils 2.20 or later.
26545         * configure: Regenerated.
26546         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26547         as required minimum version.
26548         * INSTALL: Regenerated.
26550         [BZ #2541]
26551         [BZ #4108]
26552         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26553         before squaring exponent.
26554         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26555         bottom long double and 27 bits of top long double before squaring
26556         exponent.
26557         * math/libm-test.inc (erfc_test): Add more tests.
26558         * sysdeps/i386/fpu/libm-test-ulps: Update.
26559         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26562 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26564         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26565         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26566         containing bit-fields.
26567         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26568         * soft-fp/single.h (_FP_UNION_S): Likewise.
26569         * soft-fp/double.h (_FP_UNION_D): Likewise.
26571 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26573         [BZ #13786]
26574         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26575         not include ../strcmp.S.
26576         [USE_AS_STRNCASECMP_L]: Likewise.
26577         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26578         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26579         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26580         (__strncasecmp_l_ia32): Define as alias to
26581         __strncasecmp_l_nonascii.
26583         [BZ #5794]
26584         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26585         * sysdeps/i386/fpu/libm-test-ulps: Update.
26586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26588         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26591 2012-02-29  Jeff Law  <law@redhat.com>
26593         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26594         out of bounds read.
26596 2012-02-29  Marek Polacek  <polacek@redhat.com>
26598         [BZ #13706]
26599         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26600         * elf/Makefile: Add rules to run tst-unused-dep.out.
26602 2012-02-28  David S. Miller  <davem@davemloft.net>
26604         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26605         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26606         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26607         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26608         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26609         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26611 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26613         * math/libm-test.inc (llround_test): Move one test from
26614         lround_test.  Use TEST_f_L in moved test.
26615         (lround_test): Move misplaced test to llround_test.  Add testcase
26616         from bug 2561.
26618 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26620         * sysdeps/x86_64/fpu/e_expf.S: New file.
26621         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26623 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26625         [BZ #13637]
26626         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26627         of remain_len that may cause incomplete multi-byte character and
26628         false match.
26629         * posix/bug-regex33.c: New file.
26630         * posix/Makefile (tests): Add bug-regex33.
26632 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26634         * manual/macros.texi: New file.
26635         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26636         * manual/libc.texinfo: Include macros.texi.
26637         * manual/creatute.texi: Likewise.
26638         * manual/install.texi: Likewise.
26639         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26640         @glibcadj{} in references to the GNU C Library.
26641         * manual/charset.texi: Likewise.
26642         * manual/conf.texi: Likewise.
26643         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26644         when not using those macros.
26645         * manual/creature.texi: Likewise.
26646         * manual/crypt.texi: Likewise.
26647         * manual/errno.texi: Likewise.
26648         * manual/filesys.texi: Likewise.
26649         * manual/header.texi: Likewise.
26650         * manual/install.texi: Likewise.
26651         * manual/intro.texi: Likewise.
26652         * manual/io.texi: Likewise.
26653         * manual/job.texi: Likewise.
26654         * manual/lang.texi: Likewise.
26655         * manual/libc.texiinfo: Likewise.
26656         * manual/llio.texi: Likewise.
26657         * manual/locale.texi: Likewise.
26658         * manual/maint.texi: Likewise.
26659         * manual/math.texi: Likewise.
26660         * manual/memory.texi: Likewise.
26661         * manual/message.texi: Likewise.
26662         * manual/nss.texi: Likewise.
26663         * manual/pattern.texi: Likewise.
26664         * manual/process.texi: Likewise.
26665         * manual/resource.texi: Likewise.
26666         * manual/search.texi: Likewise.
26667         * manual/setjmp.texi: Likewise.
26668         * manual/signal.texi: Likewise.
26669         * manual/socket.texi: Likewise.
26670         * manual/startup.texi: Likewise.
26671         * manual/stdio.texi: Likewise.
26672         * manual/string.texi: Likewise.
26673         * manual/sysinfo.texi: Likewise.
26674         * manual/syslog.texi: Likewise.
26675         * manual/terminal.texi: Likewise.
26676         * manual/time.texi: Likewise.
26677         * manual/users.texi: Likewise.
26678         * INSTALL: Regenerated.
26679         * NOTES: Regenerated.
26680         * sysdeps/gnu/errlist.c: Regenerated.
26682 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26684         * include/dirent.h: Include <dirstream.h> before
26685         <dirent/dirent.h>.
26687 2012-02-28  David S. Miller  <davem@davemloft.net>
26689         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26690         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26691         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26692         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26694 2012-02-27  David S. Miller  <davem@davemloft.net>
26696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26698         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26699         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26702         frame pointer instead of stack pointer relative arg slot.
26703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26704         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26705         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26707 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26709         [BZ #3992]
26710         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26712 2012-02-27  David S. Miller  <davem@davemloft.net>
26714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26718         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26719         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26720         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26721         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26723 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26725         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26726         later.  Allow versions 5-9.
26727         * configure: Regenerated.
26728         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26729         required minimum version and 4.6 as recommended version.  Do not
26730         mention bugs in GCC 2.7 and 2.8.
26731         * INSTALL: Regenerated.
26733 2012-02-27  David S. Miller  <davem@davemloft.net>
26735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26739         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26740         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26741         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26742         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26744         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26745         manipulate bits before adding and subtracting TWO112[sx].
26746         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26748 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26750         [BZ #13775]
26751         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26752         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26753         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26754         being in POSIX, because they are in 1003.1-2008.
26756         * rt/tst-aio.c: Include <fcntl.h>.
26757         * rt/tst-aio7.c: Likewise.
26758         * rt/tst-aio64.c: Likewise.
26760         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26762 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26764         * manual/install.texi (--with-headers): Describe headers as
26765         interface headers, not private headers.
26766         (Specific advice for GNU/Linux systems): Describe use of headers
26767         from "make headers_install", not private headers from older
26768         kernels.
26769         * INSTALL: Regenerated.
26770         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26771         Change to 2.6.19.
26772         * sysdeps/unix/sysv/linux/configure: Regenerated.
26774         * manual/llio.texi (fclean): Remove documentation.
26776         * manual/Makefile (libc-texi-generated): New variable.  Include
26777         version.texi.
26778         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26779         $(libc-texi-generated), not duplicated list of files.
26780         (version.texi, stamp-version): New rules.
26781         (realclean): Remove $(libc-texi-generated), not individual files
26782         from that list.  Do not remove dir-add.texinfo.
26783         * manual/libc.texinfo: Comment out uses of edition numbers and
26784         references to printed manual.  Remove last-updated dates.
26785         (EDITION): Comment out.
26786         (ISBN): Likewise.
26787         (VERSION, UPDATED): Remove.
26788         (version.texi): Include.
26790 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26792         * sysdeps/posix/spawni.c: Include <signal.h>.
26793         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26794         * sysdeps/pthread/aio_fsync.c: Likewise.
26796 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26798         * conform/Makefile (tests): Run only when not cross-compiling and
26799         when fast-check is not defined.
26801         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26802         * conform/data/limits.h-data: Fixes for POSIX2008.
26803         * conform/run-conformtest.sh: Run all tests.
26804         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26805         headers.
26806         * include/bits/dlfcn.h: Likewise.
26807         * include/langinfo.h: Likewise.
26808         * include/monetary.h: Likewise.
26809         * include/sys/poll.h: Likewise.
26811         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26812         for __USE_GNU.
26813         * posix/spawn.h: Define __need_sigset_t.
26814         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26815         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26816         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26817         to get sigevent_t only.
26818         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26819         only for __USE_GNU.
26820         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26821         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26822         process_vm_writev only for __USE_GNU.
26823         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26825         * conform/Makefile: For now ignore errors from run-conformtest.
26826         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26827         POSIX to avoid namespace pollution.  Don't prepend headers.
26828         * conform/data/aio.h-data: Fixes for POSIX testing.
26829         * conform/data/fcntl.h-data: Likewise.
26830         * conform/data/glob.h-data: Likewise.
26831         * conform/data/grp.h-data: Likewise.
26832         * conform/data/pthread.h-data: Likewise.
26833         * conform/data/pwd.h-data: Likewise.
26834         * conform/data/signal.h-data: Likewise.
26835         * conform/data/spawn.h-data: Likewise.
26836         * conform/data/stdio.h-data: Likewise.
26837         * conform/data/stdlib.h-data: Likewise.
26838         * conform/data/stropts.h-data: Likewise.
26839         * conform/data/sys/mman.h-data: Likewise.
26840         * conform/data/sys/stat.h-data: Likewise.
26841         * conform/data/sys/types.h-data: Likewise.
26842         * conform/data/sys/wait.h-data: Likewise.
26843         * conform/data/time.h-data: Likewise.
26844         * conform/data/unistd.h-data: Likewise.
26845         * conform/data/utime.h-data: Likewise.
26847         * io/sys/stat.h: fchmod was always in POSIX.
26848         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26849         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26850         * rt/aio.h: Define __need_timespec before including <time.h>.
26851         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26852         struct.  Add forward declaration of pthread_attr_t and use it in
26853         sigevent.
26854         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26855         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26856         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26857         always remove CLK_TCK definition.
26859 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26861         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26863 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26865         * conform/run-conformtest.sh: New file.
26866         * conform/Makefile: Run run-conformtest for tests.
26867         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26868         support.
26870         * conform/data/uchar.h-data: New file.
26871         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26872         * conform/data/arpa/inet.h-data: Likewise.
26873         * conform/data/assert.h-data: Likewise.
26874         * conform/data/complex.h-data: Likewise.
26875         * conform/data/cpio.h-data: Likewise.
26876         * conform/data/ctype.h-data: Likewise.
26877         * conform/data/dirent.h-data: Likewise.
26878         * conform/data/dlfcn.h-data: Likewise.
26879         * conform/data/errno.h-data: Likewise.
26880         * conform/data/fcntl.h-data: Likewise.
26881         * conform/data/float.h-data: Likewise.
26882         * conform/data/fmtmsg.h-data: Likewise.
26883         * conform/data/fnmatch.h-data: Likewise.
26884         * conform/data/ftw.h-data: Likewise.
26885         * conform/data/glob.h-data: Likewise.
26886         * conform/data/grp.h-data: Likewise.
26887         * conform/data/iconv.h-data: Likewise.
26888         * conform/data/inttypes.h-data: Likewise.
26889         * conform/data/langinfo.h-data: Likewise.
26890         * conform/data/libgen.h-data: Likewise.
26891         * conform/data/limits.h-data: Likewise.
26892         * conform/data/locale.h-data: Likewise.
26893         * conform/data/math.h-data: Likewise.
26894         * conform/data/monetary.h-data: Likewise.
26895         * conform/data/mqueue.h-data: Likewise.
26896         * conform/data/ndbm.h-data: Likewise.
26897         * conform/data/net/if.h-data: Likewise.
26898         * conform/data/netdb.h-data: Likewise.
26899         * conform/data/netinet/in.h-data: Likewise.
26900         * conform/data/nl_types.h-data: Likewise.
26901         * conform/data/poll.h-data: Likewise.
26902         * conform/data/pthread.h-data: Likewise.
26903         * conform/data/pwd.h-data: Likewise.
26904         * conform/data/regex.h-data: Likewise.
26905         * conform/data/sched.h-data: Likewise.
26906         * conform/data/search.h-data: Likewise.
26907         * conform/data/semaphore.h-data: Likewise.
26908         * conform/data/setjmp.h-data: Likewise.
26909         * conform/data/signal.h-data: Likewise.
26910         * conform/data/spawn.h-data: Likewise.
26911         * conform/data/stdarg.h-data: Likewise.
26912         * conform/data/stdio.h-data: Likewise.
26913         * conform/data/stdlib.h-data: Likewise.
26914         * conform/data/string.h-data: Likewise.
26915         * conform/data/strings.h-data: Likewise.
26916         * conform/data/stropts.h-data: Likewise.
26917         * conform/data/sys/ipc.h-data: Likewise.
26918         * conform/data/sys/mman.h-data: Likewise.
26919         * conform/data/sys/msg.h-data: Likewise.
26920         * conform/data/sys/resource.h-data: Likewise.
26921         * conform/data/sys/select.h-data: Likewise.
26922         * conform/data/sys/sem.h-data: Likewise.
26923         * conform/data/sys/shm.h-data: Likewise.
26924         * conform/data/sys/socket.h-data: Likewise.
26925         * conform/data/sys/stat.h-data: Likewise.
26926         * conform/data/sys/statvfs.h-data: Likewise.
26927         * conform/data/sys/time.h-data: Likewise.
26928         * conform/data/sys/timeb.h-data: Likewise.
26929         * conform/data/sys/times.h-data: Likewise.
26930         * conform/data/sys/types.h-data: Likewise.
26931         * conform/data/sys/uio.h-data: Likewise.
26932         * conform/data/sys/un.h-data: Likewise.
26933         * conform/data/sys/utsname.h-data: Likewise.
26934         * conform/data/sys/wait.h-data: Likewise.
26935         * conform/data/syslog.h-data: Likewise.
26936         * conform/data/tar.h-data: Likewise.
26937         * conform/data/termios.h-data: Likewise.
26938         * conform/data/utime.h-data: Likewise.
26939         * conform/data/utmpx.h-data: Likewise.
26940         * conform/data/varargs.h-data: Likewise.
26941         * conform/data/wchar.h-data: Likewise.
26942         * conform/data/wctype.h-data: Likewise.
26943         * conform/data/wordexp.h-data: Likewise.
26945         * include/stropts.h: New file.
26946         * include/uchar.h: New file.
26947         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26948         * include/assert.h: Likewise.
26949         * include/ctype.h: Likewise.
26950         * include/dirent.h: Likewise.
26951         * include/dlfcn.h: Likewise.
26952         * include/fcntl.h: Likewise.
26953         * include/fnmatch.h: Likewise.
26954         * include/glob.h: Likewise.
26955         * include/grp.h: Likewise.
26956         * include/libio.h: Likewise.
26957         * include/locale.h: Likewise.
26958         * include/math.h: Likewise.
26959         * include/net/if.h: Likewise.
26960         * include/netdb.h: Likewise.
26961         * include/netinet/in.h: Likewise.
26962         * include/pthread.h: Likewise.
26963         * include/pwd.h: Likewise.
26964         * include/regex.h: Likewise.
26965         * include/sched.h: Likewise.
26966         * include/search.h: Likewise.
26967         * include/setjmp.h: Likewise.
26968         * include/signal.h: Likewise.
26969         * include/stdio.h: Likewise.
26970         * include/stdlib.h: Likewise.
26971         * include/string.h: Likewise.
26972         * include/sys/cdefs.h: Likewise.
26973         * include/sys/mman.h: Likewise.
26974         * include/sys/msg.h: Likewise.
26975         * include/sys/resource.h: Likewise.
26976         * include/sys/select.h: Likewise.
26977         * include/sys/socket.h: Likewise.
26978         * include/sys/stat.h: Likewise.
26979         * include/sys/statvfs.h: Likewise.
26980         * include/sys/time.h: Likewise.
26981         * include/sys/times.h: Likewise.
26982         * include/sys/uio.h: Likewise.
26983         * include/sys/utsname.h: Likewise.
26984         * include/sys/wait.h: Likewise.
26985         * include/termios.h: Likewise.
26986         * include/time.h: Likewise.
26987         * include/ulimit.h: Likewise.
26988         * include/unistd.h: Likewise.
26989         * include/utime.h: Likewise.
26990         * include/wchar.h: Likewise.
26991         * include/wctype.h: Likewise.
26992         * include/wordexp.h: Likewise.
26994         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26996         * time/time.h: TIME_UTC must be a macro.
26997         Make timespec_get available for ISO C11 only as well.
26999 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
27001         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27002         Reported by Peng Haitao <penght@cn.fujitsu.com>.
27004 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27006         * configure.in: Use -o not -a in test for unsupported multi-arch.
27008 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27010         * manual/texinfo.tex: Update to version 2012-01-19.16.
27012 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
27014         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27016 2012-02-24  Roland McGrath  <roland@hack.frob.com>
27018         [BZ #13738]
27019         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27020         * manual/fdl-1.3.texi: New file.
27021         * manual/fdl-1.1.texi: File removed.
27023         [BZ #13738]
27024         * manual/libc.texinfo (FDL_VERSION): New @set.
27025         Use it for mention of FDL in cover text.
27026         (Documentation License): Use it in @include file name.
27028 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27029             Roland McGrath  <roland@hack.frob.com>
27031         [BZ #5461]
27032         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27033         not LONG_LONG_MAX and LONG_LONG_MIN.
27034         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27035         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
27036         name.
27037         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27039 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27041         [BZ #2547]
27042         [BZ #11365]
27043         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27044         manipulate bits before adding and subtracting TWO23[sx].
27045         * math/libm-test.inc (nearbyint_test): Add more tests.
27047 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27049         [BZ #2548]
27050         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27051         bits before adding and subtracting TWO23[sx].
27052         * math/libm-test.inc (rint_test): Add more tests.
27053         (rint_test_tonearest): Likewise.
27054         (rint_test_towardzero): Likewise.
27055         (rint_test_downward): Likewise.
27056         (rint_test_upward: Likewise.
27058 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27060         [BZ #10110]
27061         * include/stdc-predef.h: New file.  Extracted from features.h.
27062         * include/features.h: Include stdc-predef.h.
27063         * Makefile (headers): Add stdc-predef.h.
27064         * CONFORMANCE (Compiler limitations): Update.
27066 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
27068         * manual/libc.texinfo (VERSION, UPDATED): Revert.
27070 2012-02-21  David S. Miller  <davem@davemloft.net>
27072         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27073         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27075 2012-02-20  David S. Miller  <davem@davemloft.net>
27077         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27078         using a normal save/restore sequence, rather than allocating a
27079         dummy stack frame just to store a frame pointer and restore.
27080         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27082 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27084         * manual/install.texi: Fix stray word in line-wrapped comment.
27086 2012-02-20  David S. Miller  <davem@davemloft.net>
27088         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27089         both binutils and gcc support GOTDATA.
27091         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27092         "rd %pc" in the PIC register setup sequences.
27094         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27095         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27096         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27097         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27098         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27099         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27100         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27101         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27102         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27103         (SYSCALL_ERROR_HANDLER): Likewise.
27104         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27105         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27106         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27107         (SYSCALL_ERROR_HANDLER): Likewise.
27109         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27110         (HAVE_GCC_GOTDATA): New.
27111         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27112         relocation support in both binutils and gcc.
27113         * sysdeps/sparc/elf/configure: Regenerate.
27115         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27116         * sysdeps/sparc/sparc32/elf/configure: Delete.
27117         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27118         * sysdeps/sparc/sparc64/elf/configure: Delete.
27119         * sysdeps/sparc/elf/configure.in: New file.
27120         * sysdeps/sparc/elf/configure: Generate.
27122         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27123         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27124         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27125         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27126         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27128 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27130         * manual/install.texi: Do not mention specific glibc version
27131         numbers.
27132         * manual/libc.texinfo (VERSION, UPDATED): Update.
27133         (@copying): Use @copyright{} and range of years.
27135 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
27137         [BZ #13695]
27138         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27139         [crti.S not in sysdirs] (generated): Do not append.
27140         [crti.S not in sysdirs] (omit-deps): Likewise.
27141         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27142         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27143         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27144         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27145         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27146         Likewise.
27147         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27148         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27149         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27150         * csu/defs.awk: Remove file.
27151         * sysdeps/generic/initfini.c: Likewise.
27152         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27153         variable.
27154         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27155         Likewise.
27157 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27159         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27160         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27161         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27162         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27163         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27164         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27165         <bits/epoll.h>.
27166         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27167         (__EPOLL_PACKED): Define to empty if not defined by
27168         <bits/epoll.h>.
27169         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27171         bits/epoll.h.
27173 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27175         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27176         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27177         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27178         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27179         <bits/timerfd.h>.
27180         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27182         bits/timerfd.h.
27184 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
27186         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27187         in C locale.
27188         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27189         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27190         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27193 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
27195         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27196         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27198 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
27200         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27201         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27202         defined.
27203         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27204         Likewise.
27205         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27206         entry for 2.16.
27208 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
27210         * math/w_acos.c: Use non-signaling floating-point comparisons.
27211         * math/w_acosf.c: Likewise.
27212         * math/w_acosh.c: Likewise.
27213         * math/w_acoshf.c: Likewise.
27214         * math/w_acoshl.c: Likewise.
27215         * math/w_acosl.c: Likewise.
27216         * math/w_asin.c: Likewise.
27217         * math/w_asinf.c: Likewise.
27218         * math/w_asinl.c: Likewise.
27219         * math/w_atanh.c: Likewise.
27220         * math/w_atanhf.c: Likewise.
27221         * math/w_atanhl.c: Likewise.
27222         * math/w_exp2.c: Likewise.
27223         * math/w_exp2f.c: Likewise.
27224         * math/w_exp2l.c: Likewise.
27225         * math/w_j0.c: Likewise.
27226         * math/w_j0f.c: Likewise.
27227         * math/w_j0l.c: Likewise.
27228         * math/w_j1.c: Likewise.
27229         * math/w_j1f.c: Likewise.
27230         * math/w_j1l.c: Likewise.
27231         * math/w_jn.c: Likewise.
27232         * math/w_jnf.c: Likewise.
27233         * math/w_log.c: Likewise.
27234         * math/w_log10.c: Likewise.
27235         * math/w_log10f.c: Likewise.
27236         * math/w_log10l.c: Likewise.
27237         * math/w_log2.c: Likewise.
27238         * math/w_log2f.c: Likewise.
27239         * math/w_log2l.c: Likewise.
27240         * math/w_logf.c: Likewise.
27241         * math/w_logl.c: Likewise.
27242         * math/w_sqrt.c: Likewise.
27243         * math/w_sqrtf.c: Likewise.
27244         * math/w_sqrtl.c: Likewise.
27245         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27246         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27247         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27248         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27249         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27251 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27253         [BZ #9739]
27254         * manual/string.texi (strnlen): Use correct parameter name in
27255         equivalent expression.
27257 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27259         [BZ #11174]
27260         * manual/users.texi (seteuid): Consistently use neweuid for
27261         argument name.
27263 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
27265         [BZ #13704]
27266         * manual/nss.texi (Services in the NSS configuration): Correct
27267         list of services in example configuration file.
27269 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
27271         [BZ #11322]
27272         * manual/arith.texi: Remove statements about negative zero
27273         behaving identically to zero.
27275 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27277         [BZ #5993]
27278         * manual/install.texi: Do not document upgrading from libc5.
27280 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
27282         [BZ #4596]
27283         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27285 2012-02-18  David S. Miller  <davem@davemloft.net>
27287         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27288         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27289         %o7 across the call.
27290         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27291         instead.
27292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27293         SETUP_PIC_REG_LEAF.
27294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27295         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27296         * sysdeps/sparc/crtn.S: Likewise.
27298 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
27300         * aout/Makefile: Remove.
27302 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
27304         [BZ #13058]
27305         * manual/examples/argp-ex1.c (main): Format definition in GNU
27306         style.
27307         * manual/examples/argp-ex2.c (main): Likewise.
27308         * manual/examples/argp-ex3.c (main): Likewise.
27309         * manual/examples/argp-ex4.c (main): Likewise.
27310         * manual/examples/longopt.c (main): Use new-style prototype
27311         definition.
27312         * manual/examples/strncat.c (main): Specify return type and use
27313         (void) for arguments.
27314         * manual/examples/subopt.c (main): Use char **argv argument.
27316 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27318         [BZ #5077]
27319         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27320         rounding modes.
27322 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
27324         [BZ #6907]
27325         * manual/string.texi (strchr): Change when strchrnul is
27326         recommended.
27328 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
27330         [BZ #174]
27331         * manual/locale.texi (setlocale): Document LOCPATH.
27333 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27335         [BZ #10210]
27336         * manual/process.texi (execle): Move @dots{} before last argument.
27338 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
27340         [BZ #12047]
27341         * manual/charset.texi (Generic Charset Conversion): Fix typo
27342         (LC_TYPE -> LC_CTYPE).
27344 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
27346         [BZ #5805]
27347         * manual/arith.texi (scalbn): Use @var{} on parameter names.
27348         (scalbnf): Likewise.
27349         (scalbnl): Likewise.
27350         (scalbln): Likewise.
27351         (scalblnf): Likewise.
27352         (scalblnl): Likewise.
27353         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27354         (vwarnx): Likewise.
27355         (verr): Likewise.
27356         (verrx): Likewise.
27357         * manual/filesys.texi (telldir): Use braces around return type.
27358         * manual/llio.texi (mmap): Add space after comma.
27359         (mmap64): Likewise.
27360         * manual/math.texi (jn): Use @var{} on parameter names.
27361         (jnf): Likewise.
27362         (jnl): Likewise.
27363         (yn): Likewise.
27364         (ynf): Likewise.
27365         (ynl): Likewise.
27366         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27367         line.
27368         * manual/resource.texi (ulimit): Use @dots{} instead of literal
27369         "...".
27370         (sched_get_priority_min): Remove semicolon on @deftypefun line.
27371         (sched_get_priority_max): Likewise.
27372         * manual/signal.texi (sigvec): Add space after comma.
27373         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27374         names.
27375         (if_indextoname): Likewise.
27376         (if_freenameindex): Likewise.
27377         (sendto): Use ',' instead of '.' in prototype.
27378         * manual/startup.texi (syscall): Use @dots{} instead of literal
27379         "...".
27380         * manual/stdio.texi (__fpending): Separate initial words of
27381         paragraph from @deftypefun line.
27382         * manual/syslog.texi (syslog): Use @dots{} instead of literal
27383         "...".
27384         (vsyslog): Use @var{} on parameter names.
27385         * manual/terminal.texi (stty): Use @var{} on parameter names.
27386         * manual/users.texi (getutmp): Use @var{} on parameter names.
27387         (getutmpx): Likewise.
27389 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27391         [BZ #6884]
27392         * manual/stdio.texi (fopen): Fix typos in description of
27393         ",ccs=STRING".
27395 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
27397         [BZ #4026]
27398         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27399         get clock_id definition.
27401 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
27403         [BZ #4822]
27404         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27405         (madvise): Cast every argument to void on its own.
27407 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27409         [BZ #9902]
27410         * manual/startup.texi (Exit Status): Fix typo.
27412 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
27414         [BZ #10140]
27415         * manual/examples/argp-ex1.c: Include <stdlib.h>.
27416         * manual/examples/argp-ex2.c: Likewise.
27417         * manual/examples/argp-ex3.c: Likewise.
27419 2012-02-16  Richard Henderson  <rth@redhat.com>
27421         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27422         * sysdeps/s390/s390-32/initfini.c: Remove.
27423         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27424         * sysdeps/s390/s390-64/initfini.c: Remove.
27426 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27428         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27429         compiler output for sysdeps/generic/initfini.c.
27430         * sysdeps/sh/elf/initfini.c: Remove file.
27432 2012-02-16  David S. Miller  <davem@davemloft.net>
27434         [BZ #11494]
27435         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27437         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27438         * sysdeps/sparc/crti.S: New file.
27439         * sysdeps/sparc/crtn.S: New file.
27440         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27441         * sysdeps/sparc/sparc64/Makefile: Likewise.
27443 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
27445         [BZ #3335]
27446         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27448 2012-02-15  Roland McGrath  <roland@hack.frob.com>
27450         [BZ #4822]
27451         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27453         * mach/devstream.c (cookie_io_functions_t): Macro removed.
27454         (write, read, close): Likewise.
27455         Patch by Aurelien Jarno <aurelien@aurel32.net>.
27457 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
27459         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27460         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27461         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27462         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27463         <bits/signalfd.h>.
27464         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27466         bits/signalfd.h.
27468 2012-02-14  Marek Polacek  <polacek@redhat.com>
27470         * sysdeps/x86_64/crti.S: New file.
27471         * sysdeps/x86_64/crtn.S: New file.
27472         * sysdeps/x86_64/elf/initfini.c: Remove file.
27474 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27476         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27477         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27478         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27479         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27480         <bits/inotify.h>.
27481         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27482         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27483         bits/inotify.h.
27485 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
27487         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27488         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27489         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27490         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27491         <bits/eventfd.h>.
27492         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27494         bits/eventfd.h.
27496 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
27498         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27499         __feraiseexcept instead of feraiseexcept.
27501         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27502         nanosleep invocations.
27503         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27504         strings, and add error checking for a nanosleep invocations.
27506 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
27508         Replace FSF snail mail address with URLs, as per GNU coding standards.
27509         Most of the snail mail addresses were wrong anyway, and omitting
27510         them makes the source code easier to maintain.  Almost all of the
27511         changes are to license notices and to locale LC_IDENTIFICATION
27512         addresses, except for this one:
27513         * manual/libc.texinfo: In "Published by", give the FSF's URL,
27514         not its snail mail address.
27516 2012-02-09  Richard Henderson  <rth@twiddle.net>
27518         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27519         of kernel-features.h.
27521         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27523 2012-02-08  Marek Polacek  <polacek@redhat.com>
27525         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27526         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27527         * sysdeps/gnu/_G_config.h: Likewise.
27528         * sysdeps/generic/_G_config.h: Likewise.
27530 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
27532         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27533         tests.
27534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27536         * sysdeps/powerpc/powerpc32/crti.S: New file.
27537         * sysdeps/powerpc/powerpc32/crtn.S: New file.
27538         * sysdeps/powerpc/powerpc64/crti.S: New file.
27539         * sysdeps/powerpc/powerpc64/crtn.S: New file.
27541         * Makeconfig (have-initfini): Don't set.
27542         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27543         * configure.in (nopic_initfini): Don't substitute.
27544         * config.h.in (HAVE_INITFINI): Don't #undef.
27545         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27546         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27548 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27550         Support crti.S and crtn.S provided directly by architectures.
27551         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27552         [crti.S in sysdirs] (omit-deps): Likewise.
27553         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27554         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27555         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27556         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27557         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27558         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27559         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27560         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27561         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27562         compiler output for sysdeps/generic/initfini.c.
27563         * sysdeps/i386/elf/Makefile: Remove file.
27564         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27566 2012-02-07  Marek Polacek  <polacek@redhat.com>
27568         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27569         * sysdeps/gnu/_G_config.h: Likewise.
27570         * sysdeps/mach/hurd/_G_config.h: Likewise.
27572 2012-02-07  Marek Polacek  <polacek@redhat.com>
27574         * math/Makefile (tests): Add tst-CMPLX2.
27575         * math/tst-CMPLX2.c: New file.
27577 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27579         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27581         * math/libm-test.inc (jn_test): Add missing L suffix.
27583 2012-02-06  Marek Polacek  <polacek@redhat.com>
27585         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27586         * sysdeps/i386/fpu/e_powf.S: Likewise.
27587         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27588         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27589         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27590         * sysdeps/i386/fpu/e_pow.S: Likewise.
27591         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27592         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27593         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27594         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27595         * sysdeps/i386/fpu/e_log2.S: Likewise.
27596         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27597         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27598         * sysdeps/i386/fpu/e_powl.S: Likewise.
27599         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27600         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27601         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27602         * sysdeps/i386/fpu/e_logl.S: Likewise.
27603         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27604         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27605         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27606         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27607         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27608         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27609         * sysdeps/i386/fpu/e_log.S: Likewise.
27610         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27611         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27612         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27613         * sysdeps/i386/fpu/e_logf.S: Likewise.
27614         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27615         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27616         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27617         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27618         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27619         * sysdeps/i386/fpu/e_log10.S: Likewise.
27620         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27621         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27622         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27623         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27624         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27625         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27626         * sysdeps/i386/asm-syntax.h: Likewise.
27627         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27628         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27629         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27630         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27631         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27632         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27633         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27634         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27635         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27636         * sysdeps/powerpc/sysdep.h: Likewise.
27637         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27638         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27640 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27642         [BZ #411]
27643         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27645 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27647         * sysdeps/i386/sysdep.h: Include <features.h>.
27648         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27649         version.
27651 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27653         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27654         Define.
27655         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27656         LOAD_PIC_REG_STR.
27658 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27660         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27661         (SETUP_PIC_REG): Use GET_PC_THUNK.
27662         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27663         macro.
27665 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27667         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27668         for non-PIC compilation.
27669         (SETUP_PIC_REG): Add .p2align directive.
27670         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27671         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27672         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27673         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27674         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27675         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27676         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27677         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27678         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27679         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27680         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27681         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27682         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27683         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27684         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27685         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27686         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27687         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27688         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27689         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27690         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27691         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27692         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27693         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27694         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27695         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27696         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27697         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27698         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27699         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27700         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27701         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27702         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27703         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27704         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27705         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27706         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27707         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27708         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27709         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27710         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27712 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27714         * math/tst-CMPLX.c: Include <stdio.h>.
27716 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27718         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27719         float.
27720         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27721         * sysdeps/sparc/bits/mathdef.h: Likewise.
27723 2012-01-31  Marek Polacek  <polacek@redhat.com>
27725         * libio/libio.h: Don't define _PARAMS.
27726         * locale/programs/config.h: Don't define PARAMS.
27727         * stdlib/strtol_l.c: Likewise.
27728         (__strtol_l): Remove PARAMS from the prototype.
27730 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27732         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27733         names.  Just use the correct names.  Remove unnecessary wrapper
27734         functions.
27735         * malloc/arena.c: Likewise.
27736         * malloc/hooks.c: Likewise.
27738         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27739         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27740         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27742 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27744         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27745         into tail calls.
27746         (update_get_addr): New function.
27747         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27748         GET_ADDR_MODULE parameter.
27750 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27752         * crypt/cert.c: Remove __STDC__ conditionals.
27753         * crypt/crypt-entry.c: Likewise.
27754         * crypt/crypt_util.c: Likewise.
27755         * libio/filedoalloc.c: Likewise.
27756         * libio/fileops.c: Likewise.
27757         * libio/genops.c: Likewise.
27758         * libio/iofclose.c: Likewise.
27759         * libio/iofdopen.c: Likewise.
27760         * libio/iofopen.c: Likewise.
27761         * libio/iofopen64.c: Likewise.
27762         * libio/iogetdelim.c: Likewise.
27763         * libio/iopopen.c: Likewise.
27764         * libio/obprintf.c: Likewise.
27765         * libio/oldfileops.c: Likewise.
27766         * libio/oldiofclose.c: Likewise.
27767         * libio/oldiofdopen.c: Likewise.
27768         * libio/oldiofopen.c: Likewise.
27769         * libio/oldiopopen.c: Likewise.
27770         * libio/wfiledoalloc.c: Likewise.
27771         * libio/wgenops.c: Likewise.
27772         * locale/programs/xmalloc.c: Likewise.
27773         * misc/syslog.c: Likewise.
27774         * stdio-common/xbug.c: Likewise.
27775         * string/memchr.c: Likewise.
27776         * string/memcmp.c: Likewise.
27777         * string/memrchr.c: Likewise.
27778         * string/rawmemchr.c: Likewise.
27779         * sysdeps/posix/getcwd.c: Likewise.
27780         * time/strftime_l.c: Likewise.
27782 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27784         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27785         * config.make.in (config-cflags-sse2avx): Define.
27786         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27787         Fix typo.
27789 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27791         * scripts/config.guess: Update from upstream config git repository.
27792         * scripts/config.sub: Likewise.
27794 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27796         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27797         (EM_NUM): Update.
27798         (R_TILEPRO_*, R_TILEGX_*): New macros.
27800         * scripts/firstversions.awk: Fix bug in version range handling.
27802         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27804         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27806         * include/sys/epoll.h: New file.
27807         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27808         libc_hidden_def.
27810 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27812         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27813         Avoid unnecessary __WORDSIZE == 64 test.
27814         (fmaxf): Use VEX format if possible.
27815         (fmax): Likewise.
27816         (fminf): Likewise.
27817         (fmin): Likewise.
27819         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27820         * math/math_private.h: Remove libc_fegetround* and
27821         libc_fesetround*.
27822         * sysdeps/i386/configure.in: Check for -msse2avx.
27823         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27824         also if SSE2AVX is defined.
27825         Remove libc_fegetround* and libc_fesetround*.
27826         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27827         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27828         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27829         of HAS_YMM_USABLE.
27830         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27831         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27832         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27833         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27834         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27836         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27838 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27840         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27841         size is not set.
27842         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27844 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27846         [BZ #13618]
27847         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27848         relocation.
27849         * Makeconfig (libm): Define.
27850         * elf/Makefile: Add rules to build and run tst-relsort1.
27851         * elf/tst-relsort1.c: New file.
27852         * elf/tst-relsort1mod1.c: New file.
27853         * elf/tst-relsort1mod2.c: New file.
27855 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27857         * math/s_ldexp.c: Remove __STDC__ conditionals.
27858         * math/s_ldexpf.c: Likewise.
27859         * math/s_ldexpl.c: Likewise.
27860         * math/s_nextafter.c: Likewise.
27861         * math/s_nexttowardf.c: Likewise.
27862         * math/s_significand.c: Likewise.
27863         * math/s_significandf.c: Likewise.
27864         * math/s_significandl.c: Likewise.
27865         * math/w_jnl.c: Likewise.
27866         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27867         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27868         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27869         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27870         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27871         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27872         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27873         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27874         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27875         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27876         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27877         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27878         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27879         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27880         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27881         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27882         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27883         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27885         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27886         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27887         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27888         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27889         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27890         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27891         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27892         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27893         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27894         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27895         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27896         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27897         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27898         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27899         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27900         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27901         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27902         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27903         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27904         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27905         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27906         * sysdeps/ieee754/k_standard.c: Likewise.
27907         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27908         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27909         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27910         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27911         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27912         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27913         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27914         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27915         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27916         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27917         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27918         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27919         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27920         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27921         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27922         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27923         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27924         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27925         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27926         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27927         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27928         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27929         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27930         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27931         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27932         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27933         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27934         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27936         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27937         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27938         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27939         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27940         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27941         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27942         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27943         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27944         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27945         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27946         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27947         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27948         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27949         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27950         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27951         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27952         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27953         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27954         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27955         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27956         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27957         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27958         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27960         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27961         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27962         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27963         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27964         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27965         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27966         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27967         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27968         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27969         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27970         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27971         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27972         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27973         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27974         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27975         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27976         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27977         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27978         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27979         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27980         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27981         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27982         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27983         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27984         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27985         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27986         * sysdeps/ieee754/s_matherr.c: Likewise.
27987         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27988         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27989         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27992 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27994         * crypt/md5.h: Remove __STDC__ conditionals.
27995         * libio/libioP.h: Likewise.
27996         * locale/programs/config.h: Likewise.
27997         * sysdeps/generic/sysdep.h: Likewise.
27998         * sysdeps/i386/asm-syntax.h: Likewise.
27999         * sysdeps/s390/asm-syntax.h: Likewise.
28000         * sysdeps/unix/sysdep.h: Likewise.
28001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28004 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
28006         * libio/libio.h: Remove __STDC__ conditionals.
28007         * malloc/obstack.h: Likewise.
28008         * math/complex.h: Likewise.
28009         * math/math.h: Likewise.
28010         * sysdeps/generic/_G_config.h: Likewise.
28011         * sysdeps/gnu/_G_config.h: Likewise.
28012         * sysdeps/mach/hurd/_G_config.h: Likewise.
28013         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28014         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28015         * sysdeps/sparc/bits/mathdef.h: Likewise.
28017 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
28019         [BZ #13583]
28020         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28021         Clean up HAS_* macros.
28022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28023         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28024         possible.
28025         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28026         HAS_AVX.
28027         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28028         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28029         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28030         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28031         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28033 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
28035         * elf/tst-unique3.cc (gets): Remove declaration.
28036         * elf/tst-unique3lib.cc (gets): Likewise.
28037         * elf/tst-unique3lib2.cc (gets): Likewise.
28038         * elf/tst-unique4.cc (gets): Likewise.
28040 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
28042         * include/stdio.h: Add C++ protection.  Add gets declarations and
28043         definitions.
28044         * debug/tst-chk1.c: Don't declare gets here.
28045         * stdio-common/tst-gets.c: Likewise.
28047 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28049         * posix/glob: Remove directory.
28051 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
28053         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28055 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
28057         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28058         of the non-standard EPFNOSUPPORT.
28060 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28062         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28063         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28064         ANYWHERE set to 1 only on KERN_NO_SPACE error.
28066 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
28068         * wcsmbs/uchar.h: Test __STDC_VERSION__.
28070 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
28072         * nscd/aicache.c (addhstaiX): Do not cache negative results of
28073         transient errors.
28074         * nscd/grpcache.c (cache_addgr): Likewise.
28075         * nscd/hstcache.c (cache_addhst): Likewise.
28076         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28077         * nscd/pwdcache.c (cache_addpw): Likewise.
28078         * nscd/servicescache.c (cache_addserv): Likewise.
28080 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
28082         * malloc/malloc.c: Various cleanups.
28083         * malloc/hooks.c: Likewise.
28085         * stdlib/Makefile (tests): Add bug-fmtmsg1.
28086         * stdlib/bug-fmtmsg1.c: New file.
28088         * stdlib/fmtmsg.c (init): Add missing unlock.
28089         Patch by Peng Haitao <penght@cn.fujitsu.com>.
28091 2012-01-12  Marek Polacek  <polacek@redhat.com>
28093         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28094         and _GNU_SOURCE.
28096 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
28098         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28099         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28100         macro to ensure uniqueness of label name.
28101         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28102         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28104 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
28106         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28108         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28109         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28111         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28113 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
28115         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28117         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28118         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28119         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28121         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28123         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28124         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28125         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28126         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28128         * math/bits/math-finite.h: Add ldexp support.
28130 2012-01-10  Marek Polacek  <polacek@redhat.com>
28132         * locale/programs/localedef.h (show_archive_content): Add noreturn
28133         attribute.
28135 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
28137         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28139 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28141         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28143         * io/Makefile (headers): Add bits/poll2.h.
28145 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
28147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28148         typo #include statement.
28150 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28152         * include/sys/cdefs.h: Define __attribute_alloc_size.
28153         * catgets/gencat.c: Add alloc_size attribute and apply consistently
28154         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28155         * elf/pldd.c: Likewise.
28156         * iconv/iconv_charmap.c: Likewise.
28157         * iconv/iconvconfig.c: Likewise.
28158         * iconv/strtab.c: Likewise.
28159         * locale/programs/locale.c: Likewise.
28160         * locale/programs/localedef.h: Likewise.
28161         * locale/programs/simple-hash.c: Likewise.
28162         * nscd/nscd.h: Likewise.
28163         * nss/makedb.c: Likewise.
28164         * sysdeps/generic/ldconfig.h: Likewise.
28165         * locale/programs/localedef.c: Remove xmalloc prototype.
28166         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28168 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28170         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28171         appropriate.
28173 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
28175         * math/Makefile (tests): Add tst-CMPLX.
28176         * math/tst-CMPLX.c: New file.
28178         * math/complex.h (CMPLXL): Fix typo.
28180         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28181         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28182         GLIBC_2.16.
28183         * debug/tst-chk1.c: Add poll and ppoll tests.
28184         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28185         * include/sys/poll.h: Add hidden proto for ppoll.
28186         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28187         * sysdeps/mach/hurd/ppoll.c: Likewise.
28188         * io/ppoll.c: Likewise.
28189         * debug/poll_chk.c: New file.
28190         * debug/ppoll_chk.c: New file.
28191         * include/bits/poll2.h: New file.
28192         * io/bits/poll2.h: New file.
28194         [BZ #1350]
28195         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28197         * configure.in: static is always set to yes.  Remove.
28198         * config.make.in: Don't set build-static.
28199         * Makeconfig: Remove use of build-static.
28200         * dlfcn/Makefile: Likewise.
28201         * elf/Makefile: Likewise.
28202         * math/Makefile: Likewise.
28203         * misc/Makefile: Likewise.
28204         * nptl/Makefile: Likewise.
28205         * sysdeps/mach/hurd/Makefile: Likewise.
28207         * configure.in: PWD_P is not used anymore.
28208         * config.make.in: Remove PWD_P entry.
28210         * configure.in: Remove last remnants of RANLIB.
28211         No need to check for signed size_t anymore.
28212         Don't set libc_commonpagesize and libc_relro_required here for Alpha
28213         and IA-64.
28214         Remove __builtin_expect test because we require at least gcc 3.4.
28215         * aclocal.m4: Likewise.
28217         * wcsmbs/mbrtoc16.c: Implement using towc function.
28218         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28219         * wcsmbs/wcsmbsload.c: Likewise.
28220         * iconv/gconv_simple.c: Likewise.
28221         * iconv/gconv_int.h: Likewise.
28222         * iconv/gconv_builtin.h: Likewise.
28223         * iconv/iconv_prog.c: Remove CHAR16 handling.
28225         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28227         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28229         * configure.in: Remove --with-elf and --enable-bounded options.
28230         Dont set base_machine for ia64.  More non-ELF conditions removed.
28231         Remove testing and setting of leading underscore information.
28232         * config.make.in (build-bounded): Set to no.
28233         * config.h.in: Remove NO_UNDERSCORES entry.
28234         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
28235         them.
28236         * csu/start.c: Remove !NO_UNDERSCORE code.
28237         * locale/localeinfo.h: Likewise.
28238         * sysdeps/generic/machine-gmon.h: Likewise.
28239         * sysdeps/generic/sysdep.h: Likewise.
28240         * sysdeps/i386/sysdep.h: Likewise.
28241         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28242         * sysdeps/mach/sysdep.h: Likewise.
28243         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28244         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28245         * sysdeps/sh/sysdep.h: Likewise.
28246         * sysdeps/sparc/sparc32/alloca.S: Likewise.
28247         * sysdeps/unix/i386/sysdep.S: Likewise.
28248         * sysdeps/unix/sparc/start.c: Likewise.
28249         * sysdeps/unix/sparc/sysdep.S: Likewise.
28250         * sysdeps/unix/sparc/sysdep.h: Likewise.
28251         * sysdeps/unix/start.c: Likewise.
28252         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28253         * sysdeps/x86_64/sysdep.h: Likewise.
28255 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
28257         [BZ #13553]
28258         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28259         for non-gcc.
28260         * argp/argp-fmtstream.h: Use const instead __const.
28261         * argp/argp.h: Likewise.
28262         * assert/assert.h: Likewise.
28263         * bits/fenv.h: Likewise.
28264         * bits/sched.h: Likewise.
28265         * bits/sigset.h: Likewise.
28266         * bits/sigthread.h: Likewise.
28267         * catgets/nl_types.h: Likewise.
28268         * conform/data/pthread.h-data: Likewise.
28269         * crypt/crypt-private.h: Likewise.
28270         * crypt/crypt.h: Likewise.
28271         * crypt/crypt_util.c: Likewise.
28272         * ctype/ctype.h: Likewise.
28273         * debug/execinfo.h: Likewise.
28274         * debug/mbsnrtowcs_chk.c: Likewise.
28275         * debug/mbsrtowcs_chk.c: Likewise.
28276         * debug/wcsnrtombs_chk.c: Likewise.
28277         * debug/wcsrtombs_chk.c: Likewise.
28278         * debug/wcstombs_chk.c: Likewise.
28279         * dirent/dirent.h: Likewise.
28280         * dlfcn/dlfcn.h: Likewise.
28281         * elf/neededtest4.c: Likewise.
28282         * grp/grp.h: Likewise.
28283         * gshadow/gshadow.h: Likewise.
28284         * iconv/gconv.h: Likewise.
28285         * iconv/gconv_int.h: Likewise.
28286         * iconv/gconv_simple.c: Likewise.
28287         * iconv/iconv.h: Likewise.
28288         * iconv/loop.c: Likewise.
28289         * iconv/skeleton.c: Likewise.
28290         * include/aio.h: Likewise.
28291         * include/aliases.h: Likewise.
28292         * include/argz.h: Likewise.
28293         * include/arpa/inet.h: Likewise.
28294         * include/assert.h: Likewise.
28295         * include/dirent.h: Likewise.
28296         * include/dlfcn.h: Likewise.
28297         * include/execinfo.h: Likewise.
28298         * include/fcntl.h: Likewise.
28299         * include/fenv.h: Likewise.
28300         * include/glob.h: Likewise.
28301         * include/grp.h: Likewise.
28302         * include/libintl.h: Likewise.
28303         * include/mntent.h: Likewise.
28304         * include/netdb.h: Likewise.
28305         * include/pwd.h: Likewise.
28306         * include/rpc/netdb.h: Likewise.
28307         * include/sched.h: Likewise.
28308         * include/search.h: Likewise.
28309         * include/shadow.h: Likewise.
28310         * include/signal.h: Likewise.
28311         * include/stdio.h: Likewise.
28312         * include/stdlib.h: Likewise.
28313         * include/string.h: Likewise.
28314         * include/sys/socket.h: Likewise.
28315         * include/sys/stat.h: Likewise.
28316         * include/sys/statfs.h: Likewise.
28317         * include/sys/statvfs.h: Likewise.
28318         * include/sys/syslog.h: Likewise.
28319         * include/sys/time.h: Likewise.
28320         * include/sys/uio.h: Likewise.
28321         * include/time.h: Likewise.
28322         * include/unistd.h: Likewise.
28323         * include/utmp.h: Likewise.
28324         * include/wchar.h: Likewise.
28325         * include/wctype.h: Likewise.
28326         * inet/aliases.h: Likewise.
28327         * inet/arpa/inet.h: Likewise.
28328         * inet/netinet/ether.h: Likewise.
28329         * inet/netinet/in.h: Likewise.
28330         * intl/libintl.h: Likewise.
28331         * io/bits/fcntl2.h: Likewise.
28332         * io/fcntl.h: Likewise.
28333         * io/ftw.h: Likewise.
28334         * io/sys/poll.h: Likewise.
28335         * io/sys/stat.h: Likewise.
28336         * io/sys/statfs.h: Likewise.
28337         * io/sys/statvfs.h: Likewise.
28338         * io/utime.h: Likewise.
28339         * libio/bits/stdio.h: Likewise.
28340         * libio/bits/stdio2.h: Likewise.
28341         * libio/libio.h: Likewise.
28342         * libio/libioP.h: Likewise.
28343         * libio/stdio.h: Likewise.
28344         * locale/lc-ctype.c: Likewise.
28345         * locale/locale.h: Likewise.
28346         * login/utmp.h: Likewise.
28347         * malloc/arena.c: Likewise.
28348         * malloc/malloc.c: Likewise.
28349         * malloc/malloc.h: Likewise.
28350         * malloc/mcheck.c: Likewise.
28351         * malloc/mtrace.c: Likewise.
28352         * math/bits/mathcalls.h: Likewise.
28353         * math/fenv.h: Likewise.
28354         * math/math_private.h: Likewise.
28355         * misc/bits/error.h: Likewise.
28356         * misc/bits/syslog.h: Likewise.
28357         * misc/err.h: Likewise.
28358         * misc/error.h: Likewise.
28359         * misc/fstab.h: Likewise.
28360         * misc/mntent.h: Likewise.
28361         * misc/regexp.h: Likewise.
28362         * misc/search.h: Likewise.
28363         * misc/sgtty.h: Likewise.
28364         * misc/sys/mman.h: Likewise.
28365         * misc/sys/syslog.h: Likewise.
28366         * misc/sys/uio.h: Likewise.
28367         * misc/sys/xattr.h: Likewise.
28368         * misc/ttyent.h: Likewise.
28369         * nis/rpcsvc/ypclnt.h: Likewise.
28370         * nss/nss.h: Likewise.
28371         * posix/bits/unistd.h: Likewise.
28372         * posix/fnmatch.h: Likewise.
28373         * posix/glob.h: Likewise.
28374         * posix/sched.h: Likewise.
28375         * posix/spawn.h: Likewise.
28376         * posix/sys/wait.h: Likewise.
28377         * posix/unistd.h: Likewise.
28378         * posix/wordexp.h: Likewise.
28379         * pwd/pwd.h: Likewise.
28380         * resolv/netdb.h: Likewise.
28381         * resource/sys/resource.h: Likewise.
28382         * rt/aio.h: Likewise.
28383         * rt/bits/mqueue2.h: Likewise.
28384         * rt/mqueue.h: Likewise.
28385         * shadow/shadow.h: Likewise.
28386         * signal/signal.h: Likewise.
28387         * socket/send.c: Likewise.
28388         * socket/sendto.c: Likewise.
28389         * socket/sys/socket.h: Likewise.
28390         * stdio-common/printf.h: Likewise.
28391         * stdlib/bits/stdlib.h: Likewise.
28392         * stdlib/fmtmsg.h: Likewise.
28393         * stdlib/monetary.h: Likewise.
28394         * stdlib/stdlib.h: Likewise.
28395         * stdlib/ucontext.h: Likewise.
28396         * streams/stropts.h: Likewise.
28397         * string/argz.h: Likewise.
28398         * string/bits/string2.h: Likewise.
28399         * string/string.h: Likewise.
28400         * string/strings.h: Likewise.
28401         * sunrpc/rpc/auth.h: Likewise.
28402         * sunrpc/rpc/auth_des.h: Likewise.
28403         * sunrpc/rpc/clnt.h: Likewise.
28404         * sunrpc/rpc/netdb.h: Likewise.
28405         * sunrpc/rpc/pmap_clnt.h: Likewise.
28406         * sunrpc/rpc/xdr.h: Likewise.
28407         * sysdeps/generic/inttypes.h: Likewise.
28408         * sysdeps/generic/net/if.h: Likewise.
28409         * sysdeps/generic/sys/swap.h: Likewise.
28410         * sysdeps/gnu/net/if.h: Likewise.
28411         * sysdeps/gnu/utmpx.h: Likewise.
28412         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28413         * sysdeps/i386/i486/bits/string.h: Likewise.
28414         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28415         * sysdeps/s390/bits/string.h: Likewise.
28416         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28417         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28418         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28419         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28420         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28421         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28422         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28423         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28424         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28425         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28426         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28427         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28428         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28429         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28430         * sysdeps/unix/sysv/linux/readv.c: Likewise.
28431         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28432         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28433         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28434         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28435         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28436         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28437         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28438         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28439         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28440         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28441         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28442         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28443         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28444         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28445         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28446         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28447         * sysvipc/sys/ipc.h: Likewise.
28448         * sysvipc/sys/msg.h: Likewise.
28449         * sysvipc/sys/sem.h: Likewise.
28450         * sysvipc/sys/shm.h: Likewise.
28451         * termios/termios.h: Likewise.
28452         * time/sys/time.h: Likewise.
28453         * time/time.h: Likewise.
28454         * wcsmbs/bits/wchar2.h: Likewise.
28455         * wcsmbs/uchar.h: Likewise.
28456         * wcsmbs/wchar.h: Likewise.
28457         * wctype/wctype.h: Likewise.
28459         [BZ #13551]
28460         * Makeconfig: Remove all but ELF support including AIX support.
28461         * Makerules: Likewise.
28462         * config.h.in: Likewise.
28463         * config.make.in: Likewise.
28464         * configure: Likewise.
28465         * configure.in: Likewise.
28466         * csu/Makefile: Likewise.
28467         * csu/version.c: Likewise.
28468         * debug/Makefile: Likewise.
28469         * dlfcn/Makefile: Likewise.
28470         * elf/Makefile: Likewise.
28471         * extra-lib.mk: Likewise.
28472         * iconv/Makefile: Likewise.
28473         * include/libc-symbols.h: Likewise.
28474         * include/shlib-compat.h: Likewise.
28475         * resolv/Makefile: Likewise.
28476         * resolv/res_libc.c: Likewise.
28477         * rt/Makefile: Likewise.
28478         * sysdeps/i386/asm-syntax.h: Likewise.
28479         * sysdeps/i386/sysdep.h: Likewise.
28480         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28481         * sysdeps/mach/sysdep.h: Likewise.
28482         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28483         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28484         * sysdeps/s390/asm-syntax.h: Likewise.
28485         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28486         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28487         * sysdeps/sh/sysdep.h: Likewise.
28488         * sysdeps/unix/sparc/sysdep.h: Likewise.
28489         * sysdeps/wordsize-32/divdi3.c: Likewise.
28490         * sysdeps/x86_64/sysdep.h: Likewise.
28492         * argp/Versions: Remove _argp_unlock_xxx.
28494         [BZ #13559]
28495         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
28496         * abilist/libBrokenLocale.abilist: Likewise.
28497         * abilist/libanl.abilist: Likewise.
28498         * abilist/libc.abilist: Likewise.
28499         * abilist/libcrypt.abilist: Likewise.
28500         * abilist/libdl.abilist: Likewise.
28501         * abilist/libm.abilist: Likewise.
28502         * abilist/libnsl.abilist: Likewise.
28503         * abilist/libpthread.abilist: Likewise.
28504         * abilist/libresolv.abilist: Likewise.
28505         * abilist/librt.abilist: Likewise.
28506         * abilist/libthread_db.abilist: Likewise.
28507         * abilist/libutil.abilist: Likewise.
28508         * abilist/libnss_db.abilist: New file.
28510         * scripts/abilist.awk: Add support for indirect functions.
28512         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28514         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28516         * shlib-versions: Remove entries for ports architectures.
28518         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
28519         files in ports.
28520         * elf/stackguard-macros.h: Remove support for IA-64.
28521         * elf/tst-auditmod1.c: Likewise.
28522         * sysdeps/generic/ldsodefs.h: Likewise.
28524         * sysdeps/unix/sysv/linux/configure.in: Ports should define
28525         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28526         configure files.
28528         [BZ #13552]
28529         * configure.in: Remove --enable-omitfp support.
28530         * FAQ.in: Adjust.
28531         * config.make.in: Likewise.
28532         * Makeconfig: Likewise.
28533         * manual/install.texi: Likewise.
28535         In case anyone cares, the IA-64 architecture could move to ports.
28536         * sysdeps/ia64/*: Removed.
28537         * sysdeps/unix/sysv/linux/ia64/*: Removed.
28538         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28540         [BZ #13555]
28541         * configure.in: Remove entries for unsupported architectures.
28543         [BZ #13533]
28544         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28545         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28546         routines.
28547         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28548         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28549         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28550         fall back to using wcrtomb.
28551         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28552         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28553         renaming.
28554         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28555         * wcsmbs/tst-c16c32-1.c: New file.
28557         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28558         local variable.
28560         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28562         * elf/tst-unique3.cc: Add explicit declaration of gets.
28563         * elf/tst-unique3lib.cc: Likewise.
28564         * elf/tst-unique3lib2.cc: Likewise.
28565         * elf/tst-unique4.cc: Likewise.
28567         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28569 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28571         [BZ #13566]
28572         * assert/assert.h (static_assert): Don't define for C++.
28573         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28574         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28576 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28578         * iconv/loop.c (single loop): Fix assertion in storing of
28579         remaining bytes.
28581         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28583 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28585         * posix/getconf.c: Update copyright year.
28586         * nss/getent.c: Likewise.
28587         * nss/makedb.c: Likewise.
28588         * iconv/iconvconfig.c: Likewise.
28589         * iconv/iconv_prog.c: Likewise.
28590         * elf/ldconfig.c: Likewise.
28591         * elf/pldd.c: Likewise.
28592         * elf/sotruss.ksh: Likewise.
28593         * catgets/gencat.c: Likewise.
28594         * csu/version.c: Likewise.
28595         * elf/ldd.bash.in: Likewise.
28596         * elf/sprof.c (print_version): Likewise.
28597         * locale/programs/locale.c: Likewise.
28598         * locale/programs/localedef.c: Likewise.
28599         * login/programs/pt_chown.c: Likewise.
28600         * nscd/nscd.c (print_version): Likewise.
28601         * debug/xtrace.sh: Likewise.
28602         * malloc/memusage.sh: Likewise.
28603         * malloc/mtrace.pl: Likewise.
28604         * debug/catchsegv.sh: Likewise.
28606 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28608         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28609         pure attribute.
28611 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28613         [BZ #13533]
28614         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28615         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28616         transformations.
28617         * iconv/gconv_int.h: Likewise.
28618         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28619         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28620         from libc for GLIBC_2.16.
28621         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28622         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28623         * wcsmbs/uchar.h: Really define mbstate_t.
28624         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28625         * wcsmbs/c16rtomb.c: New file.
28626         * wcsmbs/mbrtoc16.c: New file.
28627         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28628         for C/POSIX locale.
28629         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28630         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28632         * wcsmbs/wchar.h: Add missing __restrict.
28634 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28636         [BZ #13532]
28637         * time/Makefile (routines): Add timespec_get.
28638         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28639         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28640         timespec for ISO C11.
28641         * time/timespec_get.c: New file.
28642         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28643         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28645         [BZ #13531]
28646         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28647         * stdlib/stdlib.h: Declare aligned_alloc.
28648         * Versions.def: Add GLIBC_2.16 for libc.
28649         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28651         [BZ 13527]
28652         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28653         ISO C11.
28655         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28656         code.
28658         [BZ #13528]
28659         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28661         [BZ #13529]
28662         * assert/assert.h (static_assert): Define.
28664         * version.h: Update for 2.16 development version.
28666         [BZ #13526]
28667         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28668         _ISOC11_SOURCE.
28670         * version.h (RELEASE): Bump for 2.15 release.
28671         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28673         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28674         Patch by Marek Polacek <mpolacek@redhat.com>.
28676         * bits/byteswap.h: Protect long long constants with __extension__.
28677         * sysdeps/i386/bits/byteswap.h: Likewise.
28678         * sysdeps/ia64/bits/byteswap.h: Likewise.
28679         * sysdeps/s390/bits/byteswap.h: Likewise.
28680         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28682 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28684         [BZ #13540]
28685         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28686         destination buffer.
28687         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28689 2011-12-23  Marek Polacek  <polacek@redhat.com>
28691         * elf/dl-addr.c (determine_info): Add inline keyword.
28692         * elf/tst-auditmod4b.c (check_avx): Likewise.
28693         * elf/tst-auditmod6b.c (check_avx): Likewise.
28694         * elf/tst-auditmod6c.c (check_avx): Likewise.
28695         * elf/tst-auditmod7b.c (check_avx): Likewise.
28697 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28699         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28700         !__SSE_MATH__.
28702 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28704         [BZ #13540]
28705         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28706         processing for last bytes.
28708 2011-08-06  Bruno Haible  <bruno@clisp.org>
28710         [BZ #13061]
28711         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28712         U+0385, not to U+1FEE.
28714         [BZ #13062]
28715         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28716         entry for U+00A5 U+0301.
28718 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28720         [BZ #13166]
28721         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28722         buffer for the output is too small.
28724         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28725         optimization.
28727         [BZ #13185]
28728         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28729         SSE flags if possible.
28731 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28733         [BZ #13540]
28734         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28735         processing for last bytes.
28737 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28739         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28740         (syscall-list-default-options, syscall-list-default-condition)
28741         (syscall-list-includes): Define.
28742         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28743         list of ABIs and options and #if conditions for each ABI.  Do not
28744         handle common syscalls between ABIs specially.
28745         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28746         Remove.
28747         (syscall-list-variants, syscall-list-32bit-options)
28748         (syscall-list-32bit-condition, syscall-list-64bit-options)
28749         (syscall-list-64bit-condition): Define.
28750         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28751         (syscall-list-variants, syscall-list-32bit-options)
28752         (syscall-list-32bit-condition, syscall-list-64bit-options)
28753         (syscall-list-64bit-condition): Define.
28754         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28755         Remove.
28756         (syscall-list-variants, syscall-list-32bit-options)
28757         (syscall-list-32bit-condition, syscall-list-64bit-options)
28758         (syscall-list-64bit-condition): Define.
28759         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28760         Remove.
28761         (syscall-list-variants, syscall-list-32bit-options)
28762         (syscall-list-32bit-condition, syscall-list-64bit-options)
28763         (syscall-list-64bit-condition): Define.
28765 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28767         * locale/iso-639.def: Add brx entry.
28769         [BZ #13328]
28770         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28771         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28773         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28774         __feraiseexcept_renamed.
28776 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28778         [BZ #13538]
28779         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28780         EPOLLET with unsigned values.
28781         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28782         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28784         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28785         to large cancellation.
28786         * math/s_cacoshf.c: Likewise.
28787         * math/s_cacoshl.c: Likewise.
28789 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28791         [BZ #13305]
28792         [BZ #12786]
28793         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28794         * math/s_cacoshf.c: Likewise.
28795         * math/s_cacoshl.c: Likewise.
28797 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28799         [BZ #13439]
28800         * iconv/gconv.h: Define __GCONV_SWAP.
28801         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28802         * iconvdata/utf-16.c: Likewise.
28803         * iconvdata/utf-32.c: Likewise.
28805 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28807         [BZ #13524]
28808         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28809         numerator after shifting it by one limb.
28811 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28813         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28814         under [__USE_EXTERN_INLINES].
28816 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28818         [BZ #13446]
28819         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28821 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28823         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28824         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28825         optimized code.
28826         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28827         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28828         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28829         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28830         for strncasecmp/strncasecmp_l compilation.
28831         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28832         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28834 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28836         [BZ #13484]
28837         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28838         of __asm__.
28840 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28842         [BZ #13506]
28843         * time/tzfile.c (__tzfile_read): Check values from file header.
28845 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28847         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28848         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28849         * powerpc/powerpc32/dl-start.S: Likewise.
28850         * powerpc/powerpc32/elf/start.S: Likewise.
28851         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28852         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28853         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28854         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28855         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28856         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28857         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28858         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28859         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28860         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28861         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28862         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28863         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28864         * powerpc/powerpc32/memset.S: Likewise.
28865         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28866         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28867         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28868         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28869         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28870         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28871         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28872         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28873         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28874         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28875         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28876         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28877         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28879 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28881         * math/libm-test.inc: Added more nearbyint tests.
28882         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28883         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28884         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28885         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28887 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28889         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28890         FD_CLOEXEC.
28892 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28894         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28895         Add wcscpy-ssse3 wcscpy-c.
28896         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28897         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28898         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28899         * sysdeps/x86_64/wcschr.S: New file.
28900         * sysdeps/x86_64/wcsrchr.S: New file.
28901         * string/test-strcmp.c: Remove checking of wcscmp function for
28902         wrong alignments.
28903         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28904         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28905         wcsrchr-sse2 wcsrchr-c.
28906         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28907         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28908         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28909         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28910         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28911         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28912         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28913         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28914         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28915         * wcsmbc/wcschr.c (WCSCHR): New macro.
28917 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28919         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28920         * wcsmbs/test-wcsrchr.c: New file.
28921         * string/test-strrchr.c: Add wcsrchr support.
28922         (WIDE): New macro.
28923         * wcsmbs/test-wcscpy.c: New file.
28924         * string/test-strcpy.c: Add wcscpy support.
28925         (WIDE): New macro.
28927 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28929         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28930         the inner loop.
28932 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28934         [BZ #13472]
28935         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28937 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28939         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28940         Minor optimizations.
28942         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28943         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28944         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28946 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28948         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28949         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28950         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28951         for gcc to avoid warnings.
28952         * inet/Makefile (tests): Add tst-checks.
28953         * inet/tst-checks.c: New file.
28955         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28956         warning.
28958         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28959         __wmemcmp_sse2.
28961         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28962         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28964         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28966 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28968         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28969         problem.
28971         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28973 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28975         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28976         conditional on GCC version.
28977         (__arch_compare_and_exchange_val_8_acq)
28978         (__arch_compare_and_exchange_val_16_acq)
28979         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28980         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28981         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28983 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28985         * sysdeps/sh/backtrace.c: New file.
28987 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28989         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28990         parenthesis.
28992 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28994         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28995         falling back to utime.
28997 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28999         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29000         expectations for float.
29002 2011-11-29  Andreas Schwab  <schwab@redhat.com>
29004         * locale/weight.h (findidx): Add parameter len.
29005         * locale/weightwc.h (findidx): Likewise.
29006         * posix/fnmatch_loop.c (FCT): Adjust caller.
29007         * posix/regcomp.c (build_equiv_class): Likewise.
29008         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29009         * posix/regexec.c (check_node_accept_bytes): Likewise.
29010         * string/strcoll_l.c (STRCOLL): Likewise.
29011         * string/strxfrm_l.c (STRXFRM): Likewise.
29013 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
29015         * Makefile.in: Remove CVSOPT handling.
29016         * configure.in: Remove use of AC_REVISION.
29017         * iconvdata/Makefile (distribute): No need to filter out CVS.
29018         * scripts/list-sources.sh: Remove CVS, subversion and monotone
29019         handling.
29021 2011-11-16  Andreas Schwab  <schwab@redhat.com>
29023         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29024         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29025         [USE_AS_STRNCASECMP_L]: Likewise.
29026         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29027         NO_TLS_DIRECT_SEG_REFS.
29028         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29029         Fix argument offsets for non-PIC.
29030         [USE_AS_STRNCASECMP_L]: Likewise.
29031         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29032         NO_TLS_DIRECT_SEG_REFS.
29034 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29036         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29037         O_CLOEXEC.
29038         * locale/loadlocale.c (_nl_load_locale): Likewise.
29040 2011-11-15  Andreas Schwab  <schwab@redhat.com>
29042         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29043         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29044         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29045         (SYSCALL_GETTIME): Set errno on error.
29047         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29048         count references to noai6ai_cached.
29050 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
29052         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29054         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29055         FD_CLOEXEC for /proc/self/maps.
29057         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29058         FD_CLOEXEC for /proc/meminfo.
29060         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29061         gai.conf.
29063         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
29064         FD_CLOEXEC for given file.
29066         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29068         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29069         FD_CLOEXEC for /etc/hosts.
29070         (_gethtent): Likewise.
29072         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29074         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29075         cancellation and set FD_CLOEXEC for /etc/netgroup.
29077         * nss/nss_files/files-key.c (search): Don't allow cancellation when
29078         reading /etc/publickey.
29080         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29081         allow cancellation when reading /etc/group.
29083         * nss/nss_files/files-alias.c (internal_setent): Don't allow
29084         cancellation.
29085         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
29087         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29088         when using data file.
29090         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29092         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29093         (write_nis_obj): Use "c" and "e" in fopen.
29095         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29097         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29099         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29101         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29103         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29104         locale.alias.
29106         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29108         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29110         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29112         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29113         file parsing and set FD_CLOEXEC.
29115 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29117         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29119 2011-11-14  Andreas Schwab  <schwab@redhat.com>
29121         * malloc/arena.c (arena_get2): Don't call reused_arena when
29122         _int_new_arena failed.
29124 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
29126         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29127         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29128         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29129         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29130         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29131         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29132         to compile strcasecmp and strncasecmp.
29133         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29134         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29136         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29138 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
29140         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29141         locale-defines.sym to gen-as-const-headers.
29142         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29143         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29145         to compile strcasecmp and strncasecmp.
29146         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29147         strcasecmp_l and strncasecmp_l.
29148         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29149         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29150         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29151         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29152         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29153         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29154         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29155         * sysdeps/i386/i686/multiarch/strncase.S: New file.
29156         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29157         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29158         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29160 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
29162         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29163         result of SYSDEP_GETTIME_CPU to retval.
29164         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29165         parameter list to macro.  Remove trailing semicolon.  Adjust users.
29167         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29168         variable.
29170         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29171         mantissa words.
29172         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29174         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29175         from unused variable.
29177         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29178         DWARF definitions.
29179         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29180         for assembling.
29182         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29183         over namespaces.
29185         * sunrpc/rpc_prot.c (rejected): Fix case value.
29187         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29188         unsigned long long int to avoid warnings in shift.
29190         * posix/regex_internal.c (re_string_reconstruct): Actually use result
29191         of use of trans.
29192         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29193         variable tmp.
29195         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29196         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29197         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29199         * nis/nis_table.c (nis_list): Use variable of correct type for
29200         result of __follow_path call.
29202 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29204         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29205         of math functions ceil, trunc, floor, round, and sqrt, when
29206         avaliable on the platform.
29207         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29208         name clash.
29209         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29210         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29211         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29213 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
29215         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29216         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29218 2011-11-11  Roland McGrath  <roland@hack.frob.com>
29220         * include/unistd.h: Fix __readlink return type.
29221         Reported by Chris Metcalf <cmetcalf@tilera.com>.
29223 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
29225         * stdlib/ucontext.h: Undo last change for makecontext.
29227 2011-11-11  Andreas Schwab  <schwab@redhat.com>
29229         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29231         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29232         * setjmp/setjmp.h: Mark functions as non-leaf.
29233         * setjmp/bits/setjmp2.h: Likewise.
29234         * stdlib/ucontext.h: Likewise.
29236 2011-11-10  Andreas Schwab  <schwab@redhat.com>
29238         * malloc/arena.c (_int_new_arena): Don't increment narenas.
29239         (reused_arena): Don't check arena limit.
29240         (arena_get2): Atomically check arena limit.
29242 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
29244         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29245         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29248         instructions.
29250 2011-11-07  Andreas Schwab  <schwab@redhat.com>
29252         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29253         handler when locking.
29255         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29256         Fix size of allocated buffer.
29258 2011-11-04  Andreas Schwab  <schwab@redhat.com>
29260         [BZ #10103]
29261         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29262         declarations for long double functions.
29263         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29265         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29267 2011-11-03  Andreas Schwab  <schwab@redhat.com>
29269         * nscd/nscd.c (main): Don't start AVC thread until credentials are
29270         installed.
29272         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29273         is disabled.
29275 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29277         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29279 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29281         * include/alloca.h (stackinfo_alloca_round): Define.
29282         (extend_alloca): Use it.
29283         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29284         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29285         here.
29287         * scripts/check-local-headers.sh: Ignore libaudit.h.
29289         * nscd/Makefile (extra-objs): Make recursively expanded.
29291 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
29293         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29296         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29297         * posix/tst-rfc3484-2.c: Likewise.
29298         * posix/tst-rfc3484-3.c: Likewise.
29300         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29301         process_vm_writev.
29302         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29303         process_vm_writev.
29304         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29305         process_vm_writev from libc using GLIBC_2.15 version.
29307         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29309 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
29311         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29312         stack usage.
29314 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
29316         [BZ #13367]
29317         * nss/getent.c (initgroups_keys): Show error message in case no group
29318         names are given.
29320         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29321         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29322         __bump_nl_timestamp.
29323         * nscd/connections (nscd_init): When host database is served open
29324         netlink socket and request notification about configuration changes.
29325         (main_loop_poll): Track netlink file descriptor and bump timestamp
29326         in case data becomes available.
29327         (main_loop_epoll): Likewise.
29328         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29329         (database_pers_head): Add extra_data fileds.
29330         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29331         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29332         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29333         Adjust caller.
29334         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29335         in6ai data, call __free_in6ai.
29336         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29337         Add -DHAVE_NETLINK.
29338         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
29339         interface information.  Reuse previous data if netlink timestamp
29340         is not changed.
29341         (__bump_nl_timestamp): New function.
29342         (__free_in6ai): New function.
29344 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
29346         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29347         close_not_cancel_no_status here.
29348         (__check_pf): Reorganize code a bit to not call close twice if OOM.
29350 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29352         [BZ #13276]
29353         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29354         return value.
29356         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29357         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29358         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29360 2011-07-03  Andreas Jaeger  <aj@suse.de>
29362         [BZ #10709]
29363         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29364         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29365         * math/libm-test.inc (sin_test): Add test case.
29367 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
29369         [BZ #13337]
29370         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29371         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29373         * elf/chroot_canon.c (chroot_canon): Cleanups.
29375         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29377         [BZ #13335]
29378         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29379         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29381         * string/test-strchr.c: Make usable for strchrnul testing.
29382         * string/test-strchrnul.c: New file.
29383         * string/Makefile (strop-tests): Add strchrnul.
29385         * po/it.po: Update from translation team.
29386         * po/es.po: Likewise.
29388 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
29390         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29391         the three constants needed as parameters.  Drop the others.
29392         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29393         __m128i_strloadu_tolower.
29394         Create and initialize variable zero and use it in all the places
29395         where _mm_setzero_si128 was used.
29397         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29398         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29399         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29400         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29401         anymore.
29402         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29403         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29404         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29405         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29406         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29407         __mpranred, __mptan.
29408         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29409         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29410         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29411         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29412         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29413         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29414         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29415         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29416         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29418 2011-10-28  Andreas Schwab  <schwab@redhat.com>
29420         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29421         redefine if SHARED.
29422         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29425         wide char related routines to wcsmbs subdir.
29427 2011-10-27  Andreas Schwab  <schwab@redhat.com>
29429         [BZ #13344]
29430         * misc/sys/cdefs.h (__THROWNL): Define.
29431         * posix/unistd.h: Use __THREADNL instead of __THREAD
29432         for memory synchronization functions.
29434 2011-10-26  Roland McGrath  <roland@hack.frob.com>
29436         [BZ #13349]
29437         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29438         doesn't exist.
29439         * manual/stdio.texi (Obstack Streams): Node removed.
29441 2011-10-26  Andreas Schwab  <schwab@redhat.com>
29443         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29444         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29445         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29447         * math/math_private.h (math_force_eval): Allow non-addressable
29448         arguments.
29449         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29451 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29453         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29454         file is not needed.
29456         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29457         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29458         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29459         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29460         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29461         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29462         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29463         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29464         Add AVX variants.
29465         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29466         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29467         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29468         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29469         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29470         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29471         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29472         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29473         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29474         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29475         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29476         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29477         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29478         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29479         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29480         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29481         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29482         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29483         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29485         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29486         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
29488         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29489         place.  Use VEX encoding when compiling for AVX.
29491 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29493         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29494         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29496         * string/test-strchr.c (do_test): Don't generate NUL bytes.
29498 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29500         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29501         useless if() expression.
29502         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29503         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29504         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29505         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29506         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29507         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29508         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29509         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29510         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29511         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29512         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29513         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29514         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29515         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29516         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29517         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29518         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29519         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29520         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29522         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29524 2011-10-25  Andreas Schwab  <schwab@redhat.com>
29526         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29527         condition.
29528         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29530 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
29532         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29533         .text section.  Avoid duplicate constants.
29534         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29535         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29536         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29538         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29539         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29541         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29542         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29543         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29544         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29545         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29546         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29547         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29548         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29549         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29550         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29551         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29552         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29553         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29554         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29555         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29556         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29557         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29558         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29559         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29560         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29561         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29562         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29563         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29564         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29565         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29566         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29567         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29568         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29569         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29570         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29571         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29572         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29573         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29574         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29575         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29576         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29577         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29578         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29580 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29582         * sysdeps/x86_64/dla.h: Move to ...
29583         * sysdeps/x86_64/fpu/dla.h: ...here.
29584         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29585         situations.  Use __builtin_fma only for gcc 4.6 and up.
29587         * config.make.in: Add have-mfma4 entry.
29588         * configure.in: Substitute libc_cv_cc_fma4.
29589         * math/Makefile (dbl-only-routines): Add sincostab.
29590         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29591         Use __sincostab not sincos.
29592         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29593         name is a macro.
29594         * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise.  Define singArctan2
29598         using __copysign.
29599         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29600         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29601         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29602         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29603         and __inv.
29604         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29605         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29606         __copysign.
29607         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29608         define aliases when function name is a macro.
29609         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29610         sysdeps/ieee754/dbl-64/sincos.tbl.
29611         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29612         fma4-enabled routines.
29613         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29614         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29615         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29616         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29617         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29618         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29619         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29620         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29621         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29622         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29623         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29624         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29625         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29626         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29627         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29628         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29629         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29630         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29631         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29632         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29633         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29634         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29635         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29636         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29637         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29638         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29639         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29640         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29641         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29642         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29644         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29645         rename.
29646         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29647         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29648         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29649         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29650         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29651         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29652         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29653         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29655 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29657         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29659 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29661         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29663         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29664         prediction.
29665         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29667         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29668         Remove unused variable magic_bits.
29669         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29671         * string/strnlen.c: Define and use STRNLEN macro.
29672         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29673         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29674         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29675         * wcsmbs/wcslen.c: Define and use WCSLEN.
29676         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29677         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29678         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29679         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29680         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29681         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29682         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29684 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29687         strnlen-sse2-no-bsf.
29688         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29689         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29690         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29691         Add strnlen support.
29692         (USE_AS_STRNLEN): New macro.
29693         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29694         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29695         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29696         * sysdeps/x86_64/wcslen.S: New file.
29698 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29700         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29701         XMM-moves are used for copying on small sizes.
29703 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29705         * wcsmbs/Makefile (strop-tests): Add wcschr.
29706         * wcsmbs/test-wcschr.c: New file.
29707         * string/test-strchr.c: Update.
29708         Add wcschr support.
29709         (WIDE): New macro.
29711 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29713         * wcsmbs/Makefile (strop-tests): Add wcslen.
29714         * wcsmbs/test-wcslen.c: New file.
29715         * string/test-strlen.c: Update.
29716         Add wcslen support.
29717         (WIDE): New macro.
29719 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29721         * po/it.po: Update from translation team.
29723 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29725         * sysdeps/x86_64/wcscmp.S: Update.
29726         Fix wrong comparison semantics.
29727         wcscmp shall use signed comparison not unsigned.
29728         Don't use substraction to avoid overflow bug.
29729         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29730         * wcsmbc/wcscmp.c: Likewise.
29731         * string/test-strcmp.c: Likewise.
29732         Add new tests to check cases with negative values.
29734 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29736         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29737         * sysdeps/x86_64/dla.h: ...here.  New file.
29738         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29739         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29740         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29741         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29742         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29743         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29744         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29745         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29746         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29748 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29751         __ynl_finite aliases.
29753 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29757         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29758         define DLA_FMA.
29759         [DLA_FMA] (EMULV): Use DLA_FMA.
29760         [DLA_FMA] (MUL12): Use EMULV.
29761         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29762         that are not needed.
29763         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29764         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29767         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29768         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29769         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29771 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29773         * math/s_nan.c: Undef __nan.
29774         * math/s_nanf.c: Undef __nanf.
29775         * math/s_nanl.c: Undef __nanl.
29776         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29777         "math_private.h".
29779 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29781         * math/s_catan.c: Add branch predictions.
29782         * math/s_catanf.c: Likewise.
29783         * math/s_catanh.c: Likewise.
29784         * math/s_catanhf.c: Likewise.
29785         * math/s_catanhl.c: Likewise.
29786         * math/s_catanl.c: Likewise.
29787         * math/s_cexp.c: Likewise.
29788         * math/s_cexpf.c: Likewise.
29789         * math/s_cexpl.c: Likewise.
29790         * math/s_clog.c: Likewise.
29791         * math/s_clog10.c: Likewise.
29792         * math/s_clog10f.c: Likewise.
29793         * math/s_clog10l.c: Likewise.
29794         * math/s_clogf.c: Likewise.
29795         * math/s_clogl.c: Likewise.
29796         * math/s_csqrt.c: Likewise.
29797         * math/s_csqrtf.c: Likewise.
29798         * math/s_csqrtl.c: Likewise.
29799         * math/s_ctanf.c: Likewise.
29800         * math/s_ctanh.c: Likewise.
29801         * math/s_ctanhf.c: Likewise.
29802         * math/s_ctanhl.c: Likewise.
29803         * math/s_ctanl.c: Likewise.
29805         * math/math_private.h: Define __nan, __nanf, __nanl.
29806         * math/s_cacosh.c: Include <math_private.h>.
29807         * math/s_cacoshl.c: Likewise.
29808         * math/s_casinh.c: Likewise.
29809         * math/s_casinhf.c: Likewise.
29810         * math/s_casinhl.c: Likewise.
29811         * math/s_ccos.c: Rely entire on ccosh.
29812         * math/s_ccosf.c: Rely entire on ccoshf.
29813         * math/s_ccosl.c: Rely entirely on ccoshl.
29814         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29815         Remove tests for FE_INVALID.
29816         * math/s_ccoshf.c: Likewise.
29817         * math/s_ccoshl.c: Likewise.
29818         * math/s_csin.c: Likewise.
29819         * math/s_csinf.c: Likewise.
29820         * math/s_csinh.c Likewise.
29821         * math/s_csinhf.c: Likewise.
29822         * math/s_csinhl.c: Likewise.
29823         * math/s_csinl.c: Likewise.
29824         * math/s_ctan.c: Likewise.
29825         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29826         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29827         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29829 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29832         compilation problems.
29834         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29835         __builtin_expect.
29837 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29839         * sysdeps/i386/configure.in: Test for -mfma4 option.
29840         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29841         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29842         COMMON_CPUID_INDEX_80000001.
29843         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29844         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29845         use it if FMA3 is not supported.
29846         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29848         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29849         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29851 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29853         [BZ #12892]
29854         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29855         it would create a cycle with a link time dependency.
29857 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29859         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29860         instruction.
29861         * string/Makefile (strop-tests): Add rawmemchr.
29862         * string/test-rawmemchr.c: New file.
29864         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29865         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29866         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29867         when compiling str{,n}casecmp and when AVX is available.  Hook up
29868         new optimized code in initializers.
29870 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29872         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29873         __feraiseexcept instead of feraiseexcept.
29875 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29877         * math/math_private.h: Define defaults for libc_fetestexcept and
29878         libc_feupdateenv.
29879         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29880         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29881         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29882         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29883         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29884         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29885         libc_fetestexcept and libc_feupdateenv.
29887         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29888         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29889         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29890         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29891         libc_feholdexcept_setround.
29893         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29894         Add s_nearbyint-c and s_nearbyintf-c.
29895         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29896         nearbyintf inlines.
29897         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29898         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29899         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29900         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29902         * math/math_private.h: Define defaults for libc_fegetround,
29903         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29904         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29905         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29906         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29907         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29908         standard functions.
29909         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29910         Remove comments and hacks for old compiler versions.
29911         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29912         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29913         libc_feholdexceptl.
29915 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29917         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29918         (__feraiseexcept_renamed): Add __NTH.
29919         (feraiseexcept): Add __NTH.  Rename local variables to fix
29920         namespace violations.
29922 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29924         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29926         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29928         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29929         recently added interfaces.
29930         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29932         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29933         about macro parameter expansion.
29935         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29936         __NO_MATH_INLINES is defined.  Cleanups.
29938         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29939         and __floorf is target has SSE4.1.
29940         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29941         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29942         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29943         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29945         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29946         name.
29947         (floorf): Likewise.
29949         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29951 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29953         * misc/sys/cdefs.h: Fix last change.
29955         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29956         database lookup.
29958 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29960         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29962         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29963         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29964         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29965         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29966         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29967         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29968         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29969         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29970         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29971         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29972         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29973         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29974         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29975         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29976         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29977         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29978         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29979         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29980         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29981         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29982         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29983         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29985         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29986         ceil, ceilf, floor, floorf.
29988         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29989         Perform IRELATIVE relocations last.
29991         * elf/do-rel.h: Add another parameter nrelative, replacing the
29992         local variable with the same name.  Change name of the function
29993         to end in Rel or Rela (uppercase).
29994         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29995         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29996         elf_dynamic_do_##reloc function.
29998 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30000         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30001         is sufficient, at least on modern CPUs.
30003         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30005         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30006         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30008         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30009         __expl_finite.
30010         * math/bits/math-finite.h: Add entries for exp.
30011         * math/e_expl.c: Add __*_finite alias.
30012         * sysdeps/i386/fpu/e_exp.S: Likewise.
30013         * sysdeps/i386/fpu/e_expf.S: Likewise.
30014         * sysdeps/i386/fpu/e_expl.c: Likewise.
30015         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30016         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30019         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30020         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30021         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30023         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30024         is sufficient, at least on modern CPUs.
30026         * ctype/ctype-info.c (__ctype_init): Define.
30027         * include/ctype.h (__ctype_init): Declare.
30028         (__ctype_b_loc): The variable is always initialized.
30029         (__ctype_toupper_loc): Likewise.
30030         (__ctype_tolower_loc): Likewise.
30031         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30032         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30034 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
30036         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30038         * configure.in: Also look in $cxxmachine/include for C++ system
30039         headers.
30041 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30043         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30044         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30045         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30046         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
30047         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30048         (USE_AS_WMEMCMP): New macro.
30049         Fixing indents.
30050         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30051         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30052         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30053         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30054         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30055         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30056         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30057         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30058         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30059         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30060         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30061         (USE_AS_WMEMCMP): New macro.
30062         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30063         * sysdeps/string/test-memcmp.c: Update.
30064         Fix simple_wmemcmp.
30065         Add new tests.
30066         * wcsmbs/wmemcmp.c: Update.
30067         (WMEMCMP): New macro.
30068         Fix overflow bug.
30070 2011-10-12  Andreas Jaeger  <aj@suse.de>
30072         [BZ #13268]
30073         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30075 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
30077         * libio/iofwide.c (do_length): Avoid warning.
30079         * ctype/ctype.h (__isctype_f): Add missing __THROW.
30081 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
30083         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30085         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30086         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30087         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30088         * sysdeps/i386/i686/fpu/e_log.S: New file.
30089         * sysdeps/i386/i686/fpu/e_logf.S: New file.
30090         * sysdeps/i386/i686/fpu/e_logl.S: New file.
30092         * ctype/ctype.h: Add support for inlined isXXX functions when
30093         compiling C++ code.
30095 2011-10-14  Andreas Schwab  <schwab@redhat.com>
30097         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30099         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30101 2011-10-13  Roland McGrath  <roland@hack.frob.com>
30103         [BZ #13291]
30104         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30106 2011-10-13  Andreas Schwab  <schwab@redhat.com>
30108         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30109         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30110         feraiseexcept.
30112         * sysdeps/x86_64/memrchr.S: Check for zero size.
30114         * string/stratcliff.c: Add memrchr tests.
30116 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30119         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30120         rawmemchr-sse2 rawmemchr-sse2-bsf.
30121         * sysdeps/i386/i686/multiarch/memchr.S: New file.
30122         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30123         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30124         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30125         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30126         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30127         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30128         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30129         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30130         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30131         * string/memrchr.c (MEMRCHR): New macro.
30133 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
30135         Add integration with gcc's -ffinite-math-only and optimize wrapper
30136         functions in libm.
30137         * Versions.def: Define GLIBC_2.15 version for libm.
30138         * math/Makefile (headers): Add bits/math-finite.h.
30139         * math/bits/math-finite.h: New file.
30140         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30141         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30142         * math/e_acoshl.c: Add __*_finite alias.
30143         * math/e_acosl.c: Likewise.
30144         * math/e_asinl.c: Likewise.
30145         * math/e_atan2l.c: Likewise.
30146         * math/e_atanhl.c: Likewise.
30147         * math/e_coshl.c: Likewise.
30148         * math/e_exp10.c: Likewise.
30149         * math/e_exp10f.c: Likewise.
30150         * math/e_exp10l.c: Likewise.
30151         * math/e_exp2l.c: Likewise.
30152         * math/e_fmodl.c: Likewise.
30153         * math/e_gammal_r.c: Likewise.
30154         * math/e_hypotl.c: Likewise.
30155         * math/e_j0l.c: Likewise.
30156         * math/e_j1l.c: Likewise.
30157         * math/e_jnl.c: Likewise.
30158         * math/e_lgammal_r.c: Likewise.
30159         * math/e_log10l.c: Likewise.
30160         * math/e_log2l.c: Likewise.
30161         * math/e_logl.c: Likewise.
30162         * math/e_powl.c: Likewise.
30163         * math/e_sinhl.c: Likewise.
30164         * math/e_sqrtl.c: Likewise.
30165         * math/e_scalb.c: Completely rewritten and optimized.
30166         * math/e_scalbf.c: Likewise.
30167         * math/e_scalbl.c: Likewise.
30168         * math/w_acos.c: Likewise.
30169         * math/w_acosf.c: Likewise.
30170         * math/w_acosl.c: Likewise.
30171         * math/w_acosh.c: Likewise.
30172         * math/w_acoshf.c: Likewise.
30173         * math/w_acoshl.c: Likewise.
30174         * math/w_asin.c: Likewise.
30175         * math/w_asinf.c: Likewise.
30176         * math/w_asinl.c: Likewise.
30177         * math/w_atan2.c: Likewise.
30178         * math/w_atan2f.c: Likewise.
30179         * math/w_atan2l.c: Likewise.
30180         * math/w_atanh.c: Likewise.
30181         * math/w_atanhf.c: Likewise.
30182         * math/w_atanhl.c: Likewise.
30183         * math/w_exp10.c: Likewise.
30184         * math/w_exp10f.c: Likewise.
30185         * math/w_exp10l.c: Likewise.
30186         * math/w_fmod.c: Likewise.
30187         * math/w_fmodf.c: Likewise.
30188         * math/w_fmodl.c: Likewise.
30189         * math/w_j0.c: Likewise.
30190         * math/w_j0f.c: Likewise.
30191         * math/w_j0l.c: Likewise.
30192         * math/w_j1.c: Likewise.
30193         * math/w_j1f.c: Likewise.
30194         * math/w_j1l.c: Likewise.
30195         * math/w_jn.c: Likewise.
30196         * math/w_jnf.c: Likewise.
30197         * math/w_log.c: Likewise.
30198         * math/w_logf.c: Likewise.
30199         * math/w_logl.c: Likewise.
30200         * math/w_log10.c: Likewise.
30201         * math/w_log10f.c: Likewise.
30202         * math/w_log10l.c: Likewise.
30203         * math/w_log2.c: Likewise.
30204         * math/w_log2f.c: Likewise.
30205         * math/w_log2l.c: Likewise.
30206         * math/w_pow.c: Likewise.
30207         * math/w_powf.c: Likewise.
30208         * math/w_powl.c: Likewise.
30209         * math/w_remainder.c: Likewise.
30210         * math/w_remainderf.c: Likewise.
30211         * math/w_remainderl.c: Likewise.
30212         * math/w_scalb.c: Likewise.
30213         * math/w_scalbf.c: Likewise.
30214         * math/w_scalbl.c: Likewise.
30215         * math/w_sqrt.c: Likewise.
30216         * math/w_sqrtf.c: Likewise.
30217         * math/w_sqrtl.c: Likewise.
30218         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30219         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
30220         used.
30221         * math/math_private.h: Declare __kernel_standard_f.
30222         * math/w_cosh.c: Remove cruft and optimize a bit.
30223         * math/w_coshf.c: Likewise.
30224         * math/w_coshl.c: Likewise.
30225         * math/w_exp2.c: Likewise.
30226         * math/w_exp2f.c: Likewise.
30227         * math/w_exp2l.c: Likewise.
30228         * math/w_hypot.c: Likewise.
30229         * math/w_hypotf.c: Likewise.
30230         * math/w_hypotl.c: Likewise.
30231         * math/w_lgamma.c: Likewise.
30232         * math/w_lgamma_r.c: Likewise.
30233         * math/w_lgammaf.c: Likewise.
30234         * math/w_lgammaf_r.c: Likewise.
30235         * math/w_lgammal.c: Likewise.
30236         * math/w_lgammal_r.c: Likewise.
30237         * math/w_sinh.c: Likewise.
30238         * math/w_sinhf.c: Likewise.
30239         * math/w_sinhl.c: Likewise.
30240         * math/w_tgamma.c: Likewise.
30241         * math/w_tgammaf.c: Likewise.
30242         * math/w_tgammal.c: Likewise.
30243         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30244         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30245         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30246         Minor optimizations.  Pretty printing.  Remove cruft.
30247         * sysdeps/i386/fpu/e_acosf.S: Likewise.
30248         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30249         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30250         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30251         * sysdeps/i386/fpu/e_acosl.c: Likewise.
30252         * sysdeps/i386/fpu/e_asin.S: Likewise.
30253         * sysdeps/i386/fpu/e_asinf.S: Likewise.
30254         * sysdeps/i386/fpu/e_atan2.S: Likewise.
30255         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30256         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30257         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30258         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30259         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30260         * sysdeps/i386/fpu/e_exp10.S: Likewise.
30261         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30262         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30263         * sysdeps/i386/fpu/e_exp2.S: Likewise.
30264         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30265         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30266         * sysdeps/i386/fpu/e_fmod.S: Likewise.
30267         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30268         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30269         * sysdeps/i386/fpu/e_hypot.S: Likewise.
30270         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30271         * sysdeps/i386/fpu/e_log.S: Likewise.
30272         * sysdeps/i386/fpu/e_log10.S: Likewise.
30273         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30274         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30275         * sysdeps/i386/fpu/e_log2.S: Likewise.
30276         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30277         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30278         * sysdeps/i386/fpu/e_logf.S: Likewise.
30279         * sysdeps/i386/fpu/e_logl.S: Likewise.
30280         * sysdeps/i386/fpu/e_pow.S: Likewise.
30281         * sysdeps/i386/fpu/e_powf.S: Likewise.
30282         * sysdeps/i386/fpu/e_powl.S: Likewise.
30283         * sysdeps/i386/fpu/e_remainder.S: Likewise.
30284         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30285         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30286         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30287         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30288         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30289         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30290         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30291         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30292         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30293         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30294         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30295         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30296         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30297         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30298         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30299         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30300         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30301         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30302         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30303         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30304         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30305         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30306         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30307         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30308         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30309         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30310         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30311         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30312         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30313         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30314         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30315         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30316         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30317         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30318         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30319         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30320         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30321         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30322         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30323         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30324         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30325         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30326         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30327         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30328         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30329         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30330         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30331         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30332         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30333         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30334         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30335         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30336         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30337         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30338         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30339         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30340         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30341         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30342         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30343         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30344         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30345         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30346         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30347         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30348         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30349         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30350         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30351         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30352         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30353         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30354         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30355         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30356         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30357         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30358         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30359         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30360         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30361         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30362         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30363         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30364         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30365         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30366         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30367         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30368         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30369         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30370         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30371         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30372         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30373         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30374         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30375         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30376         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30377         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30378         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30379         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30380         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30381         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30382         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30383         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30384         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30385         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30386         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30387         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30388         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30389         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30390         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30391         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30392         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30393         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30394         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30395         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30396         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30397         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30398         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30399         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30400         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30401         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30402         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
30403         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30404         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30405         (__isnanf): Likewise.
30406         (__isinf_ns): Likewise.
30407         (__isinf_nsf): Likewise.
30408         (__finite): Likewise.
30409         (__finitef): Likewise.
30410         (__ieee754_sqrt): Define as macro.
30411         (__ieee754_sqrtf): Define as macro.
30412         (__ieee754_sqrtl): Define as macro.
30413         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30414         inlined copy.
30415         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30416         __FINITE_MATH_ONLY__ consistent.
30417         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30419 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
30421         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30422         of rawmemchr.
30424         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30426 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
30428         * po/ja.po: Update from translation team.
30430 2011-10-08  Roland McGrath  <roland@hack.frob.com>
30432         * locale/programs/locarchive.c (prepare_address_space): New function.
30433         (create_archive, enlarge_archive, open_archive): Use it.
30435         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30436         inside [SHARED], where it is used.
30438         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30440         * nss/getent.c (netgroup_keys): Remove unused variable.
30441         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30443 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
30445         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30446         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30447         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30448         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30449         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30450         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30451         * math/Makefile (libm-calls): Add s_isinf_ns.
30452         * math/divtc3.c: Use __isinf_nsl instead of isinf.
30453         * math/multc3.c: Likewise.
30454         * math/s_casin.c: Likewise.
30455         * math/s_casinf.c: Likewise.
30456         * math/s_casinl.c: Likewise.
30457         * math/s_ccos.c: Likewise.
30458         * math/s_ccosf.c: Likewise.
30459         * math/s_ccosl.c: Likewise.
30460         * math/s_ctan.c: Likewise.
30461         * math/s_ctanf.c: Likewise.
30462         * math/s_ctanh.c: Likewise.
30463         * math/s_ctanhf.c: Likewise.
30464         * math/s_ctanhl.c: Likewise.
30465         * math/s_ctanl.c: Likewise.
30466         * math/w_fmod.c: Likewise.
30467         * math/w_fmodf.c: Likewise.
30468         * math/w_fmodl.c: Likewise.
30469         * math/w_remainder.c: Likewise.
30470         * math/w_remainderf.c: Likewise.
30471         * math/w_remainderl.c: Likewise.
30472         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30473         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30474         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30476         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30477         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30478         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30479         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30481         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30482         of the number.
30483         * stdio-common/printf_fphex.c: Likewise.
30484         * stdio-common/printf_size.c: Likewise.
30486         * math/e_exp10.c: Include math_private.h using <...> not "...".
30487         * math/e_exp10f.c: Likewise.
30488         * math/e_exp10l.c: Likewise.
30489         * math/e_exp2l.c: Likewise.
30490         * math/e_j0l.c: Likewise.
30491         * math/e_j1l.c: Likewise.
30492         * math/e_jnl.c: Likewise.
30493         * math/e_lgammal_r.c: Likewise.
30494         * math/e_rem_pio2l.c: Likewise.
30495         * math/e_scalb.c: Likewise.
30496         * math/e_scalbf.c: Likewise.
30497         * math/e_scalbl.c: Likewise.
30498         * math/k_cosl.c: Likewise.
30499         * math/k_sinl.c: Likewise.
30500         * math/k_tanl.c: Likewise.
30501         * math/s_cacoshf.c: Likewise.
30502         * math/s_catan.c: Likewise.
30503         * math/s_catanf.c: Likewise.
30504         * math/s_catanh.c: Likewise.
30505         * math/s_catanhf.c: Likewise.
30506         * math/s_catanhl.c: Likewise.
30507         * math/s_catanl.c: Likewise.
30508         * math/s_ccosh.c: Likewise.
30509         * math/s_ccoshf.c: Likewise.
30510         * math/s_ccoshl.c: Likewise.
30511         * math/s_cexp.c: Likewise.
30512         * math/s_cexpf.c: Likewise.
30513         * math/s_cexpl.c: Likewise.
30514         * math/s_clog.c: Likewise.
30515         * math/s_clog10.c: Likewise.
30516         * math/s_clog10f.c: Likewise.
30517         * math/s_clog10l.c: Likewise.
30518         * math/s_clogf.c: Likewise.
30519         * math/s_clogl.c: Likewise.
30520         * math/s_csin.c: Likewise.
30521         * math/s_csinf.c: Likewise.
30522         * math/s_csinh.c: Likewise.
30523         * math/s_csinhf.c: Likewise.
30524         * math/s_csinhl.c: Likewise.
30525         * math/s_csinl.c: Likewise.
30526         * math/s_csqrt.c: Likewise.
30527         * math/s_csqrtf.c: Likewise.
30528         * math/s_csqrtl.c: Likewise.
30529         * math/s_ctan.c: Likewise.
30530         * math/s_ctanf.c: Likewise.
30531         * math/s_ctanh.c: Likewise.
30532         * math/s_ctanhf.c: Likewise.
30533         * math/s_ctanhl.c: Likewise.
30534         * math/s_ctanl.c: Likewise.
30535         * math/s_ldexp.c: Likewise.
30536         * math/s_ldexpf.c: Likewise.
30537         * math/s_ldexpl.c: Likewise.
30538         * math/s_significand.c: Likewise.
30539         * math/s_significandf.c: Likewise.
30540         * math/s_significandl.c: Likewise.
30541         * math/w_acos.c: Likewise.
30542         * math/w_acosf.c: Likewise.
30543         * math/w_acosh.c: Likewise.
30544         * math/w_acoshf.c: Likewise.
30545         * math/w_acoshl.c: Likewise.
30546         * math/w_acosl.c: Likewise.
30547         * math/w_asin.c: Likewise.
30548         * math/w_asinf.c: Likewise.
30549         * math/w_asinl.c: Likewise.
30550         * math/w_atan2.c: Likewise.
30551         * math/w_atan2f.c: Likewise.
30552         * math/w_atan2l.c: Likewise.
30553         * math/w_atanh.c: Likewise.
30554         * math/w_atanhf.c: Likewise.
30555         * math/w_atanhl.c: Likewise.
30556         * math/w_cosh.c: Likewise.
30557         * math/w_coshf.c: Likewise.
30558         * math/w_coshl.c: Likewise.
30559         * math/w_dremf.c: Likewise.
30560         * math/w_exp10.c: Likewise.
30561         * math/w_exp10f.c: Likewise.
30562         * math/w_exp10l.c: Likewise.
30563         * math/w_exp2.c: Likewise.
30564         * math/w_exp2f.c: Likewise.
30565         * math/w_fmod.c: Likewise.
30566         * math/w_fmodf.c: Likewise.
30567         * math/w_fmodl.c: Likewise.
30568         * math/w_hypot.c: Likewise.
30569         * math/w_hypotf.c: Likewise.
30570         * math/w_hypotl.c: Likewise.
30571         * math/w_j0.c: Likewise.
30572         * math/w_j0f.c: Likewise.
30573         * math/w_j0l.c: Likewise.
30574         * math/w_j1.c: Likewise.
30575         * math/w_j1f.c: Likewise.
30576         * math/w_j1l.c: Likewise.
30577         * math/w_jn.c: Likewise.
30578         * math/w_jnf.c: Likewise.
30579         * math/w_jnl.c: Likewise.
30580         * math/w_lgamma.c: Likewise.
30581         * math/w_lgamma_r.c: Likewise.
30582         * math/w_lgammaf.c: Likewise.
30583         * math/w_lgammaf_r.c: Likewise.
30584         * math/w_lgammal.c: Likewise.
30585         * math/w_lgammal_r.c: Likewise.
30586         * math/w_log.c: Likewise.
30587         * math/w_log10.c: Likewise.
30588         * math/w_log10f.c: Likewise.
30589         * math/w_log10l.c: Likewise.
30590         * math/w_log2.c: Likewise.
30591         * math/w_log2f.c: Likewise.
30592         * math/w_log2l.c: Likewise.
30593         * math/w_logf.c: Likewise.
30594         * math/w_logl.c: Likewise.
30595         * math/w_pow.c: Likewise.
30596         * math/w_powf.c: Likewise.
30597         * math/w_powl.c: Likewise.
30598         * math/w_remainder.c: Likewise.
30599         * math/w_remainderf.c: Likewise.
30600         * math/w_remainderl.c: Likewise.
30601         * math/w_scalb.c: Likewise.
30602         * math/w_scalbf.c: Likewise.
30603         * math/w_scalbl.c: Likewise.
30604         * math/w_sinh.c: Likewise.
30605         * math/w_sinhf.c: Likewise.
30606         * math/w_sinhl.c: Likewise.
30607         * math/w_sqrt.c: Likewise.
30608         * math/w_sqrtf.c: Likewise.
30609         * math/w_sqrtl.c: Likewise.
30610         * math/w_tgamma.c: Likewise.
30611         * math/w_tgammaf.c: Likewise.
30612         * math/w_tgammal.c: Likewise.
30614         * po/ja.po: Update from translation team.
30616 2011-09-29  Andreas Jaeger  <aj@suse.de>
30618         [BZ #13179]
30619         * sunrpc/netname.c (netname2host): Fix logic.
30621         [BZ #6779]
30622         [BZ #6783]
30623         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30624         correctly.
30625         * math/w_remainder.c (__remainder): Likewise.
30626         * math/w_remainderf.c (__remainderf): Likewise.
30627         * math/libm-test.inc (remainder_test): Add test cases.
30629 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30631         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30632         sdiv_qrnnd.
30634 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30636         * string/test-memcmp.c: Avoid unncessary #defines.
30637         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30639 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30641         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30642         Use new sse2 version for core i3 - i7 as it's faster
30643         than sse42 version.
30644         (bit_Prefer_PMINUB_for_stringop): New.
30645         * sysdeps/x86_64/rawmemchr.S: Update.
30646         Replace with faster SSE2 version.
30647         * sysdeps/x86_64/memrchr.S: New file.
30648         * sysdeps/x86_64/memchr.S: Update.
30649         Replace with faster SSE2 version.
30651 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30653         * elf/dl-load.c (lose): Add cast to avoid warning.
30655 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30657         * po/ca.po: Update from translation team.
30659         * inet/getnetgrent_r.c: Hook up nscd.
30660         * nscd/Makefile (routines): Add nscd_netgroup.
30661         (nscd-modules): Add netgroupcache.
30662         (CFLAGS-netgroupcache.c): Define.
30663         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30664         (cache_search): Add const to second parameter.
30665         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30666         INNETGR.
30667         (dbs): Add netgrdb entry.
30668         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30669         (verify_persistent_db): Handle netgrdb.
30670         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30671         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30672         GETFDNETGR.
30673         (netgroup_response_header): Define.
30674         (innetgroup_response_header): Define.
30675         (datahead): Add netgroup_response_header and innetgroup_response_header
30676         elements.
30677         * nscd/nscd.conf: Add entries for netgroup cache.
30678         * nscd/nscd.h (dbtype): Add netgrdb.
30679         (_PATH_NSCD_NETGROUP_DB): Define.
30680         (netgroup_iov_disabled): Declare.
30681         (xmalloc, xcalloc, xrealloc): Move declarations here.
30682         (cache_search): Adjust prototype.
30683         Add netgroup-related prototypes.
30684         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30685         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30686         (__nscd_innetgr): Declare.
30687         * nscd/selinux.c (perms): Use access_vector_t as element type and
30688         add netgroup-related initializers.
30689         * nscd/netgroupcache.c: New file.
30690         * nscd/nscd_netgroup.c: New file.
30691         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30692         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30693         For four parameters use innetgr.
30694         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30695         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30696         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30697         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30699         * nscd/connections.c (register_traced_file): Don't register file
30700         for disabled databases.
30702 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30704         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30706         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30707         from tree and freeing node.
30709 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30711         * nss/nsswitch.c (__nss_database_lookup): Handle
30712         nss_parse_service_list out of memory case.
30714 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30716         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30717         out of memory case.
30719 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30721         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30722         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30723         pass it down.
30724         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30725         elf_machine_rela, elf_machine_lazy_rel.
30726         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30727         (ELF_DYNAMIC_DO_REL): Likewise.
30728         (ELF_DYNAMIC_DO_RELA): Likewise.
30729         (ELF_DYNAMIC_RELOCATE): Likewise.
30730         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30731         to ELF_DYNAMIC_DO_REL.
30732         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30733         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30734         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30735         elf_machine_rela.
30736         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30737         skip_ifunc, don't call ifunc function if non-zero.
30738         (elf_machine_rela): Likewise.
30739         (elf_machine_lazy_rel): Likewise.
30740         (elf_machine_lazy_rela): Likewise.
30741         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30742         (elf_machine_lazy_rel): Likewise.
30743         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30744         Likewise.
30745         (elf_machine_lazy_rel): Likewise.
30746         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30747         Likewise.
30748         (elf_machine_lazy_rel): Likewise.
30749         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30750         (elf_machine_lazy_rel): Likewise.
30751         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30752         (elf_machine_lazy_rel): Likewise.
30753         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30754         (elf_machine_lazy_rel): Likewise.
30755         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30756         (elf_machine_lazy_rel): Likewise.
30757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30758         (elf_machine_lazy_rel): Likewise.
30759         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30760         (elf_machine_lazy_rel): Likewise.
30762 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30764         * nss/nss_files/files-init.c (_nss_files_init): Use static
30765         initialization for all the *_traced_file variables.
30767 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30769         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30771 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30773         [BZ #13226]
30774         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30776 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30778         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30779         Reread the line before reparsing it.
30781 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30783         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30785 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30786             Maxim Kuvyrkov  <maxim@codesourcery.com>
30787             Joseph Myers  <joseph@codesourcery.com>
30789         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30790         if needed for __stack_chk_guard.
30792 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30794         * sysdeps/posix/spawni.c (script_execute): Always define it.
30795         It will be optimized away if unused.
30796         (maybe_script_execute): New function.
30797         (__spawni): Call it.
30799         * Makerules: Don't include tls.make.
30800         (config-tls): Always set to thread.
30801         * tls.make.c: File removed.
30803 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30805         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30806         * config.make.in (CPPFLAGS-config): New substituted variable.
30808 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30810         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30812         [BZ #13192]
30813         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30814         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30816 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30818         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30819         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30820         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30821         (CALL_FAIL): Likewise.
30822         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30823         (CALL_FAIL): Macro removed.
30824         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30826 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30828         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30829         for __FINITE_MATH_ONLY__ == 1.
30831 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30833         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30834         __ieee754_sqrt instead of sqrt.
30835         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30836         __ieee754_sqrtf instead of sqrtf.
30837         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30838         __floorf instead of floorf.
30839         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30840         __floorf, __truncf instead of floorf, truncf.
30842 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30844         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30846         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30847         __extern_always_inline.
30848         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30849         32-bit.
30851 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30853         * elf/rtld.c (dl_main): Also relocate in dependency order when
30854         doing symbol dependency testing.
30856 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30858         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30859         Always define `refsym'.
30861 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30863         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30864         (__FD_ELT): Renamed from __FDELT.
30865         * misc/bits/select2.h (__FD_ELT): Likewise.
30866         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30867         __FD_MASK instead of __FDELT, __FDMASK.
30868         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30869         Likewise.
30870         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30871         Likewise.
30873         * elf/Makefile (gen-ldd): Fix pattern.
30875         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30876         (init_tls): Likewise.
30878 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30880         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30882 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30884         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30885         `struct cmsghdr *' instead of `void *'.
30886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30887         Likewise.
30889 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30891         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30892         if non-absolute.
30893         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30894         ldd_rewrite_script.
30896 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30898         * configure.in: Remove --with-tls option.
30899         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30900         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30901         out in case it is missing.
30902         * sysdeps/ia64/elf/configure.in: Likewise.
30903         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30904         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30905         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30906         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30907         * sysdeps/sh/elf/configure.in: Likewise.
30908         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30909         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30910         * sysdeps/x86_64/elf/configure.in: Likewise.
30911         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30912         * sysdeps/mach/hurd/tls.h: Likewise.
30914         [BZ #13067]
30915         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30917         [BZ #13090]
30918         * configure.in: Fix use of AC_INIT.
30920         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30922 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30924         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30925         __set_errno.
30926         * malloc/hooks.c: Likewise.
30928         [BZ #11929]
30929         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30930         variables statically.
30931         (narenas): Initialize.
30932         (list_lock): Initialize.
30933         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30934         initializtion of main_arena and list_lock.  Small cleanups.
30935         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30936         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30937         Add initializers to main_arena and mp_.
30938         (malloc_state): Remove pagesize member.  Change all users to use
30939         GLRO(dl_pagesize).
30941         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30942         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30943         is always initialized.
30945         * malloc/malloc.c: Removed unused configurations and dead code.
30946         * malloc/arena.c: Likewise.
30947         * malloc/hooks.c: Likewise.
30948         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30950         * include/tls.h: Removed.  USE___THREAD must always be defined.
30951         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30952         * elf/dl-libc.c: Likewise.
30953         * elf/dl-tsd.c: Likewise.
30954         * include/errno.h: Likewise.
30955         * include/netdb.h: Likewise.
30956         * include/resolv.h: Likewise.
30957         * inet/herrno-loc.c: Likewise.
30958         * inet/herrno.c: Likewise.
30959         * malloc/arena.c: Likewise.
30960         * malloc/hooks.c: Likewise.
30961         * malloc/malloc.c: Likewise.
30962         * resolv/res-state.c: Likewise.
30963         * resolv/res_libc.c: Likewise.
30964         * sysdeps/i386/dl-machine.h: Likewise.
30965         * sysdeps/ia64/dl-machine.h: Likewise.
30966         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30967         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30968         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30969         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30970         * sysdeps/sh/dl-machine.h: Likewise.
30971         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30972         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30973         * sysdeps/unix/i386/sysdep.S: Likewise.
30974         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30975         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30976         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30979         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30980         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30981         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30982         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30984         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30985         * sysdeps/x86_64/dl-machine.h: Likewise.
30986         * tls.make.c: Likewise.
30988         * configure.in: Remove --with-__thread option.  Make tests for
30989         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30990         tls_model attribute fail if no support is available.  Remove
30991         USE_IN_LIBIO.
30992         * Makeconfig: Adjust for dropped configure option.  All features are
30993         now mandatory.
30994         * Makerules: Likewise.
30995         * Versions.def: Likewise.
30996         * argp/argp-fmtstream.c: Likewise.
30997         * argp/argp-fmtstream.h: Likewise.
30998         * argp/argp-help.c: Likewise.
30999         * assert/assert.c: Likewise.
31000         * config.h.in: Likewise.
31001         * config.make.in: Likewise.
31002         * configure: Likewise.
31003         * configure.in: Likewise.
31004         * csu/Versions: Likewise.
31005         * csu/init.c: Likewise.
31006         * elf/tst-audit2.c: Likewise.
31007         * elf/tst-tls10.c: Likewise.
31008         * elf/tst-tls10.h: Likewise.
31009         * elf/tst-tls11.c: Likewise.
31010         * elf/tst-tls12.c: Likewise.
31011         * elf/tst-tls14.c: Likewise.
31012         * elf/tst-tlsmod11.c: Likewise.
31013         * elf/tst-tlsmod12.c: Likewise.
31014         * elf/tst-tlsmod13.c: Likewise.
31015         * elf/tst-tlsmod13a.c: Likewise.
31016         * elf/tst-tlsmod14a.c: Likewise.
31017         * elf/tst-tlsmod15b.c: Likewise.
31018         * elf/tst-tlsmod16a.c: Likewise.
31019         * elf/tst-tlsmod16b.c: Likewise.
31020         * elf/tst-tlsmod7.c: Likewise.
31021         * elf/tst-tlsmod8.c: Likewise.
31022         * elf/tst-tlsmod9.c: Likewise.
31023         * gmon/gmon.c: Likewise.
31024         * grp/fgetgrent_r.c: Likewise.
31025         * grp/putgrent.c: Likewise.
31026         * hurd/fopenport.c: Likewise.
31027         * include/libc-symbols.h: Likewise.
31028         * include/tls.h: Likewise.
31029         * intl/gettextP.h: Likewise.
31030         * intl/loadinfo.h: Likewise.
31031         * locale/global-locale.c: Likewise.
31032         * locale/localeinfo.h: Likewise.
31033         * mach/devstream.c: Likewise.
31034         * malloc/arena.c: Likewise.
31035         * malloc/set-freeres.c: Likewise.
31036         * misc/err.c: Likewise.
31037         * misc/getttyent.c: Likewise.
31038         * misc/mntent_r.c: Likewise.
31039         * posix/getopt.c: Likewise.
31040         * posix/wordexp.c: Likewise.
31041         * pwd/fgetpwent_r.c: Likewise.
31042         * resolv/Versions: Likewise.
31043         * resolv/res_hconf.c: Likewise.
31044         * shadow/fgetspent_r.c: Likewise.
31045         * shadow/putspent.c: Likewise.
31046         * stdio-common/printf_fphex.c: Likewise.
31047         * stdio-common/tmpfile.c: Likewise.
31048         * stdlib/abort.c: Likewise.
31049         * stdlib/fmtmsg.c: Likewise.
31050         * sunrpc/auth_unix.c: Likewise.
31051         * sunrpc/clnt_perr.c: Likewise.
31052         * sunrpc/clnt_tcp.c: Likewise.
31053         * sunrpc/clnt_udp.c: Likewise.
31054         * sunrpc/clnt_unix.c: Likewise.
31055         * sunrpc/openchild.c: Likewise.
31056         * sunrpc/svc_simple.c: Likewise.
31057         * sunrpc/svc_tcp.c: Likewise.
31058         * sunrpc/svc_udp.c: Likewise.
31059         * sunrpc/svc_unix.c: Likewise.
31060         * sunrpc/xdr.c: Likewise.
31061         * sunrpc/xdr_array.c: Likewise.
31062         * sunrpc/xdr_rec.c: Likewise.
31063         * sunrpc/xdr_ref.c: Likewise.
31064         * sunrpc/xdr_stdio.c: Likewise.
31066 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31068         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31070 2011-07-03  Andreas Jaeger  <aj@suse.de>
31072         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31073         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31074         regenerate with gen-libm-tests.pl.
31076 2010-05-12  Petr Baudis  <pasky@suse.cz>
31078         [BZ #11589]
31079         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31080         around j0() zero points by switching to j1().
31081         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31082         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31084         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31086 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31088         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31089         instead of 0.
31090         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31091         instead of 0.
31092         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31093         Patch in part by Pavel Roskin <proski@gnu.org>.
31095         [BZ #13138]
31096         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31097         realloc.
31098         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
31099         Free memory block if necessary.
31101         [BZ #12847]
31102         * libio/genops.c (INTDEF): For string streams the _lock pointer can
31103         be NULL.  Don't lock in this case.
31105 2011-09-09  Roland McGrath  <roland@hack.frob.com>
31107         * elf/elf.h (ELFOSABI_GNU): New macro.
31108         (ELFOSABI_LINUX): Define to that.
31110 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
31112         * string/strncat.c (strncat): Undef the symbol in case it has been
31113         defined in bits/string.h.
31115 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
31117         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31119         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31120         link map.
31122 2011-08-17  Andreas Jaeger  <aj@suse.de>
31124         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31126 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31127             Ian Lance Taylor  <iant@google.com>
31129         * math/libm-test.inc (lround_test): New testcase.
31130         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31132 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
31134         * Makefile: Remove support for automatic cvs check-ins.
31135         * Makerules: Likewise.
31136         * config.make.in: Likewise.
31137         * configure.in: Likewise.
31138         * intl/Makefile: Likewise.
31139         * locale/Makefile: Likewise.
31140         * po/Makefile: Likewise.
31141         * posix/Makefile: Likewise.
31142         * sysdeps/gnu/Makefile: Likewise.
31143         * sysdeps/mach/hurd/Makefile: Likewise.
31144         * sysdeps/sparc/sparc32/Makefile: Likewise.
31146         [BZ #13118]
31147         * posix/Makefile (bug-regex32-ENV): Define.
31148         Patch by John Stanley <jpsinthemix@verizon.net>.
31150         * misc/Makefile (headers): Add bits/select2.h.
31151         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31152         * misc/bits/select2.h: New file.
31153         * include/bits/select2.h: New file.
31154         * debug/Makefile (routines): Add fdelt_chk.
31155         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31156         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31157         FD_ISSET.
31158         * debug/fdelt_chk.c: New file.
31160         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
31161         * wcsmbs/test-wmemcmp.c: Likewise.
31162         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31163         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31165 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31167         * string/Makefile (strop-tests): Add memcmp.
31168         * string/test-wmemcmp.c: New file.
31169         * string/test-memcmp.c: Add wmemcmp support.
31171 2011-09-08  Roland McGrath  <roland@hack.frob.com>
31173         [BZ #13153]
31174         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31175         2011-07-19 change.
31177         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31178         garbage value in a __mach_port_mod_refs call in the cases of the
31179         task-self and thread-self ports.
31181 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31183         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31185 2011-09-08  Andreas Schwab  <schwab@redhat.com>
31187         * elf/dl-load.c (lose): Check for non-null L.
31189 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31191         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31193         * elf/dl-libc.c (dlerror_run): Pass back error code from
31194         dl_catch_error.
31196         [BZ #13123]
31197         * elf/dl-load.c (lose): Free l_origin if it is valid.
31199         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31200         names.
31201         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31202         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31203         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31204         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31205         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31206         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31208 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31210         * sysdeps/powerpc/fpu/e_hypot.c: New file.
31211         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31212         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31213         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31214         * sysdeps/powerpc/fpu/k_cosf.c: New file.
31215         * sysdeps/powerpc/fpu/k_sinf.c: New file.
31216         * sysdeps/powerpc/fpu/s_cosf.c: New file.
31217         * sysdeps/powerpc/fpu/s_sinf.c: New file.
31218         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31219         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31221 2011-08-15  Alan Modra  <amodra@gmail.com>
31223         [BZ #13092]
31224         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31225         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31226         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
31227         ppc_mcount to static-only-routines.
31228         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31229         __mcount_internal.
31230         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31231         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
31233 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
31235         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31236         for finite and infinity parameters.
31238 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31240         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31241         and add nop instructions for throughput optimization.
31242         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31244 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
31246         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31247         aligned copy for power7 with vector-scalar instructions.
31248         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31250 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
31252         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31253         AVX check.
31255 2011-09-07  Andreas Schwab  <schwab@redhat.com>
31257         [BZ #13144]
31258         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31259         last change.
31261 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
31263         * sysdeps/unix/sysv/linux/x86_64/init-first.c
31264         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31265         syscall wrapper around clock_gettime in __vdso_clock_gettime.
31266         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31267         clock_gettime.
31269 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31271         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31272         Forgot to demangle the pointer.
31274         * sysdeps/i386/sysdep.h: Define atom_text_section.
31275         * sysdeps/x86_64/sysdep.h: Likewise.
31276         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31277         section with atom_text_section.
31278         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31279         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31280         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31281         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31282         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31284         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31285         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31286         already be defined.  Change to take two parameters and don't assign
31287         result to variable.  Adjust all users.
31288         Define INTERNAL_GETTIME if not already defined.
31289         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31290         call.
31291         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31292         HAVE_CLOCK_GETTIME_VSYSCALL.
31293         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31295         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31296         gettimeofday vsyscall, just use time.
31298 2011-09-06  Andreas Schwab  <schwab@redhat.com>
31300         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31301         <errno.h>.
31303 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
31305         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31306         syscall on x86-64.
31307         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31308         syscall.
31309         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31310         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31311         syscall if possible.
31313 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31315         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31316         e_ident.  Don't pass to find_mapsXX.
31317         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31319 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31322         strchr-sse2-no-bsf strrchr-sse2-no-bsf
31323         * sysdeps/x86_64/multiarch/strchr.S: Update.
31324         Check bit_slow_BSF bit.
31325         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31326         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31327         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31329 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31331         [BZ #13134]
31332         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31333         before glibc 2.15.
31334         (tryshell): Define.
31335         (__spawni): Change last parameter to be flag.  Test
31336         SPAWN_XFLAGS_USE_PATH flag to use path or not.
31337         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31338         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31339         * posix/spawni.c: Likewise.
31340         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31341         * posix/spawnp.c: Likewise.  Change normal version to use
31342         SPAWN_XFLAGS_USE_PATH.
31343         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31344         SPAWN_XFLAGS_TRY_SHELL.
31346         [BZ #13150]
31347         * posix/glob.h: Remove gcc 1.x support.
31349         [BZ #13068]
31350         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31352 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31354         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31355         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31356         strrchr-sse2-bsf
31357         * sysdeps/i386/i686/multiarch/strchr.S: New file.
31358         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31359         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31360         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31361         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31362         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31364 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31366         * sysdeps/x86_64/wcscmp.S: New file.
31368         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31369         wcscmp-c wcscmp-sse2
31370         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31371         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31372         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31373         * wcsmbs/wcscmp.c: Allow renaming.
31375 2011-09-05  David S. Miller  <davem@davemloft.net>
31377         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31378         stack slot, rather than the struct return pointer slot.
31379         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31380         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31382         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31384 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
31386         * po/ja.po: Update from translation team.
31388         [BZ #13144]
31389         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31390         kernel in 64-bit binaries.
31392 2011-09-01  David S. Miller  <davem@davemloft.net>
31394         * elf/elf.h (HWCAP_SPARC_*): Move to..
31395         * sysdeps/sparc/sysdep.h: this new file and add new values.
31396         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31397         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31398         _DL_HWCAP_COUNT to 24.
31399         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31400         entries.
31401         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31402         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31403         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31404         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31405         instead of magic constants.
31406         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31408 2011-08-31  David S. Miller  <davem@davemloft.net>
31410         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31411         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31412         Reimplement to do errno handling inline.
31413         (SYSCALL_ERROR_HANDLER): New macro.
31414         (__SYSCALL_STRING): Do not do errno handling in asm.
31415         (__CLONE_SYSCALL_STRING): Delete.
31416         (__INTERNAL_SYSCALL_STRING): Delete.
31417         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31418         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31419         (PSEUDO): Reimplement to do errno handling inline.
31420         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31421         (SYSCALL_ERROR_HANDLER): New macro.
31422         (__SYSCALL_STRING): Do not do errno handling in asm.
31423         (__CLONE_SYSCALL_STRING): Delete.
31424         (__INTERNAL_SYSCALL_STRING): Delete.
31425         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31426         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31427         i386.
31428         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31429         (inline_syscall*): Add 'err' argument.
31430         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31431         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31432         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31433         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31435         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31436         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31438 2011-08-30  Andreas Schwab  <schwab@redhat.com>
31440         * elf/rtld.c (dl_main): Relocate objects in dependency order.
31442 2011-08-29  Jiri Olsa <jolsa@redhat.com>
31444         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31445         directive.
31447 2011-08-24  David S. Miller  <davem@davemloft.net>
31449         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31451 2011-08-24  Andreas Schwab  <schwab@redhat.com>
31453         * elf/Makefile: Add rules to build and run unload8 test.
31454         * elf/unload8.c: New file.
31455         * elf/unload8mod1.c: New file.
31456         * elf/unload8mod1x.c: New file.
31457         * elf/unload8mod2.c: New file.
31458         * elf/unload8mod3.c: New file.
31460         * elf/dl-close.c (_dl_close_worker): Reset private search list if
31461         it wasn't used.
31463 2011-08-23  David S. Miller  <davem@davemloft.net>
31465         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31466         subtract stack bias.
31467         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31468         %sp not %fp in calculations.
31469         (_JMPBUF_UNWINDS_ADJ): Likewise.
31471         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31472         (aio_suspend): Call it to force an exception region around the
31473         AIO_MISC_WAIT() invocation.
31475 2011-08-23  Andreas Schwab  <schwab@redhat.com>
31477         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31478         backslash.
31480 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
31482         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31483         protection macro.
31484         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31485         and <dl-machine.h>.
31486         (Elf64_FuncDesc): Remove.
31488 2011-08-22  David S. Miller  <davem@davemloft.net>
31490         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31491         sigaltstack check, add missing cfi directives.
31492         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31493         missing cfi directives, and sigaltstack handling.
31495 2011-08-16  Andreas Schwab  <schwab@redhat.com>
31497         [BZ #11724]
31498         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31499         object is seen twice.
31500         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31502         * elf/Makefile (distribute): Add tst-initorder2.c.
31503         (tests): Add tst-initorder2.
31504         (modules-names): Add tst-initorder2a tst-initorder2b
31505         tst-initorder2c tst-initorder2d.  Add rules to build them.
31506         ($(objpfx)tst-initorder2.out): New rule.
31507         * elf/tst-initorder2.c: New file.
31508         * elf/tst-initorder2.exp: New file.
31510 2011-08-22  Andreas Schwab  <schwab@redhat.com>
31512         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31514         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31515         dependencies back to end of function.
31517         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31518         $(elfobjdir)/ld.so.
31520 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
31522         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31523         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31524         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31525         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31526         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31527         of __vdso_gettimeofday.
31528         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31529         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
31530         attribute_hidden.
31531         (_libc_vdso_platform_setup): Remove initialization of
31532         __vdso_gettimeofday and __vdso_time.
31534 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31536         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31537         and fgetc_unlocked.
31538         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31539         getc_unlocked.
31541         * elf/dl-open.c (add_to_global): Report additions to the global scope
31542         for LD_DEBUG=scopes.
31543         (dl_open_worker): Also print scope of newly loaded dependencies.
31544         (_dl_show_scope): Indicate if there is no scope.
31546         [BZ #13114]
31547         * stdio-common/Makefile (tests): Add bug24.
31548         * stdio-common/bug24.c: New file.
31550 2011-08-19  Andreas Jaeger  <aj@suse.de>
31552         [BZ #13114]
31553         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31554         non-existant file when using close-on-exec mode.
31556 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31558         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31559         the very first instruction.
31561         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31562         the CFI state in the end.
31563         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31564         inclusion of dl-trampoline.h.
31565         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31567 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31569         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31570         expectations for long double.
31572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31573         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31575 2011-08-14  David S. Miller  <davem@davemloft.net>
31577         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31578         artificual limit depends upon the system page size.
31580 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31582         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31583         * resolv/Makefile: Define CFLAGS-libresolv.
31585 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31587         * nss/makedb.c (compute_tables): Make variables used in nested
31588         function static.
31590 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31592         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31593         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31594         if buffer was too small.
31596         * elf/pldd.c (main): Attach to all threads in the process.
31597         Rewrite /proc handling to use *at functions.
31599 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31601         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31602         specifies first scope to show.
31603         (dl_open_worker): Update callers.  Move printing scope of new
31604         object to before the relocation.
31605         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31606         * sysdeps/generic/ldsodefs.h: Update declaration.
31608         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31609         string for the scope number.
31611 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31613         * nscd/servicescache.c (cache_addserv): Make sure written is always
31614         initialized.
31616 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31618         * sysdeps/i386/i486/bits/atomic.h
31619         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31620         statement expression, so as to suppress "set but not used" warning.
31621         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31623         * string/strncat.c (STRNCAT): Use prototype definition.
31625         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31626         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31627         -Iprograms here.
31628         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31629         (localedef-modules): Add localedef.
31630         (locale-modules): Add locale.
31632         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31633         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31634         to avoid a warning.
31636 2011-08-14  David S. Miller  <davem@davemloft.net>
31638         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31639         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31641 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31643         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31644         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31645         * elf/rtld.c (dl_main): Set l_name of vDSO.
31646         Call _dl_show_scope when DL_DEBUG_SCOPES.
31647         (process_dl_debug): Recognize scopes flag and also set it for all.
31648         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31649         Declare _dl_show_scope.
31651         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31652         (do_dlopen): Pass caller_dlopen to dl_open.
31653         (__libc_dlopen_mode): Initialize caller_dlopen.
31655         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31656         of libc.  Make tolower call locale-independent.  Optimize a bit by
31657         using isdigit instead of isalnum.
31658         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31660 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31662         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31663         was a dependency or dynamically loaded.
31665 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31667         * intl/l10nflist.c: Allow architecture-specific pop function.
31668         * sysdeps/x86_64/l10nflist.c: New file.
31670         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31671         classification.
31673 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31675         * include/dirent.h: Add libc_hidden_proto for scandirat and
31676         scandirat64.  Don't declare __scandirat64.
31677         * dirent/scandirat.c: Add libc_hidden_def.
31678         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31679         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31681 2011-08-10  David S. Miller  <davem@davemloft.net>
31683         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31684         enum.
31685         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31686         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31687         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31689 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31691         * Versions.def [libc]: Add GLIBC_2.15.
31692         * dirent/Makefile (routines): Add scandirat and scandirat64.
31693         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31694         GLIBC_2.15.
31695         * dirent/dirent.h: Declare scandirat and scandirat64.
31696         * dirent/scandirat.c: New file.
31697         * dirent/scandirat64.c: New file.
31698         * sysdeps/wordsize-64/scandirat.c: New file.
31699         * sysdeps/wordsize-64/scandirat64.c: New file.
31700         * dirent/opendir.c: Define opendirat.
31701         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31702         using scandirat.
31703         * dirent/scandir64.c: Adjust for scandir.c change.
31704         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31705         __scandirat64, and __scandir_cancel_handler.
31706         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31707         additional parameter and use openat instead of open (outside of ld.so).
31708         Add new __opendir as wrapper around __opendirat.
31709         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31710         here without requiring old scandirat implementation.
31712 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31714         * dirent/scandir.c (cancel_handler): Renamed to
31715         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31716         defined.  Adjust users.
31717         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31718         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31720 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31722         * string/test-string.h (IMPL): Use __STRING to expand name and then
31723         stringify it.
31725         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31726         of cleanups.
31728 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31730         * string/Makefile: Update.
31731         (strop-tests): Append strncat.
31732         * string/test-wcscmp.c: New file.
31733         New comprehensive test for wcscmp.
31734         * string/test-strcmp.c: Update.
31735         (WIDE): New define.
31737 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31739         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31740         line.
31742 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31745         encoding to ACE if AI_IDN.
31747 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31749         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31750         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31752 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31754         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31755         Fix overflow bug in strncat.
31756         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31758         * string/test-strncat.c: Update.
31759         Add new tests for checking overflow bugs.
31761 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31764         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31765         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31766         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31767         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31768         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31769         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31770         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31771         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31773         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31774         (USE_AS_STRCAT): Define.
31775         Add strcat and strncat support.
31776         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31778 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31780         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31781         __n bigger than INT_MAX+1.
31782         (__strncmp_g): Likewise.
31784 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31786         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31787         * libio/stido.h: Likewise.
31789         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31790         (AF_NFC): Define.
31791         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31792         (AF_NFC): Define.
31794         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31796         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31797         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31798         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31800         [BZ #13021]
31801         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31802         installed.
31804         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31805         typo.
31806         (_dl_x86_64_save_sse): Likewise.
31808 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31810         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31811         OSXSAVE.
31812         (_dl_x86_64_save_sse): Likewise.
31814         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31816         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31818 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31820         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31821         change.
31822         (_dl_x86_64_save_sse): Use correct AVX check.
31824 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31826         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31827         bug in strncpy/strncat.
31828         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31830 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31832         * string/tester.c (test_strcat): Add tests for different alignments
31833         of source and destination.
31834         (test_strncat): Likewise.
31836 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31838         [BZ #12852]
31839         * posix/glob.c (glob): Check passed in values before using them in
31840         expressions to avoid some overflows.
31841         (glob_in_dir): Likewise.
31843         [BZ #13007]
31844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31845         check for AVX enablement so that we don't crash with old kernels and
31846         new hardware.
31847         * elf/tst-audit4.c: Add same checks here.
31848         * elf/tst-audit6.c: Likewise.
31850         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31852 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31854         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31856 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31858         * po/cs.po: Update from translation team.
31859         * po/bg.po: Likewise.
31861 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31863         * misc/sys/cdefs.h: Add support for const attribute.
31864         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31865         to gnu_dev_{major,minor,makedev} functions.
31867 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31869         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31871 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31873         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31874         strlen results.
31876 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31879         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31880         register in order to avoid conflicts with the soft frame pointer
31881         being held in r11 when necessary.
31882         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31883         (INTERNAL_VSYSCALL_NCS): Likewise.
31885 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31887         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31888         * elf/dl-fini.c (_dl_fini): Adjust caller.
31889         * elf/dl-close.c (_dl_close_worker): Likewise.
31890         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31892 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31894         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31895         "aux_cache->nlibs < 0".
31897         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31898         in the reload-count case.
31900 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31903         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31904         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31905         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31906         * sysdeps/x86_64/multiarch/strcat.S: New file.
31907         * sysdeps/x86_64/multiarch/strncat.S: New file.
31908         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31909         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31910         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31911         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31912         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31913         (USE_AS_STRCAT): Define.
31914         Add strcat and strncat support.
31915         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31916         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31917         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31918         * string/strncat.c: Update.
31919         (USE_AS_STRNCAT): Define.
31920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31921         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31922         and i7.
31923         * sysdeps/x86_64/multiarch/init-arch.h
31924         (bit_Prefer_PMINUB_for_stringop): New.
31925         (index_Prefer_PMINUB_for_stringop): Likewise.
31926         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31927         bit_Prefer_PMINUB_for_stringop.
31929 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31931         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31932         buffer64.
31933         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31934         of casting of buffer.
31935         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31936         buffer32 and buffer64.
31937         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31938         writes instead of casting of buffer.
31939         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31940         buffer32.
31941         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31942         casting of buffer.
31944 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31946         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31948 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31950         * nscd/nscd.c (termination_handler): Don't do anything for a database
31951         if it has not yet been initialized.
31953 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31955         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31957 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31959         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31961 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31963         * po/nl.po: Update from translation team.
31964         * po/sv.po: Likewise.
31966 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31968         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31969         now disallowed by GCC.
31971         * configure.in (use-default-link): Default to yes if a test -shared
31972         link meets our qualifications.
31973         * configure: Regenerated.
31975         * config.make.in (output-format): New variable.
31976         * configure.in: Check for ld --print-output-format support.
31977         * configure: Regenerated.
31978         * Makerules ($(common-objpfx)format.lds)
31979         [$(output-format) != unknown]: Just use $(output-format),
31980         instead of the linker-script munging.
31982 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31984         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31985         of $(common-objpfx)shlib.lds.
31986         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31988         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31989         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31991         * configure.in (-z relro check): Adjust test code to add a large
31992         writable data section after it.
31993         * configure: Regenerated.
31995 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31997         * configure.in (-z relro check): Fix test code to make the variable
31998         truly const.
31999         * configure: Regenerated.
32001 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
32003         * nscd/nscd.h (struct traced_file): Define.
32004         (struct database_dyn): Remove inotify_descr, reset_res, and filename
32005         elements.  Add traced_files.
32006         (inotify_fd): Declare.
32007         (register_traced_file): Declare.
32008         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32009         (inotify_fd): Export.
32010         (resolv_conf_descr): Remove.
32011         (nscd_init): Move inotify descriptor creation to main.
32012         Don't register files for notification here.
32013         (register_traced_file): New function.
32014         (invalidate_cache): Don't use reset_res to determine whether to call
32015         res_init, go through the list of registered files.
32016         (main_loop_poll): The inotify descriptors are now stored in the
32017         structures for the traced files.
32018         (main_loop_epoll): Likewise
32019         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
32020         to __nss_disable_nscd.
32021         * nscd/cache.c (prune_cache): There is no single inotify descriptor
32022         for a database anymore.  Check the records for all the registered
32023         files instead.
32024         * nss/Makefile (libnss_files-routines): Add files-init.
32025         (libnss_db-routines): Add db-init.
32026         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32027         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32028         * nss/nss_db/db-init.c: New file.
32029         * nss/nss_files/files-init.c: New file.
32030         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
32031         __nss_lookup_function.
32032         (__nss_lookup_function): Call nss_load_library.
32033         (nss_load_all_libraries): New function.
32034         (__nss_disable_nscd): Take parameter with callback function for files
32035         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
32036         used for the cached services.
32037         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32038         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32039         options for features to all the files in nscd.
32041         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32043 2011-07-10  Roland McGrath  <roland@hack.frob.com>
32045         * csu/elf-init.c (__libc_csu_init): Comment typo.
32047 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
32049         * po/pl.po: Update from translation team.
32050         * po/ja.po: Likewise.
32051         * po/ru.po: Likewise.
32052         * po/ko.po: Likewise.
32053         * po/fr.po: Likewise.
32055 2011-07-09  Roland McGrath  <roland@hack.frob.com>
32057         * configure.in (.ctors/.dtors header and trailer check):
32058         Use an empirical test on a built program.
32059         * configure: Regenerated.
32061         * configure.in (-z relro check): Use an empirical test on a built DSO.
32062         Detect, but do not require, on ia64.
32063         * configure: Regenerated.
32065         * configure.in (READELF): Find it with AC_CHECK_TOOL.
32066         Update tests that use readelf to use $READELF instead.
32067         * configure: Regenerated.
32069 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
32071         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32072         if the result is not used.
32074 2011-07-05  Andreas Jaeger  <aj@suse.de>
32076         [BZ#9696]
32077         * stdlib/tst-strtod.c: Add testcase.
32079 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
32081         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32082         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32083         The latter has a higher limit.  Take additional parameter to pass to
32084         the new function.
32085         (__pathconf): Pass file to __statfs_link_max.
32086         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32087         __statfs_link_max.
32088         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32089         __statfs_link_max.
32091         [BZ #12868]
32092         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32093         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32094         Handle Lustre.
32095         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32096         (__statfs_filesize_max): Likewise.
32097         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32099 2011-07-05  Andreas Jaeger  <aj@suse.de>
32101         * resolv/res_comp.c (dn_skipname): Remove unused variable.
32103 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
32105         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32106         `status' variable.
32107         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32108         Likewise.
32110 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
32112         * Makefile (strop-tests): Add strncat.
32113         * string/test-strncat.c: New file.
32115 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
32117         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32119 2011-06-21  Andreas Jaeger  <aj@suse.de>
32121         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32122         Copy rule from iconvdata/Makefile.
32124 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32126         [BZ #12922]
32127         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32128         but no long options are defined, just return 'W'.
32130 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
32132         [BZ #9696]
32133         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32135 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
32137         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32138         netgroups to read.
32139         (innetgr): Likewise.
32141 2011-07-05  Roland McGrath  <roland@hack.frob.com>
32143         * config.make.in (install_root): Default to $(DESTDIR).
32145 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
32147         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32149 2011-07-02  Roland McGrath  <roland@hack.frob.com>
32151         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32153         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32154         containing directory rather than embedding absolute directory names.
32156         * scripts/check-local-headers.sh: Rewritten using awk.
32157         Match by word, not by line.  Print error messages for matches.
32158         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32160         * Makerules [shlib-lds-flags empty]:
32161         ($(common-objpfx)libc_pic.opts): New target.
32162         ($(common-objpfx)libc_pic.os.clean): New target.
32163         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32165         * config.make.in (OBJCOPY): New variable.
32166         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32167         * configure: Regenerated.
32169         * config.make.in (use-default-link): New variable.
32170         * configure.in (use_default_link): Grok --with-default-link to set it.
32171         * configure: Regenerated.
32172         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32173         (shlib-lds, shlib-lds-flags): Define to empty.
32175         * Makerules (shlib-lds): New variable.
32176         (shlib-lds-flags): New variable.
32177         (build-shlib, build-moduile, build-module-asneeded): Use it.
32178         ($(common-objpfx)libc.so): Use $(shlib-lds).
32179         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32180         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32182         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32183         DT_FLAGS/DT_FLAGS_1 with zero flags.
32185         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32186         linker script munging.
32188 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
32190         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32191         as 128-bit value.
32192         * crypt/sha512.c (sha512_process_block): Perform total addition using
32193         128-bit if possible.
32194         (__sha512_finish_ctx): Likewise.
32195         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32196         as 64-bit value.
32197         * crypt/sha256.c (SWAP64): Define.
32198         (sha256_process_block): Perform total addition using 64-bit if
32199         possible.
32200         (__sha256_finish_ctx): Likewise.
32202 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
32204         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
32205         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32206         * nscd/hstcache.c (cache_addhst): Likewise.
32207         * nscd/grpcache.c (cache_addgr): Likewise.
32208         * nscd/aicache.c (addhstaiX): Likewise
32209         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32211 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
32213         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32214         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32215         * nscd/hstcache.c (cache_addhst): Likewise.
32216         * nscd/grpcache.c (cache_addgr): Likewise.
32217         * nscd/aicache.c (addhstaiX): Likewise
32219 2011-07-01  Andreas Schwab  <schwab@redhat.com>
32221         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32222         domain only when needed.
32224 2011-06-30  Andreas Schwab  <schwab@redhat.com>
32226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32227         is always restored.
32229 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
32231         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32232         are re-adding the entry.
32233         * nscd/servicescache.c (cache_addserv): Likewise.
32235 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
32237         * sysdeps/generic/dl-irel.h: fix protection against multiple
32238         inclusions.
32239         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32241 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
32243         [BZ #12935]
32244         * malloc/memusage.sh: Fix quoting in message.
32245         * debug/xtrace.sh: Likewise.
32247         * configure.in: Remove support for --experimental-malloc option, make
32248         it the default.
32249         * config.make.in: Likewise.
32250         * malloc/Makefile: Likewise.
32252 2011-06-27  Andreas Schwab  <schwab@redhat.com>
32254         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32255         two-byte characters.
32257 2011-06-27  Roland McGrath  <roland@hack.frob.com>
32259         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32260         AC_CACHE_CHECK invocation.
32261         * configure: Regenerated.
32263         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32265 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
32267         [BZ #12350]
32268         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
32269         bit from old_res_options.
32271         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32273         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32274         value type for setfct.
32276 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
32278         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32279         __gettimeofday instead of gettimeofday.
32281 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
32283         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32285 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32287         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32289         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32290         info.
32292 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32295         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32296         strcpy-sse2-unaligned strncpy-sse2-unaligned
32297         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32298         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32299         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32300         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32301         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32302         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32303         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32304         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32305         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32306         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32307         (STRCPY): Support SSE2 and SSSE3 versions.
32309 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
32311         [BZ #12874]
32312         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32313         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32314         kernels which artificially limit size of requests.
32316 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
32318         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32319         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32320         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32321         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32322         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32323         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32324         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32325         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32326         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32327         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32328         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32329         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32330         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32331         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32332         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32334         Enable unaligned load optimization for Intel Core i3, i5 and i7
32335         processors.
32336         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32337         Define.
32338         (index_Fast_Unaligned_Load): Define.
32339         (HAS_FAST_UNALIGNED_LOAD): Define.
32341 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
32343         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32345 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32347         [BZ #12907]
32348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32349         until it is clear that the information is realy needed.
32350         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32352 2011-06-22  Andreas Schwab  <schwab@redhat.com>
32354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32356 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
32358         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32359         /sys/devices/system/cpu/online if it is usable.
32361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32362         reading the information from the /proc filesystem to once a second.
32364 2011-06-21  Andreas Jaeger  <aj@suse.de>
32366         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32367         NULL after inclusion of kernel headers.
32369 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
32371         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32372         calls to internal_setent.
32374         [BZ #12885]
32375         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32376         addresses using gethostbyname4_r ignore IPv4 addresses.
32378         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32379         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
32381         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32383 2011-06-20  David S. Miller  <davem@davemloft.net>
32385         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32386         inclusions.
32387         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32389         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32390         (elf_irel): Use it.
32391         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32392         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32393         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32394         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32395         * sysdeps/x86_64/dl-irel.h: Likewise.
32397         * elf/dl-runtime.c: Use elf_ifunc_invoke.
32398         * elf/dl-sym.c: Likewise.
32400 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32402         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
32403         need to dereference resplen2.
32405 2011-06-14  Andreas Schwab  <schwab@redhat.com>
32407         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32409 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
32411         * Makeconfig: Define vardbdir and inst_vardbdir.
32412         * nss/Makefile: Add rules to install db-Makefile.
32414         * nss/nss_db/db-XXX.c: Cleanup.
32416         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32417         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32418         GLIBC_PRIVATE.
32419         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32420         * nss/makedb.c: Implement -g option to specify that value strings
32421         are generated and should not be added to table iterated over for
32422         get*ent calls.
32423         * nss/nss_db/db-initgroups.c: New file.
32425         * nss/getent.c: Add support for initgroups lookups through getgrouplist
32426         interface.
32428         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32429         (internal_getgrouplist): Adjust to name change.
32430         Update use_initgroups_entry if this is not the first call.
32431         * nss/databases.def: Add initgroups entry.
32433         * nss/makedb.c (compute_tables): Check result of multiple hash table
32434         sizes to minimize maximum chain length.
32436 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
32438         * Versions.def: Add entry for libnss_db.
32439         * shlib-versions: Likewise.
32440         * nss/Makefile: Add rules to build libnss_db.
32441         * nss/Versions: Add libnss_db information.  Organize libnss_files
32442         entries better.
32443         * nss/db-Makefile: Add gshadow support.  Change rules for the new
32444         makedb progra.  Some minor improvements to generate smaller files.
32445         * nss/nss_db/nss_db.h: Move NSS database header data structures to
32446         here from...
32447         * nss/makedb.c: ...here.
32448         Improve database format to be smaller and require less memory at
32449         runtime.
32450         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
32451         db anymore.
32452         * nss/nss_db/db-netgrp.c: Likewise.
32453         * nss/nss_db/db-open.c: Likewise.
32454         * nss/nss_files/flies-XXX.x: Adjust comments.
32455         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32456         * nss/nss_files/files-grp.c: Likewise.
32457         * nss/nss_files/files-hosts.c: Likewise.
32458         * nss/nss_files/files-network.c: Likewise.
32459         * nss/nss_files/files-proto.c: Likewise.
32460         * nss/nss_files/files-pwd.c: Likewise.
32461         * nss/nss_files/files-rpc.c: Likewise.
32462         * nss/nss_files/files-service.c: Likewise.
32463         * nss/nss_files/files-sgrp.c: Likewise.
32464         * nss/nss_files/files-spwd.c: Likewise.
32465         * nss/nss_db/db-alias.c: Removed.
32466         * nss/nss_db/dummy-db.h: Removed.
32468 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
32470         * nss/makedb.c: Rewritten to not use database library.
32471         * nss/Makefile: Update to build new makedb program.
32473 2011-06-14  Andreas Jaeger  <aj@suse.de>
32475         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32476         memset declaration.
32478 2011-06-10  Andreas Schwab  <schwab@redhat.com>
32480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32481         tmpbuf.
32483 2011-06-10  Roland McGrath  <roland@hack.frob.com>
32485         * Makerules (shlib.lds): Fail if the linker script comes out empty.
32486         * elf/Makefile ($(objpfx)ld.so): Likewise.
32488         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32489         Don't list ld.so twice in dependencies.
32491         * posix/bug-regex31.c: Include <stdlib.h>.
32493         * nscd/hstcache.c (cache_addhst): Remove unused variable.
32495         * nis/nss_compat/compat-spwd.c
32496         (getspent_next_nss_netgr): Remove unused variable.
32497         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32499         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32500         nonmembers" output to use the right array.
32502         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32504         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32506         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32507         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32508         * catgets/gencat.c (read_input_file): Likewise.
32509         * locale/programs/locarchive.c (enlarge_archive): Likewise.
32511         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32512         variable definition inside #if's controlling its use.
32514         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32516         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32518         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32520         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32521         unreachable code.
32523         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32525         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32526         * configure: Regenerated.
32528         * Makerules: Revert last change.
32529         * elf/Makefile: Likewise.
32531 2011-06-09  Roland McGrath  <roland@hack.frob.com>
32533         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32534         * elf/Makefile ($(objpfx)librtld.os): Likewise.
32535         (reloc-link): Likewise.
32537 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
32539         * elf/Makefile: Add rules to build pldd.
32540         * elf/pldd.c: New file.
32541         * elf/pldd-xx.c: New file.
32543 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
32545         * version.h: Update for 2.15 development version.
32547 2011-06-07  David S. Miller  <davem@davemloft.net>
32549         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32550         ifuncs.
32551         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32552         elf_machine_lazy_rel): Likewise.
32553         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32554         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32555         elf_machine_lazy_rel): Likewise.
32556         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32557         dl_hwcap via passed in argument.
32558         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32559         Likewise.
32561 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32563         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32565 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32567         [BZ #12849]
32568         * manual/fdl-1.1.texi: New file, verbatim from:
32569         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32570         * manual/lgpl-2.1.texi: New file, verbatim from:
32571         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32572         * manual/Makefile (licenses): New variable, list those new file names.
32573         (texis): Use it.
32574         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32576         * manual/fdl.texi: File removed.
32577         * manual/lesser.texi: File removed.
32578         * manual/libc.texinfo (Copying, Documentation License):
32579         Use new @include file names, put @appendix directive before @include.
32581 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32583         [BZ #12841]
32584         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32585         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32586         (mq_open): Add __NTH.
32588 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32591         Assume Intel Core i3/i5/i7 processor if AVX is available.
32593 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32595         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32596         typo.
32598 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32600         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32601         memory.  Use alloca_account.  Fix memory leak when retrying.
32603 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32605         * version.h (RELEASE): Bump for 2.14 release.
32606         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32608         * config.make.in (RANLIB): Remove entry.
32610 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32612         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32613         (libc.pot): Work around missing support for .ksh extension in xgettext.
32615         [BZ #12684]
32616         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32617         if both request failed.
32618         (send_dg): In case of server errors clear resplen or *resplen2.
32620         [BZ #12454]
32621         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32622         when there are multiple maps.
32623         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32624         (_dl_fini): Remove test here.
32626         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32628 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32630         [BZ #12350]
32631         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32632         bit from old_res_options.
32633         (gaih_inet): Likewise.
32635         [BZ #11099]
32636         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32637         as signed.
32639         * resolv/res_init.c (res_setoptions): Make the code more compact.
32641         [BZ #11558]
32642         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32643         set RES_USEVC.
32645         [BZ #11634]
32646         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32648         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32650         [BZ #11781]
32651         * malloc/malloc.h: Declare malloc hook variables as volatile.
32653         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32654         in last patch.
32656         [BZ #11799]
32657         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32658         raise in the comment.
32659         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32660         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32661         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32663 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32665         [BZ #12811]
32666         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32667         grow the buffers more if it already has to be sufficient.
32668         (build_wcs_upper_buffer): Likewise.
32669         * posix/regexec.c (check_matching): Likewise.
32670         (clean_state_log_if_needed): Likewise.
32671         (extend_buffers): Don't enlarge buffers beyond size of the input
32672         buffer.
32673         Patches mostly by Emil Wojak <emil@wojak.eu>.
32674         * posix/bug-regex32.c: New file.
32675         * posix/Makefile (tests): Add bug-regex32.
32677         * locale/findlocale.c (_nl_find_locale): Return right away if
32678         _nl_explode_name failed.
32679         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32681         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32683         * debug/xtrace.sh: Unify messages.
32684         * malloc/memusage.sh: Likewise.
32686         [BZ #12813]
32687         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32688         time symbol from vDSO.  Substitute with vsyscall if not available.
32689         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32690         __vdso_time.
32692         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32693         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32694         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32695         Add sendmmsg and internal_sendmmsg.
32696         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32697         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32698         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32700         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32701         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32702         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32704 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32706         [BZ #12813]
32707         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32708         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32709         available.
32710         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32711         __vdso_getcpu.
32713         [BZ #12814]
32714         * iconvdata/Makefile (tests): Add bug-iconv9.
32715         * iconvdata/bug-iconv9.c: New file.
32717 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32719         [BZ #12814]
32720         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32722 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32724         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32725         (struct user_regs_struct): Change intcs field back to cs.
32727 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32729         * po/ja.po: Update from translation team.
32731 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32733         [BZ #12795]
32734         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32735         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32737 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32739         * stdlib/longlong.h: Update from GCC.
32741 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32743         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32744         parameter name.
32745         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32746         Add parameter name.
32747         (__sysconf): Pass it down.
32749 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32751         [BZ #12671]
32752         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32753         some situations.
32754         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32755         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32756         add in in __libc_use_alloca calls.  Adjust callers.
32757         (glob): Use malloc in some situations.
32759         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32760         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32761         pltexit.
32763 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32765         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32766         and CLOCK_BOOTTIME_ALARM.
32768         [BZ #12782]
32769         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32770         is returned.
32772         * string/_strerror.c (__strerror_r): Print negative errors as signed
32773         numbers.
32775         [BZ #12777]
32776         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32777         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32778         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32780         * configure.in: Fix typo in redirection and correct removal of test
32781         files in two cases.
32783         [BZ #12788]
32784         * locale/setlocale.c (new_composite_name): Fix test to check for
32785         identical name of all categories.
32787         [BZ #12792]
32788         * libio/filedoalloc.c (local_isatty): New function.
32789         (_IO_file_doallocate): Use local_isatty.
32790         * stdio-common/perror.c (perror): In case a new stream is used
32791         forward the stream error.
32792         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32793         error flag.
32795 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32797         [BZ #11869]
32798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32799         alloca.
32800         * include/alloca.h (extend_alloca_account): Define.
32802         [BZ #11857]
32803         * posix/regex.h: Fix comments with documentation of user-accessible
32804         fields after compilation and describe correct free'ing of pattern
32805         after re_compile_pattern.
32806         Patch by Reuben Thomas <rrt@sc3d.org>.
32808 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32810         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32811         and -mno-altivec to prevent the compiler from using Altivec and/or
32812         VSX instructions when the corresponding registers are not available.
32814 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32816         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32818 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32820         * libio/freopen.c (freopen): Use __dup2, not dup2.
32821         * libio/freopen64.c (freopen64): Likewise.
32823 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32825         [BZ #12775]
32826         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32827         * math/Makefile (tests): Add test-powl.
32828         (CFLAGS-test-powl.c): Define.
32829         * math/test-powl.c: New file.
32831 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32833         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32835 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32837         [BZ #11837]
32838         * iconvdata/gb18030.c: Update to GB18020-2005.
32840 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32842         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32843         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32844         Patch by Aharon Robbins <arnold@skeeve.com>.
32846         [BZ #11892]
32847         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32848         on the stack.
32850         [BZ #11895]
32851         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32852         through underflows.
32854         [BZ #12766]
32855         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32856         point to strings before performing equality test for error_one_per_line
32857         mode.
32859         [BZ #11697]
32860         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32862         [BZ #11820]
32863         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32864         (struct user_fpregs_struct): Avoid __uint*_t types.
32866         [BZ #6420]
32867         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32868         symbol info.  Use it instead of calling _dl_addr locally.
32869         (lock_and_info): New function.
32870         (tr_freehook): Call lock_and_info and pass symbol info as additional
32871         parameter to tr_where.
32872         (tr_mallochook): Likewise.
32873         (tr_reallochook): Likewise.
32874         (tr_memalignhook): Likewise.
32876         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32877         used and couldn't be at all thread-safe.
32879 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32881         * libio/freopen.c (freopen): Don't close old file descriptor
32882         before the new one is opened.  Instead dup the new file descriptor
32883         to the old one after the new stream is created.
32884         * libio/freopen64.c (freopen64): Likewise.
32885         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32886         * libio/fileops.c (_IO_new_file_close_it): Handle new
32887         _IO_FLAGS2_NOCLOSE flag.
32888         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32889         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32890         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32891         _IO_FLAGS2_NOCLOSE flag.
32892         * include/unistd.h: Add hidden_proto for dup3.
32893         Define __have_dup3.
32894         * io/dup3.c: Define hidden symbol.
32895         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32897         [BZ #7101]
32898         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32899         when an incomplete long option is used.
32900         * posix/tst-getopt_long1.c: New file.
32901         * posix/Makefile (tests): Add tst-getopt_long1.
32903         [BZ #10138]
32904         * scripts/config.guess: Update from autoconf-2.68.
32905         * scripts/config.sub: Likewise.
32907         [BZ #10157]
32908         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32909         tests into ...
32910         (has_cpuclock): ...this.  New function.
32911         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32912         macro here based on has_cpuclock code.
32914         [BZ #10149]
32915         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32916         First byte (not low byte) is now always NUL.
32917         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32919         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32920         Use non-cancelable interfaces.
32922         [BZ #9809]
32923         * locale/iso-639.def: Add entry for Sorani.
32925         [BZ #11901]
32926         * include/stdlib.h: Move include protection to the right place.
32927         Define abort_msg_s.  Declare __abort_msg with it.
32928         * stdlib/abort.c (__abort_msg): Adjust type.
32929         * assert/assert.c (__assert_fail_base): New function.  Majority
32930         of code from __assert_fail.  Allocate memory for __abort_msg with
32931         mmap.
32932         (__assert_fail): Now call __assert_fail_base.
32933         * assert/assert-perr.c: Remove bulk of implementation.  Use
32934         __assert_fail_base.
32935         * include/assert.hL Declare __assert_fail_base.
32936         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32937         mmap.
32938         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32940 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32942         [BZ #11952]
32943         [BZ #12453]
32944         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32945         until all modules are registered in the DTV.
32946         * elf/Makefile: Add rules to build and run tst-tls19.
32947         * elf/tst-tls19.c: New file.
32948         * elf/tst-tls19mod1.c: New file.
32949         * elf/tst-tls19mod2.c: New file.
32950         * elf/tst-tls19mod3.c: New file.
32951         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32953         [BZ #12083]
32954         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32955         correctly.
32957         [BZ #12601]
32958         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32959         two-byte sequence errors.
32960         * iconvdata/Makefile (tests): Add bug-iconv8.
32961         * iconvdata/bug-iconv8.c: New file.
32963         [BZ #12626]
32964         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32965         buf2 definition.
32967         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32969         [BZ #12432]
32970         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32971         (dummy_getcfa): New function.
32972         (init): Get _Unwind_GetCFA address, use dummy if not found.
32973         (backtrace_helper): In recursion check, also check whether CFA changes.
32974         (__backtrace): Completely initialize arg.
32976         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32977         storing incomplete byte sequence in state object.  Avoid testing for
32978         guaranteed too small input if we know there is enough data available.
32980 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32982         * Makeconfig (+link-pie): Indent.
32983         * Rules (binaries-pie): Define if $(have-fpie) and
32984         $(build-shared).
32985         (binaries-shared): Also filter out $(binaries-pie).
32986         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32987         * nscd/Makefile (others-pie): Add nscd.
32988         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32989         ($(objpfx)nscd): Remove command override.
32990         * login/Makefile (others-pie): Add pt_chown.
32991         ($(objpfx)pt_chown): Remove command override.
32992         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32993         remove command overrides.
32995 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32997         * libio/tst_putwc.c: Fix error messages.
32999         [BZ #12724]
33000         * libio/fileops.c (_IO_new_file_close_it): Always flush when
33001         currently writing and seek to current position when not.
33002         * libio/Makefile (tests): Add bug-fclose1.
33003         * libio/bug-fclose1.c: New file.
33005 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
33007         [BZ #12511]
33008         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33009         don't set DF_1_NODELETE here.
33010         (do_lookup_x): When entering new entry test for copy relocation
33011         and if necessary set DF_1_NODELETE flag.
33012         * elf/tst-unique4.cc: New file.
33013         * elf/tst-unique4.h: New file.
33014         * elf/tst-unique4lib.cc: New file.
33015         * elf/Makefile: Add rules to build and run tst-unique4.
33016         Patch by Piotr Bury <pbury@goahead.com>.
33018 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
33020         [BZ #12052]
33021         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33023         [BZ #12625]
33024         * misc/mntent_r.c (addmntent): Flush the stream after the output
33026         [BZ #12393]
33027         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33028         (is_trusted_path_normalize): Skip initial colon.  Append slash
33029         to empty buffer.  Duplicate is_trusted_path code but allow
33030         constructed patch to be prefix.
33031         (is_dst): Allow $ORIGIN followed by /.
33032         (_dl_dst_substitute): Correct clearing of check_for_trusted.
33033         Correct testing of result of is_trusted_path_normalize
33034         (decompose_rpath): Fix warning.
33036 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
33038         [BZ #11257]
33039         * grp/initgroups.c (internal_getgrouplist): When we found the service
33040         list through the initgroups entry in nsswitch.conf do not always
33041         continue on a successful lookup.  Don't always use the
33042         __nss_group_database value if it is set.
33043         * nss/nsswitch.conf (initgroups): Change action for successful db
33044         lookup to continue for compatibility.
33046 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
33048         [BZ #11532]
33049         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33050         and CP774 modules.
33051         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33052         and CP774 modules.
33053         * iconvdata/tst-tables.sh: Likewise.
33054         * iconvdata/cp770.c: New file.
33055         * iconvdata/cp771.c: New file.
33056         * iconvdata/cp772.c: New file.
33057         * iconvdata/cp773.c: New file.
33058         * iconvdata/cp774.c: New file.
33059         * iconvdata/testdata/CP770: New file.
33060         * iconvdata/testdata/CP770..UTF8: New file.
33061         * iconvdata/testdata/CP771: New file.
33062         * iconvdata/testdata/CP771..UTF8: New file.
33063         * iconvdata/testdata/CP772: New file.
33064         * iconvdata/testdata/CP772..UTF8: New file.
33065         * iconvdata/testdata/CP773: New file.
33066         * iconvdata/testdata/CP773..UTF8: New file.
33067         * iconvdata/testdata/CP774: New file.
33068         * iconvdata/testdata/CP774..UTF8: New file.
33070         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33071         END CHARMAP line.
33072         * iconvdata/gen-8bit-gap.sh: Likewise.
33073         * iconvdata/gen-8bit.sh: Likewise.
33075         * locale/iso-639.def: Add ary entry.
33077         [BZ #11258]
33078         * locale/C-translit.h.in: Add U20A1 transliteration.
33080         [BZ #12178]
33081         * locale/iso-639.def: Add wae entry.
33082         Patch by Kevin Bortis <bortis@translate-wae.ch>.
33084         [BZ #12545]
33085         * locale/programs/localedef.c (construct_output_path): Use ssize_t
33086         for n.
33088         [BZ #12711]
33089         * locale/C-translit.h.in: Add entry for U20B9.
33090         Patch by pravin.d.s@gmail.com.
33092 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
33094         [BZ #12713]
33095         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33096         ENAMETOOLONG use generic getcwd.
33097         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
33098         in rtld.  Use *stat64.
33099         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33100         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33101         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33102         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33103         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33104         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33105         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33106         __fstatat64 macros.
33107         * include/dirent.h: Add libc_hidden_proto for rewinddir.
33108         * dirent/rewinddir.c: Add libc_hidden_def.
33109         * sysdeps/mach/hurd/rewinddir.c: Likewise.
33110         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
33112         * include/dirent.h (__alloc_dir): Add flags parameter.
33113         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33114         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33115         __alloc_dir.
33116         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
33117         from fdopendir if O_CLOEXEC is already set.
33119 2011-03-15  Alan Modra  <amodra@gmail.com>
33121         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33122         l_tls_firstbyte_offset non-zero.  Save padding offset in
33123         l_tls_firstbyte_offset for later use.
33124         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33125         freeing static tls block.
33127 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
33129         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33130         where #ifdef was intended.  The intent is to prevent ARG_MAX from
33131         being defined by the kernel headers.
33133 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
33135         [BZ #12734]
33136         * resolv/resolv.h: Define RES_NOTLDQUERY.
33137         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33138         no-tld-query and set RES_NOTLDQUERY.
33139         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33140         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33141         modern BIND to search name as TLD unless forbidden.
33143 2011-05-07  Petr Baudis  <pasky@suse.cz>
33144             Ulrich Drepper  <drepper@gmail.com>
33146         [BZ #12393]
33147         * elf/dl-load.c (fillin_rpath): Move trusted path check...
33148         (is_trusted_path): ...to here.
33149         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33150         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33151         using is_trusted_path_normalize() in setuid scripts.
33153 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33155         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33156         __BEGIN/__END_DECLS.
33158 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
33160         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33161         NSS_STATUS_NOTFOUND if no record was found.
33163 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33165         * sunrpc/Makefile (headers): Add rpc/netdb.h.
33166         (headers-not-in-tirpc): Remove rpc/netdb.h
33167         * resolv/netdb.h: Revert last change.
33169 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33171         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33172         circular dependency between libgcc.a and libc.a.
33174 2011-05-05  Andreas Schwab  <schwab@redhat.com>
33176         * resolv/netdb.h: Don't include <rpc/netdb.h>.
33177         * nis/Makefile: Don't install rpcsvc/*.
33178         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33179         instead of <rpc/types.h>.
33180         (MAXHOSTNAMELEN): Define.
33182 2011-05-03  Andreas Schwab  <schwab@redhat.com>
33184         * elf/ldconfig.c (add_dir): Don't crash on empty path.
33186 2011-04-28  Maciej Babinski  <mbabinski@google.com>
33188         [BZ #12714]
33189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33190         gethostbyname4_r when IPv6 results are possible.
33192 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
33194         [BZ #12723]
33195         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33196         _PC_PIPE_BUF handling.
33198 2011-04-30  Bruno Haible  <bruno@clisp.org>
33200         [BZ #12717]
33201         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33202         * resolv/netdb.h (getnameinfo): Change type of flags parameter
33203         to 'int'.
33204         * inet/getnameinfo.c (getnameinfo): Likewise.
33206 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
33208         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33209         to groups setting in database lookup.
33210         * nss/nsswitch.conf: Add initgroups entry.
33212 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
33214         [BZ #12685]
33215         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33216         mode string.
33217         Patch by Eric Blake <eblake@redhat.com>.
33219 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
33221         * sunrpc/Makefile (need-export-routines): Add svc_run.
33222         (routines): Remove svc_run.
33223         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33224         * sunrpc/clnt_perr.c (clnt_perrno): Export.
33225         * sunrpc/svc_run.c (svc_run): Likewise.
33226         * sunrpc/svc_udp.c (svcudp_create): Likewise.
33228 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
33230         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33231         problem in reallocation in last patch.
33233 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
33235         * sunrpc/Makefile: Move inclusion of Rules.
33237 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33239         * nss/nss_files/files-initgroups.c: New file.
33240         * nss/Makefile (libnss_files-routines): Add files-initgroups.
33241         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33242         _nss_files_initgroups_dyn.
33244 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
33246         * elf/elf.h (R_ARM_IRELATIVE): Define.
33248 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
33250         * po/ru.po: Update from translation team.
33252 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33254         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33255         dependencies.
33257 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
33259         [BZ #12653]
33260         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33261         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33262         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33263         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33264         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33266 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
33268         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33269         differing bytes.
33270         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33271         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33272         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33274 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
33276         [BZ #12420]
33277         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33278         storing it.
33279         * stdlib/bug-getcontext.c: New file.
33280         * stdlib/Makefile: Add rules to build and run bug-getcontext.
33282 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33284         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33285         instructions into .machine "z9-109".
33286         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33287         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33289 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33291         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33292         between environment variables and auxiliary vector.
33294 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
33296         * Makefile: Add rules to build linkobj/libc.so.
33297         * include/libc-symbols.h: Define libc_hidden_nolink.
33298         * include/rpc/auth.h: Mark functions which are to be hidden.
33299         * include/rpc/auth_des.h: Likewise.
33300         * include/rpc/auth_unix.h: Likewise.
33301         * include/rpc/clnt.h: Likewise.
33302         * include/rpc/des_crypt.h: Likewise.
33303         * include/rpc/key_prot.h: Likewise.
33304         * include/rpc/pmap_clnt.h: Likewise.
33305         * include/rpc/pmap_prot.h: Likewise.
33306         * include/rpc/pmap_rmt.h: Likewise.
33307         * include/rpc/rpc_msg.h: Likewise.
33308         * include/rpc/svc.h: Likewise.
33309         * include/rpc/svc_auth.h: Likewise.
33310         * include/rpc/xdr.h: Likewise.
33311         * nis/Makefile: Link all DSOs against linkobj/libc.so.
33312         * nss/Makefile: Likewise.
33313         * sunrpc/Makefile: Don't install headers.  Build library with normal
33314         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
33315         * sunrpc/auth_des.c: Hide exported symbols by default, export some
33316         for the compat linking library.  Remove use of INTDEF/INTUSE.
33317         * sunrpc/auth_none.c: Likewise.
33318         * sunrpc/auth_unix.c: Likewise.
33319         * sunrpc/authdes_prot.c: Likewise.
33320         * sunrpc/authuxprot.c: Likewise.
33321         * sunrpc/clnt_gen.c: Likewise.
33322         * sunrpc/clnt_perr.c: Likewise.
33323         * sunrpc/clnt_raw.c: Likewise.
33324         * sunrpc/clnt_simp.c: Likewise.
33325         * sunrpc/clnt_tcp.c: Likewise.
33326         * sunrpc/clnt_udp.c: Likewise.
33327         * sunrpc/clnt_unix.c: Likewise.
33328         * sunrpc/des_crypt.c: Likewise.
33329         * sunrpc/des_soft.c: Likewise.
33330         * sunrpc/get_myaddr.c: Likewise.
33331         * sunrpc/key_call.c: Likewise.
33332         * sunrpc/key_prot.c: Likewise.
33333         * sunrpc/netname.c: Likewise.
33334         * sunrpc/pm_getmaps.c: Likewise.
33335         * sunrpc/pm_getport.c: Likewise.
33336         * sunrpc/pmap_clnt.c: Likewise.
33337         * sunrpc/pmap_prot.c: Likewise.
33338         * sunrpc/pmap_prot2.c: Likewise.
33339         * sunrpc/pmap_rmt.c: Likewise.
33340         * sunrpc/publickey.c: Likewise.
33341         * sunrpc/rpc_cmsg.c: Likewise.
33342         * sunrpc/rpc_common.c: Likewise.
33343         * sunrpc/rpc_dtable.c: Likewise.
33344         * sunrpc/rpc_prot.c: Likewise.
33345         * sunrpc/rpc_thread.c: Likewise.
33346         * sunrpc/rtime.c: Likewise.
33347         * sunrpc/svc.c: Likewise.
33348         * sunrpc/svc_auth.c: Likewise.
33349         * sunrpc/svc_authux.c: Likewise.
33350         * sunrpc/svc_raw.c: Likewise.
33351         * sunrpc/svc_run.c: Likewise.
33352         * sunrpc/svc_simple.c: Likewise.
33353         * sunrpc/svc_tcp.c: Likewise.
33354         * sunrpc/svc_udp.c: Likewise.
33355         * sunrpc/svc_unix.c: Likewise.
33356         * sunrpc/svcauth_des.c: Likewise.
33357         * sunrpc/xcrypt.c: Likewise.
33358         * sunrpc/xdr.c: Likewise.
33359         * sunrpc/xdr_array.c: Likewise.
33360         * sunrpc/xdr_float.c: Likewise.
33361         * sunrpc/xdr_intXX_t.c: Likewise.
33362         * sunrpc/xdr_mem.c: Likewise.
33363         * sunrpc/xdr_rec.c: Likewise.
33364         * sunrpc/xdr_ref.c: Likewise.
33365         * sunrpc/xdr_sizeof.c: Likewise.
33366         * sunrpc/xdr_stdio.c: Likewise.
33368 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
33370         [BZ #12650]
33371         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33372         * sysdeps/ia64/dl-tls.h: Likewise.
33373         * sysdeps/powerpc/dl-tls.h: Likewise.
33374         * sysdeps/s390/dl-tls.h: Likewise.
33375         * sysdeps/sh/dl-tls.h: Likewise.
33376         * sysdeps/sparc/dl-tls.h: Likewise.
33377         * sysdeps/x86_64/dl-tls.h: Likewise.
33378         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33380 2011-03-14  Andreas Schwab  <schwab@redhat.com>
33382         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33383         rpath element also skip the following colon.
33384         (expand_dynamic_string_token): Add is_path parameter and pass
33385         down to DL_DST_REQUIRED and _dl_dst_substitute.
33386         (decompose_rpath): Call expand_dynamic_string_token with
33387         non-zero is_path.  Ignore empty rpaths.
33388         (_dl_map_object_from_fd): Call expand_dynamic_string_token
33389         with zero is_path.
33391 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
33393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33394         Make cancelable.
33396 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
33398         [BZ #12655]
33399         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33400         Patch by Filipe David Manana <fdmanana@apache.org>.
33402 2011-04-07  Andreas Schwab  <schwab@redhat.com>
33404         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33405         Maintain aligned stack.
33406         (CHECK_RSP): Remove unused macro.
33408 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
33410         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33411         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33413 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
33415         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33417         * include/features.h: Mention __USE_XOPEN2K8 in comment.
33419 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
33421         [BZ #12518]
33422         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33423         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33424         * sysdeps/x86_64/memmove.c: New file.
33425         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33426         (memcpy): Renamed to ...
33427         (__new_memcpy): This.
33428         (memcpy): Provide GLIBC_2_14 memcpy.
33429         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33430         (memcpy): Provide GLIBC_2_2_5 memcpy.
33432 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33434         [BZ #12631]
33435         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33437 2011-03-30  Andreas Schwab  <schwab@redhat.com>
33439         * misc/syncfs.c: New file.
33440         * misc/Makefile (routines): Add syncfs.
33441         * posix/unistd.h: Declare syncfs.
33442         * sysdeps/unix/syscalls.list: Add syncfs.
33444 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33446         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33447         open_by_handle_at.
33448         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33449         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33450         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33451         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33452         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33453         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33454         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33456 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33458         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33459         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33460         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33461         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33462         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33463         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33464         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33466         * io/Makefile: Compile fallocate.c, fallocate64.c, and
33467         sync_file_range.c with -fexceptions.
33468         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33469         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33470         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33471         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33472         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33473         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33474         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33475         sync_file_range as cancellation point
33476         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
33477         now a wrapper around __call_sync_file_range with cancellation handling.
33478         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33479         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
33480         function name to __call_sync_file_range.
33481         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33482         Add call_sync_file_range.
33484 2011-04-01  Andreas Schwab  <schwab@redhat.com>
33486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33487         bits/timex.h.
33489 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
33491         * iconv/iconv.h: Fix typo in comment.
33492         * io/fcntl.h: Likewise.
33493         * libio/stdio.h: Likewise.
33494         * posix/spawn.h: Likewise.
33495         * posix/unistd.h: Likewise.
33496         * stdlib/stdlib.h: Likewise.
33497         * time/time.h: Likewise.
33498         * wcsmbs/wchar.h: Likewise.
33500         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33501         open_by_handle): Add.
33502         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33503         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
33504         Augment a few comments.
33505         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33506         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33507         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33508         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33509         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33510         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33511         open_by_handle.
33513         * io/fcntl.h (AT_EMPTY_PATH): Define.
33515 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
33517         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33518         * sysdeps/unix/sysv/linux/bits/time.h: New file.
33519         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33520         to...
33521         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
33522         * Versions.def: Add GLIBC_2.14.
33523         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33524         Export.
33526 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
33528         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33529         round counter.
33530         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33532 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33534         [BZ #12597]
33535         * string/test-strncmp.c (do_page_test): New function.
33536         (check2): Likewise.
33537         (test_main): Call check2.
33538         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33540 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
33542         [BZ #12587]
33543         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33544         Handle cache information in CPU leaf 4.
33545         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33547 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33549         [BZ #12583]
33550         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33551         character representation.
33552         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33554 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33556         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33557         END(__isnan) to END(__isnanf) to match function entry point/label
33558         EALIGN(__isnanf,...).
33560 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33562         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33564 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33566         [BZ #12510]
33567         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33568         copy from the symbol referenced in the relocation to initialize the
33569         used variable.
33570         Patch by Piotr Bury <pbury@goahead.com>.
33571         * elf/Makefile: Add rules to build and tst-unique3.
33572         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33573         * elf/tst-unique3.cc: New file.
33574         * elf/tst-unique3.h: New file.
33575         * elf/tst-unique3lib.cc: New file.
33576         * elf/tst-unique3lib2.cc: New file.
33578         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33580 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33582         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33583         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33584         to _start.
33586 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33588         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33589         to-be-loaded object along a path to loader is ld.so.
33591 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33592             Ulrich Drepper  <drepper@gmail.com>
33594         * sysdeps/x86_64/memset.S: After aligning destination, code
33595         branches to different locations depending on the value of
33596         misalignment, when multiarch is enabled. Fix this.
33598 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33600         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33601         Set _x86_64_preferred_memory_instruction for AMD processsors.
33602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33603         Set bit_Prefer_SSE_for_memop for AMD processors.
33605 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33607         * libio/fmemopen.c (fmemopen): Optimize a bit.
33609 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33611         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33613 2011-03-03  Roland McGrath  <roland@redhat.com>
33615         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33617 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33619         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33620         __bzero_ultra1 instead of __memset_ultra1.
33622 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33623             Ulrich Drepper  <drepper@gmail.com>
33625         [BZ #12509]
33626         * include/link.h (struct link_map): Add l_orig_initfini.
33627         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33628         returning unsuccessfully.
33629         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33630         close of a file loaded at startup, restore the original l_initfini
33631         list.
33632         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33633         list, store the pointer.
33634         * elf/Makefile ($(objpfx)noload-mem): New rule.
33635         (noload-ENV): Define.
33636         (tests): Add $(objpfx)noload-mem.
33637         * elf/noload.c: Include <memcheck.h>.
33638         (main): Call mtrace.  Close all opened handles.
33640 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33642         [BZ #12454]
33643         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33644         dependencies are missing.
33646 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33648         Fix __if_freereq crash: Unlike the generic version which uses free,
33649         Hurd needs munmap.
33650         * sysdeps/mach/hurd/ifreq.h: New file.
33652 2011-01-27  Petr Baudis  <pasky@suse.cz>
33653             Ulrich Drepper  <drepper@gmail.com>
33655         [BZ 12445]#
33656         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33657         to extend_alloca().
33658         * stdio-common/bug23.c: New file.
33659         * stdio-common/Makefile (tests): Add bug23.
33661 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33662             Ulrich Drepper  <drepper@gmail.com>
33664         [BZ #12489]
33665         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33666         before performing relro protection.  At old place add assertion
33667         to make sure nothing changed.
33669 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33670             Glauber de Oliveira Costa  <glommer@gmail.com>
33672         * elf/elf.h: Add new ARM TLS relocs.
33674 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33677         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33678         cast from r3.
33679         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33680         'tests' variable.
33681         * sysdeps/wordsize-64/tst-writev.c: New file.
33683 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33685         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33686         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33687         insns in _dl_start to prevent a TOC reference before relocs are
33688         resolved.
33690 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33692         [BZ #12469]
33693         * Makeconfig: Remove RANLIB definition.
33694         * Makerules: Don't use RANLIB.
33695         * aclocal.m4: Remove ranlib test.
33696         * configure.in: No need to check for ranlib.
33697         * elf/rtld-Rules: Don't use RANLIB.
33699 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33701         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33702         protection macro.
33703         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33704         inclusion protection macro.
33706         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33707         SIGRTMIN and SIGRTMAX and print information in that case only when
33708         SIGRTMIN is defined.
33710 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33712         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33713         arginfo fn returning -1.
33715         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33716         and thousands string is zero terminated.
33718 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33720         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33721         sysdeps/unix/sysv/linux/bits/socket.h.
33723 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33725         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33726         (__CPU_COUNT): Remove old macros.
33727         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33728         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33729         (__CPU_ALLOC, __CPU_FREE): Add macros.
33730         (__sched_cpualloc, __sched_cpufree): Add declarations.
33732 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33734         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33735         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33736         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33737         (readdhstai): Return value of addhstaiX call.
33738         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33739         (addgrbyX): Return value returned by cache_addgr.
33740         (readdgrbyname): Return value returned by addgrbyX.
33741         (readdgrbygid): Likewise.
33742         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33743         (addpwbyX): Return value returned by cache_addpw.
33744         (readdpwbyname): Return value returned by addhstbyX.
33745         (readdpwbyuid): Likewise.
33746         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33747         (addservbyX): Return value returned by cache_addserv.
33748         (readdservbyname): Return value returned by addservbyX:
33749         (readdservbyport): Likewise.
33750         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33751         (addhstbyX): Return value returned by cache_addhst.
33752         (readdhstbyname): Return value returned by addhstbyX.
33753         (readdhstbyaddr): Likewise.
33754         (readdhstbynamev6): Likewise.
33755         (readdhstbyaddrv6): Likewise.
33756         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33757         (readdinitgroups): Return value returned by addinitgroupsX.
33758         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33759         (prune_cache): Keep track of timeout value of re-added entries.
33760         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33761         * nscd/nscd.h: Adjust prototypes of readd* functions.
33763 2011-02-04  Roland McGrath  <roland@redhat.com>
33765         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33766         (nis_stats): Likewise.
33767         * nis/nis_modify.c (nis_modify): Likewise.
33768         * nis/nis_remove.c (nis_remove): Likewise.
33769         * nis/nis_add.c (nis_add): Likewise.
33771         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33773         * posix/fnmatch_loop.c: Add some consts.
33775         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33777 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33779         [BZ #12460]
33780         * config.make.in (config-cflags-novzeroupper): Define.
33781         * configure.in: Substitute libc_cv_cc_novzeroupper.
33782         * elf/Makefile (AVX-CFLAGS): Define.
33783         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33784         (CFLAGS-tst-auditmod4a.c): Likewise.
33785         (CFLAGS-tst-auditmod4b.c): Likewise.
33786         (CFLAGS-tst-auditmod6b.c): Likewise.
33787         (CFLAGS-tst-auditmod6c.c): Likewise.
33788         (CFLAGS-tst-auditmod7b.c): Likewise.
33789         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33791 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33793         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33794         function to the callback.
33795         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33797 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33799         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33800         of errno.
33802 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33804         [BZ #11724]
33805         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33806         of constructors.
33807         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33808         of destructors.
33809         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33811         [BZ #11724]
33812         * elf/Makefile: Add rules to build and run new test.
33813         * elf/tst-initorder.c: New file.
33814         * elf/tst-initorder.exp: New file.
33815         * elf/tst-initordera1.c: New file.
33816         * elf/tst-initordera2.c: New file.
33817         * elf/tst-initordera3.c: New file.
33818         * elf/tst-initordera4.c: New file.
33819         * elf/tst-initorderb1.c: New file.
33820         * elf/tst-initorderb2.c: New file.
33821         * elf/tst-order-a1.c: New file.
33822         * elf/tst-order-a2.c: New file.
33823         * elf/tst-order-a3.c: New file.
33824         * elf/tst-order-a4.c: New file.
33825         * elf/tst-order-b1.c: New file.
33826         * elf/tst-order-b2.c: New file.
33827         * elf/tst-order-main.c: New file.
33828         New test case by George Gensure <werkt0@gmail.com>.
33830 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33833         decoding ACE if AI_CANONIDN.
33835 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33837         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33839 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33841         * version.h (RELEASE): Bump for 2.13 release.
33842         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33844         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33846         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33847         MADV_NOHUGEPAGE.
33848         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33849         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33850         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33851         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33852         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33853         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33855         * posix/getconf.c: Update copyright year.
33856         * catgets/gencat.c: Likewise.
33857         * csu/version.c: Likewise.
33858         * debug/catchsegv.sh: Likewise.
33859         * debug/xtrace.sh: Likewise.
33860         * elf/ldconfig.c: Likewise.
33861         * elf/ldd.bash.in: Likewise.
33862         * elf/sprof.c (print_version): Likewise.
33863         * iconv/iconv_prog.c: Likewise.
33864         * iconv/iconvconfig.c: Likewise.
33865         * locale/programs/locale.c: Likewise.
33866         * locale/programs/localedef.c: Likewise.
33867         * malloc/memusage.sh: Likewise.
33868         * malloc/mtrace.pl: Likewise.
33869         * nscd/nscd.c (print_version): Likewise.
33870         * nss/getent.c: Likewise.
33872         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33873         PF_CAIF, and PF_ALG.
33874         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33876 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33878         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33879         (modules-names): Use them.
33880         (ifunc-test-modules, ifunc-pie-tests): Define.
33881         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33882         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33883         (test-extras): Likewise.
33884         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33885         $(compile-command.c).
33886         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33887         (all-built-dso): Define.
33888         (check-textrel.out, check-execstack.out): Depend on it.
33890         * configure.in: Don't override --enable-multi-arch.
33892 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33894         [BZ #6812]
33895         * nscd/hstcache.c (tryagain): Define.
33896         (cache_addhst): Return tryagain not notfound for temporary errors.
33897         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33898         failed.
33900 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33902         [BZ #10563]
33903         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33904         to make the syscall.
33905         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33907         [BZ #12378]
33908         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33909         and fall back to matching as normal character if the string ends before
33910         the matching ']' is found.  This is what POSIX requires.
33911         * posix/testfnm.c: Adjust test result.
33912         * posix/globtest.sh: Adjust test result.  Add new test.
33913         * posix/tst-fnmatch.input: Likewise.
33914         * posix/tst-fnmatch2.c: Add new test.
33916 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33918         * elf/Makefile (check-execstack): Revert last change.  Depend on
33919         check-execstack.h.
33920         (check-execstack.h): New target.
33921         (generated): Add check-execstack.h.
33922         * elf/check-execstack.c: Include "check-execstack.h".
33923         (main): Revert last change.
33924         (handle_file): Return zero if GNU_STACK is absent and
33925         DEFAULT_STACK_PERMS doesn't include PF_X.
33927 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33929         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33930         in child fails because the descriptor is already closed.
33931         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33932         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33933         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33935         [BZ #12397]
33936         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33937         syscall.
33939         [BZ #10484]
33940         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33941         temporary buffer used to handle multi lookups locally.
33942         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33944 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33946         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33947         loader is ld.so.
33949 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33951         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33952         alignment for SSE2.
33954 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33956         [BZ #12394]
33957         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33958         characters.  When rounding increased number of integer digits recompute
33959         number of groups.
33960         * stdio-common/tst-grouping.c: New file.
33961         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33963 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33965         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33966         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33968         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33969         void.
33970         * bits/select.h: Likewise.
33972 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33974         * po/ja.po: Update from translation team.
33976 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33978         [BZ #11155]
33979         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33980         implementation just like for lxstat, fxstatat, et al.
33982 2010-12-27  Jim Meyering  <meyering@redhat.com>
33984         [BZ #12348]
33985         * posix/regexec.c (build_trtable): Return failure indication upon
33986         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33988 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33990         [BZ #12201]
33991         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33992         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33993         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33994         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33996         [BZ #12207]
33997         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33999         [BZ #12204]
34000         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34001         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34003 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
34005         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34006         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34007         script has SORT_BY_INIT_PRIORITY.
34008         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34009         NO_CTORS_DTORS_SECTIONS is defined.
34010         * elf/soinit.c: Likewise.
34011         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34012         NO_CTORS_DTORS_SECTIONS is defined.
34013         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34014         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34015         * sysdeps/sh/init-first.c: Likewise.
34016         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34018 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
34020         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34021         always use the slow path.
34023 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
34025         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34026         similar rule which adds the sysdep directories to the header search in
34027         order to pick up the correct platform stackinfo.h.
34028         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34029         perform test if it is, otherwise return successfully without testing.
34030         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34031         DEFAULT_STACK_PERMS define in stackinfo.h.
34032         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34033         defined in stackinfo.h.
34034         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34035         DEFAULT_STACK_PERMS defined in stackinfo.h.
34036         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34037         * sysdeps/ia64/stackinfo.h: Likewise.
34038         * sysdeps/s390/stackinfo.h: Likewise.
34039         * sysdeps/sh/stackinfo.h: Likewise.
34040         * sysdeps/sparc/stackinfo.h: Likewise.
34041         * sysdeps/x86_64/stackinfo.h: Likewise.
34042         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34043         PF_X for powerpc64.  Retain PF_X for powerpc32.
34045 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
34047         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34048         accurately.
34049         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34050         GETDENTS_64BIT_ALIGNED.
34052 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
34054         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34056 2010-12-10  Andreas Schwab  <schwab@redhat.com>
34058         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34059         _GNU_SOURCE.
34061         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34062         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34063         Remove __restrict.
34064         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34065         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34067 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
34069         [BZ #11655]
34070         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34071         are initialized.
34073 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
34075         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34077 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
34079         * po/it.po: Update from translation team.
34081 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
34083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34084         unused codes.
34086 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
34088         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34090 2010-11-24  Andreas Schwab  <schwab@redhat.com>
34092         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34093         specially.
34094         (gaih_getanswer_slice): Likewise.
34096 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
34098         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34100 2010-05-31  Petr Baudis  <pasky@suse.cz>
34102         [BZ #11149]
34103         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34104         silently even in the chroot mode.
34106 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
34108         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34109         last patch a bit.  Pretty printing
34111 2010-05-31  Petr Baudis <pasky@suse.cz>
34113         [BZ #10085]
34114         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34115         initialization of skip_initgroups_dyn.
34117 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
34119         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34120         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34122 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
34124         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34126 2010-11-11  Andreas Schwab  <schwab@redhat.com>
34128         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34129         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34130         (tst-fnmatch-ENV): Set MALLOC_TRACE.
34131         ($(objpfx)tst-fnmatch-mem): New rule.
34132         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34133         * posix/tst-fnmatch.c (main): Call mtrace.
34135 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
34137         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34138         Support Intel processor model 6 and model 0x2c.
34140 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
34142         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34143           signed comparison.
34145 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
34147         [BZ #12205]
34148         * string/test-strncasecmp.c (check_result): New function.
34149         (do_one_test): Use it.
34150         (check1): New function.
34151         (test_main): Use it.
34152         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34153         Support strcasecmp and strncasecmp.
34155 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
34157         [BZ #12194]
34158         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34159         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34161 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34163         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34164         IFUNC support.
34165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34166         memset-x86-64.
34167         * sysdeps/x86_64/multiarch/bzero.S: New file.
34168         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34169         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34170         * sysdeps/x86_64/multiarch/memset.S: New file.
34171         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34173         Set bit_Prefer_SSE_for_memop for Intel processors.
34174         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34175         Define.
34176         (index_Prefer_SSE_for_memop): Define.
34177         (HAS_PREFER_SSE_FOR_MEMOP): Define.
34179 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
34181         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34182         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34184 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
34186         [BZ #12191]
34187         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34188         (__x86_64_raw_data_cache_size_half): Likewise.
34189         (__x86_64_raw_shared_cache_size): Likewise.
34190         (__x86_64_raw_shared_cache_size_half): Likewise.
34192         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34193         (__x86_64_raw_data_cache_size_half): Likewise.
34194         (__x86_64_raw_shared_cache_size): Likewise.
34195         (__x86_64_raw_shared_cache_size_half): Likewise.
34196         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34197         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34198         and __x86_64_raw_shared_cache_size_half.  Round
34199         __x86_64_data_cache_size_half, __x86_64_data_cache_size
34200         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34201         to multiple of 256 bytes.
34203 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
34205         [BZ #12167]
34206         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34207         of inacessible symlinks.  Verify result of symlink before returning it.
34208         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34209         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34211 2010-10-28  Erich Ritz  <erichritz@gmail.com>
34213         * math/math.h (isinf): Fix typo in comment.
34215 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
34217         * po/da.po: Update from translation team.
34219 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
34221         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34222         is added to the list.
34224 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34225             Ulrich Drepper  <drepper@gmail.com>
34227         * elf/dl-object.c (_dl_new_object): Don't append the new object to
34228         the global list here.  Move code to...
34229         (_dl_add_to_namespace_list): ...here.  New function.
34230         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34231         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34232         * elf/dl-load.c (lose): Don't remove the element from the list.
34233         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34234         (_dl_map_object): Likewise.
34236 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
34238         [BZ #12159]
34239         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34240         into all bytes of SSE register.
34241         Patch by Richard Li <richardpku@gmail.com>.
34243 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
34245         [BZ #12140]
34246         * malloc/malloc.c (_int_free): Fill correct number of bytes when
34247         perturbing.
34249 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
34251         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34252         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34253         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34254         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34256         submachine.
34257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34259 2010-10-22  Andreas Schwab  <schwab@redhat.com>
34261         * include/dlfcn.h (__RTLD_SECURE): Define.
34262         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
34263         mode & __RTLD_SECURE instead.
34264         (open_path): Rename preloaded parameter to secure.
34265         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34266         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34267         * elf/dl-deps.c (openaux): Likewise.
34268         * elf/rtld.c (struct map_args): Remove is_preloaded.
34269         (map_doit): Don't use it.
34270         (dl_main): Likewise.
34271         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34272         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34274 2010-09-09  Andreas Schwab  <schwab@redhat.com>
34276         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34277         (sysd-rules-targets): Remove duplicates.
34278         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34279         rtld-%.$o dependency.
34281 2010-10-18  Andreas Schwab  <schwab@redhat.com>
34283         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34284         _dl_map_object do it.
34286 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
34288         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34289         fast fma builtins, define the macros in the C99 standard.
34290         (FP_FAST_FMAF): Likewise.
34291         (FP_FAST_FMAL): Likewise.
34292         * sysdeps/x86_64/bits/mathdef.h: Likewise.
34294         * bits/mathdef.h: Update copyright year.
34295         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34297 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
34299         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34300         builtins, define the macros in the C99 standard.
34301         (FP_FAST_FMAF): Likewise.
34302         (FP_FAST_FMAL): Likewise.
34303         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34304         multiply/add.
34305         (FP_FAST_FMAF): Likewise.
34307 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
34309         [BZ #3268]
34310         * math/libm-test.inc (fma_test): Some new testcases.
34311         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34313         y and infinite z.  Do multiplication by C already in long double.
34314         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34316         y and infinite z.  Do bitwise or of inexact bit into u.d.
34317         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34318         * sysdeps/i386/fpu/s_fmaf.S: Removed.
34319         * sysdeps/i386/fpu/s_fma.S: Removed.
34320         * sysdeps/i386/fpu/s_fmal.S: Removed.
34322 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
34324         [BZ #3268]
34325         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34327         computation is not scheduled after fetestexcept.  Fix value
34328         of minimum denormal long double.
34330 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
34332         [BZ #3268]
34333         * math/libm-test.inc (fma_test): Add some more tests.
34334         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34335         correctly.
34337 2010-10-15  Andreas Schwab  <schwab@redhat.com>
34339         * scripts/data/localplt-s390-linux-gnu.data: New file.
34340         * scripts/data/localplt-s390x-linux-gnu.data: New file.
34342 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
34344         [BZ #3268]
34345         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34346         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34347         instead of dbl-64.
34348         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34349         inlines.
34350         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34351         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34352         if one of x and y is very large and the other is subnormal.
34353         * sysdeps/s390/fpu/s_fmaf.c: New file.
34354         * sysdeps/s390/fpu/s_fma.c: New file.
34355         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34356         * sysdeps/powerpc/fpu/s_fma.S: New file.
34357         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34358         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34359         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34361 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
34363         [BZ #3268]
34364         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34365         fma tests.
34366         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34367         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34368         * sysdeps/i386/i686/multiarch/s_fma.c: Include
34369         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34370         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34371         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34372         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34374 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
34376         [BZ #12078]
34377         * posix/regcomp.c (parse_branch): One more memory leak plugged.
34378         * posix/bug-regex31.input: Add test case.
34380 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34382         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34383         * posix/bug-regex31.input: New file.
34385         [BZ #12078]
34386         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34387         (parse_sub_exp): Fix last change, use postorder.
34389         * posix/bug-regex31.c: New file.
34390         * posix/Makefile: Add rules to build and run bug-regex31.
34392         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34394         [BZ #12078]
34395         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34397         [BZ #12108]
34398         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34399         to have entries in sys_siglist.
34401         [BZ #12093]
34402         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34403         be NULL.
34405 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
34407         [BZ #3268]
34408         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34409         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34410         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34411         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34412         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34413         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34414         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34415         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34416         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34417         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34418         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34419         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34420         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34421         * math/ftestexcept.c (fetestexcept): Likewise.
34422         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34423         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34424         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34425         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34426         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34427         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34428         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34430 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
34432         [BZ #12107]
34433         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34434         newline.
34436 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34438         * string/bug-strstr1.c: New file.
34439         * string/Makefile: Add rules to build and run bug-strstr1.
34441 2010-10-05  Eric Blake  <eblake@redhat.com>
34443         [BZ #12092]
34444         * string/str-two-way.h (two_way_long_needle): Always clear memory
34445         when skipping input due to the shift table.
34447 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
34449         [BZ #12005]
34450         * malloc/mcheck.c: Handle large requests.
34452         [BZ #12077]
34453         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34454         for strncmp and strncasecmp.
34455         * string/stratcliff.c: Add tests for strcmp and strncmp.
34456         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34458 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34460         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34461         __set_fpscr.
34463 2010-09-30  Andreas Jaeger  <aj@suse.de>
34465         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34466         (CGROUP_SUPER_MAGIC): Define.
34467         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34468         Handle btrfs and cgroup file systems.
34469         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34470         Likewise.
34472 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
34474         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34475         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34477 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34479         [BZ #12067]
34480         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34481         trying to locate the ELF header.
34483 2010-09-27  Andreas Schwab  <schwab@redhat.com>
34485         [BZ #11611]
34486         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34487         Mask out sign-bit copies when constructing f_fsid.
34489 2010-09-24  Petr Baudis <pasky@suse.cz>
34491         * debug/stack_chk_fail_local.c: Add missing licence exception.
34492         * debug/warning-nop.c: Likewise.
34494 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
34496         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34497         implementing getdents64 using getdents syscall, set d_type if
34498         __ASSUME_GETDENTS32_D_TYPE.
34500 2010-09-16  Andreas Schwab  <schwab@redhat.com>
34502         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34503         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34505 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
34507         [BZ #12037]
34508         * posix/unistd.h: Undo change of feature selection for ftruncate from
34509         2010-01-11.
34511 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
34513         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34514         detection.
34516 2010-09-20  Andreas Schwab  <schwab@redhat.com>
34518         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34519         fanotify_mark.
34520         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34522 2010-09-14  Andreas Schwab  <schwab@redhat.com>
34524         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34525         variables after CHECK_SP call.
34526         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34528 2010-09-13  Andreas Schwab  <schwab@redhat.com>
34529             Ulrich Drepper  <drepper@redhat.com>
34531         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34532         re-relocationg ld.so.
34533         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34534         _dl_init_paths call.
34535         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
34536         here anymore.
34538 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
34540         * resolv/res_init.c (__res_vinit): Count the default server we added.
34542 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
34543             Ulrich Drepper  <drepper@redhat.com>
34545         [BZ #11968]
34546         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34547         (____longjmp_chk): Use %ebx for saving value across system call.
34548         Add unwind info.
34550 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34552         * manual/Makefile: Don't mix pattern rules with normal rules.
34554 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34556         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34557         operation.
34558         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34559         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34560         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34561         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34562         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34563         Likewise.
34565 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34567         [BZ #11979]
34568         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34569         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34571 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34573         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34574         * sysdeps/x86_64/addmul_1.S: Likewise.
34575         * sysdeps/x86_64/lshift.S: Likewise.
34576         * sysdeps/x86_64/mul_1.S: Likewise.
34577         * sysdeps/x86_64/rshift.S: Likewise.
34578         * sysdeps/x86_64/sub_n.S: Likewise.
34579         * sysdeps/x86_64/submul_1.S: Likewise.
34581 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34583         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34584         Define __sched_param instead of SCHED_* and sched_param when
34585         <bits/sched.h> is included with __need_schedparam defined.
34586         * bits/sched.h [__need_schedparam]
34587         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34588         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34589         (__defined_schedparam): Define to 1.
34590         (__sched_param): New structure, identical to sched_param.
34591         (__need_schedparam): Undefine.
34593 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34595         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34596         (epoll_create1): Declare.
34598         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34600 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34602         [BZ #7066]
34603         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34604         shifting retval into place.
34606 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34608         * nis/rpcsvc/nis.h: Update copyright notice.
34609         * nis/rpcsvc/nis.x: Likewise.
34610         * nis/rpcsvc/nis_callback.h: Likewise.
34611         * nis/rpcsvc/nis_callback.x: Likewise.
34612         * nis/rpcsvc/nis_object.x: Likewise.
34613         * nis/rpcsvc/nis_tags.h: Likewise.
34614         * nis/rpcsvc/yp.h: Likewise.
34615         * nis/rpcsvc/yp.x: Likewise.
34616         * nis/rpcsvc/ypupd.h: Likewise.
34617         * nis/yp_xdr.c: Likewise.
34618         * nis/ypupdate_xdr.c: Likewise.
34620         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34621         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34622         (pmap_getport): Use __libc_rpc_getport.
34623         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34624         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34625         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34627 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34630         fanotify_mark.
34632 2010-08-27  Roland McGrath  <roland@redhat.com>
34634         * sysdeps/i386/i686/multiarch/Makefile
34635         (CFLAGS-varshift.c): New variable.
34637 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34639         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34640         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34642         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34644         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34646 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34648         * sysdeps/x86_64/strlen.S: Unroll the loop.
34649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34650         strlen-sse2 strlen-sse2-bsf.
34651         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34652         __strlen_no_bsf if bit_Slow_BSF is set.
34653         (__strlen_sse42): Removed.
34654         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34655         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34657 2010-08-25  Roland McGrath  <roland@redhat.com>
34659         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34660         * sysdeps/x86_64/multiarch/varshift.c: New file.
34661         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34662         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34663         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34664         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34666 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34668         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34669         strlen-sse2 strlen-sse2-bsf.
34670         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34671         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34672         (__strlen_sse2): Removed.
34673         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34674         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34676         bit_Slow_BSF for Atom.
34677         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34678         (index_Slow_BSF): Define.
34679         (HAS_SLOW_BSF): Define.
34681 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34683         [BZ #10851]
34684         * resolv/res_init.c (__res_vinit): When no server address at all
34685         is given default to loopback.
34687 2010-08-24  Roland McGrath  <roland@redhat.com>
34689         * configure.in: Remove config-name.h generation.
34690         * configure: Regenerated.
34691         * config-name.in: File removed.
34692         * scripts/config-uname.sh: New file.
34693         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34694         ($(objdir)config-name.h): New target.
34696         * sunrpc/rpc_parse.h: Avoid nested comment.
34698 2010-08-24  Richard Henderson  <rth@redhat.com>
34699             Ulrich Drepper  <drepper@redhat.com>
34700             H.J. Lu  <hongjiu.lu@intel.com>
34702         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34704         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34705         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34706         _mm_alignr_epi8 with _mm_loadu_si128.
34707         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34708         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34709         (__m128i_shift_right): Removed.
34710         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34711         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34712         * sysdeps/x86_64/multiarch/varshift.h: New file.
34713         * sysdeps/x86_64/multiarch/varshift.S: New file.
34715 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34717         * configure.in: Move assembler checks to before sysdep dir checking.
34719 2010-08-20  Petr Baudis  <pasky@suse.cz>
34721         * LICENSES: Sync the sunrpc license.
34723 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34725         * sunrpc/auth_des.c: Update copyright notice once again.
34726         * sunrpc/auth_none.c: Likewise.
34727         * sunrpc/auth_unix.c: Likewise.
34728         * sunrpc/authdes_prot.c: Likewise.
34729         * sunrpc/authuxprot.c: Likewise.
34730         * sunrpc/bindrsvprt.c: Likewise.
34731         * sunrpc/clnt_gen.c: Likewise.
34732         * sunrpc/clnt_perr.c: Likewise.
34733         * sunrpc/clnt_raw.c: Likewise.
34734         * sunrpc/clnt_simp.c: Likewise.
34735         * sunrpc/clnt_tcp.c: Likewise.
34736         * sunrpc/clnt_udp.c: Likewise.
34737         * sunrpc/clnt_unix.c: Likewise.
34738         * sunrpc/des_crypt.c: Likewise.
34739         * sunrpc/des_soft.c: Likewise.
34740         * sunrpc/get_myaddr.c: Likewise.
34741         * sunrpc/getrpcport.c: Likewise.
34742         * sunrpc/key_call.c: Likewise.
34743         * sunrpc/key_prot.c: Likewise.
34744         * sunrpc/openchild.c: Likewise.
34745         * sunrpc/pm_getmaps.c: Likewise.
34746         * sunrpc/pm_getport.c: Likewise.
34747         * sunrpc/pmap_clnt.c: Likewise.
34748         * sunrpc/pmap_prot.c: Likewise.
34749         * sunrpc/pmap_prot2.c: Likewise.
34750         * sunrpc/pmap_rmt.c: Likewise.
34751         * sunrpc/rpc/auth.h: Likewise.
34752         * sunrpc/rpc/auth_unix.h: Likewise.
34753         * sunrpc/rpc/clnt.h: Likewise.
34754         * sunrpc/rpc/des_crypt.h: Likewise.
34755         * sunrpc/rpc/key_prot.h: Likewise.
34756         * sunrpc/rpc/netdb.h: Likewise.
34757         * sunrpc/rpc/pmap_clnt.h: Likewise.
34758         * sunrpc/rpc/pmap_prot.h: Likewise.
34759         * sunrpc/rpc/pmap_rmt.h: Likewise.
34760         * sunrpc/rpc/rpc.h: Likewise.
34761         * sunrpc/rpc/rpc_des.h: Likewise.
34762         * sunrpc/rpc/rpc_msg.h: Likewise.
34763         * sunrpc/rpc/svc.h: Likewise.
34764         * sunrpc/rpc/svc_auth.h: Likewise.
34765         * sunrpc/rpc/types.h: Likewise.
34766         * sunrpc/rpc/xdr.h: Likewise.
34767         * sunrpc/rpc_clntout.c: Likewise.
34768         * sunrpc/rpc_cmsg.c: Likewise.
34769         * sunrpc/rpc_common.c: Likewise.
34770         * sunrpc/rpc_cout.c: Likewise.
34771         * sunrpc/rpc_dtable.c: Likewise.
34772         * sunrpc/rpc_hout.c: Likewise.
34773         * sunrpc/rpc_main.c: Likewise.
34774         * sunrpc/rpc_parse.c: Likewise.
34775         * sunrpc/rpc_parse.h: Likewise.
34776         * sunrpc/rpc_prot.c: Likewise.
34777         * sunrpc/rpc_sample.c: Likewise.
34778         * sunrpc/rpc_scan.c: Likewise.
34779         * sunrpc/rpc_scan.h: Likewise.
34780         * sunrpc/rpc_svcout.c: Likewise.
34781         * sunrpc/rpc_tblout.c: Likewise.
34782         * sunrpc/rpc_util.c: Likewise.
34783         * sunrpc/rpc_util.h: Likewise.
34784         * sunrpc/rpcinfo.c: Likewise.
34785         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34786         * sunrpc/rpcsvc/key_prot.x: Likewise.
34787         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34788         * sunrpc/rpcsvc/mount.x: Likewise.
34789         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34790         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34791         * sunrpc/rpcsvc/rex.x: Likewise.
34792         * sunrpc/rpcsvc/rstat.x: Likewise.
34793         * sunrpc/rpcsvc/rusers.x: Likewise.
34794         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34795         * sunrpc/rpcsvc/spray.x: Likewise.
34796         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34797         * sunrpc/rtime.c: Likewise.
34798         * sunrpc/svc.c: Likewise.
34799         * sunrpc/svc_auth.c: Likewise.
34800         * sunrpc/svc_authux.c: Likewise.
34801         * sunrpc/svc_raw.c: Likewise.
34802         * sunrpc/svc_run.c: Likewise.
34803         * sunrpc/svc_simple.c: Likewise.
34804         * sunrpc/svc_tcp.c: Likewise.
34805         * sunrpc/svc_udp.c: Likewise.
34806         * sunrpc/svc_unix.c: Likewise.
34807         * sunrpc/svcauth_des.c: Likewise.
34808         * sunrpc/xcrypt.c: Likewise.
34809         * sunrpc/xdr.c: Likewise.
34810         * sunrpc/xdr_array.c: Likewise.
34811         * sunrpc/xdr_float.c: Likewise.
34812         * sunrpc/xdr_mem.c: Likewise.
34813         * sunrpc/xdr_rec.c: Likewise.
34814         * sunrpc/xdr_ref.c: Likewise.
34815         * sunrpc/xdr_sizeof.c: Likewise.
34816         * sunrpc/xdr_stdio.c: Likewise.
34818         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34819         handling.
34821 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34823         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34825 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34827         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34828         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34829         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34830         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34831         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34832         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34833         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34834         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34835         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34836         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34837         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34838         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34839         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34840         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34842 2010-07-26  Anton Blanchard  <anton@samba.org>
34844         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34845         * malloc/arena.c (heap_trim): Likewise.
34847 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34849         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34850         here.  Not...
34851         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34852         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34854 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34856         * sysdeps/i386/elf/Makefile: New file.
34858 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34860         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34861         from fanotify_init.
34862         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34863         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34865 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34867         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34868         of strncasecmp_l.
34869         * sysdeps/multiarch/strcmp.S: Likewise.
34871 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34873         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34874         strncase_l-nonascii.
34875         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34876         Add strncase_l-ssse3.
34877         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34878         * sysdeps/x86_64/strcmp.S: Likewise.
34879         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34880         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34881         * sysdeps/x86_64/strncase.S: New file.
34882         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34883         * sysdeps/x86_64/strncase_l.S: New file.
34884         * string/Makefile (strop-tests): Add strncasecmp.
34885         * string/test-strncasecmp.c: New file.
34887         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34888         warning.
34890         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34891         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34893 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34895         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34897 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34899         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34900         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34901         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34903 2010-05-01  Alan Modra  <amodra@gmail.com>
34905         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34906         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34907         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34908         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34909         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34910         tidying.  Don't tail-call __sigjmp_save for static lib.
34911         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34912         save location.
34913         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34914         (CALL_MCOUNT): Add eh info, and nop after bl.
34915         (TAIL_CALL_SYSCALL_ERROR): New macro.
34916         (PSEUDO_RET): Use it.
34917         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34918         Correct save location of integer regs and cr.
34919         (_dl_profile_resolve): Correct cr save location.  Delete nops
34920         after bl when SHARED.  Reduce cfi size a little by better
34921         placement of cfi directives.
34922         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34923         make a stack frame.  Instead use parm save area as a temp.
34924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34925         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34927         Don't make a stack frame for parent, use parm save area.
34928         Increase child stack frame to 112 bytes.  Don't save unused reg,
34929         and adjust reg usage.  Set up cfi on error recovery and
34930         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34932         (__makecontext): Add dummy nop after jump to exit.
34933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34934         Use correct parm save area and cr save, reduce stack frame.
34935         Correct cfi for possible PSEUDO_RET frame setup.
34936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34937         Branch to local label emitted by PSEUDO_RET rather than
34938         __syscall_error.
34940 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34942         [BZ #11904]
34943         * locale/programs/locale.c (print_assignment): New function.
34944         (show_locale_vars): Use it.
34946 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34948         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34949         field.
34950         (struct statfs64): Likewise.
34951         (_STATFS_F_FLAGS): Define.
34952         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34953         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34954         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34955         (ST_VALID): Define locally.
34956         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34957         __statvfs_getflags, use the provided value.
34958         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34959         __ASSUME_STATFS_F_FLAGS.
34961         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34963         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34964         Add sys/fanotify.h.
34965         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34966         fanotify_mask for GLIBC_2.13.
34967         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34968         fanotify_init and fanotify_mark.
34969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34970         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34972         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34973         Add prlimit.
34974         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34975         prlimit64 for GLIBC_2.13.
34976         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34977         prlimit64.
34978         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34979         syscall.
34980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34981         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34982         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34983         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34984         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34985         add prlimit alias.
34986         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34988         [BZ #11903]
34989         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34990         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34992         * nss/Makefile: Add rules to build and run tst-nss-test1.
34993         * shlib-versions: Add entry for libnss_test1.
34994         * nss/nss_test1.c: New file.
34995         * nss/tst-nss-test1.c: New file.
34997         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34998         (__nss_configure_lookup): Set appropriate entry in
34999         __nss_configure_lookup to true.
35000         * nss/nsswitch.h: Define enum with indeces of databases in
35001         databases and __nss_database_custom arrays.  Declare
35002         __nss_database_custom.
35003         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35004         to avoid using nscd when custom rules are installed.
35005         * nss/getXXbyYY_r.c: Likewise.
35006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35008         * nss/nss_files/files-parse.c: Whitespace fixes.
35010 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
35012         [BZ #11883]
35013         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35014         * posix/fnmatch_loop.c: Likewise.
35016 2010-07-17  Andi Kleen  <ak@linux.intel.com>
35018         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35019         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35020         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35021         * Versions.def [GLIBC_2.13]: Add.
35023 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
35025         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35026         Also fail if tpwd after pwuid call is NULL.
35028 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35030         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35031         when converting to ms.
35033 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35035         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35036         EOPNOTSUPP errors with ENOTTY.
35037         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35038         EOPNOTSUPP errors with ENOTTY.
35040 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
35042         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35043         Add strcasecmp_l-ssse3.
35044         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35045         strcasecmp.
35046         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35047         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35048         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35050 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
35052         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35054         * string/Makefile (strop-tests): Add strcasecmp.
35055         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35056         strcasecmp_l-nonascii.
35057         (gen-as-const-headers): Add locale-defines.sym.
35058         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35059         * sysdeps/x86_64/strcasecmp.S: New file.
35060         * sysdeps/x86_64/strcasecmp_l.S: New file.
35061         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35062         * sysdeps/x86_64/locale-defines.sym: New file.
35063         * string/test-strcasecmp.c: New file.
35065         * string/test-strcasestr.c: Test both ends of the range of characters.
35066         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35068 2010-07-29  Roland McGrath  <roland@redhat.com>
35070         [BZ #11856]
35071         * manual/locale.texi (Yes-or-No Questions): Fix example code.
35073 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
35075         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35076         for ld.so.
35078 2010-07-27  Andreas Schwab  <schwab@redhat.com>
35080         * manual/memory.texi (Malloc Tunable Parameters): Document
35081         M_PERTURB.
35083 2010-07-26  Roland McGrath  <roland@redhat.com>
35085         [BZ #11840]
35086         * configure.in (-fgnu89-inline check): Set and substitute
35087         gnu89_inline, not libc_cv_gnu89_inline.
35088         * configure: Regenerated.
35089         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35091 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
35093         * string/test-strnlen.c: New file.
35094         * string/Makefile (strop-tests): Add strnlen.
35095         * string/tester.c (test_strnlen): Add a few more test cases.
35096         * string/tst-strlen.c: Better error reporting.
35098         * sysdeps/x86_64/strnlen.S: New file.
35100 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
35102         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35103         lower-latency instructions.
35105 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35107         * string/test-strcasestr.c: New file.
35108         * string/test-strstr.c: New file.
35109         * string/Makefile (strop-tests): Add strstr and strcasestr.
35110         * string/str-two-way.h: Don't undefine MAX.
35111         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35113 2010-07-21  Andreas Schwab  <schwab@redhat.com>
35115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35116         strcasestr-nonascii.
35117         (CFLAGS-strcasestr-nonascii.c): Define.
35118         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35119         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35120         Remove unused attribute.
35122 2010-07-20  Roland McGrath  <roland@redhat.com>
35124         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35125         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
35126         ld.so.cache was broken.  With it, there is no way to disable dsocaps
35127         like LD_HWCAP_MASK can disable hwcaps.
35129 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35131         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35133 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
35135         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35136         call in strcasestr.
35137         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35138         __strcasestr_sse42_nonascii.
35139         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35140         strcasestr-nonascii.c.
35141         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35143 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
35145         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35146         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35147         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35148         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35150 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
35152         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35153         fcntl.
35155 2010-07-06  Andreas Schwab  <schwab@redhat.com>
35157         [BZ #11577]
35158         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35159         dl_signal_cerror.
35161 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
35163         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35164         _PC_PIPE_BUF using F_GETPIPE_SZ.
35166 2010-07-05  Roland McGrath  <roland@redhat.com>
35168         * manual/arith.texi (Rounding Functions): Fix rint description
35169         implicit in round description.
35171 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
35173         * elf/Makefile: Fix linking for a few tests to make recent linker
35174         happy.
35176 2010-06-30  Andreas Schwab  <schwab@redhat.com>
35178         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35179         $(common-objpfx)libc_nonshared.a.
35181 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
35183         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35184         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35185         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35186         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35187         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35188         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35189         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35190         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35205         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35206         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35207         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35208         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35209         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35210         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35211         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35212         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35213         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35214         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35215         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35216         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35232 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35234         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35235         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
35236         * string/memmove.c (memmove): Renamed to ...
35237         (MEMMOVE): ...this.  Default to memmove.
35238         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35239         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35240         (END_CHK): Define.
35241         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35242         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35243         mempcpy-ssse3-back memmove-ssse3-back.
35244         * sysdeps/x86_64/multiarch/bcopy.S: New file .
35245         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35246         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35247         * sysdeps/x86_64/multiarch/memcpy.S: New file.
35248         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35249         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35250         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35251         * sysdeps/x86_64/multiarch/memmove.c: New file.
35252         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35253         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35254         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35255         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35256         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35257         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35258         Define.
35259         (index_Fast_Copy_Backward): Define.
35260         (HAS_ARCH_FEATURE): Define.
35261         (HAS_FAST_REP_STRING): Define.
35262         (HAS_FAST_COPY_BACKWARD): Define.
35264 2010-06-21  Andreas Schwab  <schwab@redhat.com>
35266         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35267         Restore proper fallback handling.
35269 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
35271         [BZ #11701]
35272         * posix/group_member.c (__group_member): Correct checking loop.
35274         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35275         OOM in getpwuid_r correctly.  Return error number when the caller
35276         should return, otherwise -1.
35277         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35278         call returning > 0 value.
35279         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35281 2010-06-07  Andreas Schwab  <schwab@redhat.com>
35283         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35284         libc_nonshared.a from targets in modules-names.
35286 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
35288         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35289         requires it.
35291 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
35293         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35294         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35295         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35296         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35298 2010-06-02  Andreas Schwab  <schwab@redhat.com>
35300         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35302 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
35304         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35305         and F_GETPIPE_SZ.
35306         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35307         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35308         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35309         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35310         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35311         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35313 2010-06-14  Roland McGrath  <roland@redhat.com>
35315         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35317 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
35319         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35320         __REDIRECT followed by __THROW.
35321         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35322         * posix/getopt.h (getopt): Likewise.
35324 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
35326         * hurd/lookup-at.c (__file_name_lookup_at): Accept
35327         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
35328         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35329         in AT_FLAGS.
35330         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35331         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35333 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
35335         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35337 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
35339         [BZ #11640]
35340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35341         Properly check family and model.
35343 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
35345         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35347 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
35349         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35351 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
35353         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35354         symbol reference.
35356 2010-05-19  Andreas Schwab  <schwab@redhat.com>
35358         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35359         symbol reference.
35361 2010-05-21  Andreas Schwab  <schwab@redhat.com>
35363         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35364         and internal_recvmmsg.
35365         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35366         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35367         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35368         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35370         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35371         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35372         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35374 2010-05-20  Andreas Schwab  <schwab@redhat.com>
35376         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35378 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
35380         POWER7 optimizations.
35381         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35382         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35384 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
35386         * version.h: Update for 2.13 development version.
35388 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
35390         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35391         exceptions.  Return 0.
35393 2010-05-07  Roland McGrath  <roland@redhat.com>
35395         * elf/ldconfig.c (main): Add a const.
35397 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
35399         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35400         (args_options): Add no-idn option.
35401         (ahosts_keys_int): Add idn_flags to ai_flags.
35402         (parse_option): Handle 'i' option to clear idn_flags.
35404         * malloc/malloc.c (_int_free): Possible race in the most recently
35405         added check.  Only act on the data if no current modification
35406         happened.
35408 See ChangeLog.17 for earlier changes.